archetecture security fix
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.reportQuerySchema = exports.summaryQuerySchema = void 0;
|
||||
const zod_1 = require("zod");
|
||||
exports.summaryQuerySchema = zod_1.z.object({
|
||||
period: zod_1.z.string().default('30d'),
|
||||
});
|
||||
exports.reportQuerySchema = zod_1.z.object({
|
||||
from: zod_1.z.string().optional(),
|
||||
to: zod_1.z.string().optional(),
|
||||
format: zod_1.z.string().default('JSON'),
|
||||
period: zod_1.z.string().optional(),
|
||||
});
|
||||
//# sourceMappingURL=analytics.schemas.js.map
|
||||
Reference in New Issue
Block a user