UNPKG

@eventcatalog/linter

Version:

A linter for EventCatalog to validate frontmatter and resource references

13 lines 482 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.domainSchema = void 0; const zod_1 = require("zod"); const common_1 = require("./common"); exports.domainSchema = zod_1.z .object({ services: zod_1.z.array(common_1.pointerSchema).optional(), domains: zod_1.z.array(common_1.pointerSchema).optional(), entities: zod_1.z.array(common_1.pointerSchema).optional(), }) .merge(common_1.baseSchema); //# sourceMappingURL=domain.js.map