"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const zod_1 = require("zod");
const fieldId_1 = require("./fieldId");
const sortFieldSchema = zod_1.z.object({
    fieldId: (0, fieldId_1.getFieldIdSchema)({ additionalDescription: null }),
    descending: zod_1.z
        .boolean()
        .describe('If true sorts in descending order, if false sorts in ascending order'),
    nullsFirst: zod_1.z
        .boolean()
        .describe('If true sorts nulls first, if false sorts nulls last, otherwise sorts by warehouse default')
        .nullable(),
});
exports.default = sortFieldSchema;
//# sourceMappingURL=sortField.js.map