@redocly/revel-reef 0.125.0-next.9 → 0.126.0-next.0
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.
- package/CHANGELOG.md +62 -3
- package/dist/.tsbuildinfo +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntities.js +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntities.js.map +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntitiesRelations.js +1 -1
- package/dist/client/app/hooks/catalog/useFetchCatalogEntitiesRelations.js.map +1 -1
- package/dist/client/app/utils/loadAndNavigate.js +1 -1
- package/dist/client/app/utils/loadAndNavigate.js.map +1 -1
- package/dist/client/providers/post-message/PostMessageProvider.js +1 -1
- package/dist/client/providers/post-message/PostMessageProvider.js.map +1 -1
- package/dist/server/node-bundle-entry.js +1 -1
- package/dist/server/node-bundle-entry.js.map +1 -1
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-read-repository.d.ts +2 -2
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-read-repository.d.ts.map +1 -1
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-read-repository.js.map +1 -1
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-repository.d.ts +5 -4
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-repository.d.ts.map +1 -1
- package/dist/server/persistence/file-hashes/repositories/file-hashes-local-repository.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-service.d.ts +14 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-service.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-service.js +1 -1
- package/dist/server/plugins/catalog-entities/database/catalog-entities-service.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-entity.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-entity.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-entity.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-related-entities.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-related-entities.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-related-entity.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/mappers/create-bff-related-entity.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-read-model.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-read-model.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-read-model.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-dto.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-dto.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-file-schema.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-file-schema.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-dto-from-file-schema.d.ts +4 -0
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-dto-from-file-schema.d.ts.map +1 -0
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-dto-from-file-schema.js +1 -0
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-dto-from-file-schema.js.map +1 -0
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-read-repository.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-read-repository.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-repository.d.ts +9 -7
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-repository.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-repository.js +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-repository.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-write-repository.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-write-repository.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-write-repository.js +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/local/catalog-entities-local-write-repository.js.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/remote/catalog-entities-remote-repository.d.ts +5 -2
- package/dist/server/plugins/catalog-entities/database/repositories/remote/catalog-entities-remote-repository.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/remote/catalog-entities-remote-repository.js +1 -1
- package/dist/server/plugins/catalog-entities/database/repositories/remote/catalog-entities-remote-repository.js.map +1 -1
- package/dist/server/plugins/catalog-entities/entities/extract-entities-content.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/entities/extract-entities-content.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/entities/extract-entities-content.js.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/asyncapi-entities-extractor.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/asyncapi-entities-extractor.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/asyncapi-entities-extractor.js +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/asyncapi-entities-extractor.js.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.js +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.js.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/openapi-entities-extractor.d.ts +3 -3
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/openapi-entities-extractor.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/openapi-entities-extractor.js +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/openapi-entities-extractor.js.map +1 -1
- package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts +2 -2
- package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/get-server-props.d.ts +3 -5
- package/dist/server/plugins/catalog-entities/get-server-props.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/get-server-props.js +1 -1
- package/dist/server/plugins/catalog-entities/get-server-props.js.map +1 -1
- package/dist/server/plugins/catalog-entities/plugin.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/plugin.js +1 -1
- package/dist/server/plugins/catalog-entities/plugin.js.map +1 -1
- package/dist/server/plugins/catalog-entities/schemas/dto-schemas.d.ts +730 -21
- package/dist/server/plugins/catalog-entities/schemas/dto-schemas.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/schemas/dto-schemas.js +1 -1
- package/dist/server/plugins/catalog-entities/schemas/dto-schemas.js.map +1 -1
- package/dist/server/plugins/catalog-entities/schemas/file-schemas.d.ts +26 -25
- package/dist/server/plugins/catalog-entities/schemas/file-schemas.d.ts.map +1 -1
- package/dist/server/plugins/catalog-entities/schemas/file-schemas.js +1 -1
- package/dist/server/plugins/catalog-entities/utils/has-options-changed.d.ts +2 -0
- package/dist/server/plugins/catalog-entities/utils/has-options-changed.d.ts.map +1 -0
- package/dist/server/plugins/catalog-entities/utils/has-options-changed.js +1 -0
- package/dist/server/plugins/catalog-entities/utils/has-options-changed.js.map +1 -0
- package/dist/server/plugins/config-parser/safe-parse.d.ts.map +1 -1
- package/dist/server/plugins/config-parser/safe-parse.js +1 -1
- package/dist/server/plugins/config-parser/safe-parse.js.map +1 -1
- package/dist/server/plugins/markdown/markdoc/custom-components/openapi/replay-openapi.d.ts.map +1 -1
- package/dist/server/plugins/markdown/markdoc/custom-components/openapi/replay-openapi.js +1 -1
- package/dist/server/plugins/markdown/markdoc/custom-components/openapi/replay-openapi.js.map +1 -1
- package/dist/server/providers/database/client.d.ts +2 -2
- package/dist/server/providers/database/client.d.ts.map +1 -1
- package/dist/server/providers/database/client.js +1 -1
- package/dist/server/providers/database/client.js.map +1 -1
- package/dist/server/providers/database/database-connections-manager.d.ts +3 -11
- package/dist/server/providers/database/database-connections-manager.d.ts.map +1 -1
- package/dist/server/providers/database/database-connections-manager.js +1 -1
- package/dist/server/providers/database/database-connections-manager.js.map +1 -1
- package/dist/server/providers/database/database-preconnect-service.d.ts.map +1 -1
- package/dist/server/providers/database/database-preconnect-service.js +1 -1
- package/dist/server/providers/database/database-preconnect-service.js.map +1 -1
- package/dist/server/providers/database/pagination/filter.d.ts.map +1 -1
- package/dist/server/providers/database/pagination/filter.js +1 -1
- package/dist/server/providers/database/pagination/filter.js.map +1 -1
- package/dist/server/providers/database/pagination/index.d.ts +0 -4
- package/dist/server/providers/database/pagination/index.d.ts.map +1 -1
- package/dist/server/providers/database/pagination/index.js +1 -1
- package/dist/server/providers/database/pagination/index.js.map +1 -1
- package/dist/server/providers/database/pagination/schemas.d.ts.map +1 -1
- package/dist/server/providers/database/pagination/schemas.js +1 -1
- package/dist/server/providers/database/pagination/schemas.js.map +1 -1
- package/dist/server/providers/database/pagination/sort.d.ts.map +1 -1
- package/dist/server/providers/database/pagination/sort.js +1 -1
- package/dist/server/providers/database/pagination/sort.js.map +1 -1
- package/dist/server/providers/database/pagination/utils/field-pattern-matcher.d.ts +4 -0
- package/dist/server/providers/database/pagination/utils/field-pattern-matcher.d.ts.map +1 -0
- package/dist/server/providers/database/pagination/utils/field-pattern-matcher.js +1 -0
- package/dist/server/providers/database/pagination/utils/field-pattern-matcher.js.map +1 -0
- package/dist/server/providers/database/utils/retry-async-operation.js +1 -1
- package/dist/server/providers/database/utils/retry-async-operation.js.map +1 -1
- package/dist/server/web-server/dev-server.d.ts.map +1 -1
- package/dist/server/web-server/dev-server.js +1 -1
- package/dist/server/web-server/dev-server.js.map +1 -1
- package/dist/server/web-server/middleware/catalogAuthMiddleware.js +1 -1
- package/dist/server/web-server/middleware/catalogAuthMiddleware.js.map +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog-related-entities.d.ts.map +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog-related-entities.js +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog-related-entities.js.map +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog.d.ts +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog.d.ts.map +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog.js +1 -1
- package/dist/server/web-server/routes/catalog/bff-catalog.js.map +1 -1
- package/dist/server/web-server/routes/catalog/catalog-relations.d.ts.map +1 -1
- package/dist/server/web-server/routes/catalog/catalog-relations.js +1 -1
- package/dist/server/web-server/routes/catalog/catalog-relations.js.map +1 -1
- package/dist/server/web-server/routes/catalog/catalog.d.ts.map +1 -1
- package/dist/server/web-server/routes/catalog/catalog.js +1 -1
- package/dist/server/web-server/routes/catalog/catalog.js.map +1 -1
- package/dist/server/web-server/utils/prepare-list-response.d.ts +1 -1
- package/dist/server/web-server/utils/prepare-list-response.d.ts.map +1 -1
- package/dist/server/web-server/utils/prepare-list-response.js +1 -1
- package/dist/server/web-server/utils/prepare-list-response.js.map +1 -1
- package/package.json +9 -8
- package/dist/server/plugins/catalog-entities/database/index.d.ts +0 -4
- package/dist/server/plugins/catalog-entities/database/index.d.ts.map +0 -1
- package/dist/server/plugins/catalog-entities/database/index.js +0 -1
- package/dist/server/plugins/catalog-entities/database/index.js.map +0 -1
- package/dist/server/plugins/catalog-entities/entities/index.d.ts +0 -3
- package/dist/server/plugins/catalog-entities/entities/index.d.ts.map +0 -1
- package/dist/server/plugins/catalog-entities/entities/index.js +0 -1
- package/dist/server/plugins/catalog-entities/entities/index.js.map +0 -1
- package/dist/server/plugins/catalog-entities/index.d.ts +0 -6
- package/dist/server/plugins/catalog-entities/index.d.ts.map +0 -1
- package/dist/server/plugins/catalog-entities/index.js +0 -1
- package/dist/server/plugins/catalog-entities/index.js.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { FromSchema } from 'json-schema-to-ts';
|
|
2
|
-
import { type EntityFileSchema } from './file-schemas.js';
|
|
2
|
+
import { EntitiesFileSchema, type EntityFileSchema } from './file-schemas.js';
|
|
3
3
|
export declare const entityRelationDtoSchema: {
|
|
4
4
|
readonly type: "object";
|
|
5
5
|
readonly properties: {
|
|
@@ -33,6 +33,42 @@ export declare const entityRelationDtoSchema: {
|
|
|
33
33
|
readonly required: readonly ["type", "sourceKey", "targetKey"];
|
|
34
34
|
readonly additionalProperties: false;
|
|
35
35
|
};
|
|
36
|
+
export declare const entitiesRelationsDtoSchema: {
|
|
37
|
+
readonly type: "array";
|
|
38
|
+
readonly items: {
|
|
39
|
+
readonly type: "object";
|
|
40
|
+
readonly properties: {
|
|
41
|
+
readonly type: {
|
|
42
|
+
readonly type: "string";
|
|
43
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
44
|
+
};
|
|
45
|
+
readonly sourceKey: {
|
|
46
|
+
readonly type: "string";
|
|
47
|
+
readonly minLength: 2;
|
|
48
|
+
readonly maxLength: 150;
|
|
49
|
+
};
|
|
50
|
+
readonly targetKey: {
|
|
51
|
+
readonly type: "string";
|
|
52
|
+
readonly minLength: 2;
|
|
53
|
+
readonly maxLength: 150;
|
|
54
|
+
};
|
|
55
|
+
readonly sourceId: {
|
|
56
|
+
readonly type: readonly ["string", "null"];
|
|
57
|
+
};
|
|
58
|
+
readonly targetId: {
|
|
59
|
+
readonly type: readonly ["string", "null"];
|
|
60
|
+
};
|
|
61
|
+
readonly sourceFile: {
|
|
62
|
+
readonly type: readonly ["string", "null"];
|
|
63
|
+
};
|
|
64
|
+
readonly fileHash: {
|
|
65
|
+
readonly type: readonly ["string", "null"];
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
readonly required: readonly ["type", "sourceKey", "targetKey"];
|
|
69
|
+
readonly additionalProperties: false;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
36
72
|
export declare const entityDtoSchema: {
|
|
37
73
|
readonly type: "object";
|
|
38
74
|
readonly discriminator: {
|
|
@@ -63,7 +99,7 @@ export declare const entityDtoSchema: {
|
|
|
63
99
|
};
|
|
64
100
|
readonly title: {
|
|
65
101
|
readonly type: "string";
|
|
66
|
-
readonly minLength:
|
|
102
|
+
readonly minLength: 2;
|
|
67
103
|
readonly maxLength: 200;
|
|
68
104
|
};
|
|
69
105
|
readonly summary: {
|
|
@@ -101,7 +137,7 @@ export declare const entityDtoSchema: {
|
|
|
101
137
|
readonly properties: {
|
|
102
138
|
readonly name: {
|
|
103
139
|
readonly type: "string";
|
|
104
|
-
readonly minLength:
|
|
140
|
+
readonly minLength: 2;
|
|
105
141
|
readonly maxLength: 150;
|
|
106
142
|
};
|
|
107
143
|
};
|
|
@@ -127,7 +163,7 @@ export declare const entityDtoSchema: {
|
|
|
127
163
|
readonly properties: {
|
|
128
164
|
readonly label: {
|
|
129
165
|
readonly type: "string";
|
|
130
|
-
readonly minLength:
|
|
166
|
+
readonly minLength: 2;
|
|
131
167
|
readonly maxLength: 150;
|
|
132
168
|
};
|
|
133
169
|
readonly url: {
|
|
@@ -153,7 +189,7 @@ export declare const entityDtoSchema: {
|
|
|
153
189
|
};
|
|
154
190
|
readonly key: {
|
|
155
191
|
readonly type: "string";
|
|
156
|
-
readonly minLength:
|
|
192
|
+
readonly minLength: 2;
|
|
157
193
|
readonly maxLength: 100;
|
|
158
194
|
};
|
|
159
195
|
};
|
|
@@ -209,7 +245,7 @@ export declare const entityDtoSchema: {
|
|
|
209
245
|
};
|
|
210
246
|
readonly title: {
|
|
211
247
|
readonly type: "string";
|
|
212
|
-
readonly minLength:
|
|
248
|
+
readonly minLength: 2;
|
|
213
249
|
readonly maxLength: 200;
|
|
214
250
|
};
|
|
215
251
|
readonly summary: {
|
|
@@ -247,7 +283,7 @@ export declare const entityDtoSchema: {
|
|
|
247
283
|
readonly properties: {
|
|
248
284
|
readonly name: {
|
|
249
285
|
readonly type: "string";
|
|
250
|
-
readonly minLength:
|
|
286
|
+
readonly minLength: 2;
|
|
251
287
|
readonly maxLength: 150;
|
|
252
288
|
};
|
|
253
289
|
};
|
|
@@ -273,7 +309,7 @@ export declare const entityDtoSchema: {
|
|
|
273
309
|
readonly properties: {
|
|
274
310
|
readonly label: {
|
|
275
311
|
readonly type: "string";
|
|
276
|
-
readonly minLength:
|
|
312
|
+
readonly minLength: 2;
|
|
277
313
|
readonly maxLength: 150;
|
|
278
314
|
};
|
|
279
315
|
readonly url: {
|
|
@@ -299,7 +335,7 @@ export declare const entityDtoSchema: {
|
|
|
299
335
|
};
|
|
300
336
|
readonly key: {
|
|
301
337
|
readonly type: "string";
|
|
302
|
-
readonly minLength:
|
|
338
|
+
readonly minLength: 2;
|
|
303
339
|
readonly maxLength: 100;
|
|
304
340
|
};
|
|
305
341
|
};
|
|
@@ -341,7 +377,7 @@ export declare const entityDtoSchema: {
|
|
|
341
377
|
};
|
|
342
378
|
readonly title: {
|
|
343
379
|
readonly type: "string";
|
|
344
|
-
readonly minLength:
|
|
380
|
+
readonly minLength: 2;
|
|
345
381
|
readonly maxLength: 200;
|
|
346
382
|
};
|
|
347
383
|
readonly summary: {
|
|
@@ -379,7 +415,7 @@ export declare const entityDtoSchema: {
|
|
|
379
415
|
readonly properties: {
|
|
380
416
|
readonly name: {
|
|
381
417
|
readonly type: "string";
|
|
382
|
-
readonly minLength:
|
|
418
|
+
readonly minLength: 2;
|
|
383
419
|
readonly maxLength: 150;
|
|
384
420
|
};
|
|
385
421
|
};
|
|
@@ -405,7 +441,7 @@ export declare const entityDtoSchema: {
|
|
|
405
441
|
readonly properties: {
|
|
406
442
|
readonly label: {
|
|
407
443
|
readonly type: "string";
|
|
408
|
-
readonly minLength:
|
|
444
|
+
readonly minLength: 2;
|
|
409
445
|
readonly maxLength: 150;
|
|
410
446
|
};
|
|
411
447
|
readonly url: {
|
|
@@ -431,7 +467,7 @@ export declare const entityDtoSchema: {
|
|
|
431
467
|
};
|
|
432
468
|
readonly key: {
|
|
433
469
|
readonly type: "string";
|
|
434
|
-
readonly minLength:
|
|
470
|
+
readonly minLength: 2;
|
|
435
471
|
readonly maxLength: 100;
|
|
436
472
|
};
|
|
437
473
|
};
|
|
@@ -477,7 +513,7 @@ export declare const entityDtoSchema: {
|
|
|
477
513
|
};
|
|
478
514
|
readonly title: {
|
|
479
515
|
readonly type: "string";
|
|
480
|
-
readonly minLength:
|
|
516
|
+
readonly minLength: 2;
|
|
481
517
|
readonly maxLength: 200;
|
|
482
518
|
};
|
|
483
519
|
readonly summary: {
|
|
@@ -515,7 +551,7 @@ export declare const entityDtoSchema: {
|
|
|
515
551
|
readonly properties: {
|
|
516
552
|
readonly name: {
|
|
517
553
|
readonly type: "string";
|
|
518
|
-
readonly minLength:
|
|
554
|
+
readonly minLength: 2;
|
|
519
555
|
readonly maxLength: 150;
|
|
520
556
|
};
|
|
521
557
|
};
|
|
@@ -541,7 +577,7 @@ export declare const entityDtoSchema: {
|
|
|
541
577
|
readonly properties: {
|
|
542
578
|
readonly label: {
|
|
543
579
|
readonly type: "string";
|
|
544
|
-
readonly minLength:
|
|
580
|
+
readonly minLength: 2;
|
|
545
581
|
readonly maxLength: 150;
|
|
546
582
|
};
|
|
547
583
|
readonly url: {
|
|
@@ -567,7 +603,7 @@ export declare const entityDtoSchema: {
|
|
|
567
603
|
};
|
|
568
604
|
readonly key: {
|
|
569
605
|
readonly type: "string";
|
|
570
|
-
readonly minLength:
|
|
606
|
+
readonly minLength: 2;
|
|
571
607
|
readonly maxLength: 100;
|
|
572
608
|
};
|
|
573
609
|
};
|
|
@@ -597,7 +633,7 @@ export declare const entityDtoSchema: {
|
|
|
597
633
|
};
|
|
598
634
|
readonly title: {
|
|
599
635
|
readonly type: "string";
|
|
600
|
-
readonly minLength:
|
|
636
|
+
readonly minLength: 2;
|
|
601
637
|
readonly maxLength: 200;
|
|
602
638
|
};
|
|
603
639
|
readonly summary: {
|
|
@@ -635,7 +671,7 @@ export declare const entityDtoSchema: {
|
|
|
635
671
|
readonly properties: {
|
|
636
672
|
readonly name: {
|
|
637
673
|
readonly type: "string";
|
|
638
|
-
readonly minLength:
|
|
674
|
+
readonly minLength: 2;
|
|
639
675
|
readonly maxLength: 150;
|
|
640
676
|
};
|
|
641
677
|
};
|
|
@@ -661,7 +697,7 @@ export declare const entityDtoSchema: {
|
|
|
661
697
|
readonly properties: {
|
|
662
698
|
readonly label: {
|
|
663
699
|
readonly type: "string";
|
|
664
|
-
readonly minLength:
|
|
700
|
+
readonly minLength: 2;
|
|
665
701
|
readonly maxLength: 150;
|
|
666
702
|
};
|
|
667
703
|
readonly url: {
|
|
@@ -687,7 +723,7 @@ export declare const entityDtoSchema: {
|
|
|
687
723
|
};
|
|
688
724
|
readonly key: {
|
|
689
725
|
readonly type: "string";
|
|
690
|
-
readonly minLength:
|
|
726
|
+
readonly minLength: 2;
|
|
691
727
|
readonly maxLength: 100;
|
|
692
728
|
};
|
|
693
729
|
};
|
|
@@ -701,6 +737,679 @@ export declare const entityDtoSchema: {
|
|
|
701
737
|
readonly additionalProperties: false;
|
|
702
738
|
}];
|
|
703
739
|
};
|
|
740
|
+
export declare const entitiesDtoSchema: {
|
|
741
|
+
readonly type: "array";
|
|
742
|
+
readonly items: {
|
|
743
|
+
readonly type: "object";
|
|
744
|
+
readonly discriminator: {
|
|
745
|
+
readonly propertyName: "type";
|
|
746
|
+
};
|
|
747
|
+
readonly oneOf: readonly [{
|
|
748
|
+
readonly type: "object";
|
|
749
|
+
readonly properties: {
|
|
750
|
+
readonly type: {
|
|
751
|
+
readonly const: "user";
|
|
752
|
+
};
|
|
753
|
+
readonly metadata: {
|
|
754
|
+
readonly type: "object";
|
|
755
|
+
readonly properties: {
|
|
756
|
+
readonly email: {
|
|
757
|
+
readonly type: "string";
|
|
758
|
+
readonly description: "Email of the user";
|
|
759
|
+
};
|
|
760
|
+
};
|
|
761
|
+
readonly required: readonly ["email"];
|
|
762
|
+
readonly additionalProperties: true;
|
|
763
|
+
};
|
|
764
|
+
readonly key: {
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
767
|
+
readonly minLength: 2;
|
|
768
|
+
readonly maxLength: 150;
|
|
769
|
+
};
|
|
770
|
+
readonly title: {
|
|
771
|
+
readonly type: "string";
|
|
772
|
+
readonly minLength: 2;
|
|
773
|
+
readonly maxLength: 200;
|
|
774
|
+
};
|
|
775
|
+
readonly summary: {
|
|
776
|
+
readonly type: readonly ["string", "null"];
|
|
777
|
+
readonly minLength: 1;
|
|
778
|
+
readonly maxLength: 500;
|
|
779
|
+
};
|
|
780
|
+
readonly tags: {
|
|
781
|
+
readonly type: readonly ["array", "null"];
|
|
782
|
+
readonly items: {
|
|
783
|
+
readonly type: "string";
|
|
784
|
+
readonly minLength: 1;
|
|
785
|
+
readonly maxLength: 50;
|
|
786
|
+
};
|
|
787
|
+
};
|
|
788
|
+
readonly git: {
|
|
789
|
+
readonly type: readonly ["array", "null"];
|
|
790
|
+
readonly items: {
|
|
791
|
+
readonly type: "string";
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
readonly contact: {
|
|
795
|
+
readonly anyOf: readonly [{
|
|
796
|
+
readonly type: "null";
|
|
797
|
+
}, {
|
|
798
|
+
readonly type: "object";
|
|
799
|
+
readonly properties: {
|
|
800
|
+
readonly slack: {
|
|
801
|
+
readonly type: "object";
|
|
802
|
+
readonly properties: {
|
|
803
|
+
readonly channels: {
|
|
804
|
+
readonly type: "array";
|
|
805
|
+
readonly items: {
|
|
806
|
+
readonly type: "object";
|
|
807
|
+
readonly properties: {
|
|
808
|
+
readonly name: {
|
|
809
|
+
readonly type: "string";
|
|
810
|
+
readonly minLength: 2;
|
|
811
|
+
readonly maxLength: 150;
|
|
812
|
+
};
|
|
813
|
+
};
|
|
814
|
+
readonly required: readonly ["name"];
|
|
815
|
+
readonly additionalProperties: false;
|
|
816
|
+
};
|
|
817
|
+
};
|
|
818
|
+
};
|
|
819
|
+
readonly required: readonly ["channels"];
|
|
820
|
+
readonly additionalProperties: false;
|
|
821
|
+
};
|
|
822
|
+
};
|
|
823
|
+
readonly additionalProperties: false;
|
|
824
|
+
}];
|
|
825
|
+
};
|
|
826
|
+
readonly links: {
|
|
827
|
+
readonly anyOf: readonly [{
|
|
828
|
+
readonly type: "null";
|
|
829
|
+
}, {
|
|
830
|
+
readonly type: "array";
|
|
831
|
+
readonly items: {
|
|
832
|
+
readonly type: "object";
|
|
833
|
+
readonly properties: {
|
|
834
|
+
readonly label: {
|
|
835
|
+
readonly type: "string";
|
|
836
|
+
readonly minLength: 2;
|
|
837
|
+
readonly maxLength: 150;
|
|
838
|
+
};
|
|
839
|
+
readonly url: {
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
};
|
|
842
|
+
};
|
|
843
|
+
readonly required: readonly ["label", "url"];
|
|
844
|
+
readonly additionalProperties: false;
|
|
845
|
+
};
|
|
846
|
+
}];
|
|
847
|
+
};
|
|
848
|
+
readonly relations: {
|
|
849
|
+
readonly anyOf: readonly [{
|
|
850
|
+
readonly type: "null";
|
|
851
|
+
}, {
|
|
852
|
+
readonly type: "array";
|
|
853
|
+
readonly items: {
|
|
854
|
+
readonly type: "object";
|
|
855
|
+
readonly properties: {
|
|
856
|
+
readonly type: {
|
|
857
|
+
readonly type: "string";
|
|
858
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
859
|
+
};
|
|
860
|
+
readonly key: {
|
|
861
|
+
readonly type: "string";
|
|
862
|
+
readonly minLength: 2;
|
|
863
|
+
readonly maxLength: 100;
|
|
864
|
+
};
|
|
865
|
+
};
|
|
866
|
+
readonly required: readonly ["type", "key"];
|
|
867
|
+
readonly additionalProperties: false;
|
|
868
|
+
};
|
|
869
|
+
}];
|
|
870
|
+
};
|
|
871
|
+
};
|
|
872
|
+
readonly required: readonly ["key", "title", "type", "metadata"];
|
|
873
|
+
readonly additionalProperties: false;
|
|
874
|
+
}, {
|
|
875
|
+
readonly type: "object";
|
|
876
|
+
readonly properties: {
|
|
877
|
+
readonly type: {
|
|
878
|
+
readonly const: "api-operation";
|
|
879
|
+
};
|
|
880
|
+
readonly metadata: {
|
|
881
|
+
readonly type: "object";
|
|
882
|
+
readonly properties: {
|
|
883
|
+
readonly method: {
|
|
884
|
+
readonly type: "string";
|
|
885
|
+
readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"];
|
|
886
|
+
readonly description: "HTTP method of the API operation";
|
|
887
|
+
};
|
|
888
|
+
readonly path: {
|
|
889
|
+
readonly type: "string";
|
|
890
|
+
readonly description: "Path of the API operation";
|
|
891
|
+
};
|
|
892
|
+
readonly payload: {
|
|
893
|
+
readonly type: "array";
|
|
894
|
+
readonly items: {
|
|
895
|
+
readonly type: "string";
|
|
896
|
+
readonly description: "Related dataSchema name";
|
|
897
|
+
};
|
|
898
|
+
};
|
|
899
|
+
readonly responses: {
|
|
900
|
+
readonly type: "array";
|
|
901
|
+
readonly items: {
|
|
902
|
+
readonly type: "string";
|
|
903
|
+
readonly description: "Related dataSchema name";
|
|
904
|
+
};
|
|
905
|
+
};
|
|
906
|
+
};
|
|
907
|
+
readonly required: readonly ["method", "path"];
|
|
908
|
+
readonly additionalProperties: true;
|
|
909
|
+
};
|
|
910
|
+
readonly key: {
|
|
911
|
+
readonly type: "string";
|
|
912
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
913
|
+
readonly minLength: 2;
|
|
914
|
+
readonly maxLength: 150;
|
|
915
|
+
};
|
|
916
|
+
readonly title: {
|
|
917
|
+
readonly type: "string";
|
|
918
|
+
readonly minLength: 2;
|
|
919
|
+
readonly maxLength: 200;
|
|
920
|
+
};
|
|
921
|
+
readonly summary: {
|
|
922
|
+
readonly type: readonly ["string", "null"];
|
|
923
|
+
readonly minLength: 1;
|
|
924
|
+
readonly maxLength: 500;
|
|
925
|
+
};
|
|
926
|
+
readonly tags: {
|
|
927
|
+
readonly type: readonly ["array", "null"];
|
|
928
|
+
readonly items: {
|
|
929
|
+
readonly type: "string";
|
|
930
|
+
readonly minLength: 1;
|
|
931
|
+
readonly maxLength: 50;
|
|
932
|
+
};
|
|
933
|
+
};
|
|
934
|
+
readonly git: {
|
|
935
|
+
readonly type: readonly ["array", "null"];
|
|
936
|
+
readonly items: {
|
|
937
|
+
readonly type: "string";
|
|
938
|
+
};
|
|
939
|
+
};
|
|
940
|
+
readonly contact: {
|
|
941
|
+
readonly anyOf: readonly [{
|
|
942
|
+
readonly type: "null";
|
|
943
|
+
}, {
|
|
944
|
+
readonly type: "object";
|
|
945
|
+
readonly properties: {
|
|
946
|
+
readonly slack: {
|
|
947
|
+
readonly type: "object";
|
|
948
|
+
readonly properties: {
|
|
949
|
+
readonly channels: {
|
|
950
|
+
readonly type: "array";
|
|
951
|
+
readonly items: {
|
|
952
|
+
readonly type: "object";
|
|
953
|
+
readonly properties: {
|
|
954
|
+
readonly name: {
|
|
955
|
+
readonly type: "string";
|
|
956
|
+
readonly minLength: 2;
|
|
957
|
+
readonly maxLength: 150;
|
|
958
|
+
};
|
|
959
|
+
};
|
|
960
|
+
readonly required: readonly ["name"];
|
|
961
|
+
readonly additionalProperties: false;
|
|
962
|
+
};
|
|
963
|
+
};
|
|
964
|
+
};
|
|
965
|
+
readonly required: readonly ["channels"];
|
|
966
|
+
readonly additionalProperties: false;
|
|
967
|
+
};
|
|
968
|
+
};
|
|
969
|
+
readonly additionalProperties: false;
|
|
970
|
+
}];
|
|
971
|
+
};
|
|
972
|
+
readonly links: {
|
|
973
|
+
readonly anyOf: readonly [{
|
|
974
|
+
readonly type: "null";
|
|
975
|
+
}, {
|
|
976
|
+
readonly type: "array";
|
|
977
|
+
readonly items: {
|
|
978
|
+
readonly type: "object";
|
|
979
|
+
readonly properties: {
|
|
980
|
+
readonly label: {
|
|
981
|
+
readonly type: "string";
|
|
982
|
+
readonly minLength: 2;
|
|
983
|
+
readonly maxLength: 150;
|
|
984
|
+
};
|
|
985
|
+
readonly url: {
|
|
986
|
+
readonly type: "string";
|
|
987
|
+
};
|
|
988
|
+
};
|
|
989
|
+
readonly required: readonly ["label", "url"];
|
|
990
|
+
readonly additionalProperties: false;
|
|
991
|
+
};
|
|
992
|
+
}];
|
|
993
|
+
};
|
|
994
|
+
readonly relations: {
|
|
995
|
+
readonly anyOf: readonly [{
|
|
996
|
+
readonly type: "null";
|
|
997
|
+
}, {
|
|
998
|
+
readonly type: "array";
|
|
999
|
+
readonly items: {
|
|
1000
|
+
readonly type: "object";
|
|
1001
|
+
readonly properties: {
|
|
1002
|
+
readonly type: {
|
|
1003
|
+
readonly type: "string";
|
|
1004
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
1005
|
+
};
|
|
1006
|
+
readonly key: {
|
|
1007
|
+
readonly type: "string";
|
|
1008
|
+
readonly minLength: 2;
|
|
1009
|
+
readonly maxLength: 100;
|
|
1010
|
+
};
|
|
1011
|
+
};
|
|
1012
|
+
readonly required: readonly ["type", "key"];
|
|
1013
|
+
readonly additionalProperties: false;
|
|
1014
|
+
};
|
|
1015
|
+
}];
|
|
1016
|
+
};
|
|
1017
|
+
};
|
|
1018
|
+
readonly required: readonly ["key", "title", "type", "metadata"];
|
|
1019
|
+
readonly additionalProperties: false;
|
|
1020
|
+
}, {
|
|
1021
|
+
readonly type: "object";
|
|
1022
|
+
readonly properties: {
|
|
1023
|
+
readonly type: {
|
|
1024
|
+
readonly const: "data-schema";
|
|
1025
|
+
};
|
|
1026
|
+
readonly metadata: {
|
|
1027
|
+
readonly type: "object";
|
|
1028
|
+
readonly properties: {
|
|
1029
|
+
readonly specType: {
|
|
1030
|
+
readonly type: "string";
|
|
1031
|
+
readonly enum: readonly ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"];
|
|
1032
|
+
readonly description: "Specification type of the data schema";
|
|
1033
|
+
};
|
|
1034
|
+
readonly schema: {
|
|
1035
|
+
readonly type: "string";
|
|
1036
|
+
readonly description: "Inline schema of the data structure";
|
|
1037
|
+
};
|
|
1038
|
+
};
|
|
1039
|
+
readonly required: readonly ["specType", "schema"];
|
|
1040
|
+
readonly additionalProperties: true;
|
|
1041
|
+
};
|
|
1042
|
+
readonly key: {
|
|
1043
|
+
readonly type: "string";
|
|
1044
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
1045
|
+
readonly minLength: 2;
|
|
1046
|
+
readonly maxLength: 150;
|
|
1047
|
+
};
|
|
1048
|
+
readonly title: {
|
|
1049
|
+
readonly type: "string";
|
|
1050
|
+
readonly minLength: 2;
|
|
1051
|
+
readonly maxLength: 200;
|
|
1052
|
+
};
|
|
1053
|
+
readonly summary: {
|
|
1054
|
+
readonly type: readonly ["string", "null"];
|
|
1055
|
+
readonly minLength: 1;
|
|
1056
|
+
readonly maxLength: 500;
|
|
1057
|
+
};
|
|
1058
|
+
readonly tags: {
|
|
1059
|
+
readonly type: readonly ["array", "null"];
|
|
1060
|
+
readonly items: {
|
|
1061
|
+
readonly type: "string";
|
|
1062
|
+
readonly minLength: 1;
|
|
1063
|
+
readonly maxLength: 50;
|
|
1064
|
+
};
|
|
1065
|
+
};
|
|
1066
|
+
readonly git: {
|
|
1067
|
+
readonly type: readonly ["array", "null"];
|
|
1068
|
+
readonly items: {
|
|
1069
|
+
readonly type: "string";
|
|
1070
|
+
};
|
|
1071
|
+
};
|
|
1072
|
+
readonly contact: {
|
|
1073
|
+
readonly anyOf: readonly [{
|
|
1074
|
+
readonly type: "null";
|
|
1075
|
+
}, {
|
|
1076
|
+
readonly type: "object";
|
|
1077
|
+
readonly properties: {
|
|
1078
|
+
readonly slack: {
|
|
1079
|
+
readonly type: "object";
|
|
1080
|
+
readonly properties: {
|
|
1081
|
+
readonly channels: {
|
|
1082
|
+
readonly type: "array";
|
|
1083
|
+
readonly items: {
|
|
1084
|
+
readonly type: "object";
|
|
1085
|
+
readonly properties: {
|
|
1086
|
+
readonly name: {
|
|
1087
|
+
readonly type: "string";
|
|
1088
|
+
readonly minLength: 2;
|
|
1089
|
+
readonly maxLength: 150;
|
|
1090
|
+
};
|
|
1091
|
+
};
|
|
1092
|
+
readonly required: readonly ["name"];
|
|
1093
|
+
readonly additionalProperties: false;
|
|
1094
|
+
};
|
|
1095
|
+
};
|
|
1096
|
+
};
|
|
1097
|
+
readonly required: readonly ["channels"];
|
|
1098
|
+
readonly additionalProperties: false;
|
|
1099
|
+
};
|
|
1100
|
+
};
|
|
1101
|
+
readonly additionalProperties: false;
|
|
1102
|
+
}];
|
|
1103
|
+
};
|
|
1104
|
+
readonly links: {
|
|
1105
|
+
readonly anyOf: readonly [{
|
|
1106
|
+
readonly type: "null";
|
|
1107
|
+
}, {
|
|
1108
|
+
readonly type: "array";
|
|
1109
|
+
readonly items: {
|
|
1110
|
+
readonly type: "object";
|
|
1111
|
+
readonly properties: {
|
|
1112
|
+
readonly label: {
|
|
1113
|
+
readonly type: "string";
|
|
1114
|
+
readonly minLength: 2;
|
|
1115
|
+
readonly maxLength: 150;
|
|
1116
|
+
};
|
|
1117
|
+
readonly url: {
|
|
1118
|
+
readonly type: "string";
|
|
1119
|
+
};
|
|
1120
|
+
};
|
|
1121
|
+
readonly required: readonly ["label", "url"];
|
|
1122
|
+
readonly additionalProperties: false;
|
|
1123
|
+
};
|
|
1124
|
+
}];
|
|
1125
|
+
};
|
|
1126
|
+
readonly relations: {
|
|
1127
|
+
readonly anyOf: readonly [{
|
|
1128
|
+
readonly type: "null";
|
|
1129
|
+
}, {
|
|
1130
|
+
readonly type: "array";
|
|
1131
|
+
readonly items: {
|
|
1132
|
+
readonly type: "object";
|
|
1133
|
+
readonly properties: {
|
|
1134
|
+
readonly type: {
|
|
1135
|
+
readonly type: "string";
|
|
1136
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
1137
|
+
};
|
|
1138
|
+
readonly key: {
|
|
1139
|
+
readonly type: "string";
|
|
1140
|
+
readonly minLength: 2;
|
|
1141
|
+
readonly maxLength: 100;
|
|
1142
|
+
};
|
|
1143
|
+
};
|
|
1144
|
+
readonly required: readonly ["type", "key"];
|
|
1145
|
+
readonly additionalProperties: false;
|
|
1146
|
+
};
|
|
1147
|
+
}];
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
readonly required: readonly ["key", "title", "type", "metadata"];
|
|
1151
|
+
readonly additionalProperties: false;
|
|
1152
|
+
}, {
|
|
1153
|
+
readonly type: "object";
|
|
1154
|
+
readonly properties: {
|
|
1155
|
+
readonly type: {
|
|
1156
|
+
readonly const: "api-description";
|
|
1157
|
+
};
|
|
1158
|
+
readonly metadata: {
|
|
1159
|
+
readonly type: "object";
|
|
1160
|
+
readonly properties: {
|
|
1161
|
+
readonly specType: {
|
|
1162
|
+
readonly type: "string";
|
|
1163
|
+
readonly enum: readonly ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"];
|
|
1164
|
+
readonly description: "Type of the API description";
|
|
1165
|
+
};
|
|
1166
|
+
readonly schema: {
|
|
1167
|
+
readonly type: "string";
|
|
1168
|
+
readonly description: "Inline schema of the API description";
|
|
1169
|
+
};
|
|
1170
|
+
readonly descriptionFile: {
|
|
1171
|
+
readonly type: "string";
|
|
1172
|
+
readonly description: "Path to the file containing the API description";
|
|
1173
|
+
};
|
|
1174
|
+
};
|
|
1175
|
+
readonly required: readonly ["specType", "schema", "descriptionFile"];
|
|
1176
|
+
readonly additionalProperties: true;
|
|
1177
|
+
};
|
|
1178
|
+
readonly key: {
|
|
1179
|
+
readonly type: "string";
|
|
1180
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
1181
|
+
readonly minLength: 2;
|
|
1182
|
+
readonly maxLength: 150;
|
|
1183
|
+
};
|
|
1184
|
+
readonly title: {
|
|
1185
|
+
readonly type: "string";
|
|
1186
|
+
readonly minLength: 2;
|
|
1187
|
+
readonly maxLength: 200;
|
|
1188
|
+
};
|
|
1189
|
+
readonly summary: {
|
|
1190
|
+
readonly type: readonly ["string", "null"];
|
|
1191
|
+
readonly minLength: 1;
|
|
1192
|
+
readonly maxLength: 500;
|
|
1193
|
+
};
|
|
1194
|
+
readonly tags: {
|
|
1195
|
+
readonly type: readonly ["array", "null"];
|
|
1196
|
+
readonly items: {
|
|
1197
|
+
readonly type: "string";
|
|
1198
|
+
readonly minLength: 1;
|
|
1199
|
+
readonly maxLength: 50;
|
|
1200
|
+
};
|
|
1201
|
+
};
|
|
1202
|
+
readonly git: {
|
|
1203
|
+
readonly type: readonly ["array", "null"];
|
|
1204
|
+
readonly items: {
|
|
1205
|
+
readonly type: "string";
|
|
1206
|
+
};
|
|
1207
|
+
};
|
|
1208
|
+
readonly contact: {
|
|
1209
|
+
readonly anyOf: readonly [{
|
|
1210
|
+
readonly type: "null";
|
|
1211
|
+
}, {
|
|
1212
|
+
readonly type: "object";
|
|
1213
|
+
readonly properties: {
|
|
1214
|
+
readonly slack: {
|
|
1215
|
+
readonly type: "object";
|
|
1216
|
+
readonly properties: {
|
|
1217
|
+
readonly channels: {
|
|
1218
|
+
readonly type: "array";
|
|
1219
|
+
readonly items: {
|
|
1220
|
+
readonly type: "object";
|
|
1221
|
+
readonly properties: {
|
|
1222
|
+
readonly name: {
|
|
1223
|
+
readonly type: "string";
|
|
1224
|
+
readonly minLength: 2;
|
|
1225
|
+
readonly maxLength: 150;
|
|
1226
|
+
};
|
|
1227
|
+
};
|
|
1228
|
+
readonly required: readonly ["name"];
|
|
1229
|
+
readonly additionalProperties: false;
|
|
1230
|
+
};
|
|
1231
|
+
};
|
|
1232
|
+
};
|
|
1233
|
+
readonly required: readonly ["channels"];
|
|
1234
|
+
readonly additionalProperties: false;
|
|
1235
|
+
};
|
|
1236
|
+
};
|
|
1237
|
+
readonly additionalProperties: false;
|
|
1238
|
+
}];
|
|
1239
|
+
};
|
|
1240
|
+
readonly links: {
|
|
1241
|
+
readonly anyOf: readonly [{
|
|
1242
|
+
readonly type: "null";
|
|
1243
|
+
}, {
|
|
1244
|
+
readonly type: "array";
|
|
1245
|
+
readonly items: {
|
|
1246
|
+
readonly type: "object";
|
|
1247
|
+
readonly properties: {
|
|
1248
|
+
readonly label: {
|
|
1249
|
+
readonly type: "string";
|
|
1250
|
+
readonly minLength: 2;
|
|
1251
|
+
readonly maxLength: 150;
|
|
1252
|
+
};
|
|
1253
|
+
readonly url: {
|
|
1254
|
+
readonly type: "string";
|
|
1255
|
+
};
|
|
1256
|
+
};
|
|
1257
|
+
readonly required: readonly ["label", "url"];
|
|
1258
|
+
readonly additionalProperties: false;
|
|
1259
|
+
};
|
|
1260
|
+
}];
|
|
1261
|
+
};
|
|
1262
|
+
readonly relations: {
|
|
1263
|
+
readonly anyOf: readonly [{
|
|
1264
|
+
readonly type: "null";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly type: "array";
|
|
1267
|
+
readonly items: {
|
|
1268
|
+
readonly type: "object";
|
|
1269
|
+
readonly properties: {
|
|
1270
|
+
readonly type: {
|
|
1271
|
+
readonly type: "string";
|
|
1272
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
1273
|
+
};
|
|
1274
|
+
readonly key: {
|
|
1275
|
+
readonly type: "string";
|
|
1276
|
+
readonly minLength: 2;
|
|
1277
|
+
readonly maxLength: 100;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
readonly required: readonly ["type", "key"];
|
|
1281
|
+
readonly additionalProperties: false;
|
|
1282
|
+
};
|
|
1283
|
+
}];
|
|
1284
|
+
};
|
|
1285
|
+
};
|
|
1286
|
+
readonly required: readonly ["key", "title", "type", "metadata"];
|
|
1287
|
+
readonly additionalProperties: false;
|
|
1288
|
+
}, {
|
|
1289
|
+
readonly type: "object";
|
|
1290
|
+
readonly properties: {
|
|
1291
|
+
readonly type: {
|
|
1292
|
+
readonly enum: readonly ["service", "domain", "team"];
|
|
1293
|
+
};
|
|
1294
|
+
readonly metadata: {
|
|
1295
|
+
readonly type: readonly ["object", "null"];
|
|
1296
|
+
readonly additionalProperties: true;
|
|
1297
|
+
};
|
|
1298
|
+
readonly key: {
|
|
1299
|
+
readonly type: "string";
|
|
1300
|
+
readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
|
|
1301
|
+
readonly minLength: 2;
|
|
1302
|
+
readonly maxLength: 150;
|
|
1303
|
+
};
|
|
1304
|
+
readonly title: {
|
|
1305
|
+
readonly type: "string";
|
|
1306
|
+
readonly minLength: 2;
|
|
1307
|
+
readonly maxLength: 200;
|
|
1308
|
+
};
|
|
1309
|
+
readonly summary: {
|
|
1310
|
+
readonly type: readonly ["string", "null"];
|
|
1311
|
+
readonly minLength: 1;
|
|
1312
|
+
readonly maxLength: 500;
|
|
1313
|
+
};
|
|
1314
|
+
readonly tags: {
|
|
1315
|
+
readonly type: readonly ["array", "null"];
|
|
1316
|
+
readonly items: {
|
|
1317
|
+
readonly type: "string";
|
|
1318
|
+
readonly minLength: 1;
|
|
1319
|
+
readonly maxLength: 50;
|
|
1320
|
+
};
|
|
1321
|
+
};
|
|
1322
|
+
readonly git: {
|
|
1323
|
+
readonly type: readonly ["array", "null"];
|
|
1324
|
+
readonly items: {
|
|
1325
|
+
readonly type: "string";
|
|
1326
|
+
};
|
|
1327
|
+
};
|
|
1328
|
+
readonly contact: {
|
|
1329
|
+
readonly anyOf: readonly [{
|
|
1330
|
+
readonly type: "null";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly type: "object";
|
|
1333
|
+
readonly properties: {
|
|
1334
|
+
readonly slack: {
|
|
1335
|
+
readonly type: "object";
|
|
1336
|
+
readonly properties: {
|
|
1337
|
+
readonly channels: {
|
|
1338
|
+
readonly type: "array";
|
|
1339
|
+
readonly items: {
|
|
1340
|
+
readonly type: "object";
|
|
1341
|
+
readonly properties: {
|
|
1342
|
+
readonly name: {
|
|
1343
|
+
readonly type: "string";
|
|
1344
|
+
readonly minLength: 2;
|
|
1345
|
+
readonly maxLength: 150;
|
|
1346
|
+
};
|
|
1347
|
+
};
|
|
1348
|
+
readonly required: readonly ["name"];
|
|
1349
|
+
readonly additionalProperties: false;
|
|
1350
|
+
};
|
|
1351
|
+
};
|
|
1352
|
+
};
|
|
1353
|
+
readonly required: readonly ["channels"];
|
|
1354
|
+
readonly additionalProperties: false;
|
|
1355
|
+
};
|
|
1356
|
+
};
|
|
1357
|
+
readonly additionalProperties: false;
|
|
1358
|
+
}];
|
|
1359
|
+
};
|
|
1360
|
+
readonly links: {
|
|
1361
|
+
readonly anyOf: readonly [{
|
|
1362
|
+
readonly type: "null";
|
|
1363
|
+
}, {
|
|
1364
|
+
readonly type: "array";
|
|
1365
|
+
readonly items: {
|
|
1366
|
+
readonly type: "object";
|
|
1367
|
+
readonly properties: {
|
|
1368
|
+
readonly label: {
|
|
1369
|
+
readonly type: "string";
|
|
1370
|
+
readonly minLength: 2;
|
|
1371
|
+
readonly maxLength: 150;
|
|
1372
|
+
};
|
|
1373
|
+
readonly url: {
|
|
1374
|
+
readonly type: "string";
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
readonly required: readonly ["label", "url"];
|
|
1378
|
+
readonly additionalProperties: false;
|
|
1379
|
+
};
|
|
1380
|
+
}];
|
|
1381
|
+
};
|
|
1382
|
+
readonly relations: {
|
|
1383
|
+
readonly anyOf: readonly [{
|
|
1384
|
+
readonly type: "null";
|
|
1385
|
+
}, {
|
|
1386
|
+
readonly type: "array";
|
|
1387
|
+
readonly items: {
|
|
1388
|
+
readonly type: "object";
|
|
1389
|
+
readonly properties: {
|
|
1390
|
+
readonly type: {
|
|
1391
|
+
readonly type: "string";
|
|
1392
|
+
readonly enum: readonly ["partOf", "hasParts", "creates", "createdBy", "owns", "ownedBy", "implements", "implementedBy", "dependsOn", "dependencyOf", "uses", "usedBy", "produces", "consumes", "linksTo", "supersedes", "supersededBy", "compatibleWith", "extends", "extendedBy", "relatesTo", "hasMember", "memberOf", "triggers", "triggeredBy"];
|
|
1393
|
+
};
|
|
1394
|
+
readonly key: {
|
|
1395
|
+
readonly type: "string";
|
|
1396
|
+
readonly minLength: 2;
|
|
1397
|
+
readonly maxLength: 100;
|
|
1398
|
+
};
|
|
1399
|
+
};
|
|
1400
|
+
readonly required: readonly ["type", "key"];
|
|
1401
|
+
readonly additionalProperties: false;
|
|
1402
|
+
};
|
|
1403
|
+
}];
|
|
1404
|
+
};
|
|
1405
|
+
};
|
|
1406
|
+
readonly required: readonly ["key", "title", "type"];
|
|
1407
|
+
readonly additionalProperties: false;
|
|
1408
|
+
}];
|
|
1409
|
+
};
|
|
1410
|
+
};
|
|
704
1411
|
export type EntityRelationDtoSchema = FromSchema<typeof entityRelationDtoSchema>;
|
|
1412
|
+
export type EntitiesRelationsDtoSchema = FromSchema<typeof entitiesRelationsDtoSchema>;
|
|
705
1413
|
export type EntityDtoSchema = EntityFileSchema;
|
|
1414
|
+
export type EntitiesDtoSchema = EntitiesFileSchema;
|
|
706
1415
|
//# sourceMappingURL=dto-schemas.d.ts.map
|