From 75126470503380238f8c18f63f14baabfa5f7b89 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jul 2024 02:21:27 +0000 Subject: [PATCH] deploy: 341a40ae656d5ff26475f2473d6df49e54dbfc0b --- 404.html | 4 ++-- api-lite.html | 4 ++-- api-lite/abstractstate.html | 4 ++-- api-lite/basic-endpoints.html | 4 ++-- api-lite/basic-endpoints/delete.html | 4 ++-- api-lite/basic-endpoints/get-collection.html | 4 ++-- api-lite/basic-endpoints/get.html | 4 ++-- api-lite/basic-endpoints/objects.html | 4 ++-- api-lite/basic-endpoints/patch-put-update.html | 4 ++-- api-lite/basic-endpoints/post-create.html | 4 ++-- api-lite/basic-endpoints/post-without-input.html | 4 ++-- api-lite/components.html | 4 ++-- api-lite/design.html | 4 ++-- api-lite/filtering.html | 4 ++-- api-lite/intro.html | 4 ++-- api-lite/mapping.html | 4 ++-- api-lite/pagination.html | 4 ++-- api-lite/subresource.html | 4 ++-- api-lite/subresource/get-collection-subresource.html | 4 ++-- api-lite/subresource/get-subresource.html | 4 ++-- .../referencing-collection-subresource.html | 4 ++-- api-lite/subresource/referencing-subresource.html | 4 ++-- api-lite/without-abstractstate.html | 4 ++-- .../{22dd74f7.188d5631.js => 22dd74f7.84d402c8.js} | 2 +- assets/js/75b037cc.417c8b9a.js | 1 + assets/js/75b037cc.bb071616.js | 1 - assets/js/{main.5b65a6e4.js => main.3bb688d2.js} | 4 ++-- ...4.js.LICENSE.txt => main.3bb688d2.js.LICENSE.txt} | 0 ...ime~main.baf8b3b6.js => runtime~main.404e43e9.js} | 2 +- collections.html | 4 ++-- collections/behaviors.html | 4 ++-- collections/behaviors/class-arguments.html | 4 ++-- collections/behaviors/compatibility.html | 4 ++-- collections/behaviors/counting.html | 4 ++-- collections/behaviors/iterator.html | 4 ++-- collections/behaviors/key-type-widening.html | 4 ++-- collections/behaviors/oom.html | 4 ++-- collections/behaviors/pagination.html | 4 ++-- collections/behaviors/selectable-leak.html | 4 ++-- collections/implementations.html | 12 +++++++----- collections/implementations/array-collection.html | 4 ++-- collections/implementations/decorators.html | 4 ++-- collections/implementations/query-collection.html | 4 ++-- collections/implementations/repository.html | 4 ++-- collections/interfaces.html | 4 ++-- collections/intro.html | 4 ++-- collections/misc.html | 4 ++-- collections/misc/uuid.html | 4 ++-- direct-property-access.html | 4 ++-- doctrine-collections-decorator.html | 4 ++-- doctrine-collections-decorator/class-diagram.html | 4 ++-- doctrine-collections-decorator/classes.html | 4 ++-- doctrine-collections-decorator/cookbook.html | 4 ++-- .../cookbook/decorating-members.html | 4 ++-- .../cookbook/extra-lazy-load-prevention.html | 4 ++-- .../cookbook/lazy-chained-matching.html | 4 ++-- .../cookbook/record-precounting.html | 4 ++-- .../cookbook/selectable-abstraction.html | 4 ++-- .../cookbook/type-safety.html | 4 ++-- doctrine-collections-decorator/creating.html | 4 ++-- doctrine-collections-decorator/intro.html | 4 ++-- domain-event.html | 4 ++-- domain-event/basic-usage.html | 4 ++-- domain-event/batch-processing.html | 4 ++-- domain-event/dispatch-events.html | 4 ++-- domain-event/equatable.html | 4 ++-- domain-event/intro.html | 4 ++-- domain-event/manual-control.html | 4 ++-- domain-event/outbox-setup.html | 4 ++-- domain-event/pseudo-magic-method.html | 4 ++-- domain-event/testing.html | 4 ++-- domain-event/tips.html | 4 ++-- domain-event/transaction.html | 4 ++-- domain-event/transactional-outbox-pattern.html | 4 ++-- file-bundle.html | 4 ++-- file-bundle/advanced/creating-filters.html | 4 ++-- .../advanced/entity-association-internal.html | 4 ++-- file-bundle/advanced/file-association-interface.html | 4 ++-- file-bundle/advanced/object-id-resolver.html | 4 ++-- file-bundle/collection.html | 4 ++-- file-bundle/doctrine-entity.html | 4 ++-- file-bundle/file-upload-filepond.html | 4 ++-- file-bundle/filtering.html | 4 ++-- file-bundle/installation.html | 4 ++-- file-bundle/intro.html | 4 ++-- file-bundle/lazy-loading.html | 4 ++-- file-bundle/mandatory-file.html | 4 ++-- file-bundle/replicating-metadata-in-entities.html | 4 ++-- file-bundle/serving-files.html | 4 ++-- file-bundle/symfony.html | 4 ++-- file-bundle/translation.html | 4 ++-- file-bundle/working-with-entities.html | 4 ++-- file-bundle/zip-streaming.html | 4 ++-- file.html | 4 ++-- file/adapters.html | 4 ++-- file/concepts.html | 4 ++-- file/derivation.html | 4 ++-- file/file.html | 4 ++-- file/installation.html | 4 ++-- file/intro.html | 4 ++-- file/metadata.html | 4 ++-- file/null-file.html | 4 ++-- file/proxy.html | 4 ++-- gotenberg-pdf-bundle.html | 4 ++-- gotenberg-pdf-bundle/installation.html | 4 ++-- gotenberg-pdf-bundle/usage.html | 4 ++-- index.html | 4 ++-- lunr-index-1721843089447.json | 1 - lunr-index-1721874056680.json | 1 + lunr-index.json | 2 +- mapper.html | 4 ++-- mapper/architecture.html | 4 ++-- mapper/class-factory-mapper.html | 4 ++-- mapper/collection.html | 4 ++-- mapper/context-options.html | 4 ++-- mapper/cookbook.html | 4 ++-- mapper/cookbook/doctrine-entity.html | 4 ++-- mapper/creating-transformer.html | 4 ++-- mapper/debugging.html | 4 ++-- mapper/installation-usage.html | 4 ++-- mapper/intro.html | 4 ++-- mapper/mapping-table.html | 4 ++-- mapper/object-array.html | 4 ++-- mapper/object-mapper.html | 4 ++-- mapper/object.html | 4 ++-- mapper/overriding-transformer.html | 4 ++-- mapper/preset.html | 4 ++-- mapper/rationale.html | 4 ++-- mapper/submapper.html | 4 ++-- psr-16-simple-cache-bundle.html | 4 ++-- reconstitutor.html | 4 ++-- reconstitutor/intro.html | 4 ++-- reconstitutor/usage.html | 4 ++-- rekapager.html | 4 ++-- rekapager/batch-processing.html | 4 ++-- rekapager/batch-processing/batch-command.html | 4 ++-- rekapager/batch-processing/pageable.html | 4 ++-- rekapager/framework-integration.html | 4 ++-- rekapager/framework-integration/api-platform.html | 4 ++-- rekapager/framework-integration/doctrine.html | 4 ++-- rekapager/framework-integration/integrating.html | 4 ++-- rekapager/framework-integration/symfony.html | 4 ++-- rekapager/installation.html | 4 ++-- rekapager/intro.html | 4 ++-- rekapager/known-issues.html | 4 ++-- rekapager/layers.html | 4 ++-- rekapager/layers/adapters.html | 4 ++-- rekapager/layers/pageable-page.html | 4 ++-- rekapager/layers/pager-pageritem.html | 4 ++-- rekapager/troubleshooting.html | 4 ++-- search-doc-1721843089447.json | 1 - search-doc-1721874056680.json | 1 + search-doc.json | 2 +- temporary-url-bundle.html | 4 ++-- 154 files changed, 298 insertions(+), 296 deletions(-) rename assets/js/{22dd74f7.188d5631.js => 22dd74f7.84d402c8.js} (55%) create mode 100644 assets/js/75b037cc.417c8b9a.js delete mode 100644 assets/js/75b037cc.bb071616.js rename assets/js/{main.5b65a6e4.js => main.3bb688d2.js} (99%) rename assets/js/{main.5b65a6e4.js.LICENSE.txt => main.3bb688d2.js.LICENSE.txt} (100%) rename assets/js/{runtime~main.baf8b3b6.js => runtime~main.404e43e9.js} (98%) delete mode 100644 lunr-index-1721843089447.json create mode 100644 lunr-index-1721874056680.json delete mode 100644 search-doc-1721843089447.json create mode 100644 search-doc-1721874056680.json diff --git a/404.html b/404.html index d5bbc25a..69c27348 100644 --- a/404.html +++ b/404.html @@ -4,8 +4,8 @@ Rekalogika.DEV - - + +
Skip to main content

Page Not Found

We could not find what you were looking for.

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.

diff --git a/api-lite.html b/api-lite.html index cc50c87a..5c208ad3 100644 --- a/api-lite.html +++ b/api-lite.html @@ -4,8 +4,8 @@ rekalogika/api-lite | Rekalogika.DEV - - + +
Skip to main content

rekalogika/api-lite

A set of tools to simplify working with API diff --git a/api-lite/abstractstate.html b/api-lite/abstractstate.html index ea9cd739..eb44e252 100644 --- a/api-lite/abstractstate.html +++ b/api-lite/abstractstate.html @@ -4,8 +4,8 @@ AbstractState | Rekalogika.DEV - - + +

AbstractState

Base class for our providers and processors.

diff --git a/api-lite/basic-endpoints.html b/api-lite/basic-endpoints.html index 54de4584..58c4adeb 100644 --- a/api-lite/basic-endpoints.html +++ b/api-lite/basic-endpoints.html @@ -4,8 +4,8 @@ Use Cases: Basic Endpoints | Rekalogika.DEV - - + + diff --git a/api-lite/basic-endpoints/delete.html b/api-lite/basic-endpoints/delete.html index de0f5940..6eb35bb0 100644 --- a/api-lite/basic-endpoints/delete.html +++ b/api-lite/basic-endpoints/delete.html @@ -4,8 +4,8 @@ DELETE Endpoint | Rekalogika.DEV - - + +

DELETE Endpoint

src/ApiResource/Admin/BookDto.php
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Patch;
use App\ApiInput\BookInputDto;
use App\ApiState\Admin\Book\BookRemoveProcessor;

#[ApiResource(
shortName: 'Admin/Book',
routePrefix: '/admin',
operations: [
// ...
new Delete(
uriTemplate: '/books/{id}',
processor: BookRemoveProcessor::class
),
// ...
]
)]
class BookDto
{
// ...
}
diff --git a/api-lite/basic-endpoints/get-collection.html b/api-lite/basic-endpoints/get-collection.html index 6bff6c0d..5c8ac384 100644 --- a/api-lite/basic-endpoints/get-collection.html +++ b/api-lite/basic-endpoints/get-collection.html @@ -4,8 +4,8 @@ GET Collection Endpoint | Rekalogika.DEV - - + +

GET Collection Endpoint

src/ApiResource/Admin/BookDto.php
namespace App\ApiResource\Admin;

use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\GetCollection;
use App\ApiState\Admin\Book\BookCollectionProvider;

#[ApiResource(
shortName: 'Admin/Book',
routePrefix: '/admin',
// // Uncomment the following to enable keyset-pagination:
// extraProperties: [
// 'api_lite_rekapager' => true
// ]
operations: [
// ...
new GetCollection(
uriTemplate: '/books',
provider: BookCollectionProvider::class,
),
// ...
]
)]
class BookDto
{
// ...
}

diff --git a/api-lite/basic-endpoints/get.html b/api-lite/basic-endpoints/get.html index c421d361..8104c81a 100644 --- a/api-lite/basic-endpoints/get.html +++ b/api-lite/basic-endpoints/get.html @@ -4,8 +4,8 @@ GET Endpoint | Rekalogika.DEV - - + +

GET Endpoint

src/ApiResource/Admin/BookDto.php
namespace App\ApiResource\Admin;

use App\ApiState\Admin\Book\BookProvider;
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Get;

#[ApiResource(
shortName: 'Admin/Book',
routePrefix: '/admin',
operations: [
// ...
new Get(
uriTemplate: '/books/{id}',
provider: BookProvider::class,
),
// ...
]
)]
class BookDto
{
// ...
}
diff --git a/api-lite/basic-endpoints/objects.html b/api-lite/basic-endpoints/objects.html index 6bea2ac6..4002acbd 100644 --- a/api-lite/basic-endpoints/objects.html +++ b/api-lite/basic-endpoints/objects.html @@ -4,8 +4,8 @@ Objects Used in the Examples | Rekalogika.DEV - - + +

Objects Used in the Examples

src/Entity/Book.php
namespace App\Entity;

use App\Repository\BookRepository;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Types\UuidType;
use Symfony\Component\Uid\Uuid;

#[ORM\Entity(repositoryClass: BookRepository::class)]
class Book extends \stdClass
{
#[ORM\Id]
#[ORM\Column(type: UuidType::NAME, unique: true, nullable: false)]
private Uuid $id;

#[ORM\Column]
private ?string $title = null;

#[ORM\Column(type: Types::TEXT)]
private ?string $description = null;

#[ORM\Column(type: Types::DATETIME_IMMUTABLE, nullable: true)]
private ?\DateTimeInterface $lastChecked = null;

/**
* @var Collection<array-key,Review>
*/
#[ORM\OneToMany(
targetEntity: Review::class,
mappedBy: 'book',
cascade: ['persist', 'remove'],
orphanRemoval: true,
fetch: 'EXTRA_LAZY',
indexBy: 'id',
)]
private Collection $reviews;

public function __construct()
{
$this->id = Uuid::v7();
$this->reviews = new ArrayCollection();
}

/**
* We want to check our books' conditions every now and then.
*/
public function check(): void
{
$this->lastChecked = new \DateTimeImmutable();
}

public function getId(): Uuid
{
return $this->id;
}

public function getTitle(): ?string
{
return $this->title;
}

public function setTitle(?string $title): self
{
$this->title = $title;

return $this;
}

public function getDescription(): ?string
{
return $this->description;
}

public function setDescription(?string $description): self
{
$this->description = $description;

return $this;
}

/**
* @return Collection<array-key,Review>
*/
public function getReviews(): Collection
{
return $this->reviews;
}

public function addReview(Review $review): self
{
if (!$this->reviews->contains($review)) {
$this->reviews[] = $review;
$review->setBook($this);
}

return $this;
}

public function removeReview(Review $review): self
{
if ($this->reviews->removeElement($review)) {
// set the owning side to null (unless already changed)
if ($review->getBook() === $this) {
$review->setBook(null);
}
}

return $this;
}

public function getLastChecked(): ?\DateTimeInterface
{
return $this->lastChecked;
}
}
diff --git a/api-lite/basic-endpoints/patch-put-update.html b/api-lite/basic-endpoints/patch-put-update.html index 9cd38bca..05ec9ce6 100644 --- a/api-lite/basic-endpoints/patch-put-update.html +++ b/api-lite/basic-endpoints/patch-put-update.html @@ -4,8 +4,8 @@ PATCH and PUT Endpoint for Entity Update | Rekalogika.DEV - - + +

PATCH and PUT Endpoint for Entity Update

src/ApiResource/Admin/BookDto.php
use ApiPlatform\Metadata\ApiResource;
use ApiPlatform\Metadata\Patch;
use App\ApiInput\BookInputDto;
use App\ApiState\Admin\Book\BookProvider;
use App\ApiState\Admin\Book\BookUpdateProcessor;

#[ApiResource(
shortName: 'Admin/Book',
routePrefix: '/admin',
operations: [
// ...
new Patch(
uriTemplate: '/books/{id}',
input: BookInputDto::class,
processor: BookUpdateProcessor::class,
read: false,
),
new Put(
uriTemplate: '/books/{id}',
input: BookInputDto::class,
processor: BookUpdateProcessor::class,
read: false,
),
// ...
]
)]
class BookDto
{
// ...
}