UNPKG

@sentzunhat/zacatl

Version:

A modular, high-performance TypeScript microservice framework for Node.js, featuring layered architecture, dependency injection, and robust validation for building scalable APIs and distributed systems.

11 lines 424 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.makeWithDefaultResponse = void 0; const zod_1 = require("../../../../../../third-party/zod.js"); const makeWithDefaultResponse = (dataSchema) => zod_1.z.object({ ok: zod_1.z.boolean(), message: zod_1.z.string(), data: dataSchema, }); exports.makeWithDefaultResponse = makeWithDefaultResponse; //# sourceMappingURL=schema.js.map