@redocly/realm 0.134.0-next.2 → 0.134.0-next.4

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.
Files changed (196) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/cli/eject/ejectComponent.d.ts +1 -1
  3. package/dist/cli/eject/ejectTheme.d.ts +1 -1
  4. package/dist/cli/eject/themeOperations.d.ts +2 -2
  5. package/dist/cli/telemetry/index.d.ts +1 -1
  6. package/dist/client/ErrorBoundary.d.ts +1 -1
  7. package/dist/client/TestProvider.d.ts +1 -1
  8. package/dist/client/app/CircularProgress.d.ts +1 -1
  9. package/dist/client/app/ConditionalLink.d.ts +2 -2
  10. package/dist/client/app/Link.js +1 -1
  11. package/dist/client/app/Sidebar/useSidebarItems.d.ts +2 -2
  12. package/dist/client/app/hooks/catalog/useCatalogFilter.d.ts +12 -12
  13. package/dist/client/app/hooks/catalog/useCatalogSort.d.ts +2 -2
  14. package/dist/client/app/hooks/catalog/useFetchCatalogEntities.d.ts +1 -1
  15. package/dist/client/app/hooks/catalog/useFetchCatalogEntitiesRelations.d.ts +2 -2
  16. package/dist/client/app/hooks/catalog/useFetchCatalogEntityRevisions.d.ts +1 -1
  17. package/dist/client/app/hooks/catalog/useSearchTracker.d.ts +1 -1
  18. package/dist/client/app/hooks/products/useProducts.d.ts +3 -3
  19. package/dist/client/app/l10n/index.d.ts +1 -1
  20. package/dist/client/app/markdoc/custom-components/openapi/get-operation/get-operation.d.ts +1 -1
  21. package/dist/client/app/markdoc/custom-components/styled.elements.d.ts +2 -4
  22. package/dist/client/app/pages/DevLogin/DevLoginForm.d.ts +1 -1
  23. package/dist/client/app/pages/DevLogin/styled.d.ts +3 -3
  24. package/dist/client/app/useGlobalData.d.ts +1 -1
  25. package/dist/client/app/utils/getBlocksHeight.d.ts +5 -14
  26. package/dist/client/app/utils/getBlocksHeight.js +1 -1
  27. package/dist/client/app/utils/loadAndNavigate.d.ts +1 -1
  28. package/dist/client/app/utils/syncScrollWithEditor.js +1 -1
  29. package/dist/client/browser-entry.d.ts +0 -1
  30. package/dist/client/browser-entry.js +3 -3
  31. package/dist/client/constants/ai-search.d.ts +7 -7
  32. package/dist/client/providers/page-data/hooks.d.ts +3 -3
  33. package/dist/client/templates/asyncapi-docs/helpers.d.ts +4 -181
  34. package/dist/client/templates/asyncapi-docs/helpers.js +1 -1
  35. package/dist/client/templates/openapi-docs/helpers.d.ts +1 -1
  36. package/dist/client/templates/openapi-docs/helpers.js +2 -2
  37. package/dist/client/templates/openapi-docs/mock-server-config.d.ts +3 -3
  38. package/dist/client/templates/openapi-docs/template.d.ts +1 -1
  39. package/dist/client/types/sidebar.d.ts +4 -4
  40. package/dist/constants/common.d.ts +66 -66
  41. package/dist/markdoc/helpers/normalize-custom-tags.d.ts +2 -0
  42. package/dist/markdoc/helpers/normalize-custom-tags.js +1 -0
  43. package/dist/markdoc/nodes/index.d.ts +6 -6
  44. package/dist/markdoc/tags/index.d.ts +2 -48
  45. package/dist/server/api-routes/helpers/read-stream-with-size-limit.d.ts +1 -1
  46. package/dist/server/api-routes/run-api-routes-worker.d.ts +1 -1
  47. package/dist/server/config/env-config.d.ts +17 -17
  48. package/dist/server/config/env-schema.d.ts +46 -46
  49. package/dist/server/config/env-schemas/auth.d.ts +4 -4
  50. package/dist/server/config/env-schemas/catalog.d.ts +2 -2
  51. package/dist/server/config/env-schemas/environment-detection.d.ts +8 -8
  52. package/dist/server/config/env-schemas/feature-flags.d.ts +10 -10
  53. package/dist/server/config/env-schemas/search.d.ts +3 -3
  54. package/dist/server/config/env-schemas/server-config.d.ts +2 -2
  55. package/dist/server/fs/content-fs.d.ts +1 -1
  56. package/dist/server/node-bundle-entry.js +1 -1
  57. package/dist/server/persistence/cache/mappers/create-cache-db-record.d.ts +1 -1
  58. package/dist/server/persistence/cache/repositories/cache-repository.js +1 -1
  59. package/dist/server/persistence/file-hashes/mappers/create-file-hash-db-record.d.ts +1 -1
  60. package/dist/server/persistence/file-hashes/repositories/file-hashes-repository.js +1 -1
  61. package/dist/server/persistence/kv/mappers/create-kv-db-record.d.ts +1 -1
  62. package/dist/server/persistence/kv/repositories/kv-repository.d.ts +1 -1
  63. package/dist/server/persistence/kv/repositories/kv-repository.js +2 -2
  64. package/dist/server/persistence/kv/services/kv-service.d.ts +3 -2
  65. package/dist/server/persistence/kv/services/kv-service.js +1 -1
  66. package/dist/server/plugins/catalog-entities/database/catalog-entities-service.d.ts +7 -6
  67. package/dist/server/plugins/catalog-entities/database/catalog-entities-service.js +1 -1
  68. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-attributes-db-record.d.ts +1 -1
  69. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.d.ts +1 -1
  70. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-file-schema.d.ts +1 -1
  71. package/dist/server/plugins/catalog-entities/database/mappers/field-transformations.d.ts +2 -2
  72. package/dist/server/plugins/catalog-entities/database/remote-publish-lock-service.d.ts +3 -3
  73. package/dist/server/plugins/catalog-entities/database/repositories/bffEntities/bff-entities-read-repository.d.ts +2 -2
  74. package/dist/server/plugins/catalog-entities/database/repositories/catalog-entities-repository.d.ts +1 -4
  75. package/dist/server/plugins/catalog-entities/database/repositories/catalog-entities-repository.js +1 -1
  76. package/dist/server/plugins/catalog-entities/database/repositories/common/filters-repository.d.ts +1 -1
  77. package/dist/server/plugins/catalog-entities/database/repositories/common/revision-repository.d.ts +1 -1
  78. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-read-repository.d.ts +1 -1
  79. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-read-repository.js +1 -1
  80. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-write-repository.d.ts +2 -2
  81. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-write-repository.js +1 -1
  82. package/dist/server/plugins/catalog-entities/database/repositories/entityAttributes/entity-attributes-write-repository.d.ts +1 -1
  83. package/dist/server/plugins/catalog-entities/database/repositories/relations/relations-read-repository.d.ts +2 -2
  84. package/dist/server/plugins/catalog-entities/database/repositories/utils.d.ts +4 -4
  85. package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts +2 -2
  86. package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts +1 -1
  87. package/dist/server/plugins/catalog-entities/schemas/database-schemas.d.ts +78 -78
  88. package/dist/server/plugins/catalog-entities/schemas/dto-schemas.d.ts +28 -28
  89. package/dist/server/plugins/catalog-entities/utils/get-not-accessible-catalog-resources.d.ts +1 -1
  90. package/dist/server/plugins/catalog-entities/utils/is-predefined-catalog-type.d.ts +1 -1
  91. package/dist/server/plugins/catalog-entities/utils/openapi-component-content-extractor.d.ts +1 -1
  92. package/dist/server/plugins/config-parser/normalize-redirect-sources.d.ts +1 -1
  93. package/dist/server/plugins/default-theme/resolve-products-config.d.ts +1 -1
  94. package/dist/server/plugins/dev-onboarding/index.d.ts +1 -1
  95. package/dist/server/plugins/dev-onboarding/template/App.d.ts +1 -1
  96. package/dist/server/plugins/dev-onboarding/template/components/ApiKeyItem.d.ts +62 -4
  97. package/dist/server/plugins/dev-onboarding/template/components/ApiKeyProductStatus.js +2 -2
  98. package/dist/server/plugins/dev-onboarding/template/components/ApiKeySecret.js +2 -2
  99. package/dist/server/plugins/dev-onboarding/template/components/ApiKeys.d.ts +8 -2
  100. package/dist/server/plugins/dev-onboarding/template/components/ApiLogItem.js +1 -1
  101. package/dist/server/plugins/dev-onboarding/template/components/CharacterCounter.d.ts +1 -1
  102. package/dist/server/plugins/dev-onboarding/template/components/Container.d.ts +14 -2
  103. package/dist/server/plugins/dev-onboarding/template/components/DialogStyledComponents.d.ts +31 -11
  104. package/dist/server/plugins/dev-onboarding/template/components/MenuItemButton.d.ts +1 -1
  105. package/dist/server/plugins/dev-onboarding/template/components/Paper.d.ts +15 -3
  106. package/dist/server/plugins/dev-onboarding/template/components/PopupMenuUl.d.ts +1 -1
  107. package/dist/server/plugins/dev-onboarding/template/components/RevokeAPIKey.d.ts +2 -2
  108. package/dist/server/plugins/dev-onboarding/template/components/RevokeAPIKey.js +1 -1
  109. package/dist/server/plugins/dev-onboarding/template/components/RollAPIKey.d.ts +2 -2
  110. package/dist/server/plugins/dev-onboarding/template/components/RollAPIKey.js +1 -1
  111. package/dist/server/plugins/dev-onboarding/template/components/ShadowButton.d.ts +1 -1
  112. package/dist/server/plugins/dev-onboarding/template/components/ShadowButton.js +2 -2
  113. package/dist/server/plugins/dev-onboarding/template/components/StatusBadge.d.ts +1 -3
  114. package/dist/server/plugins/dev-onboarding/template/components/useSortableData.d.ts +2 -2
  115. package/dist/server/plugins/entitlements/utils/get-billed-catalog-build-pages-count.js +1 -1
  116. package/dist/server/plugins/graphql-docs/constants.d.ts +1 -1
  117. package/dist/server/plugins/graphql-docs/search/ai/utils.d.ts +1 -1
  118. package/dist/server/plugins/markdown/markdoc/markdoc-options.d.ts +36 -18
  119. package/dist/server/plugins/markdown/markdoc/markdoc-options.js +1 -1
  120. package/dist/server/plugins/markdown/search/get-ai-search-documents.d.ts +1 -1
  121. package/dist/server/plugins/markdown/search/nodes/tag-node.d.ts +1 -1
  122. package/dist/server/plugins/markdown/utils/resolve-markdown-template.d.ts +1 -1
  123. package/dist/server/plugins/mcp/constants.d.ts +1 -1
  124. package/dist/server/plugins/mcp/docs-mcp/tools/index.d.ts +8 -8
  125. package/dist/server/plugins/mcp/docs-mcp/tools/utils.d.ts +1 -1
  126. package/dist/server/plugins/mcp/docs-mcp/utils.d.ts +2 -2
  127. package/dist/server/plugins/mcp/servers/docs-server.d.ts +1 -1
  128. package/dist/server/plugins/scorecard-classic/compute-scorecard.d.ts +1 -1
  129. package/dist/server/plugins/scorecard-classic/get-scorecard-config.d.ts +63 -63
  130. package/dist/server/plugins/scorecard-classic/index.d.ts +1 -1
  131. package/dist/server/plugins/scorecard-classic/lint.d.ts +3 -3
  132. package/dist/server/plugins/scorecard-classic/template/Gauge.d.ts +1 -1
  133. package/dist/server/plugins/scorecard-classic/template/components.d.ts +1 -1
  134. package/dist/server/plugins/scorecard-classic/template/index.styles.d.ts +61 -33
  135. package/dist/server/plugins/scorecard-classic/template/useData.d.ts +58 -58
  136. package/dist/server/plugins/scorecard-classic/template/utils.d.ts +1 -1
  137. package/dist/server/plugins/scorecards/database/repositories/scorecards-config-repository.d.ts +4 -0
  138. package/dist/server/plugins/scorecards/database/repositories/scorecards-config-repository.js +1 -1
  139. package/dist/server/plugins/scorecards/database/scorecards-config-service.d.ts +4 -4
  140. package/dist/server/plugins/scorecards/database/scorecards-config-service.js +1 -1
  141. package/dist/server/plugins/search/ai-indexer/prepare-semantic-documents.d.ts +1 -1
  142. package/dist/server/plugins/search/engines/search-engine.d.ts +1 -1
  143. package/dist/server/plugins/search/llmstxt/index.d.ts +1 -1
  144. package/dist/server/plugins/sidebars/index.d.ts +1 -1
  145. package/dist/server/providers/database/base-service.d.ts +25 -0
  146. package/dist/server/providers/database/base-service.js +1 -0
  147. package/dist/server/providers/database/database-path-generator.d.ts +2 -2
  148. package/dist/server/providers/database/database-preconnect-service.js +1 -1
  149. package/dist/server/providers/database/databases/sqlite-db/schemas/cache-table.d.ts +1 -1
  150. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-attributes-table.d.ts +1 -1
  151. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-relations-table.d.ts +1 -1
  152. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-table.d.ts +1 -1
  153. package/dist/server/providers/database/databases/sqlite-db/schemas/file-hashes-table.d.ts +1 -1
  154. package/dist/server/providers/database/databases/sqlite-db/schemas/kv-table.d.ts +1 -1
  155. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-config-table.d.ts +1 -1
  156. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-evaluation-runs-table.d.ts +1 -1
  157. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-level-results-table.d.ts +1 -1
  158. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-levels-rules-results-table.d.ts +1 -1
  159. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-results-table.d.ts +1 -1
  160. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-rule-results-table.d.ts +1 -1
  161. package/dist/server/providers/database/instance-cache-resolver.d.ts +19 -0
  162. package/dist/server/providers/database/instance-cache-resolver.js +1 -0
  163. package/dist/server/providers/database/pagination/constants.d.ts +2 -2
  164. package/dist/server/providers/database/utils/storage-limit-validator.d.ts +1 -1
  165. package/dist/server/ssr/render.js +1 -1
  166. package/dist/server/ssr/server-side-props/get-default-static-props.d.ts +9 -9
  167. package/dist/server/ssr/server-side-props/get-server-props-from-user-handler.d.ts +1 -1
  168. package/dist/server/ssr/server-side-props/prepare-context-variables.d.ts +1 -1
  169. package/dist/server/ssr/template.d.ts +1 -1
  170. package/dist/server/store.d.ts +2 -2
  171. package/dist/server/tools/notifiers/reporter.d.ts +12 -12
  172. package/dist/server/utils/envs/env-boolean-string.d.ts +3 -3
  173. package/dist/server/utils/is-realm-or-reef.d.ts +2 -0
  174. package/dist/server/utils/is-realm-or-reef.js +1 -0
  175. package/dist/server/utils/product.d.ts +1 -1
  176. package/dist/server/utils/rbac.d.ts +33 -33
  177. package/dist/server/web-server/auth.d.ts +2 -2
  178. package/dist/server/web-server/dev-server.js +1 -1
  179. package/dist/server/web-server/middleware/catalogAuthMiddleware.d.ts +1 -1
  180. package/dist/server/web-server/routes/catalog/helpers/create-entity-relation-update-schema.d.ts +12 -12
  181. package/dist/server/web-server/routes/catalog/helpers/create-entity-schema.d.ts +1967 -1967
  182. package/dist/server/web-server/routes/catalog/helpers/create-entity-update-schema.d.ts +357 -357
  183. package/dist/server/web-server/routes/catalog/helpers/has-access-to-entity.d.ts +1 -1
  184. package/dist/server/web-server/routes/catalog/helpers/upsert-pages-stats.d.ts +1 -1
  185. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entities-relations.d.ts +7 -7
  186. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entity-relation-update-data.d.ts +7 -7
  187. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entity-relation.d.ts +7 -7
  188. package/dist/server/web-server/routes/feedback.d.ts +1 -1
  189. package/dist/server/web-server/routes/helpers/process-redirects.d.ts +1 -1
  190. package/dist/server/web-server/utils/prepare-list-response.d.ts +1 -1
  191. package/dist/server/web-server/utils.d.ts +2 -2
  192. package/dist/utils/should-forward-prop.d.ts +9 -0
  193. package/dist/utils/should-forward-prop.js +1 -0
  194. package/package.json +12 -11
  195. package/dist/server/plugins/catalog-entities/utils/has-options-changed.d.ts +0 -2
  196. package/dist/server/plugins/catalog-entities/utils/has-options-changed.js +0 -1
@@ -2,1101 +2,1101 @@ import type { EntitiesCatalogConfig } from '@redocly/config';
2
2
  export declare function createEntityUpdateSchema(catalogConfig: EntitiesCatalogConfig, entityType: string): {
3
3
  type: string;
4
4
  properties: {
5
- type: {
6
- const: string;
7
- };
8
- metadata: {
9
- additionalProperties: boolean;
10
- required?: string[] | undefined;
11
- description?: string | undefined;
12
- properties?: {
13
- [x: string]: {
14
- [x: string]: unknown;
15
- enum?: string[] | undefined;
16
- items?: {
17
- [x: string]: unknown;
18
- } | undefined;
19
- type?: "string" | "number" | "boolean" | "object" | "array" | undefined;
20
- maximum?: number | undefined;
21
- minimum?: number | undefined;
22
- pattern?: string | undefined;
23
- format?: string | undefined;
24
- description?: string | undefined;
25
- example?: string | number | boolean | unknown[] | {
26
- [x: string]: unknown;
27
- } | undefined;
28
- };
29
- } | undefined;
30
- type?: "object" | undefined;
31
- };
32
- revision: {
33
- type: string;
34
- };
35
5
  version: {
36
- readonly type: "string";
6
+ readonly type: 'string';
37
7
  };
38
8
  key: {
39
- readonly type: "string";
40
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
9
+ readonly type: 'string';
10
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
41
11
  readonly minLength: 2;
42
12
  readonly maxLength: 150;
43
13
  };
44
14
  title: {
45
- readonly type: "string";
15
+ readonly type: 'string';
46
16
  readonly minLength: 2;
47
17
  readonly maxLength: 200;
48
18
  };
49
19
  summary: {
50
- readonly type: "string";
20
+ readonly type: 'string';
51
21
  readonly minLength: 1;
52
22
  readonly maxLength: 500;
53
23
  };
54
24
  tags: {
55
- readonly type: "array";
25
+ readonly type: 'array';
56
26
  readonly items: {
57
- readonly type: "string";
27
+ readonly type: 'string';
58
28
  readonly minLength: 1;
59
29
  readonly maxLength: 50;
60
30
  };
61
31
  };
62
32
  git: {
63
- readonly type: "array";
33
+ readonly type: 'array';
64
34
  readonly items: {
65
- readonly type: "string";
35
+ readonly type: 'string';
66
36
  };
67
37
  };
68
38
  contact: {
69
- readonly type: "object";
39
+ readonly type: 'object';
70
40
  readonly nodeTypeName: "EntityContact";
71
41
  readonly properties: {
72
42
  readonly slack: {
73
- readonly type: "object";
43
+ readonly type: 'object';
74
44
  readonly nodeTypeName: "EntitySlackContact";
75
45
  readonly properties: {
76
46
  readonly channels: {
77
- readonly type: "array";
47
+ readonly type: 'array';
78
48
  readonly items: {
79
- readonly type: "object";
49
+ readonly type: 'object';
80
50
  readonly nodeTypeName: "EntitySlackChannel";
81
51
  readonly properties: {
82
52
  readonly name: {
83
- readonly type: "string";
53
+ readonly type: 'string';
84
54
  readonly minLength: 2;
85
55
  readonly maxLength: 150;
86
56
  };
87
57
  readonly url: {
88
- readonly type: "string";
58
+ readonly type: 'string';
89
59
  };
90
60
  };
91
- readonly required: readonly ["name"];
61
+ readonly required: readonly ['name'];
92
62
  readonly additionalProperties: false;
93
63
  };
94
64
  };
95
65
  };
96
- readonly required: readonly ["channels"];
66
+ readonly required: readonly ['channels'];
97
67
  readonly additionalProperties: false;
98
68
  };
99
69
  };
100
70
  readonly additionalProperties: false;
101
71
  };
102
72
  links: {
103
- readonly type: "array";
73
+ readonly type: 'array';
104
74
  readonly nodeTypeName: "EntityLinkList";
105
75
  readonly items: {
106
- readonly type: "object";
76
+ readonly type: 'object';
107
77
  readonly nodeTypeName: "EntityLink";
108
78
  readonly properties: {
109
79
  readonly label: {
110
- readonly type: "string";
80
+ readonly type: 'string';
111
81
  readonly minLength: 2;
112
82
  readonly maxLength: 150;
113
83
  };
114
84
  readonly url: {
115
- readonly type: "string";
85
+ readonly type: 'string';
116
86
  };
117
87
  };
118
- readonly required: readonly ["label", "url"];
88
+ readonly required: readonly ['label', 'url'];
119
89
  readonly additionalProperties: false;
120
90
  };
121
91
  };
122
92
  relations: {
123
- readonly type: "array";
93
+ readonly type: 'array';
124
94
  readonly nodeTypeName: "EntityRelationList";
125
95
  readonly items: {
126
- readonly type: "object";
96
+ readonly type: 'object';
127
97
  readonly nodeTypeName: "EntityRelation";
128
98
  readonly properties: {
129
99
  readonly type: {
130
- readonly type: "string";
100
+ readonly type: 'string';
131
101
  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", "returns", "returnedBy"];
132
102
  };
133
103
  readonly key: {
134
- readonly type: "string";
104
+ readonly type: 'string';
135
105
  readonly minLength: 2;
136
106
  readonly maxLength: 100;
137
107
  };
138
108
  readonly version: {
139
- readonly type: "string";
109
+ readonly type: 'string';
140
110
  };
141
111
  readonly revision: {
142
- readonly type: "string";
112
+ readonly type: 'string';
143
113
  };
144
114
  };
145
- readonly required: readonly ["type", "key"];
115
+ readonly required: readonly ['type', 'key'];
146
116
  readonly additionalProperties: false;
147
117
  };
148
118
  };
149
- };
150
- additionalProperties: boolean;
151
- } | {
152
- properties: {
153
- revision: {
154
- type: string;
155
- };
156
119
  type: {
157
- readonly const: "user";
120
+ const: string;
158
121
  };
159
122
  metadata: {
160
- readonly type: "object";
161
- readonly nodeTypeName: "UserEntityMetadata";
162
- readonly properties: {
163
- readonly email: {
164
- readonly type: "string";
165
- readonly description: "Email of the user";
123
+ additionalProperties: boolean;
124
+ description?: string | undefined;
125
+ properties?: {
126
+ [x: string]: {
127
+ [x: string]: unknown;
128
+ description?: string | undefined;
129
+ enum?: string[] | undefined;
130
+ example?: string | number | boolean | unknown[] | {
131
+ [x: string]: unknown;
132
+ } | undefined;
133
+ format?: string | undefined;
134
+ items?: {
135
+ [x: string]: unknown;
136
+ } | undefined;
137
+ maximum?: number | undefined;
138
+ minimum?: number | undefined;
139
+ pattern?: string | undefined;
140
+ type?: "array" | "boolean" | "number" | "object" | "string" | undefined;
166
141
  };
167
- };
168
- readonly required: readonly ["email"];
169
- readonly additionalProperties: true;
142
+ } | undefined;
143
+ required?: string[] | undefined;
144
+ type?: "object" | undefined;
170
145
  };
146
+ revision: {
147
+ type: string;
148
+ };
149
+ };
150
+ additionalProperties: boolean;
151
+ } | {
152
+ type?: undefined;
153
+ properties: {
171
154
  version: {
172
- readonly type: "string";
155
+ readonly type: 'string';
173
156
  };
174
157
  key: {
175
- readonly type: "string";
176
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
158
+ readonly type: 'string';
159
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
177
160
  readonly minLength: 2;
178
161
  readonly maxLength: 150;
179
162
  };
180
163
  title: {
181
- readonly type: "string";
164
+ readonly type: 'string';
182
165
  readonly minLength: 2;
183
166
  readonly maxLength: 200;
184
167
  };
185
168
  summary: {
186
- readonly type: "string";
169
+ readonly type: 'string';
187
170
  readonly minLength: 1;
188
171
  readonly maxLength: 500;
189
172
  };
190
173
  tags: {
191
- readonly type: "array";
174
+ readonly type: 'array';
192
175
  readonly items: {
193
- readonly type: "string";
176
+ readonly type: 'string';
194
177
  readonly minLength: 1;
195
178
  readonly maxLength: 50;
196
179
  };
197
180
  };
198
181
  git: {
199
- readonly type: "array";
182
+ readonly type: 'array';
200
183
  readonly items: {
201
- readonly type: "string";
184
+ readonly type: 'string';
202
185
  };
203
186
  };
204
187
  contact: {
205
- readonly type: "object";
188
+ readonly type: 'object';
206
189
  readonly nodeTypeName: "EntityContact";
207
190
  readonly properties: {
208
191
  readonly slack: {
209
- readonly type: "object";
192
+ readonly type: 'object';
210
193
  readonly nodeTypeName: "EntitySlackContact";
211
194
  readonly properties: {
212
195
  readonly channels: {
213
- readonly type: "array";
196
+ readonly type: 'array';
214
197
  readonly items: {
215
- readonly type: "object";
198
+ readonly type: 'object';
216
199
  readonly nodeTypeName: "EntitySlackChannel";
217
200
  readonly properties: {
218
201
  readonly name: {
219
- readonly type: "string";
202
+ readonly type: 'string';
220
203
  readonly minLength: 2;
221
204
  readonly maxLength: 150;
222
205
  };
223
206
  readonly url: {
224
- readonly type: "string";
207
+ readonly type: 'string';
225
208
  };
226
209
  };
227
- readonly required: readonly ["name"];
210
+ readonly required: readonly ['name'];
228
211
  readonly additionalProperties: false;
229
212
  };
230
213
  };
231
214
  };
232
- readonly required: readonly ["channels"];
215
+ readonly required: readonly ['channels'];
233
216
  readonly additionalProperties: false;
234
217
  };
235
218
  };
236
219
  readonly additionalProperties: false;
237
220
  };
238
221
  links: {
239
- readonly type: "array";
222
+ readonly type: 'array';
240
223
  readonly nodeTypeName: "EntityLinkList";
241
224
  readonly items: {
242
- readonly type: "object";
225
+ readonly type: 'object';
243
226
  readonly nodeTypeName: "EntityLink";
244
227
  readonly properties: {
245
228
  readonly label: {
246
- readonly type: "string";
229
+ readonly type: 'string';
247
230
  readonly minLength: 2;
248
231
  readonly maxLength: 150;
249
232
  };
250
233
  readonly url: {
251
- readonly type: "string";
234
+ readonly type: 'string';
252
235
  };
253
236
  };
254
- readonly required: readonly ["label", "url"];
237
+ readonly required: readonly ['label', 'url'];
255
238
  readonly additionalProperties: false;
256
239
  };
257
240
  };
258
241
  relations: {
259
- readonly type: "array";
242
+ readonly type: 'array';
260
243
  readonly nodeTypeName: "EntityRelationList";
261
244
  readonly items: {
262
- readonly type: "object";
245
+ readonly type: 'object';
263
246
  readonly nodeTypeName: "EntityRelation";
264
247
  readonly properties: {
265
248
  readonly type: {
266
- readonly type: "string";
249
+ readonly type: 'string';
267
250
  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", "returns", "returnedBy"];
268
251
  };
269
252
  readonly key: {
270
- readonly type: "string";
253
+ readonly type: 'string';
271
254
  readonly minLength: 2;
272
255
  readonly maxLength: 100;
273
256
  };
274
257
  readonly version: {
275
- readonly type: "string";
258
+ readonly type: 'string';
276
259
  };
277
260
  readonly revision: {
278
- readonly type: "string";
261
+ readonly type: 'string';
279
262
  };
280
263
  };
281
- readonly required: readonly ["type", "key"];
264
+ readonly required: readonly ['type', 'key'];
282
265
  readonly additionalProperties: false;
283
266
  };
284
267
  };
285
- } | {
286
- revision: {
287
- type: string;
288
- };
289
268
  type: {
290
- readonly const: "api-operation";
269
+ readonly const: 'user';
291
270
  };
292
271
  metadata: {
293
- readonly type: "object";
294
- readonly nodeTypeName: "ApiOperationEntityMetadata";
272
+ readonly type: 'object';
273
+ readonly nodeTypeName: "UserEntityMetadata";
295
274
  readonly properties: {
296
- readonly method: {
297
- readonly type: "string";
298
- readonly enum: readonly ["GET", "POST", "PUT", "DELETE", "PATCH", "MUTATION", "QUERY", "SUBSCRIBE", "PUBLISH"];
299
- readonly description: "HTTP method of the API operation";
300
- };
301
- readonly path: {
302
- readonly type: "string";
303
- readonly description: "Path of the API operation";
304
- };
305
- readonly payload: {
306
- readonly type: "array";
307
- readonly items: {
308
- readonly type: "string";
309
- readonly description: "Related dataSchema name";
310
- };
311
- };
312
- readonly responses: {
313
- readonly type: "array";
314
- readonly items: {
315
- readonly type: "string";
316
- readonly description: "Related dataSchema name";
317
- };
275
+ readonly email: {
276
+ readonly type: 'string';
277
+ readonly description: 'Email of the user';
318
278
  };
319
279
  };
320
- readonly required: readonly ["method", "path"];
280
+ readonly required: readonly ['email'];
321
281
  readonly additionalProperties: true;
322
282
  };
283
+ revision: {
284
+ type: string;
285
+ };
286
+ } | {
323
287
  version: {
324
- readonly type: "string";
288
+ readonly type: 'string';
325
289
  };
326
290
  key: {
327
- readonly type: "string";
328
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
291
+ readonly type: 'string';
292
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
329
293
  readonly minLength: 2;
330
294
  readonly maxLength: 150;
331
295
  };
332
296
  title: {
333
- readonly type: "string";
297
+ readonly type: 'string';
334
298
  readonly minLength: 2;
335
299
  readonly maxLength: 200;
336
300
  };
337
301
  summary: {
338
- readonly type: "string";
302
+ readonly type: 'string';
339
303
  readonly minLength: 1;
340
304
  readonly maxLength: 500;
341
305
  };
342
306
  tags: {
343
- readonly type: "array";
307
+ readonly type: 'array';
344
308
  readonly items: {
345
- readonly type: "string";
309
+ readonly type: 'string';
346
310
  readonly minLength: 1;
347
311
  readonly maxLength: 50;
348
312
  };
349
313
  };
350
314
  git: {
351
- readonly type: "array";
315
+ readonly type: 'array';
352
316
  readonly items: {
353
- readonly type: "string";
317
+ readonly type: 'string';
354
318
  };
355
319
  };
356
320
  contact: {
357
- readonly type: "object";
321
+ readonly type: 'object';
358
322
  readonly nodeTypeName: "EntityContact";
359
323
  readonly properties: {
360
324
  readonly slack: {
361
- readonly type: "object";
325
+ readonly type: 'object';
362
326
  readonly nodeTypeName: "EntitySlackContact";
363
327
  readonly properties: {
364
328
  readonly channels: {
365
- readonly type: "array";
329
+ readonly type: 'array';
366
330
  readonly items: {
367
- readonly type: "object";
331
+ readonly type: 'object';
368
332
  readonly nodeTypeName: "EntitySlackChannel";
369
333
  readonly properties: {
370
334
  readonly name: {
371
- readonly type: "string";
335
+ readonly type: 'string';
372
336
  readonly minLength: 2;
373
337
  readonly maxLength: 150;
374
338
  };
375
339
  readonly url: {
376
- readonly type: "string";
340
+ readonly type: 'string';
377
341
  };
378
342
  };
379
- readonly required: readonly ["name"];
343
+ readonly required: readonly ['name'];
380
344
  readonly additionalProperties: false;
381
345
  };
382
346
  };
383
347
  };
384
- readonly required: readonly ["channels"];
348
+ readonly required: readonly ['channels'];
385
349
  readonly additionalProperties: false;
386
350
  };
387
351
  };
388
352
  readonly additionalProperties: false;
389
353
  };
390
354
  links: {
391
- readonly type: "array";
355
+ readonly type: 'array';
392
356
  readonly nodeTypeName: "EntityLinkList";
393
357
  readonly items: {
394
- readonly type: "object";
358
+ readonly type: 'object';
395
359
  readonly nodeTypeName: "EntityLink";
396
360
  readonly properties: {
397
361
  readonly label: {
398
- readonly type: "string";
362
+ readonly type: 'string';
399
363
  readonly minLength: 2;
400
364
  readonly maxLength: 150;
401
365
  };
402
366
  readonly url: {
403
- readonly type: "string";
367
+ readonly type: 'string';
404
368
  };
405
369
  };
406
- readonly required: readonly ["label", "url"];
370
+ readonly required: readonly ['label', 'url'];
407
371
  readonly additionalProperties: false;
408
372
  };
409
373
  };
410
374
  relations: {
411
- readonly type: "array";
375
+ readonly type: 'array';
412
376
  readonly nodeTypeName: "EntityRelationList";
413
377
  readonly items: {
414
- readonly type: "object";
378
+ readonly type: 'object';
415
379
  readonly nodeTypeName: "EntityRelation";
416
380
  readonly properties: {
417
381
  readonly type: {
418
- readonly type: "string";
382
+ readonly type: 'string';
419
383
  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", "returns", "returnedBy"];
420
384
  };
421
385
  readonly key: {
422
- readonly type: "string";
386
+ readonly type: 'string';
423
387
  readonly minLength: 2;
424
388
  readonly maxLength: 100;
425
389
  };
426
390
  readonly version: {
427
- readonly type: "string";
391
+ readonly type: 'string';
428
392
  };
429
393
  readonly revision: {
430
- readonly type: "string";
394
+ readonly type: 'string';
431
395
  };
432
396
  };
433
- readonly required: readonly ["type", "key"];
397
+ readonly required: readonly ['type', 'key'];
434
398
  readonly additionalProperties: false;
435
399
  };
436
400
  };
437
- } | {
438
- revision: {
439
- type: string;
440
- };
441
401
  type: {
442
- readonly const: "data-schema";
402
+ readonly const: 'api-operation';
443
403
  };
444
404
  metadata: {
445
- readonly type: "object";
446
- readonly nodeTypeName: "DataSchemaEntityMetadata";
405
+ readonly type: 'object';
406
+ readonly nodeTypeName: "ApiOperationEntityMetadata";
447
407
  readonly properties: {
448
- readonly specType: {
449
- readonly type: "string";
450
- readonly enum: readonly ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"];
451
- readonly description: "Specification type of the data schema";
408
+ readonly method: {
409
+ readonly type: 'string';
410
+ readonly enum: readonly ['GET', 'POST', 'PUT', 'DELETE', 'PATCH', 'MUTATION', 'QUERY', 'SUBSCRIBE', 'PUBLISH'];
411
+ readonly description: 'HTTP method of the API operation';
452
412
  };
453
- readonly schema: {
454
- readonly type: "string";
455
- readonly description: "Inline schema of the data structure";
413
+ readonly path: {
414
+ readonly type: 'string';
415
+ readonly description: 'Path of the API operation';
456
416
  };
457
- readonly sdl: {
458
- readonly type: "string";
459
- readonly description: "SDL of the data structure";
417
+ readonly payload: {
418
+ readonly type: 'array';
419
+ readonly items: {
420
+ readonly type: 'string';
421
+ readonly description: 'Related dataSchema name';
422
+ };
423
+ };
424
+ readonly responses: {
425
+ readonly type: 'array';
426
+ readonly items: {
427
+ readonly type: 'string';
428
+ readonly description: 'Related dataSchema name';
429
+ };
460
430
  };
461
431
  };
462
- readonly required: readonly ["specType"];
432
+ readonly required: readonly ['method', 'path'];
463
433
  readonly additionalProperties: true;
464
434
  };
435
+ revision: {
436
+ type: string;
437
+ };
438
+ } | {
465
439
  version: {
466
- readonly type: "string";
440
+ readonly type: 'string';
467
441
  };
468
442
  key: {
469
- readonly type: "string";
470
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
443
+ readonly type: 'string';
444
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
471
445
  readonly minLength: 2;
472
446
  readonly maxLength: 150;
473
447
  };
474
448
  title: {
475
- readonly type: "string";
449
+ readonly type: 'string';
476
450
  readonly minLength: 2;
477
451
  readonly maxLength: 200;
478
452
  };
479
453
  summary: {
480
- readonly type: "string";
454
+ readonly type: 'string';
481
455
  readonly minLength: 1;
482
456
  readonly maxLength: 500;
483
457
  };
484
458
  tags: {
485
- readonly type: "array";
459
+ readonly type: 'array';
486
460
  readonly items: {
487
- readonly type: "string";
461
+ readonly type: 'string';
488
462
  readonly minLength: 1;
489
463
  readonly maxLength: 50;
490
464
  };
491
465
  };
492
466
  git: {
493
- readonly type: "array";
467
+ readonly type: 'array';
494
468
  readonly items: {
495
- readonly type: "string";
469
+ readonly type: 'string';
496
470
  };
497
471
  };
498
472
  contact: {
499
- readonly type: "object";
473
+ readonly type: 'object';
500
474
  readonly nodeTypeName: "EntityContact";
501
475
  readonly properties: {
502
476
  readonly slack: {
503
- readonly type: "object";
477
+ readonly type: 'object';
504
478
  readonly nodeTypeName: "EntitySlackContact";
505
479
  readonly properties: {
506
480
  readonly channels: {
507
- readonly type: "array";
481
+ readonly type: 'array';
508
482
  readonly items: {
509
- readonly type: "object";
483
+ readonly type: 'object';
510
484
  readonly nodeTypeName: "EntitySlackChannel";
511
485
  readonly properties: {
512
486
  readonly name: {
513
- readonly type: "string";
487
+ readonly type: 'string';
514
488
  readonly minLength: 2;
515
489
  readonly maxLength: 150;
516
490
  };
517
491
  readonly url: {
518
- readonly type: "string";
492
+ readonly type: 'string';
519
493
  };
520
494
  };
521
- readonly required: readonly ["name"];
495
+ readonly required: readonly ['name'];
522
496
  readonly additionalProperties: false;
523
497
  };
524
498
  };
525
499
  };
526
- readonly required: readonly ["channels"];
500
+ readonly required: readonly ['channels'];
527
501
  readonly additionalProperties: false;
528
502
  };
529
503
  };
530
504
  readonly additionalProperties: false;
531
505
  };
532
506
  links: {
533
- readonly type: "array";
507
+ readonly type: 'array';
534
508
  readonly nodeTypeName: "EntityLinkList";
535
509
  readonly items: {
536
- readonly type: "object";
510
+ readonly type: 'object';
537
511
  readonly nodeTypeName: "EntityLink";
538
512
  readonly properties: {
539
513
  readonly label: {
540
- readonly type: "string";
514
+ readonly type: 'string';
541
515
  readonly minLength: 2;
542
516
  readonly maxLength: 150;
543
517
  };
544
518
  readonly url: {
545
- readonly type: "string";
519
+ readonly type: 'string';
546
520
  };
547
521
  };
548
- readonly required: readonly ["label", "url"];
522
+ readonly required: readonly ['label', 'url'];
549
523
  readonly additionalProperties: false;
550
524
  };
551
525
  };
552
526
  relations: {
553
- readonly type: "array";
527
+ readonly type: 'array';
554
528
  readonly nodeTypeName: "EntityRelationList";
555
529
  readonly items: {
556
- readonly type: "object";
530
+ readonly type: 'object';
557
531
  readonly nodeTypeName: "EntityRelation";
558
532
  readonly properties: {
559
533
  readonly type: {
560
- readonly type: "string";
534
+ readonly type: 'string';
561
535
  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", "returns", "returnedBy"];
562
536
  };
563
537
  readonly key: {
564
- readonly type: "string";
538
+ readonly type: 'string';
565
539
  readonly minLength: 2;
566
540
  readonly maxLength: 100;
567
541
  };
568
542
  readonly version: {
569
- readonly type: "string";
543
+ readonly type: 'string';
570
544
  };
571
545
  readonly revision: {
572
- readonly type: "string";
546
+ readonly type: 'string';
573
547
  };
574
548
  };
575
- readonly required: readonly ["type", "key"];
549
+ readonly required: readonly ['type', 'key'];
576
550
  readonly additionalProperties: false;
577
551
  };
578
552
  };
579
- } | {
580
- revision: {
581
- type: string;
582
- };
583
553
  type: {
584
- readonly const: "api-description";
554
+ readonly const: 'data-schema';
585
555
  };
586
556
  metadata: {
587
- readonly type: "object";
588
- readonly nodeTypeName: "ApiDescriptionEntityMetadata";
557
+ readonly type: 'object';
558
+ readonly nodeTypeName: "DataSchemaEntityMetadata";
589
559
  readonly properties: {
590
560
  readonly specType: {
591
- readonly type: "string";
592
- readonly enum: readonly ["jsonschema", "openapi", "asyncapi", "avro", "zod", "graphql", "protobuf", "arazzo"];
593
- readonly description: "Type of the API description";
561
+ readonly type: 'string';
562
+ readonly enum: readonly ['jsonschema', 'openapi', 'asyncapi', 'avro', 'zod', 'graphql', 'protobuf', 'arazzo'];
563
+ readonly description: 'Specification type of the data schema';
594
564
  };
595
- readonly descriptionFile: {
596
- readonly type: "string";
597
- readonly description: "Path to the file containing the API description";
565
+ readonly schema: {
566
+ readonly type: 'string';
567
+ readonly description: 'Inline schema of the data structure';
568
+ };
569
+ readonly sdl: {
570
+ readonly type: 'string';
571
+ readonly description: 'SDL of the data structure';
598
572
  };
599
573
  };
600
- readonly required: readonly ["specType", "descriptionFile"];
574
+ readonly required: readonly ['specType'];
601
575
  readonly additionalProperties: true;
602
576
  };
577
+ revision: {
578
+ type: string;
579
+ };
580
+ } | {
603
581
  version: {
604
- readonly type: "string";
582
+ readonly type: 'string';
605
583
  };
606
584
  key: {
607
- readonly type: "string";
608
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
585
+ readonly type: 'string';
586
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
609
587
  readonly minLength: 2;
610
588
  readonly maxLength: 150;
611
589
  };
612
590
  title: {
613
- readonly type: "string";
591
+ readonly type: 'string';
614
592
  readonly minLength: 2;
615
593
  readonly maxLength: 200;
616
594
  };
617
595
  summary: {
618
- readonly type: "string";
596
+ readonly type: 'string';
619
597
  readonly minLength: 1;
620
598
  readonly maxLength: 500;
621
599
  };
622
600
  tags: {
623
- readonly type: "array";
601
+ readonly type: 'array';
624
602
  readonly items: {
625
- readonly type: "string";
603
+ readonly type: 'string';
626
604
  readonly minLength: 1;
627
605
  readonly maxLength: 50;
628
606
  };
629
607
  };
630
608
  git: {
631
- readonly type: "array";
609
+ readonly type: 'array';
632
610
  readonly items: {
633
- readonly type: "string";
611
+ readonly type: 'string';
634
612
  };
635
613
  };
636
614
  contact: {
637
- readonly type: "object";
615
+ readonly type: 'object';
638
616
  readonly nodeTypeName: "EntityContact";
639
617
  readonly properties: {
640
618
  readonly slack: {
641
- readonly type: "object";
619
+ readonly type: 'object';
642
620
  readonly nodeTypeName: "EntitySlackContact";
643
621
  readonly properties: {
644
622
  readonly channels: {
645
- readonly type: "array";
623
+ readonly type: 'array';
646
624
  readonly items: {
647
- readonly type: "object";
625
+ readonly type: 'object';
648
626
  readonly nodeTypeName: "EntitySlackChannel";
649
627
  readonly properties: {
650
628
  readonly name: {
651
- readonly type: "string";
629
+ readonly type: 'string';
652
630
  readonly minLength: 2;
653
631
  readonly maxLength: 150;
654
632
  };
655
633
  readonly url: {
656
- readonly type: "string";
634
+ readonly type: 'string';
657
635
  };
658
636
  };
659
- readonly required: readonly ["name"];
637
+ readonly required: readonly ['name'];
660
638
  readonly additionalProperties: false;
661
639
  };
662
640
  };
663
641
  };
664
- readonly required: readonly ["channels"];
642
+ readonly required: readonly ['channels'];
665
643
  readonly additionalProperties: false;
666
644
  };
667
645
  };
668
646
  readonly additionalProperties: false;
669
647
  };
670
648
  links: {
671
- readonly type: "array";
649
+ readonly type: 'array';
672
650
  readonly nodeTypeName: "EntityLinkList";
673
651
  readonly items: {
674
- readonly type: "object";
652
+ readonly type: 'object';
675
653
  readonly nodeTypeName: "EntityLink";
676
654
  readonly properties: {
677
655
  readonly label: {
678
- readonly type: "string";
656
+ readonly type: 'string';
679
657
  readonly minLength: 2;
680
658
  readonly maxLength: 150;
681
659
  };
682
660
  readonly url: {
683
- readonly type: "string";
661
+ readonly type: 'string';
684
662
  };
685
663
  };
686
- readonly required: readonly ["label", "url"];
664
+ readonly required: readonly ['label', 'url'];
687
665
  readonly additionalProperties: false;
688
666
  };
689
667
  };
690
668
  relations: {
691
- readonly type: "array";
669
+ readonly type: 'array';
692
670
  readonly nodeTypeName: "EntityRelationList";
693
671
  readonly items: {
694
- readonly type: "object";
672
+ readonly type: 'object';
695
673
  readonly nodeTypeName: "EntityRelation";
696
674
  readonly properties: {
697
675
  readonly type: {
698
- readonly type: "string";
676
+ readonly type: 'string';
699
677
  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", "returns", "returnedBy"];
700
678
  };
701
679
  readonly key: {
702
- readonly type: "string";
680
+ readonly type: 'string';
703
681
  readonly minLength: 2;
704
682
  readonly maxLength: 100;
705
683
  };
706
684
  readonly version: {
707
- readonly type: "string";
685
+ readonly type: 'string';
708
686
  };
709
687
  readonly revision: {
710
- readonly type: "string";
688
+ readonly type: 'string';
711
689
  };
712
690
  };
713
- readonly required: readonly ["type", "key"];
691
+ readonly required: readonly ['type', 'key'];
714
692
  readonly additionalProperties: false;
715
693
  };
716
694
  };
717
- } | {
695
+ type: {
696
+ readonly const: 'api-description';
697
+ };
698
+ metadata: {
699
+ readonly type: 'object';
700
+ readonly nodeTypeName: "ApiDescriptionEntityMetadata";
701
+ readonly properties: {
702
+ readonly specType: {
703
+ readonly type: 'string';
704
+ readonly enum: readonly ['jsonschema', 'openapi', 'asyncapi', 'avro', 'zod', 'graphql', 'protobuf', 'arazzo'];
705
+ readonly description: 'Type of the API description';
706
+ };
707
+ readonly descriptionFile: {
708
+ readonly type: 'string';
709
+ readonly description: 'Path to the file containing the API description';
710
+ };
711
+ };
712
+ readonly required: readonly ['specType', 'descriptionFile'];
713
+ readonly additionalProperties: true;
714
+ };
718
715
  revision: {
719
716
  type: string;
720
717
  };
721
- type: {
722
- readonly const: "service";
723
- };
718
+ } | {
724
719
  version: {
725
- readonly type: "string";
720
+ readonly type: 'string';
726
721
  };
727
722
  key: {
728
- readonly type: "string";
729
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
723
+ readonly type: 'string';
724
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
730
725
  readonly minLength: 2;
731
726
  readonly maxLength: 150;
732
727
  };
733
728
  title: {
734
- readonly type: "string";
729
+ readonly type: 'string';
735
730
  readonly minLength: 2;
736
731
  readonly maxLength: 200;
737
732
  };
738
733
  summary: {
739
- readonly type: "string";
734
+ readonly type: 'string';
740
735
  readonly minLength: 1;
741
736
  readonly maxLength: 500;
742
737
  };
743
738
  tags: {
744
- readonly type: "array";
739
+ readonly type: 'array';
745
740
  readonly items: {
746
- readonly type: "string";
741
+ readonly type: 'string';
747
742
  readonly minLength: 1;
748
743
  readonly maxLength: 50;
749
744
  };
750
745
  };
751
746
  git: {
752
- readonly type: "array";
747
+ readonly type: 'array';
753
748
  readonly items: {
754
- readonly type: "string";
749
+ readonly type: 'string';
755
750
  };
756
751
  };
757
752
  contact: {
758
- readonly type: "object";
753
+ readonly type: 'object';
759
754
  readonly nodeTypeName: "EntityContact";
760
755
  readonly properties: {
761
756
  readonly slack: {
762
- readonly type: "object";
757
+ readonly type: 'object';
763
758
  readonly nodeTypeName: "EntitySlackContact";
764
759
  readonly properties: {
765
760
  readonly channels: {
766
- readonly type: "array";
761
+ readonly type: 'array';
767
762
  readonly items: {
768
- readonly type: "object";
763
+ readonly type: 'object';
769
764
  readonly nodeTypeName: "EntitySlackChannel";
770
765
  readonly properties: {
771
766
  readonly name: {
772
- readonly type: "string";
767
+ readonly type: 'string';
773
768
  readonly minLength: 2;
774
769
  readonly maxLength: 150;
775
770
  };
776
771
  readonly url: {
777
- readonly type: "string";
772
+ readonly type: 'string';
778
773
  };
779
774
  };
780
- readonly required: readonly ["name"];
775
+ readonly required: readonly ['name'];
781
776
  readonly additionalProperties: false;
782
777
  };
783
778
  };
784
779
  };
785
- readonly required: readonly ["channels"];
780
+ readonly required: readonly ['channels'];
786
781
  readonly additionalProperties: false;
787
782
  };
788
783
  };
789
784
  readonly additionalProperties: false;
790
785
  };
791
786
  links: {
792
- readonly type: "array";
787
+ readonly type: 'array';
793
788
  readonly nodeTypeName: "EntityLinkList";
794
789
  readonly items: {
795
- readonly type: "object";
790
+ readonly type: 'object';
796
791
  readonly nodeTypeName: "EntityLink";
797
792
  readonly properties: {
798
793
  readonly label: {
799
- readonly type: "string";
794
+ readonly type: 'string';
800
795
  readonly minLength: 2;
801
796
  readonly maxLength: 150;
802
797
  };
803
798
  readonly url: {
804
- readonly type: "string";
799
+ readonly type: 'string';
805
800
  };
806
801
  };
807
- readonly required: readonly ["label", "url"];
802
+ readonly required: readonly ['label', 'url'];
808
803
  readonly additionalProperties: false;
809
804
  };
810
805
  };
811
806
  relations: {
812
- readonly type: "array";
807
+ readonly type: 'array';
813
808
  readonly nodeTypeName: "EntityRelationList";
814
809
  readonly items: {
815
- readonly type: "object";
810
+ readonly type: 'object';
816
811
  readonly nodeTypeName: "EntityRelation";
817
812
  readonly properties: {
818
813
  readonly type: {
819
- readonly type: "string";
814
+ readonly type: 'string';
820
815
  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", "returns", "returnedBy"];
821
816
  };
822
817
  readonly key: {
823
- readonly type: "string";
818
+ readonly type: 'string';
824
819
  readonly minLength: 2;
825
820
  readonly maxLength: 100;
826
821
  };
827
822
  readonly version: {
828
- readonly type: "string";
823
+ readonly type: 'string';
829
824
  };
830
825
  readonly revision: {
831
- readonly type: "string";
826
+ readonly type: 'string';
832
827
  };
833
828
  };
834
- readonly required: readonly ["type", "key"];
829
+ readonly required: readonly ['type', 'key'];
835
830
  readonly additionalProperties: false;
836
831
  };
837
832
  };
838
833
  metadata: {
839
- readonly type: "object";
834
+ readonly type: 'object';
840
835
  readonly properties: {};
841
836
  readonly nodeTypeName: "EntityMetadata";
842
837
  readonly additionalProperties: true;
843
838
  };
844
- } | {
839
+ type: {
840
+ readonly const: 'service';
841
+ };
845
842
  revision: {
846
843
  type: string;
847
844
  };
848
- type: {
849
- readonly const: "domain";
850
- };
845
+ } | {
851
846
  version: {
852
- readonly type: "string";
847
+ readonly type: 'string';
853
848
  };
854
849
  key: {
855
- readonly type: "string";
856
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
850
+ readonly type: 'string';
851
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
857
852
  readonly minLength: 2;
858
853
  readonly maxLength: 150;
859
854
  };
860
855
  title: {
861
- readonly type: "string";
856
+ readonly type: 'string';
862
857
  readonly minLength: 2;
863
858
  readonly maxLength: 200;
864
859
  };
865
860
  summary: {
866
- readonly type: "string";
861
+ readonly type: 'string';
867
862
  readonly minLength: 1;
868
863
  readonly maxLength: 500;
869
864
  };
870
865
  tags: {
871
- readonly type: "array";
866
+ readonly type: 'array';
872
867
  readonly items: {
873
- readonly type: "string";
868
+ readonly type: 'string';
874
869
  readonly minLength: 1;
875
870
  readonly maxLength: 50;
876
871
  };
877
872
  };
878
873
  git: {
879
- readonly type: "array";
874
+ readonly type: 'array';
880
875
  readonly items: {
881
- readonly type: "string";
876
+ readonly type: 'string';
882
877
  };
883
878
  };
884
879
  contact: {
885
- readonly type: "object";
880
+ readonly type: 'object';
886
881
  readonly nodeTypeName: "EntityContact";
887
882
  readonly properties: {
888
883
  readonly slack: {
889
- readonly type: "object";
884
+ readonly type: 'object';
890
885
  readonly nodeTypeName: "EntitySlackContact";
891
886
  readonly properties: {
892
887
  readonly channels: {
893
- readonly type: "array";
888
+ readonly type: 'array';
894
889
  readonly items: {
895
- readonly type: "object";
890
+ readonly type: 'object';
896
891
  readonly nodeTypeName: "EntitySlackChannel";
897
892
  readonly properties: {
898
893
  readonly name: {
899
- readonly type: "string";
894
+ readonly type: 'string';
900
895
  readonly minLength: 2;
901
896
  readonly maxLength: 150;
902
897
  };
903
898
  readonly url: {
904
- readonly type: "string";
899
+ readonly type: 'string';
905
900
  };
906
901
  };
907
- readonly required: readonly ["name"];
902
+ readonly required: readonly ['name'];
908
903
  readonly additionalProperties: false;
909
904
  };
910
905
  };
911
906
  };
912
- readonly required: readonly ["channels"];
907
+ readonly required: readonly ['channels'];
913
908
  readonly additionalProperties: false;
914
909
  };
915
910
  };
916
911
  readonly additionalProperties: false;
917
912
  };
918
913
  links: {
919
- readonly type: "array";
914
+ readonly type: 'array';
920
915
  readonly nodeTypeName: "EntityLinkList";
921
916
  readonly items: {
922
- readonly type: "object";
917
+ readonly type: 'object';
923
918
  readonly nodeTypeName: "EntityLink";
924
919
  readonly properties: {
925
920
  readonly label: {
926
- readonly type: "string";
921
+ readonly type: 'string';
927
922
  readonly minLength: 2;
928
923
  readonly maxLength: 150;
929
924
  };
930
925
  readonly url: {
931
- readonly type: "string";
926
+ readonly type: 'string';
932
927
  };
933
928
  };
934
- readonly required: readonly ["label", "url"];
929
+ readonly required: readonly ['label', 'url'];
935
930
  readonly additionalProperties: false;
936
931
  };
937
932
  };
938
933
  relations: {
939
- readonly type: "array";
934
+ readonly type: 'array';
940
935
  readonly nodeTypeName: "EntityRelationList";
941
936
  readonly items: {
942
- readonly type: "object";
937
+ readonly type: 'object';
943
938
  readonly nodeTypeName: "EntityRelation";
944
939
  readonly properties: {
945
940
  readonly type: {
946
- readonly type: "string";
941
+ readonly type: 'string';
947
942
  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", "returns", "returnedBy"];
948
943
  };
949
944
  readonly key: {
950
- readonly type: "string";
945
+ readonly type: 'string';
951
946
  readonly minLength: 2;
952
947
  readonly maxLength: 100;
953
948
  };
954
949
  readonly version: {
955
- readonly type: "string";
950
+ readonly type: 'string';
956
951
  };
957
952
  readonly revision: {
958
- readonly type: "string";
953
+ readonly type: 'string';
959
954
  };
960
955
  };
961
- readonly required: readonly ["type", "key"];
956
+ readonly required: readonly ['type', 'key'];
962
957
  readonly additionalProperties: false;
963
958
  };
964
959
  };
965
960
  metadata: {
966
- readonly type: "object";
961
+ readonly type: 'object';
967
962
  readonly properties: {};
968
963
  readonly nodeTypeName: "EntityMetadata";
969
964
  readonly additionalProperties: true;
970
965
  };
971
- } | {
966
+ type: {
967
+ readonly const: 'domain';
968
+ };
972
969
  revision: {
973
970
  type: string;
974
971
  };
975
- type: {
976
- readonly const: "team";
977
- };
972
+ } | {
978
973
  version: {
979
- readonly type: "string";
974
+ readonly type: 'string';
980
975
  };
981
976
  key: {
982
- readonly type: "string";
983
- readonly pattern: "^[a-z0-9]+(?:-[a-z0-9]+)*$";
977
+ readonly type: 'string';
978
+ readonly pattern: '^[a-z0-9]+(?:-[a-z0-9]+)*$';
984
979
  readonly minLength: 2;
985
980
  readonly maxLength: 150;
986
981
  };
987
982
  title: {
988
- readonly type: "string";
983
+ readonly type: 'string';
989
984
  readonly minLength: 2;
990
985
  readonly maxLength: 200;
991
986
  };
992
987
  summary: {
993
- readonly type: "string";
988
+ readonly type: 'string';
994
989
  readonly minLength: 1;
995
990
  readonly maxLength: 500;
996
991
  };
997
992
  tags: {
998
- readonly type: "array";
993
+ readonly type: 'array';
999
994
  readonly items: {
1000
- readonly type: "string";
995
+ readonly type: 'string';
1001
996
  readonly minLength: 1;
1002
997
  readonly maxLength: 50;
1003
998
  };
1004
999
  };
1005
1000
  git: {
1006
- readonly type: "array";
1001
+ readonly type: 'array';
1007
1002
  readonly items: {
1008
- readonly type: "string";
1003
+ readonly type: 'string';
1009
1004
  };
1010
1005
  };
1011
1006
  contact: {
1012
- readonly type: "object";
1007
+ readonly type: 'object';
1013
1008
  readonly nodeTypeName: "EntityContact";
1014
1009
  readonly properties: {
1015
1010
  readonly slack: {
1016
- readonly type: "object";
1011
+ readonly type: 'object';
1017
1012
  readonly nodeTypeName: "EntitySlackContact";
1018
1013
  readonly properties: {
1019
1014
  readonly channels: {
1020
- readonly type: "array";
1015
+ readonly type: 'array';
1021
1016
  readonly items: {
1022
- readonly type: "object";
1017
+ readonly type: 'object';
1023
1018
  readonly nodeTypeName: "EntitySlackChannel";
1024
1019
  readonly properties: {
1025
1020
  readonly name: {
1026
- readonly type: "string";
1021
+ readonly type: 'string';
1027
1022
  readonly minLength: 2;
1028
1023
  readonly maxLength: 150;
1029
1024
  };
1030
1025
  readonly url: {
1031
- readonly type: "string";
1026
+ readonly type: 'string';
1032
1027
  };
1033
1028
  };
1034
- readonly required: readonly ["name"];
1029
+ readonly required: readonly ['name'];
1035
1030
  readonly additionalProperties: false;
1036
1031
  };
1037
1032
  };
1038
1033
  };
1039
- readonly required: readonly ["channels"];
1034
+ readonly required: readonly ['channels'];
1040
1035
  readonly additionalProperties: false;
1041
1036
  };
1042
1037
  };
1043
1038
  readonly additionalProperties: false;
1044
1039
  };
1045
1040
  links: {
1046
- readonly type: "array";
1041
+ readonly type: 'array';
1047
1042
  readonly nodeTypeName: "EntityLinkList";
1048
1043
  readonly items: {
1049
- readonly type: "object";
1044
+ readonly type: 'object';
1050
1045
  readonly nodeTypeName: "EntityLink";
1051
1046
  readonly properties: {
1052
1047
  readonly label: {
1053
- readonly type: "string";
1048
+ readonly type: 'string';
1054
1049
  readonly minLength: 2;
1055
1050
  readonly maxLength: 150;
1056
1051
  };
1057
1052
  readonly url: {
1058
- readonly type: "string";
1053
+ readonly type: 'string';
1059
1054
  };
1060
1055
  };
1061
- readonly required: readonly ["label", "url"];
1056
+ readonly required: readonly ['label', 'url'];
1062
1057
  readonly additionalProperties: false;
1063
1058
  };
1064
1059
  };
1065
1060
  relations: {
1066
- readonly type: "array";
1061
+ readonly type: 'array';
1067
1062
  readonly nodeTypeName: "EntityRelationList";
1068
1063
  readonly items: {
1069
- readonly type: "object";
1064
+ readonly type: 'object';
1070
1065
  readonly nodeTypeName: "EntityRelation";
1071
1066
  readonly properties: {
1072
1067
  readonly type: {
1073
- readonly type: "string";
1068
+ readonly type: 'string';
1074
1069
  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", "returns", "returnedBy"];
1075
1070
  };
1076
1071
  readonly key: {
1077
- readonly type: "string";
1072
+ readonly type: 'string';
1078
1073
  readonly minLength: 2;
1079
1074
  readonly maxLength: 100;
1080
1075
  };
1081
1076
  readonly version: {
1082
- readonly type: "string";
1077
+ readonly type: 'string';
1083
1078
  };
1084
1079
  readonly revision: {
1085
- readonly type: "string";
1080
+ readonly type: 'string';
1086
1081
  };
1087
1082
  };
1088
- readonly required: readonly ["type", "key"];
1083
+ readonly required: readonly ['type', 'key'];
1089
1084
  readonly additionalProperties: false;
1090
1085
  };
1091
1086
  };
1092
1087
  metadata: {
1093
- readonly type: "object";
1088
+ readonly type: 'object';
1094
1089
  readonly properties: {};
1095
1090
  readonly nodeTypeName: "EntityMetadata";
1096
1091
  readonly additionalProperties: true;
1097
1092
  };
1093
+ type: {
1094
+ readonly const: 'team';
1095
+ };
1096
+ revision: {
1097
+ type: string;
1098
+ };
1098
1099
  };
1099
1100
  additionalProperties: boolean;
1100
- type?: undefined;
1101
1101
  };
1102
1102
  //# sourceMappingURL=create-entity-update-schema.d.ts.map