BasePaginatable
type BasePaginatable<Output, Schema> = object;Interface-like type for paginatable command classes to extend from that defines the executePaginated method.
Commands should only implement this interface if they support pagination.
Type Parameters
Section titled “Type Parameters”Output
Section titled “Output”Output
The output type of the command’s executePaginated method.
Schema
Section titled “Schema”Schema extends ZodObject
The Zod schema type associated with the DynamoEntity.
Methods
Section titled “Methods”executePaginated()
Section titled “executePaginated()”executePaginated(entity): AsyncGenerator<Output, void, unknown>;Parameters
Section titled “Parameters”entity
Section titled “entity”DynamoEntity<Schema>
Returns
Section titled “Returns”AsyncGenerator<Output, void, unknown>