"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.tableCalcPercentOfColumnTotalSchema = void 0;
const zod_1 = require("zod");
const fieldId_1 = require("../fieldId");
const tableCalcBaseSchemas_1 = require("./tableCalcBaseSchemas");
exports.tableCalcPercentOfColumnTotalSchema = tableCalcBaseSchemas_1.baseTableCalcSchema.extend({
    type: zod_1.z.literal('percent_of_column_total'),
    fieldId: (0, fieldId_1.getFieldIdSchema)({
        additionalDescription: 'Field to calculate percentage of column total',
    }),
    partitionBy: zod_1.z
        .array(tableCalcBaseSchemas_1.partitionBySchema)
        .nullable()
        .describe(tableCalcBaseSchemas_1.partitionBySchemaDescription),
});
//# sourceMappingURL=tableCalcPercentOfColumnTotal.js.map