UNPKG

@simpleapps-com/augur-api

Version:

TypeScript client library for Augur microservices API endpoints

21 lines 892 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BaseNexusEntitySchema = void 0; const zod_1 = require("zod"); const schema_utils_1 = require("../../../core/schema-utils"); /** * Common fields shared across all nexus entities * Based on OpenAPI spec - all fields are REQUIRED per the specification * Updated to use mysql-datetime format as per nexus.json specification */ exports.BaseNexusEntitySchema = zod_1.z.object({ importState: zod_1.z.string().max(30), dateCreated: (0, schema_utils_1.mysqlDatetimeSchema)(), dateLastModified: (0, schema_utils_1.mysqlDatetimeSchema)(), updateCd: zod_1.z.number().int(), statusCd: zod_1.z.number().int(), processCd: zod_1.z.number().int(), jsonData: zod_1.z.string().max(16777215).nullable(), requestId: zod_1.z.string().max(255).nullable(), }); //# sourceMappingURL=common.js.map