@eventcatalog/linter
Version:
A linter for EventCatalog to validate frontmatter and resource references
13 lines • 483 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.serviceSchema = void 0;
const zod_1 = require("zod");
const common_1 = require("./common");
exports.serviceSchema = zod_1.z
.object({
sends: zod_1.z.array(common_1.pointerSchema).optional(),
receives: zod_1.z.array(common_1.pointerSchema).optional(),
entities: zod_1.z.array(common_1.pointerSchema).optional(),
})
.merge(common_1.baseSchema);
//# sourceMappingURL=service.js.map