"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.pageLimitOptions = exports.paginatedRequestSchema = void 0;
const zod_1 = require("zod");
exports.paginatedRequestSchema = zod_1.z.object({
    /**
     * The page number to retrieve
     */
    pageIndex: zod_1.z.coerce.number().int().optional().default(0),
    /**
     * The number of items retrieve
     */
    pageSize: zod_1.z.coerce.number().int().optional().default(10),
    /**
     * Search query
     */
    search: zod_1.z.string().optional(),
    /**
     * String array of filters
     */
    filters: zod_1.z.string().array().optional(),
});
exports.pageLimitOptions = [10, 25, 50, 100];
//# sourceMappingURL=data-table.js.map