Skip to content

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.

Output

The output type of the command’s executePaginated method.

Schema extends ZodObject

The Zod schema type associated with the DynamoEntity.

executePaginated(entity): AsyncGenerator<Output, void, unknown>;

DynamoEntity<Schema>

AsyncGenerator<Output, void, unknown>