Variable TaskListOptionsConst
TaskListOptions: ZodPipe<
ZodObject<
{
limit: ZodOptional<ZodNumber>;
offset: ZodOptional<ZodNumber>;
order: ZodOptional<
ZodObject<
{
by: ZodEnum<
{
approvedAt: "approvedAt";
createdAt: "createdAt";
name: "name";
reference: "reference";
status: "status";
updatedAt: "updatedAt";
},
>;
direction: ZodEnum<{ asc: "asc"; desc: "desc" }>;
},
$strip,
>,
>;
},
$loose,
>,
ZodTransform<
{
limit?: number;
offset?: number;
orderBy: | "name"
| "status"
| "reference"
| "approvedAt"
| "createdAt"
| "updatedAt"
| undefined;
orderDirection: "asc"
| "desc"
| undefined;
},
{
limit?: number;
offset?: number;
order?: {
by: | "name"
| "status"
| "reference"
| "approvedAt"
| "createdAt"
| "updatedAt";
direction: "asc"
| "desc";
};
[key: string]: unknown;
},
>,
> = ...
Zod schema for task list pagination and sorting options.
Controls the number of results, offset, and sort order.