@eventcatalog/linter 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scanner/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AA2BD,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,EAAE,cAAc,YAAY,KAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAmDhH,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,SAAS,MAAM,KAAG,OAAO,CAAC,WAAW,EAAE,CA0B7E,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scanner/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE1C,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,YAAY,EAAE,YAAY,CAAC;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AA4BD,eAAO,MAAM,mBAAmB,GAAI,UAAU,MAAM,EAAE,cAAc,YAAY,KAAG;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAA;CAmDhH,CAAC;AAEF,eAAO,MAAM,gBAAgB,GAAU,SAAS,MAAM,KAAG,OAAO,CAAC,WAAW,EAAE,CA0B7E,CAAC"}
@@ -29,6 +29,7 @@ const RESOURCE_PATTERNS = {
29
29
  entity: ['**/entities/*/index.{md,mdx}', '**/entities/*/versioned/*/index.{md,mdx}'],
30
30
  user: ['users/*.{md,mdx}'],
31
31
  team: ['teams/*.{md,mdx}'],
32
+ dataStore: ['**/containers/*/index.{md,mdx}', '**/containers/*/versioned/*/index.{md,mdx}'],
32
33
  };
33
34
  const extractResourceInfo = (filePath, resourceType) => {
34
35
  // Normalize path separators to forward slashes for consistent parsing across platforms
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/scanner/index.ts"],"names":[],"mappings":";;;;;;AAAA,0DAA2B;AAC3B,gDAAwB;AAWxB,MAAM,iBAAiB,GAAmC;IACxD,MAAM,EAAE;QACN,0BAA0B;QAC1B,sCAAsC;QACtC,uCAAuC;QACvC,mDAAmD;KACpD;IACD,OAAO,EAAE;QACP,qCAAqC;QACrC,iDAAiD;QACjD,kDAAkD;QAClD,8DAA8D;QAC9D,2BAA2B;QAC3B,uCAAuC;KACxC;IACD,KAAK,EAAE,CAAC,4BAA4B,EAAE,wCAAwC,CAAC;IAC/E,OAAO,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC;IACrF,KAAK,EAAE,CAAC,6BAA6B,EAAE,yCAAyC,CAAC;IACjF,OAAO,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC;IACrF,IAAI,EAAE,CAAC,2BAA2B,EAAE,uCAAuC,CAAC;IAC5E,MAAM,EAAE,CAAC,8BAA8B,EAAE,0CAA0C,CAAC;IACpF,IAAI,EAAE,CAAC,kBAAkB,CAAC;IAC1B,IAAI,EAAE,CAAC,kBAAkB,CAAC;CAC3B,CAAC;AAEK,MAAM,mBAAmB,GAAG,CAAC,QAAgB,EAAE,YAA0B,EAAoC,EAAE;IACpH,uFAAuF;IACvF,MAAM,cAAc,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC;IACpD,MAAM,YAAY,GAAG,c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C;AACjC,CAAC,CAAC;AAnDW,QAAA,mBAAmB,uBAmD9B;AAEK,MAAM,gBAAgB,GAAG,KAAK,EAAE,OAAe,EAA0B,EAAE;IAChF,MAAM,KAAK,GAAkB,EAAE,CAAC;IAEhC,KAAK,MAAM,CAAC,YAAY,EAAE,QAAQ,CAAC,IAAI,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,EAAE,CAAC;QACzE,MAAM,UAAU,GAAG,MAAM,IAAA,mBAAE,EAAC,QAAQ,EAAE;YACpC,GAAG,EAAE,OAAO;YACZ,QAAQ,EAAE,IAAI;YACd,SAAS,EAAE,IAAI;YACf,mBAAmB,EAAE,KAAK;SAC3B,CAAC,CAAC;QAEH,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;YAClC,MAAM,YAAY,GAAG,cAAI,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC;YACtD,MAAM,EAAE,EAAE,EAAE,OAAO,EAAE,GAAG,IAAA,2BAAmB,EAAC,YAAY,EAAE,YAA4B,CAAC,CAAC;YAExF,KAAK,CAAC,IAAI,CAAC;gBACT,IAAI,EAAE,QAAQ;gBACd,YAAY;gBACZ,YAAY,EAAE,YAA4B;gBAC1C,UAAU,EAAE,EAAE;gBACd,OAAO;aACR,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AA1BW,QAAA,gBAAgB,oBA0B3B"}
@@ -0,0 +1,348 @@
1
+ import { z } from 'zod';
2
+ export declare const dataStoreSchema: z.ZodObject<{
3
+ container_type: z.ZodEnum<["database", "cache", "objectStore", "searchIndex", "dataWarehouse", "dataLake", "externalSaaS"]>;
4
+ technology: z.ZodOptional<z.ZodString>;
5
+ authoritative: z.ZodOptional<z.ZodBoolean>;
6
+ access_mode: z.ZodEnum<["read", "write", "readWrite", "appendOnly"]>;
7
+ classification: z.ZodEnum<["public", "internal", "confidential", "regulated"]>;
8
+ residency: z.ZodOptional<z.ZodString>;
9
+ retention: z.ZodOptional<z.ZodString>;
10
+ } & {
11
+ id: z.ZodString;
12
+ name: z.ZodString;
13
+ summary: z.ZodOptional<z.ZodString>;
14
+ version: z.ZodEffects<z.ZodString, string, string>;
15
+ draft: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodObject<{
16
+ title: z.ZodOptional<z.ZodString>;
17
+ message: z.ZodString;
18
+ }, "strip", z.ZodTypeAny, {
19
+ message: string;
20
+ title?: string | undefined;
21
+ }, {
22
+ message: string;
23
+ title?: string | undefined;
24
+ }>]>>;
25
+ badges: z.ZodOptional<z.ZodArray<z.ZodObject<{
26
+ content: z.ZodString;
27
+ backgroundColor: z.ZodString;
28
+ textColor: z.ZodString;
29
+ icon: z.ZodOptional<z.ZodString>;
30
+ }, "strip", z.ZodTypeAny, {
31
+ content: string;
32
+ backgroundColor: string;
33
+ textColor: string;
34
+ icon?: string | undefined;
35
+ }, {
36
+ content: string;
37
+ backgroundColor: string;
38
+ textColor: string;
39
+ icon?: string | undefined;
40
+ }>, "many">>;
41
+ owners: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodObject<{
42
+ id: z.ZodString;
43
+ collection: z.ZodEnum<["users", "teams"]>;
44
+ }, "strip", z.ZodTypeAny, {
45
+ id: string;
46
+ collection: "users" | "teams";
47
+ }, {
48
+ id: string;
49
+ collection: "users" | "teams";
50
+ }>]>, {
51
+ id: string;
52
+ }, string | {
53
+ id: string;
54
+ collection: "users" | "teams";
55
+ }>, "many">>;
56
+ schemaPath: z.ZodOptional<z.ZodString>;
57
+ sidebar: z.ZodOptional<z.ZodObject<{
58
+ label: z.ZodOptional<z.ZodString>;
59
+ badge: z.ZodOptional<z.ZodString>;
60
+ }, "strip", z.ZodTypeAny, {
61
+ label?: string | undefined;
62
+ badge?: string | undefined;
63
+ }, {
64
+ label?: string | undefined;
65
+ badge?: string | undefined;
66
+ }>>;
67
+ repository: z.ZodOptional<z.ZodObject<{
68
+ language: z.ZodOptional<z.ZodString>;
69
+ url: z.ZodOptional<z.ZodString>;
70
+ }, "strip", z.ZodTypeAny, {
71
+ language?: string | undefined;
72
+ url?: string | undefined;
73
+ }, {
74
+ language?: string | undefined;
75
+ url?: string | undefined;
76
+ }>>;
77
+ specifications: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
78
+ openapiPath: z.ZodOptional<z.ZodString>;
79
+ asyncapiPath: z.ZodOptional<z.ZodString>;
80
+ }, "strip", z.ZodTypeAny, {
81
+ openapiPath?: string | undefined;
82
+ asyncapiPath?: string | undefined;
83
+ }, {
84
+ openapiPath?: string | undefined;
85
+ asyncapiPath?: string | undefined;
86
+ }>, z.ZodArray<z.ZodObject<{
87
+ type: z.ZodEnum<["openapi", "asyncapi"]>;
88
+ path: z.ZodString;
89
+ name: z.ZodOptional<z.ZodString>;
90
+ }, "strip", z.ZodTypeAny, {
91
+ path: string;
92
+ type: "asyncapi" | "openapi";
93
+ name?: string | undefined;
94
+ }, {
95
+ path: string;
96
+ type: "asyncapi" | "openapi";
97
+ name?: string | undefined;
98
+ }>, "many">]>>;
99
+ hidden: z.ZodOptional<z.ZodBoolean>;
100
+ resourceGroups: z.ZodOptional<z.ZodArray<z.ZodObject<{
101
+ id: z.ZodOptional<z.ZodString>;
102
+ title: z.ZodOptional<z.ZodString>;
103
+ items: z.ZodArray<z.ZodObject<{
104
+ id: z.ZodString;
105
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
106
+ type: z.ZodEnum<["service", "event", "command", "query", "flow", "channel", "domain", "user", "team"]>;
107
+ }, "strip", z.ZodTypeAny, {
108
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
109
+ id: string;
110
+ version: string;
111
+ }, {
112
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
113
+ id: string;
114
+ version?: string | undefined;
115
+ }>, "many">;
116
+ limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
117
+ sidebar: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ items: {
120
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
121
+ id: string;
122
+ version: string;
123
+ }[];
124
+ limit: number;
125
+ sidebar: boolean;
126
+ id?: string | undefined;
127
+ title?: string | undefined;
128
+ }, {
129
+ items: {
130
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
131
+ id: string;
132
+ version?: string | undefined;
133
+ }[];
134
+ id?: string | undefined;
135
+ title?: string | undefined;
136
+ limit?: number | undefined;
137
+ sidebar?: boolean | undefined;
138
+ }>, "many">>;
139
+ styles: z.ZodOptional<z.ZodObject<{
140
+ icon: z.ZodOptional<z.ZodString>;
141
+ node: z.ZodOptional<z.ZodObject<{
142
+ color: z.ZodOptional<z.ZodString>;
143
+ label: z.ZodOptional<z.ZodString>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ label?: string | undefined;
146
+ color?: string | undefined;
147
+ }, {
148
+ label?: string | undefined;
149
+ color?: string | undefined;
150
+ }>>;
151
+ }, "strip", z.ZodTypeAny, {
152
+ icon?: string | undefined;
153
+ node?: {
154
+ label?: string | undefined;
155
+ color?: string | undefined;
156
+ } | undefined;
157
+ }, {
158
+ icon?: string | undefined;
159
+ node?: {
160
+ label?: string | undefined;
161
+ color?: string | undefined;
162
+ } | undefined;
163
+ }>>;
164
+ deprecated: z.ZodOptional<z.ZodUnion<[z.ZodObject<{
165
+ message: z.ZodOptional<z.ZodString>;
166
+ date: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
167
+ }, "strip", z.ZodTypeAny, {
168
+ message?: string | undefined;
169
+ date?: string | Date | undefined;
170
+ }, {
171
+ message?: string | undefined;
172
+ date?: string | Date | undefined;
173
+ }>, z.ZodOptional<z.ZodBoolean>]>>;
174
+ visualiser: z.ZodOptional<z.ZodBoolean>;
175
+ versions: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
176
+ latestVersion: z.ZodOptional<z.ZodString>;
177
+ catalog: z.ZodOptional<z.ZodObject<{
178
+ path: z.ZodString;
179
+ filePath: z.ZodString;
180
+ astroContentFilePath: z.ZodString;
181
+ publicPath: z.ZodString;
182
+ type: z.ZodString;
183
+ }, "strip", z.ZodTypeAny, {
184
+ path: string;
185
+ type: string;
186
+ filePath: string;
187
+ astroContentFilePath: string;
188
+ publicPath: string;
189
+ }, {
190
+ path: string;
191
+ type: string;
192
+ filePath: string;
193
+ astroContentFilePath: string;
194
+ publicPath: string;
195
+ }>>;
196
+ }, "strip", z.ZodTypeAny, {
197
+ id: string;
198
+ name: string;
199
+ version: string;
200
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
201
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
202
+ classification: "public" | "internal" | "confidential" | "regulated";
203
+ sidebar?: {
204
+ label?: string | undefined;
205
+ badge?: string | undefined;
206
+ } | undefined;
207
+ summary?: string | undefined;
208
+ draft?: boolean | {
209
+ message: string;
210
+ title?: string | undefined;
211
+ } | undefined;
212
+ badges?: {
213
+ content: string;
214
+ backgroundColor: string;
215
+ textColor: string;
216
+ icon?: string | undefined;
217
+ }[] | undefined;
218
+ owners?: {
219
+ id: string;
220
+ }[] | undefined;
221
+ schemaPath?: string | undefined;
222
+ repository?: {
223
+ language?: string | undefined;
224
+ url?: string | undefined;
225
+ } | undefined;
226
+ specifications?: {
227
+ openapiPath?: string | undefined;
228
+ asyncapiPath?: string | undefined;
229
+ } | {
230
+ path: string;
231
+ type: "asyncapi" | "openapi";
232
+ name?: string | undefined;
233
+ }[] | undefined;
234
+ hidden?: boolean | undefined;
235
+ resourceGroups?: {
236
+ items: {
237
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
238
+ id: string;
239
+ version: string;
240
+ }[];
241
+ limit: number;
242
+ sidebar: boolean;
243
+ id?: string | undefined;
244
+ title?: string | undefined;
245
+ }[] | undefined;
246
+ styles?: {
247
+ icon?: string | undefined;
248
+ node?: {
249
+ label?: string | undefined;
250
+ color?: string | undefined;
251
+ } | undefined;
252
+ } | undefined;
253
+ deprecated?: boolean | {
254
+ message?: string | undefined;
255
+ date?: string | Date | undefined;
256
+ } | undefined;
257
+ visualiser?: boolean | undefined;
258
+ versions?: string[] | undefined;
259
+ latestVersion?: string | undefined;
260
+ catalog?: {
261
+ path: string;
262
+ type: string;
263
+ filePath: string;
264
+ astroContentFilePath: string;
265
+ publicPath: string;
266
+ } | undefined;
267
+ technology?: string | undefined;
268
+ authoritative?: boolean | undefined;
269
+ residency?: string | undefined;
270
+ retention?: string | undefined;
271
+ }, {
272
+ id: string;
273
+ name: string;
274
+ version: string;
275
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
276
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
277
+ classification: "public" | "internal" | "confidential" | "regulated";
278
+ sidebar?: {
279
+ label?: string | undefined;
280
+ badge?: string | undefined;
281
+ } | undefined;
282
+ summary?: string | undefined;
283
+ draft?: boolean | {
284
+ message: string;
285
+ title?: string | undefined;
286
+ } | undefined;
287
+ badges?: {
288
+ content: string;
289
+ backgroundColor: string;
290
+ textColor: string;
291
+ icon?: string | undefined;
292
+ }[] | undefined;
293
+ owners?: (string | {
294
+ id: string;
295
+ collection: "users" | "teams";
296
+ })[] | undefined;
297
+ schemaPath?: string | undefined;
298
+ repository?: {
299
+ language?: string | undefined;
300
+ url?: string | undefined;
301
+ } | undefined;
302
+ specifications?: {
303
+ openapiPath?: string | undefined;
304
+ asyncapiPath?: string | undefined;
305
+ } | {
306
+ path: string;
307
+ type: "asyncapi" | "openapi";
308
+ name?: string | undefined;
309
+ }[] | undefined;
310
+ hidden?: boolean | undefined;
311
+ resourceGroups?: {
312
+ items: {
313
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
314
+ id: string;
315
+ version?: string | undefined;
316
+ }[];
317
+ id?: string | undefined;
318
+ title?: string | undefined;
319
+ limit?: number | undefined;
320
+ sidebar?: boolean | undefined;
321
+ }[] | undefined;
322
+ styles?: {
323
+ icon?: string | undefined;
324
+ node?: {
325
+ label?: string | undefined;
326
+ color?: string | undefined;
327
+ } | undefined;
328
+ } | undefined;
329
+ deprecated?: boolean | {
330
+ message?: string | undefined;
331
+ date?: string | Date | undefined;
332
+ } | undefined;
333
+ visualiser?: boolean | undefined;
334
+ versions?: string[] | undefined;
335
+ latestVersion?: string | undefined;
336
+ catalog?: {
337
+ path: string;
338
+ type: string;
339
+ filePath: string;
340
+ astroContentFilePath: string;
341
+ publicPath: string;
342
+ } | undefined;
343
+ technology?: string | undefined;
344
+ authoritative?: boolean | undefined;
345
+ residency?: string | undefined;
346
+ retention?: string | undefined;
347
+ }>;
348
+ //# sourceMappingURL=data-store.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-store.d.ts","sourceRoot":"","sources":["../../src/schemas/data-store.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUR,CAAC"}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.dataStoreSchema = void 0;
4
+ const zod_1 = require("zod");
5
+ const common_1 = require("./common");
6
+ exports.dataStoreSchema = zod_1.z
7
+ .object({
8
+ container_type: zod_1.z.enum(['database', 'cache', 'objectStore', 'searchIndex', 'dataWarehouse', 'dataLake', 'externalSaaS']),
9
+ technology: zod_1.z.string().optional(),
10
+ authoritative: zod_1.z.boolean().optional(),
11
+ access_mode: zod_1.z.enum(['read', 'write', 'readWrite', 'appendOnly']),
12
+ classification: zod_1.z.enum(['public', 'internal', 'confidential', 'regulated']),
13
+ residency: zod_1.z.string().optional(),
14
+ retention: zod_1.z.string().optional(),
15
+ })
16
+ .merge(common_1.baseSchema);
17
+ //# sourceMappingURL=data-store.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-store.js","sourceRoot":"","sources":["../../src/schemas/data-store.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAsC;AAEzB,QAAA,eAAe,GAAG,OAAC;KAC7B,MAAM,CAAC;IACN,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,eAAe,EAAE,UAAU,EAAE,cAAc,CAAC,CAAC;IACxH,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACrC,WAAW,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE,OAAO,EAAE,WAAW,EAAE,YAAY,CAAC,CAAC;IACjE,cAAc,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,UAAU,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;IAC3E,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAChC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACjC,CAAC;KACD,KAAK,CAAC,mBAAU,CAAC,CAAC"}
@@ -7,6 +7,7 @@ export * from './flow';
7
7
  export * from './entity';
8
8
  export * from './user';
9
9
  export * from './team';
10
+ export * from './data-store';
10
11
  export declare const schemas: {
11
12
  readonly domain: import("zod").ZodObject<{
12
13
  services: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
@@ -418,6 +419,26 @@ export declare const schemas: {
418
419
  id: string;
419
420
  version?: string | undefined;
420
421
  }>, "many">>;
422
+ writesTo: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
423
+ id: import("zod").ZodString;
424
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
425
+ }, "strip", import("zod").ZodTypeAny, {
426
+ id: string;
427
+ version: string;
428
+ }, {
429
+ id: string;
430
+ version?: string | undefined;
431
+ }>, "many">>;
432
+ readsFrom: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
433
+ id: import("zod").ZodString;
434
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
435
+ }, "strip", import("zod").ZodTypeAny, {
436
+ id: string;
437
+ version: string;
438
+ }, {
439
+ id: string;
440
+ version?: string | undefined;
441
+ }>, "many">>;
421
442
  } & {
422
443
  id: import("zod").ZodString;
423
444
  name: import("zod").ZodString;
@@ -684,6 +705,14 @@ export declare const schemas: {
684
705
  id: string;
685
706
  version: string;
686
707
  }[] | undefined;
708
+ writesTo?: {
709
+ id: string;
710
+ version: string;
711
+ }[] | undefined;
712
+ readsFrom?: {
713
+ id: string;
714
+ version: string;
715
+ }[] | undefined;
687
716
  }, {
688
717
  id: string;
689
718
  name: string;
@@ -765,6 +794,14 @@ export declare const schemas: {
765
794
  id: string;
766
795
  version?: string | undefined;
767
796
  }[] | undefined;
797
+ writesTo?: {
798
+ id: string;
799
+ version?: string | undefined;
800
+ }[] | undefined;
801
+ readsFrom?: {
802
+ id: string;
803
+ version?: string | undefined;
804
+ }[] | undefined;
768
805
  }>;
769
806
  readonly event: import("zod").ZodObject<{
770
807
  producers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
@@ -3427,6 +3464,352 @@ export declare const schemas: {
3427
3464
  ownedQueries?: any[] | undefined;
3428
3465
  members?: any[] | undefined;
3429
3466
  }>;
3467
+ readonly dataStore: import("zod").ZodObject<{
3468
+ container_type: import("zod").ZodEnum<["database", "cache", "objectStore", "searchIndex", "dataWarehouse", "dataLake", "externalSaaS"]>;
3469
+ technology: import("zod").ZodOptional<import("zod").ZodString>;
3470
+ authoritative: import("zod").ZodOptional<import("zod").ZodBoolean>;
3471
+ access_mode: import("zod").ZodEnum<["read", "write", "readWrite", "appendOnly"]>;
3472
+ classification: import("zod").ZodEnum<["public", "internal", "confidential", "regulated"]>;
3473
+ residency: import("zod").ZodOptional<import("zod").ZodString>;
3474
+ retention: import("zod").ZodOptional<import("zod").ZodString>;
3475
+ } & {
3476
+ id: import("zod").ZodString;
3477
+ name: import("zod").ZodString;
3478
+ summary: import("zod").ZodOptional<import("zod").ZodString>;
3479
+ version: import("zod").ZodEffects<import("zod").ZodString, string, string>;
3480
+ draft: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodBoolean, import("zod").ZodObject<{
3481
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3482
+ message: import("zod").ZodString;
3483
+ }, "strip", import("zod").ZodTypeAny, {
3484
+ message: string;
3485
+ title?: string | undefined;
3486
+ }, {
3487
+ message: string;
3488
+ title?: string | undefined;
3489
+ }>]>>;
3490
+ badges: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3491
+ content: import("zod").ZodString;
3492
+ backgroundColor: import("zod").ZodString;
3493
+ textColor: import("zod").ZodString;
3494
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
3495
+ }, "strip", import("zod").ZodTypeAny, {
3496
+ content: string;
3497
+ backgroundColor: string;
3498
+ textColor: string;
3499
+ icon?: string | undefined;
3500
+ }, {
3501
+ content: string;
3502
+ backgroundColor: string;
3503
+ textColor: string;
3504
+ icon?: string | undefined;
3505
+ }>, "many">>;
3506
+ owners: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
3507
+ id: import("zod").ZodString;
3508
+ collection: import("zod").ZodEnum<["users", "teams"]>;
3509
+ }, "strip", import("zod").ZodTypeAny, {
3510
+ id: string;
3511
+ collection: "users" | "teams";
3512
+ }, {
3513
+ id: string;
3514
+ collection: "users" | "teams";
3515
+ }>]>, {
3516
+ id: string;
3517
+ }, string | {
3518
+ id: string;
3519
+ collection: "users" | "teams";
3520
+ }>, "many">>;
3521
+ schemaPath: import("zod").ZodOptional<import("zod").ZodString>;
3522
+ sidebar: import("zod").ZodOptional<import("zod").ZodObject<{
3523
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3524
+ badge: import("zod").ZodOptional<import("zod").ZodString>;
3525
+ }, "strip", import("zod").ZodTypeAny, {
3526
+ label?: string | undefined;
3527
+ badge?: string | undefined;
3528
+ }, {
3529
+ label?: string | undefined;
3530
+ badge?: string | undefined;
3531
+ }>>;
3532
+ repository: import("zod").ZodOptional<import("zod").ZodObject<{
3533
+ language: import("zod").ZodOptional<import("zod").ZodString>;
3534
+ url: import("zod").ZodOptional<import("zod").ZodString>;
3535
+ }, "strip", import("zod").ZodTypeAny, {
3536
+ language?: string | undefined;
3537
+ url?: string | undefined;
3538
+ }, {
3539
+ language?: string | undefined;
3540
+ url?: string | undefined;
3541
+ }>>;
3542
+ specifications: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3543
+ openapiPath: import("zod").ZodOptional<import("zod").ZodString>;
3544
+ asyncapiPath: import("zod").ZodOptional<import("zod").ZodString>;
3545
+ }, "strip", import("zod").ZodTypeAny, {
3546
+ openapiPath?: string | undefined;
3547
+ asyncapiPath?: string | undefined;
3548
+ }, {
3549
+ openapiPath?: string | undefined;
3550
+ asyncapiPath?: string | undefined;
3551
+ }>, import("zod").ZodArray<import("zod").ZodObject<{
3552
+ type: import("zod").ZodEnum<["openapi", "asyncapi"]>;
3553
+ path: import("zod").ZodString;
3554
+ name: import("zod").ZodOptional<import("zod").ZodString>;
3555
+ }, "strip", import("zod").ZodTypeAny, {
3556
+ path: string;
3557
+ type: "asyncapi" | "openapi";
3558
+ name?: string | undefined;
3559
+ }, {
3560
+ path: string;
3561
+ type: "asyncapi" | "openapi";
3562
+ name?: string | undefined;
3563
+ }>, "many">]>>;
3564
+ hidden: import("zod").ZodOptional<import("zod").ZodBoolean>;
3565
+ resourceGroups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
3566
+ id: import("zod").ZodOptional<import("zod").ZodString>;
3567
+ title: import("zod").ZodOptional<import("zod").ZodString>;
3568
+ items: import("zod").ZodArray<import("zod").ZodObject<{
3569
+ id: import("zod").ZodString;
3570
+ version: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodString>>;
3571
+ type: import("zod").ZodEnum<["service", "event", "command", "query", "flow", "channel", "domain", "user", "team"]>;
3572
+ }, "strip", import("zod").ZodTypeAny, {
3573
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3574
+ id: string;
3575
+ version: string;
3576
+ }, {
3577
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3578
+ id: string;
3579
+ version?: string | undefined;
3580
+ }>, "many">;
3581
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
3582
+ sidebar: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
3583
+ }, "strip", import("zod").ZodTypeAny, {
3584
+ items: {
3585
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3586
+ id: string;
3587
+ version: string;
3588
+ }[];
3589
+ limit: number;
3590
+ sidebar: boolean;
3591
+ id?: string | undefined;
3592
+ title?: string | undefined;
3593
+ }, {
3594
+ items: {
3595
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3596
+ id: string;
3597
+ version?: string | undefined;
3598
+ }[];
3599
+ id?: string | undefined;
3600
+ title?: string | undefined;
3601
+ limit?: number | undefined;
3602
+ sidebar?: boolean | undefined;
3603
+ }>, "many">>;
3604
+ styles: import("zod").ZodOptional<import("zod").ZodObject<{
3605
+ icon: import("zod").ZodOptional<import("zod").ZodString>;
3606
+ node: import("zod").ZodOptional<import("zod").ZodObject<{
3607
+ color: import("zod").ZodOptional<import("zod").ZodString>;
3608
+ label: import("zod").ZodOptional<import("zod").ZodString>;
3609
+ }, "strip", import("zod").ZodTypeAny, {
3610
+ label?: string | undefined;
3611
+ color?: string | undefined;
3612
+ }, {
3613
+ label?: string | undefined;
3614
+ color?: string | undefined;
3615
+ }>>;
3616
+ }, "strip", import("zod").ZodTypeAny, {
3617
+ icon?: string | undefined;
3618
+ node?: {
3619
+ label?: string | undefined;
3620
+ color?: string | undefined;
3621
+ } | undefined;
3622
+ }, {
3623
+ icon?: string | undefined;
3624
+ node?: {
3625
+ label?: string | undefined;
3626
+ color?: string | undefined;
3627
+ } | undefined;
3628
+ }>>;
3629
+ deprecated: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
3630
+ message: import("zod").ZodOptional<import("zod").ZodString>;
3631
+ date: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodDate]>>;
3632
+ }, "strip", import("zod").ZodTypeAny, {
3633
+ message?: string | undefined;
3634
+ date?: string | Date | undefined;
3635
+ }, {
3636
+ message?: string | undefined;
3637
+ date?: string | Date | undefined;
3638
+ }>, import("zod").ZodOptional<import("zod").ZodBoolean>]>>;
3639
+ visualiser: import("zod").ZodOptional<import("zod").ZodBoolean>;
3640
+ versions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
3641
+ latestVersion: import("zod").ZodOptional<import("zod").ZodString>;
3642
+ catalog: import("zod").ZodOptional<import("zod").ZodObject<{
3643
+ path: import("zod").ZodString;
3644
+ filePath: import("zod").ZodString;
3645
+ astroContentFilePath: import("zod").ZodString;
3646
+ publicPath: import("zod").ZodString;
3647
+ type: import("zod").ZodString;
3648
+ }, "strip", import("zod").ZodTypeAny, {
3649
+ path: string;
3650
+ type: string;
3651
+ filePath: string;
3652
+ astroContentFilePath: string;
3653
+ publicPath: string;
3654
+ }, {
3655
+ path: string;
3656
+ type: string;
3657
+ filePath: string;
3658
+ astroContentFilePath: string;
3659
+ publicPath: string;
3660
+ }>>;
3661
+ }, "strip", import("zod").ZodTypeAny, {
3662
+ id: string;
3663
+ name: string;
3664
+ version: string;
3665
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
3666
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
3667
+ classification: "public" | "internal" | "confidential" | "regulated";
3668
+ sidebar?: {
3669
+ label?: string | undefined;
3670
+ badge?: string | undefined;
3671
+ } | undefined;
3672
+ summary?: string | undefined;
3673
+ draft?: boolean | {
3674
+ message: string;
3675
+ title?: string | undefined;
3676
+ } | undefined;
3677
+ badges?: {
3678
+ content: string;
3679
+ backgroundColor: string;
3680
+ textColor: string;
3681
+ icon?: string | undefined;
3682
+ }[] | undefined;
3683
+ owners?: {
3684
+ id: string;
3685
+ }[] | undefined;
3686
+ schemaPath?: string | undefined;
3687
+ repository?: {
3688
+ language?: string | undefined;
3689
+ url?: string | undefined;
3690
+ } | undefined;
3691
+ specifications?: {
3692
+ openapiPath?: string | undefined;
3693
+ asyncapiPath?: string | undefined;
3694
+ } | {
3695
+ path: string;
3696
+ type: "asyncapi" | "openapi";
3697
+ name?: string | undefined;
3698
+ }[] | undefined;
3699
+ hidden?: boolean | undefined;
3700
+ resourceGroups?: {
3701
+ items: {
3702
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3703
+ id: string;
3704
+ version: string;
3705
+ }[];
3706
+ limit: number;
3707
+ sidebar: boolean;
3708
+ id?: string | undefined;
3709
+ title?: string | undefined;
3710
+ }[] | undefined;
3711
+ styles?: {
3712
+ icon?: string | undefined;
3713
+ node?: {
3714
+ label?: string | undefined;
3715
+ color?: string | undefined;
3716
+ } | undefined;
3717
+ } | undefined;
3718
+ deprecated?: boolean | {
3719
+ message?: string | undefined;
3720
+ date?: string | Date | undefined;
3721
+ } | undefined;
3722
+ visualiser?: boolean | undefined;
3723
+ versions?: string[] | undefined;
3724
+ latestVersion?: string | undefined;
3725
+ catalog?: {
3726
+ path: string;
3727
+ type: string;
3728
+ filePath: string;
3729
+ astroContentFilePath: string;
3730
+ publicPath: string;
3731
+ } | undefined;
3732
+ technology?: string | undefined;
3733
+ authoritative?: boolean | undefined;
3734
+ residency?: string | undefined;
3735
+ retention?: string | undefined;
3736
+ }, {
3737
+ id: string;
3738
+ name: string;
3739
+ version: string;
3740
+ container_type: "database" | "cache" | "objectStore" | "searchIndex" | "dataWarehouse" | "dataLake" | "externalSaaS";
3741
+ access_mode: "read" | "write" | "readWrite" | "appendOnly";
3742
+ classification: "public" | "internal" | "confidential" | "regulated";
3743
+ sidebar?: {
3744
+ label?: string | undefined;
3745
+ badge?: string | undefined;
3746
+ } | undefined;
3747
+ summary?: string | undefined;
3748
+ draft?: boolean | {
3749
+ message: string;
3750
+ title?: string | undefined;
3751
+ } | undefined;
3752
+ badges?: {
3753
+ content: string;
3754
+ backgroundColor: string;
3755
+ textColor: string;
3756
+ icon?: string | undefined;
3757
+ }[] | undefined;
3758
+ owners?: (string | {
3759
+ id: string;
3760
+ collection: "users" | "teams";
3761
+ })[] | undefined;
3762
+ schemaPath?: string | undefined;
3763
+ repository?: {
3764
+ language?: string | undefined;
3765
+ url?: string | undefined;
3766
+ } | undefined;
3767
+ specifications?: {
3768
+ openapiPath?: string | undefined;
3769
+ asyncapiPath?: string | undefined;
3770
+ } | {
3771
+ path: string;
3772
+ type: "asyncapi" | "openapi";
3773
+ name?: string | undefined;
3774
+ }[] | undefined;
3775
+ hidden?: boolean | undefined;
3776
+ resourceGroups?: {
3777
+ items: {
3778
+ type: "service" | "event" | "command" | "query" | "flow" | "channel" | "domain" | "user" | "team";
3779
+ id: string;
3780
+ version?: string | undefined;
3781
+ }[];
3782
+ id?: string | undefined;
3783
+ title?: string | undefined;
3784
+ limit?: number | undefined;
3785
+ sidebar?: boolean | undefined;
3786
+ }[] | undefined;
3787
+ styles?: {
3788
+ icon?: string | undefined;
3789
+ node?: {
3790
+ label?: string | undefined;
3791
+ color?: string | undefined;
3792
+ } | undefined;
3793
+ } | undefined;
3794
+ deprecated?: boolean | {
3795
+ message?: string | undefined;
3796
+ date?: string | Date | undefined;
3797
+ } | undefined;
3798
+ visualiser?: boolean | undefined;
3799
+ versions?: string[] | undefined;
3800
+ latestVersion?: string | undefined;
3801
+ catalog?: {
3802
+ path: string;
3803
+ type: string;
3804
+ filePath: string;
3805
+ astroContentFilePath: string;
3806
+ publicPath: string;
3807
+ } | undefined;
3808
+ technology?: string | undefined;
3809
+ authoritative?: boolean | undefined;
3810
+ residency?: string | undefined;
3811
+ retention?: string | undefined;
3812
+ }>;
3430
3813
  };
3431
3814
  export type ResourceType = keyof typeof schemas;
3432
3815
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AAWvB,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYV,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,MAAM,OAAO,OAAO,CAAC"}
@@ -24,6 +24,7 @@ __exportStar(require("./flow"), exports);
24
24
  __exportStar(require("./entity"), exports);
25
25
  __exportStar(require("./user"), exports);
26
26
  __exportStar(require("./team"), exports);
27
+ __exportStar(require("./data-store"), exports);
27
28
  const domain_1 = require("./domain");
28
29
  const service_1 = require("./service");
29
30
  const message_1 = require("./message");
@@ -32,6 +33,7 @@ const flow_1 = require("./flow");
32
33
  const entity_1 = require("./entity");
33
34
  const user_1 = require("./user");
34
35
  const team_1 = require("./team");
36
+ const data_store_1 = require("./data-store");
35
37
  exports.schemas = {
36
38
  domain: domain_1.domainSchema,
37
39
  service: service_1.serviceSchema,
@@ -43,5 +45,6 @@ exports.schemas = {
43
45
  entity: entity_1.entitySchema,
44
46
  user: user_1.userSchema,
45
47
  team: team_1.teamSchema,
48
+ dataStore: data_store_1.dataStoreSchema,
46
49
  };
47
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AAEvB,qCAAwC;AACxC,uCAA0C;AAC1C,uCAAoE;AACpE,uCAA0C;AAC1C,iCAAoC;AACpC,qCAAwC;AACxC,iCAAoC;AACpC,iCAAoC;AAEvB,QAAA,OAAO,GAAG;IACrB,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,IAAI,EAAE,iBAAU;IAChB,MAAM,EAAE,qBAAY;IACpB,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,iBAAU;CACR,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/schemas/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,2CAAyB;AACzB,4CAA0B;AAC1B,4CAA0B;AAC1B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,yCAAuB;AACvB,yCAAuB;AACvB,+CAA6B;AAE7B,qCAAwC;AACxC,uCAA0C;AAC1C,uCAAoE;AACpE,uCAA0C;AAC1C,iCAAoC;AACpC,qCAAwC;AACxC,iCAAoC;AACpC,iCAAoC;AACpC,6CAA+C;AAElC,QAAA,OAAO,GAAG;IACrB,MAAM,EAAE,qBAAY;IACpB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,KAAK,EAAE,qBAAW;IAClB,OAAO,EAAE,uBAAa;IACtB,IAAI,EAAE,iBAAU;IAChB,MAAM,EAAE,qBAAY;IACpB,IAAI,EAAE,iBAAU;IAChB,IAAI,EAAE,iBAAU;IAChB,SAAS,EAAE,4BAAe;CAClB,CAAC"}
@@ -30,6 +30,26 @@ export declare const serviceSchema: z.ZodObject<{
30
30
  id: string;
31
31
  version?: string | undefined;
32
32
  }>, "many">>;
33
+ writesTo: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ id: z.ZodString;
35
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
36
+ }, "strip", z.ZodTypeAny, {
37
+ id: string;
38
+ version: string;
39
+ }, {
40
+ id: string;
41
+ version?: string | undefined;
42
+ }>, "many">>;
43
+ readsFrom: z.ZodOptional<z.ZodArray<z.ZodObject<{
44
+ id: z.ZodString;
45
+ version: z.ZodDefault<z.ZodOptional<z.ZodString>>;
46
+ }, "strip", z.ZodTypeAny, {
47
+ id: string;
48
+ version: string;
49
+ }, {
50
+ id: string;
51
+ version?: string | undefined;
52
+ }>, "many">>;
33
53
  } & {
34
54
  id: z.ZodString;
35
55
  name: z.ZodString;
@@ -296,6 +316,14 @@ export declare const serviceSchema: z.ZodObject<{
296
316
  id: string;
297
317
  version: string;
298
318
  }[] | undefined;
319
+ writesTo?: {
320
+ id: string;
321
+ version: string;
322
+ }[] | undefined;
323
+ readsFrom?: {
324
+ id: string;
325
+ version: string;
326
+ }[] | undefined;
299
327
  }, {
300
328
  id: string;
301
329
  name: string;
@@ -377,5 +405,13 @@ export declare const serviceSchema: z.ZodObject<{
377
405
  id: string;
378
406
  version?: string | undefined;
379
407
  }[] | undefined;
408
+ writesTo?: {
409
+ id: string;
410
+ version?: string | undefined;
411
+ }[] | undefined;
412
+ readsFrom?: {
413
+ id: string;
414
+ version?: string | undefined;
415
+ }[] | undefined;
380
416
  }>;
381
417
  //# sourceMappingURL=service.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMN,CAAC"}
1
+ {"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQN,CAAC"}
@@ -8,6 +8,8 @@ exports.serviceSchema = zod_1.z
8
8
  sends: zod_1.z.array(common_1.pointerSchema).optional(),
9
9
  receives: zod_1.z.array(common_1.pointerSchema).optional(),
10
10
  entities: zod_1.z.array(common_1.pointerSchema).optional(),
11
+ writesTo: zod_1.z.array(common_1.pointerSchema).optional(),
12
+ readsFrom: zod_1.z.array(common_1.pointerSchema).optional(),
11
13
  })
12
14
  .merge(common_1.baseSchema);
13
15
  //# sourceMappingURL=service.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAqD;AAExC,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;CAC5C,CAAC;KACD,KAAK,CAAC,mBAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"service.js","sourceRoot":"","sources":["../../src/schemas/service.ts"],"names":[],"mappings":";;;AAAA,6BAAwB;AACxB,qCAAqD;AAExC,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,CAAC;IACN,KAAK,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;IAC3C,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,sBAAa,CAAC,CAAC,QAAQ,EAAE;CAC7C,CAAC;KACD,KAAK,CAAC,mBAAU,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eventcatalog/linter",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "description": "A linter for EventCatalog to validate frontmatter and resource references",
5
5
  "main": "dist/index.js",
6
6
  "bin": {