@redocly/realm 0.134.0-next.3 → 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 (166) hide show
  1. package/CHANGELOG.md +16 -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/loadAndNavigate.d.ts +1 -1
  26. package/dist/client/browser-entry.d.ts +0 -1
  27. package/dist/client/browser-entry.js +3 -3
  28. package/dist/client/constants/ai-search.d.ts +7 -7
  29. package/dist/client/providers/page-data/hooks.d.ts +3 -3
  30. package/dist/client/templates/asyncapi-docs/helpers.d.ts +4 -181
  31. package/dist/client/templates/asyncapi-docs/helpers.js +1 -1
  32. package/dist/client/templates/openapi-docs/helpers.d.ts +1 -1
  33. package/dist/client/templates/openapi-docs/helpers.js +2 -2
  34. package/dist/client/templates/openapi-docs/mock-server-config.d.ts +3 -3
  35. package/dist/client/templates/openapi-docs/template.d.ts +1 -1
  36. package/dist/client/types/sidebar.d.ts +4 -4
  37. package/dist/constants/common.d.ts +66 -66
  38. package/dist/markdoc/helpers/normalize-custom-tags.d.ts +2 -0
  39. package/dist/markdoc/helpers/normalize-custom-tags.js +1 -0
  40. package/dist/markdoc/nodes/index.d.ts +6 -6
  41. package/dist/markdoc/tags/index.d.ts +2 -48
  42. package/dist/server/api-routes/helpers/read-stream-with-size-limit.d.ts +1 -1
  43. package/dist/server/api-routes/run-api-routes-worker.d.ts +1 -1
  44. package/dist/server/config/env-config.d.ts +17 -17
  45. package/dist/server/config/env-schema.d.ts +46 -46
  46. package/dist/server/config/env-schemas/auth.d.ts +4 -4
  47. package/dist/server/config/env-schemas/catalog.d.ts +2 -2
  48. package/dist/server/config/env-schemas/environment-detection.d.ts +8 -8
  49. package/dist/server/config/env-schemas/feature-flags.d.ts +10 -10
  50. package/dist/server/config/env-schemas/search.d.ts +3 -3
  51. package/dist/server/config/env-schemas/server-config.d.ts +2 -2
  52. package/dist/server/fs/content-fs.d.ts +1 -1
  53. package/dist/server/persistence/cache/mappers/create-cache-db-record.d.ts +1 -1
  54. package/dist/server/persistence/file-hashes/mappers/create-file-hash-db-record.d.ts +1 -1
  55. package/dist/server/persistence/kv/mappers/create-kv-db-record.d.ts +1 -1
  56. package/dist/server/plugins/catalog-entities/database/catalog-entities-service.d.ts +5 -5
  57. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-attributes-db-record.d.ts +1 -1
  58. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-db-record.d.ts +1 -1
  59. package/dist/server/plugins/catalog-entities/database/mappers/create-entity-relation-db-record-from-file-schema.d.ts +1 -1
  60. package/dist/server/plugins/catalog-entities/database/mappers/field-transformations.d.ts +2 -2
  61. package/dist/server/plugins/catalog-entities/database/remote-publish-lock-service.d.ts +3 -3
  62. package/dist/server/plugins/catalog-entities/database/repositories/bffEntities/bff-entities-read-repository.d.ts +2 -2
  63. package/dist/server/plugins/catalog-entities/database/repositories/common/filters-repository.d.ts +1 -1
  64. package/dist/server/plugins/catalog-entities/database/repositories/common/revision-repository.d.ts +1 -1
  65. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-read-repository.d.ts +1 -1
  66. package/dist/server/plugins/catalog-entities/database/repositories/entities/entities-write-repository.d.ts +2 -2
  67. package/dist/server/plugins/catalog-entities/database/repositories/entityAttributes/entity-attributes-write-repository.d.ts +1 -1
  68. package/dist/server/plugins/catalog-entities/database/repositories/relations/relations-read-repository.d.ts +2 -2
  69. package/dist/server/plugins/catalog-entities/database/repositories/utils.d.ts +4 -4
  70. package/dist/server/plugins/catalog-entities/extensions/extractors/api-description/base.d.ts +2 -2
  71. package/dist/server/plugins/catalog-entities/extensions/extractors/fs-entities-extractor.d.ts +1 -1
  72. package/dist/server/plugins/catalog-entities/schemas/database-schemas.d.ts +78 -78
  73. package/dist/server/plugins/catalog-entities/schemas/dto-schemas.d.ts +28 -28
  74. package/dist/server/plugins/catalog-entities/utils/get-not-accessible-catalog-resources.d.ts +1 -1
  75. package/dist/server/plugins/catalog-entities/utils/is-predefined-catalog-type.d.ts +1 -1
  76. package/dist/server/plugins/catalog-entities/utils/openapi-component-content-extractor.d.ts +1 -1
  77. package/dist/server/plugins/config-parser/normalize-redirect-sources.d.ts +1 -1
  78. package/dist/server/plugins/default-theme/resolve-products-config.d.ts +1 -1
  79. package/dist/server/plugins/dev-onboarding/index.d.ts +1 -1
  80. package/dist/server/plugins/dev-onboarding/template/App.d.ts +1 -1
  81. package/dist/server/plugins/dev-onboarding/template/components/ApiKeyItem.d.ts +62 -4
  82. package/dist/server/plugins/dev-onboarding/template/components/ApiKeyProductStatus.js +2 -2
  83. package/dist/server/plugins/dev-onboarding/template/components/ApiKeySecret.js +2 -2
  84. package/dist/server/plugins/dev-onboarding/template/components/ApiKeys.d.ts +8 -2
  85. package/dist/server/plugins/dev-onboarding/template/components/ApiLogItem.js +1 -1
  86. package/dist/server/plugins/dev-onboarding/template/components/CharacterCounter.d.ts +1 -1
  87. package/dist/server/plugins/dev-onboarding/template/components/Container.d.ts +14 -2
  88. package/dist/server/plugins/dev-onboarding/template/components/DialogStyledComponents.d.ts +31 -11
  89. package/dist/server/plugins/dev-onboarding/template/components/MenuItemButton.d.ts +1 -1
  90. package/dist/server/plugins/dev-onboarding/template/components/Paper.d.ts +15 -3
  91. package/dist/server/plugins/dev-onboarding/template/components/PopupMenuUl.d.ts +1 -1
  92. package/dist/server/plugins/dev-onboarding/template/components/RevokeAPIKey.d.ts +2 -2
  93. package/dist/server/plugins/dev-onboarding/template/components/RevokeAPIKey.js +1 -1
  94. package/dist/server/plugins/dev-onboarding/template/components/RollAPIKey.d.ts +2 -2
  95. package/dist/server/plugins/dev-onboarding/template/components/RollAPIKey.js +1 -1
  96. package/dist/server/plugins/dev-onboarding/template/components/ShadowButton.d.ts +1 -1
  97. package/dist/server/plugins/dev-onboarding/template/components/ShadowButton.js +2 -2
  98. package/dist/server/plugins/dev-onboarding/template/components/StatusBadge.d.ts +1 -3
  99. package/dist/server/plugins/dev-onboarding/template/components/useSortableData.d.ts +2 -2
  100. package/dist/server/plugins/graphql-docs/constants.d.ts +1 -1
  101. package/dist/server/plugins/graphql-docs/search/ai/utils.d.ts +1 -1
  102. package/dist/server/plugins/markdown/markdoc/markdoc-options.d.ts +36 -18
  103. package/dist/server/plugins/markdown/markdoc/markdoc-options.js +1 -1
  104. package/dist/server/plugins/markdown/search/get-ai-search-documents.d.ts +1 -1
  105. package/dist/server/plugins/markdown/search/nodes/tag-node.d.ts +1 -1
  106. package/dist/server/plugins/markdown/utils/resolve-markdown-template.d.ts +1 -1
  107. package/dist/server/plugins/mcp/constants.d.ts +1 -1
  108. package/dist/server/plugins/mcp/docs-mcp/tools/index.d.ts +8 -8
  109. package/dist/server/plugins/mcp/docs-mcp/tools/utils.d.ts +1 -1
  110. package/dist/server/plugins/mcp/docs-mcp/utils.d.ts +2 -2
  111. package/dist/server/plugins/mcp/servers/docs-server.d.ts +1 -1
  112. package/dist/server/plugins/scorecard-classic/compute-scorecard.d.ts +1 -1
  113. package/dist/server/plugins/scorecard-classic/get-scorecard-config.d.ts +63 -63
  114. package/dist/server/plugins/scorecard-classic/index.d.ts +1 -1
  115. package/dist/server/plugins/scorecard-classic/lint.d.ts +3 -3
  116. package/dist/server/plugins/scorecard-classic/template/Gauge.d.ts +1 -1
  117. package/dist/server/plugins/scorecard-classic/template/components.d.ts +1 -1
  118. package/dist/server/plugins/scorecard-classic/template/index.styles.d.ts +61 -33
  119. package/dist/server/plugins/scorecard-classic/template/useData.d.ts +58 -58
  120. package/dist/server/plugins/scorecard-classic/template/utils.d.ts +1 -1
  121. package/dist/server/plugins/search/ai-indexer/prepare-semantic-documents.d.ts +1 -1
  122. package/dist/server/plugins/search/engines/search-engine.d.ts +1 -1
  123. package/dist/server/plugins/search/llmstxt/index.d.ts +1 -1
  124. package/dist/server/plugins/sidebars/index.d.ts +1 -1
  125. package/dist/server/providers/database/database-path-generator.d.ts +2 -2
  126. package/dist/server/providers/database/databases/sqlite-db/schemas/cache-table.d.ts +1 -1
  127. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-attributes-table.d.ts +1 -1
  128. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-relations-table.d.ts +1 -1
  129. package/dist/server/providers/database/databases/sqlite-db/schemas/entities-table.d.ts +1 -1
  130. package/dist/server/providers/database/databases/sqlite-db/schemas/file-hashes-table.d.ts +1 -1
  131. package/dist/server/providers/database/databases/sqlite-db/schemas/kv-table.d.ts +1 -1
  132. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-config-table.d.ts +1 -1
  133. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-evaluation-runs-table.d.ts +1 -1
  134. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-level-results-table.d.ts +1 -1
  135. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-levels-rules-results-table.d.ts +1 -1
  136. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-results-table.d.ts +1 -1
  137. package/dist/server/providers/database/databases/sqlite-db/schemas/scorecards-rule-results-table.d.ts +1 -1
  138. package/dist/server/providers/database/pagination/constants.d.ts +2 -2
  139. package/dist/server/providers/database/utils/storage-limit-validator.d.ts +1 -1
  140. package/dist/server/ssr/render.js +1 -1
  141. package/dist/server/ssr/server-side-props/get-default-static-props.d.ts +9 -9
  142. package/dist/server/ssr/server-side-props/get-server-props-from-user-handler.d.ts +1 -1
  143. package/dist/server/ssr/server-side-props/prepare-context-variables.d.ts +1 -1
  144. package/dist/server/ssr/template.d.ts +1 -1
  145. package/dist/server/store.d.ts +2 -2
  146. package/dist/server/tools/notifiers/reporter.d.ts +12 -12
  147. package/dist/server/utils/envs/env-boolean-string.d.ts +3 -3
  148. package/dist/server/utils/product.d.ts +1 -1
  149. package/dist/server/utils/rbac.d.ts +33 -33
  150. package/dist/server/web-server/auth.d.ts +2 -2
  151. package/dist/server/web-server/middleware/catalogAuthMiddleware.d.ts +1 -1
  152. package/dist/server/web-server/routes/catalog/helpers/create-entity-relation-update-schema.d.ts +12 -12
  153. package/dist/server/web-server/routes/catalog/helpers/create-entity-schema.d.ts +1967 -1967
  154. package/dist/server/web-server/routes/catalog/helpers/create-entity-update-schema.d.ts +357 -357
  155. package/dist/server/web-server/routes/catalog/helpers/has-access-to-entity.d.ts +1 -1
  156. package/dist/server/web-server/routes/catalog/helpers/upsert-pages-stats.d.ts +1 -1
  157. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entities-relations.d.ts +7 -7
  158. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entity-relation-update-data.d.ts +7 -7
  159. package/dist/server/web-server/routes/catalog/parsers/relations/parse-entity-relation.d.ts +7 -7
  160. package/dist/server/web-server/routes/feedback.d.ts +1 -1
  161. package/dist/server/web-server/routes/helpers/process-redirects.d.ts +1 -1
  162. package/dist/server/web-server/utils/prepare-list-response.d.ts +1 -1
  163. package/dist/server/web-server/utils.d.ts +2 -2
  164. package/dist/utils/should-forward-prop.d.ts +9 -0
  165. package/dist/utils/should-forward-prop.js +1 -0
  166. package/package.json +12 -11
@@ -10,10 +10,10 @@ export declare class RelationsReadRepository {
10
10
  targetKey: string;
11
11
  targetRevision: string;
12
12
  sourceToTargetRelation: string;
13
- direction: "outgoing" | "incoming";
13
+ direction: 'outgoing' | 'incoming';
14
14
  priority: number;
15
15
  }[]>;
16
- getRelatedEntities({ key, paginationParams, rbacTeams, excludedTypes, excludedEntities, }: {
16
+ getRelatedEntities({ key, paginationParams, rbacTeams, excludedTypes, excludedEntities }: {
17
17
  key: string;
18
18
  paginationParams: PaginationParams;
19
19
  rbacTeams?: string[];
@@ -1,5 +1,5 @@
1
1
  export declare const createEntityFieldsForSelect: (tableAlias?: string, idAlias?: string) => {
2
- id: import("drizzle-orm").SQL<unknown> | import("drizzle-orm").SQL.Aliased<unknown>;
2
+ id: import("drizzle-orm").SQL.Aliased<unknown> | import("drizzle-orm").SQL<unknown>;
3
3
  organizationId: import("drizzle-orm").SQL<unknown>;
4
4
  projectId: import("drizzle-orm").SQL<unknown>;
5
5
  key: import("drizzle-orm").SQL<unknown>;
@@ -25,7 +25,7 @@ export declare const createEntityFieldsForSelect: (tableAlias?: string, idAlias?
25
25
  scorecardsStatus: import("drizzle-orm").SQL<unknown>;
26
26
  };
27
27
  export declare const createEntityRelationFieldsForSelect: (tableAlias?: string, idAlias?: string) => {
28
- id: import("drizzle-orm").SQL<unknown> | import("drizzle-orm").SQL.Aliased<unknown>;
28
+ id: import("drizzle-orm").SQL.Aliased<unknown> | import("drizzle-orm").SQL<unknown>;
29
29
  organizationId: import("drizzle-orm").SQL<unknown>;
30
30
  projectId: import("drizzle-orm").SQL<unknown>;
31
31
  sourceKey: import("drizzle-orm").SQL<unknown>;
@@ -91,7 +91,7 @@ export declare const createQualifiedEntityFieldsForSelectWithAliases: (tableAlia
91
91
  isDeleted: import("drizzle-orm").SQL.Aliased<unknown>;
92
92
  };
93
93
  export declare const FIELDS_TO_SELECT_FOR_ENTITY: {
94
- id: import("drizzle-orm").SQL<unknown> | import("drizzle-orm").SQL.Aliased<unknown>;
94
+ id: import("drizzle-orm").SQL.Aliased<unknown> | import("drizzle-orm").SQL<unknown>;
95
95
  organizationId: import("drizzle-orm").SQL<unknown>;
96
96
  projectId: import("drizzle-orm").SQL<unknown>;
97
97
  key: import("drizzle-orm").SQL<unknown>;
@@ -117,7 +117,7 @@ export declare const FIELDS_TO_SELECT_FOR_ENTITY: {
117
117
  scorecardsStatus: import("drizzle-orm").SQL<unknown>;
118
118
  };
119
119
  export declare const FIELDS_TO_SELECT_FOR_ENTITY_RELATION: {
120
- id: import("drizzle-orm").SQL<unknown> | import("drizzle-orm").SQL.Aliased<unknown>;
120
+ id: import("drizzle-orm").SQL.Aliased<unknown> | import("drizzle-orm").SQL<unknown>;
121
121
  organizationId: import("drizzle-orm").SQL<unknown>;
122
122
  projectId: import("drizzle-orm").SQL<unknown>;
123
123
  sourceKey: import("drizzle-orm").SQL<unknown>;
@@ -7,7 +7,7 @@ import type { BaseApiEntitiesExtractorParams, SpecType } from '../../../types/ex
7
7
  import type { EntityDtoSchema } from '../../../schemas/dto-schemas.js';
8
8
  export declare abstract class BaseApiEntitiesExtractor<BundledApiDefinition extends Pick<FileInfo, 'realRelativePath' | 'relativePath' | 'isVirtual' | 'hash'>> implements BaseEntitiesExtractor {
9
9
  #private;
10
- protected type: "api-description";
10
+ protected type: 'api-description';
11
11
  protected specType: SpecType;
12
12
  protected fileType: FileType;
13
13
  protected actions: AfterRoutesCreatedActions;
@@ -26,7 +26,7 @@ export declare abstract class BaseApiEntitiesExtractor<BundledApiDefinition exte
26
26
  * @param customKey - Optional custom key from x-redocly-catalog-key
27
27
  * @param extensionPattern - Optional regex to strip file extension (default: any extension)
28
28
  */
29
- protected resolveEntityKey({ realRelativePath, customKey, extensionPattern, }: {
29
+ protected resolveEntityKey({ realRelativePath, customKey, extensionPattern }: {
30
30
  realRelativePath: string;
31
31
  customKey?: string | null;
32
32
  extensionPattern?: RegExp;
@@ -4,7 +4,7 @@ import type { CatalogEntitiesService } from '../../database/catalog-entities-ser
4
4
  import type { EntitiesCatalogConfig } from '@redocly/config';
5
5
  export declare class FsEntitiesExtractor {
6
6
  #private;
7
- constructor({ fileHashManager, context, catalogEntitiesService, catalogConfig, shouldCalculateEntities, }: {
7
+ constructor({ fileHashManager, context, catalogEntitiesService, catalogConfig, shouldCalculateEntities }: {
8
8
  fileHashManager: HashManager;
9
9
  context: LifecycleContext;
10
10
  catalogEntitiesService: CatalogEntitiesService;
@@ -1,188 +1,188 @@
1
1
  import type { FromSchema } from 'json-schema-to-ts';
2
2
  /** Matches Drizzle `DatabaseEntityRelation` / `createEntityRelationFieldsForSelect` (camelCase). */
3
3
  export declare const entityRelationDatabaseSchema: {
4
- readonly type: "object";
4
+ readonly type: 'object';
5
5
  readonly properties: {
6
6
  readonly id: {
7
- readonly type: "string";
7
+ readonly type: 'string';
8
8
  };
9
9
  readonly organizationId: {
10
- readonly type: "string";
10
+ readonly type: 'string';
11
11
  };
12
12
  readonly projectId: {
13
- readonly type: "string";
13
+ readonly type: 'string';
14
14
  };
15
15
  readonly sourceKey: {
16
- readonly type: "string";
16
+ readonly type: 'string';
17
17
  };
18
18
  readonly sourceVersion: {
19
- readonly type: "string";
19
+ readonly type: 'string';
20
20
  };
21
21
  readonly sourceRevision: {
22
- readonly type: "string";
22
+ readonly type: 'string';
23
23
  };
24
24
  readonly sourceToTargetRelation: {
25
- readonly type: "string";
25
+ readonly type: 'string';
26
26
  };
27
27
  readonly targetKey: {
28
- readonly type: "string";
28
+ readonly type: 'string';
29
29
  };
30
30
  readonly targetVersion: {
31
- readonly type: "string";
31
+ readonly type: 'string';
32
32
  };
33
33
  readonly targetRevision: {
34
- readonly type: "string";
34
+ readonly type: 'string';
35
35
  };
36
36
  readonly targetToSourceRelation: {
37
- readonly type: "string";
37
+ readonly type: 'string';
38
38
  };
39
39
  readonly sourceFile: {
40
- readonly type: readonly ["string", "null"];
40
+ readonly type: readonly ['string', 'null'];
41
41
  };
42
42
  readonly fileHash: {
43
- readonly type: readonly ["string", "null"];
43
+ readonly type: readonly ['string', 'null'];
44
44
  };
45
45
  readonly isDeleted: {
46
- readonly type: readonly ["boolean", "null"];
46
+ readonly type: readonly ['boolean', 'null'];
47
47
  };
48
48
  readonly createdAt: {
49
- readonly type: "string";
49
+ readonly type: 'string';
50
50
  };
51
51
  readonly updatedAt: {
52
- readonly type: "string";
52
+ readonly type: 'string';
53
53
  };
54
54
  readonly lastSeenRunId: {
55
- readonly type: readonly ["string", "null"];
55
+ readonly type: readonly ['string', 'null'];
56
56
  };
57
57
  };
58
- readonly required: readonly ["id", "organizationId", "projectId", "sourceKey", "sourceVersion", "sourceRevision", "sourceToTargetRelation", "targetKey", "targetVersion", "targetRevision", "targetToSourceRelation", "createdAt", "updatedAt"];
58
+ readonly required: readonly ['id', 'organizationId', 'projectId', 'sourceKey', 'sourceVersion', 'sourceRevision', 'sourceToTargetRelation', 'targetKey', 'targetVersion', 'targetRevision', 'targetToSourceRelation', 'createdAt', 'updatedAt'];
59
59
  readonly additionalProperties: false;
60
60
  };
61
61
  export declare const entityDatabaseSchema: {
62
- readonly type: "object";
62
+ readonly type: 'object';
63
63
  readonly properties: {
64
64
  readonly id: {
65
- readonly type: "string";
65
+ readonly type: 'string';
66
66
  };
67
67
  readonly organizationId: {
68
- readonly type: "string";
68
+ readonly type: 'string';
69
69
  };
70
70
  readonly projectId: {
71
- readonly type: "string";
71
+ readonly type: 'string';
72
72
  };
73
73
  readonly key: {
74
- readonly type: "string";
74
+ readonly type: 'string';
75
75
  };
76
76
  readonly type: {
77
- readonly type: "string";
77
+ readonly type: 'string';
78
78
  };
79
79
  readonly title: {
80
- readonly type: "string";
80
+ readonly type: 'string';
81
81
  };
82
82
  readonly summary: {
83
- readonly type: readonly ["string", "null"];
83
+ readonly type: readonly ['string', 'null'];
84
84
  };
85
85
  readonly tags: {
86
- readonly type: readonly ["string", "null"];
86
+ readonly type: readonly ['string', 'null'];
87
87
  };
88
88
  readonly metadata: {
89
- readonly type: readonly ["string", "null"];
89
+ readonly type: readonly ['string', 'null'];
90
90
  };
91
91
  readonly git: {
92
- readonly type: readonly ["string", "null"];
92
+ readonly type: readonly ['string', 'null'];
93
93
  };
94
94
  readonly contact: {
95
- readonly type: readonly ["string", "null"];
95
+ readonly type: readonly ['string', 'null'];
96
96
  };
97
97
  readonly links: {
98
- readonly type: readonly ["string", "null"];
98
+ readonly type: readonly ['string', 'null'];
99
99
  };
100
100
  readonly createdAt: {
101
- readonly type: "string";
101
+ readonly type: 'string';
102
102
  };
103
103
  readonly updatedAt: {
104
- readonly type: "string";
104
+ readonly type: 'string';
105
105
  };
106
106
  readonly source: {
107
- readonly type: "string";
108
- readonly enum: readonly ["file", "remote"];
107
+ readonly type: 'string';
108
+ readonly enum: readonly ['file', 'remote'];
109
109
  };
110
110
  readonly sourceFile: {
111
- readonly type: readonly ["string", "null"];
111
+ readonly type: readonly ['string', 'null'];
112
112
  };
113
113
  readonly fileHash: {
114
- readonly type: readonly ["string", "null"];
114
+ readonly type: readonly ['string', 'null'];
115
115
  };
116
116
  readonly version: {
117
- readonly type: readonly ["string", "null"];
117
+ readonly type: readonly ['string', 'null'];
118
118
  };
119
119
  readonly revision: {
120
- readonly type: readonly ["string", "null"];
120
+ readonly type: readonly ['string', 'null'];
121
121
  };
122
122
  readonly hash: {
123
- readonly type: readonly ["string", "null"];
123
+ readonly type: readonly ['string', 'null'];
124
124
  };
125
125
  readonly isCurrent: {
126
- readonly type: readonly ["boolean", "null"];
126
+ readonly type: readonly ['boolean', 'null'];
127
127
  };
128
128
  readonly isDefaultVersion: {
129
- readonly type: readonly ["boolean", "null"];
129
+ readonly type: readonly ['boolean', 'null'];
130
130
  };
131
131
  readonly isDeleted: {
132
- readonly type: readonly ["boolean", "null"];
132
+ readonly type: readonly ['boolean', 'null'];
133
133
  };
134
134
  readonly rbacTeams: {
135
- readonly type: readonly ["string", "null"];
135
+ readonly type: readonly ['string', 'null'];
136
136
  };
137
137
  };
138
- readonly required: readonly ["id", "organizationId", "projectId", "key", "type", "title", "createdAt", "updatedAt", "source"];
138
+ readonly required: readonly ['id', 'organizationId', 'projectId', 'key', 'type', 'title', 'createdAt', 'updatedAt', 'source'];
139
139
  readonly additionalProperties: false;
140
140
  };
141
141
  export declare const relatedEntityDatabaseSchema: {
142
- readonly type: "object";
142
+ readonly type: 'object';
143
143
  readonly properties: {
144
144
  readonly id: {
145
- readonly type: "string";
145
+ readonly type: 'string';
146
146
  };
147
147
  readonly key: {
148
- readonly type: "string";
148
+ readonly type: 'string';
149
149
  };
150
150
  readonly title: {
151
- readonly type: "string";
151
+ readonly type: 'string';
152
152
  };
153
153
  readonly type: {
154
- readonly type: "string";
154
+ readonly type: 'string';
155
155
  };
156
156
  readonly summary: {
157
- readonly type: readonly ["string", "null"];
157
+ readonly type: readonly ['string', 'null'];
158
158
  };
159
159
  readonly source: {
160
- readonly type: "string";
160
+ readonly type: 'string';
161
161
  };
162
162
  readonly relation_role: {
163
- readonly type: readonly ["string", "null"];
163
+ readonly type: readonly ['string', 'null'];
164
164
  };
165
165
  readonly relation_type: {
166
- readonly type: readonly ["string", "null"];
166
+ readonly type: readonly ['string', 'null'];
167
167
  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"];
168
168
  };
169
169
  readonly source_file: {
170
- readonly type: readonly ["string", "null"];
170
+ readonly type: readonly ['string', 'null'];
171
171
  };
172
172
  readonly created_at: {
173
- readonly type: readonly ["string"];
173
+ readonly type: readonly ['string'];
174
174
  };
175
175
  readonly updated_at: {
176
- readonly type: readonly ["string"];
176
+ readonly type: readonly ['string'];
177
177
  };
178
178
  readonly metadata: {
179
- readonly type: readonly ["string", "null"];
179
+ readonly type: readonly ['string', 'null'];
180
180
  };
181
181
  readonly version: {
182
- readonly type: readonly ["string", "null"];
182
+ readonly type: readonly ['string', 'null'];
183
183
  };
184
184
  };
185
- readonly required: readonly ["id", "key", "title", "type", "source", "created_at", "updated_at"];
185
+ readonly required: readonly ['id', 'key', 'title', 'type', 'source', 'created_at', 'updated_at'];
186
186
  readonly additionalProperties: false;
187
187
  };
188
188
  /**
@@ -190,59 +190,59 @@ export declare const relatedEntityDatabaseSchema: {
190
190
  * snake_case shape in mappers before validating.
191
191
  */
192
192
  export declare const relatedEntityQueryRowDatabaseSchema: {
193
- readonly type: "object";
193
+ readonly type: 'object';
194
194
  readonly properties: {
195
195
  readonly id: {
196
- readonly type: "string";
196
+ readonly type: 'string';
197
197
  readonly minLength: 1;
198
198
  };
199
199
  readonly key: {
200
- readonly type: "string";
200
+ readonly type: 'string';
201
201
  readonly minLength: 1;
202
202
  };
203
203
  readonly title: {
204
- readonly type: "string";
204
+ readonly type: 'string';
205
205
  readonly minLength: 1;
206
206
  };
207
207
  readonly type: {
208
- readonly type: "string";
208
+ readonly type: 'string';
209
209
  readonly minLength: 1;
210
210
  };
211
211
  readonly summary: {
212
- readonly type: readonly ["string", "null"];
212
+ readonly type: readonly ['string', 'null'];
213
213
  };
214
214
  readonly source: {
215
- readonly type: "string";
215
+ readonly type: 'string';
216
216
  readonly minLength: 1;
217
217
  };
218
218
  readonly source_file: {
219
- readonly type: readonly ["string", "null"];
219
+ readonly type: readonly ['string', 'null'];
220
220
  };
221
221
  readonly created_at: {
222
- readonly type: readonly ["string"];
222
+ readonly type: readonly ['string'];
223
223
  };
224
224
  readonly updated_at: {
225
- readonly type: readonly ["string"];
225
+ readonly type: readonly ['string'];
226
226
  };
227
227
  readonly metadata: {
228
- readonly type: readonly ["string", "object", "null"];
228
+ readonly type: readonly ['string', 'object', 'null'];
229
229
  };
230
230
  readonly version: {
231
- readonly type: readonly ["string", "null"];
231
+ readonly type: readonly ['string', 'null'];
232
232
  };
233
233
  readonly revision: {
234
- readonly type: readonly ["string", "null"];
234
+ readonly type: readonly ['string', 'null'];
235
235
  };
236
236
  readonly direction: {
237
- readonly type: "string";
238
- readonly enum: readonly ["outgoing", "incoming"];
237
+ readonly type: 'string';
238
+ readonly enum: readonly ['outgoing', 'incoming'];
239
239
  };
240
240
  readonly relation_field: {
241
- readonly type: "string";
241
+ readonly type: 'string';
242
242
  readonly minLength: 1;
243
243
  };
244
244
  };
245
- readonly required: readonly ["id", "key", "title", "type", "source", "direction", "relation_field", "created_at", "updated_at"];
245
+ readonly required: readonly ['id', 'key', 'title', 'type', 'source', 'direction', 'relation_field', 'created_at', 'updated_at'];
246
246
  readonly additionalProperties: false;
247
247
  };
248
248
  export type EntityRelationDto = FromSchema<typeof entityRelationDatabaseSchema>;
@@ -1,100 +1,100 @@
1
1
  import { type EntityBaseFileSchema } from '@redocly/config';
2
2
  import type { FromSchema } from 'json-schema-to-ts';
3
3
  export declare const entityAttributesDtoSchema: {
4
- readonly type: "object";
4
+ readonly type: 'object';
5
5
  readonly properties: {
6
6
  readonly rbacTeams: {
7
- readonly type: "array";
7
+ readonly type: 'array';
8
8
  readonly items: {
9
- readonly type: "string";
9
+ readonly type: 'string';
10
10
  };
11
11
  };
12
12
  };
13
13
  };
14
14
  export declare const entityRelationDtoSchema: {
15
- readonly type: "object";
15
+ readonly type: 'object';
16
16
  readonly properties: {
17
17
  readonly type: {
18
- readonly type: "string";
18
+ readonly type: 'string';
19
19
  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"];
20
20
  };
21
21
  readonly sourceKey: {
22
- readonly type: "string";
22
+ readonly type: 'string';
23
23
  readonly minLength: 2;
24
24
  readonly maxLength: 150;
25
25
  };
26
26
  readonly targetKey: {
27
- readonly type: "string";
27
+ readonly type: 'string';
28
28
  readonly minLength: 2;
29
29
  readonly maxLength: 150;
30
30
  };
31
31
  readonly sourceVersion: {
32
- readonly type: readonly ["string", "null"];
32
+ readonly type: readonly ['string', 'null'];
33
33
  };
34
34
  readonly sourceRevision: {
35
- readonly type: readonly ["string", "null"];
35
+ readonly type: readonly ['string', 'null'];
36
36
  };
37
37
  readonly targetVersion: {
38
- readonly type: readonly ["string", "null"];
38
+ readonly type: readonly ['string', 'null'];
39
39
  };
40
40
  readonly targetRevision: {
41
- readonly type: readonly ["string", "null"];
41
+ readonly type: readonly ['string', 'null'];
42
42
  };
43
43
  readonly sourceFile: {
44
- readonly type: readonly ["string", "null"];
44
+ readonly type: readonly ['string', 'null'];
45
45
  };
46
46
  readonly fileHash: {
47
- readonly type: readonly ["string", "null"];
47
+ readonly type: readonly ['string', 'null'];
48
48
  };
49
49
  readonly isDeleted: {
50
- readonly type: readonly ["boolean", "null"];
50
+ readonly type: readonly ['boolean', 'null'];
51
51
  };
52
52
  };
53
- readonly required: readonly ["type", "sourceKey", "targetKey"];
53
+ readonly required: readonly ['type', 'sourceKey', 'targetKey'];
54
54
  readonly additionalProperties: false;
55
55
  };
56
56
  export declare const entitiesRelationsDtoSchema: {
57
- readonly type: "array";
57
+ readonly type: 'array';
58
58
  readonly items: {
59
- readonly type: "object";
59
+ readonly type: 'object';
60
60
  readonly properties: {
61
61
  readonly type: {
62
- readonly type: "string";
62
+ readonly type: 'string';
63
63
  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"];
64
64
  };
65
65
  readonly sourceKey: {
66
- readonly type: "string";
66
+ readonly type: 'string';
67
67
  readonly minLength: 2;
68
68
  readonly maxLength: 150;
69
69
  };
70
70
  readonly targetKey: {
71
- readonly type: "string";
71
+ readonly type: 'string';
72
72
  readonly minLength: 2;
73
73
  readonly maxLength: 150;
74
74
  };
75
75
  readonly sourceVersion: {
76
- readonly type: readonly ["string", "null"];
76
+ readonly type: readonly ['string', 'null'];
77
77
  };
78
78
  readonly sourceRevision: {
79
- readonly type: readonly ["string", "null"];
79
+ readonly type: readonly ['string', 'null'];
80
80
  };
81
81
  readonly targetVersion: {
82
- readonly type: readonly ["string", "null"];
82
+ readonly type: readonly ['string', 'null'];
83
83
  };
84
84
  readonly targetRevision: {
85
- readonly type: readonly ["string", "null"];
85
+ readonly type: readonly ['string', 'null'];
86
86
  };
87
87
  readonly sourceFile: {
88
- readonly type: readonly ["string", "null"];
88
+ readonly type: readonly ['string', 'null'];
89
89
  };
90
90
  readonly fileHash: {
91
- readonly type: readonly ["string", "null"];
91
+ readonly type: readonly ['string', 'null'];
92
92
  };
93
93
  readonly isDeleted: {
94
- readonly type: readonly ["boolean", "null"];
94
+ readonly type: readonly ['boolean', 'null'];
95
95
  };
96
96
  };
97
- readonly required: readonly ["type", "sourceKey", "targetKey"];
97
+ readonly required: readonly ['type', 'sourceKey', 'targetKey'];
98
98
  readonly additionalProperties: false;
99
99
  };
100
100
  };
@@ -1,5 +1,5 @@
1
1
  import type { RedoclyConfig } from '@redocly/config';
2
- export declare function getNotAccessibleCatalogResources({ rbacConfig, currentRbacTeams, accessLevel, }: {
2
+ export declare function getNotAccessibleCatalogResources({ rbacConfig, currentRbacTeams, accessLevel }: {
3
3
  rbacConfig: RedoclyConfig['rbac'];
4
4
  currentRbacTeams: string[];
5
5
  accessLevel?: 'READ' | 'WRITE';
@@ -1,4 +1,4 @@
1
- export declare const predefinedCatalogTypes: readonly ["all", "services", "domains", "teams", "users", "apiDescriptions", "dataSchemas", "apiOperations"];
1
+ export declare const predefinedCatalogTypes: readonly ['all', 'services', 'domains', 'teams', 'users', 'apiDescriptions', 'dataSchemas', 'apiOperations'];
2
2
  type PredefinedCatalogType = (typeof predefinedCatalogTypes)[number];
3
3
  export declare function isPredefinedCatalogType(key: string): key is PredefinedCatalogType;
4
4
  export {};
@@ -4,7 +4,7 @@ import type { Logger } from '../../../tools/notifiers/logger.js';
4
4
  export declare class OpenapiComponentContentExtractor {
5
5
  #private;
6
6
  constructor(logger: Logger);
7
- extract({ component, definition, openapiOperation, visitedRefs, }: {
7
+ extract({ component, definition, openapiOperation, visitedRefs }: {
8
8
  component: OpenAPIResponse | OpenAPIRequestBody;
9
9
  definition: BundledDefinition;
10
10
  openapiOperation: OpenAPIOperation;
@@ -1,6 +1,6 @@
1
1
  import type { RedirectConfig } from '@redocly/config';
2
2
  export declare function normalizeRedirectSources(redirects: Record<string, RedirectConfig>): Record<string, {
3
- type?: number | undefined;
4
3
  to?: string | undefined;
4
+ type?: number | undefined;
5
5
  }>;
6
6
  //# sourceMappingURL=normalize-redirect-sources.d.ts.map
@@ -2,9 +2,9 @@ import type { ProductConfig } from '@redocly/theme/config';
2
2
  import type { AfterRoutesCreatedActions, AfterRoutesCreatedLifecycleContext } from '../../types';
3
3
  export declare const resolveProductsConfig: (productsConfig: Record<string, ProductConfig> | undefined, actions: AfterRoutesCreatedActions, context: AfterRoutesCreatedLifecycleContext) => Promise<({
4
4
  [x: string]: {
5
+ folder: string;
5
6
  icon?: string | undefined;
6
7
  name: string;
7
- folder: string;
8
8
  };
9
9
  } & {
10
10
  [key: string]: import("@redocly/config").ProductUiConfig;
@@ -1,3 +1,3 @@
1
1
  import type { LifecyclePluginInstance, PluginOptions } from '../../types';
2
- export declare function apiKeyMgmtPlugin({ contentDir: _, }: PluginOptions): Promise<LifecyclePluginInstance>;
2
+ export declare function apiKeyMgmtPlugin({ contentDir: _ }: PluginOptions): Promise<LifecyclePluginInstance>;
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -3,5 +3,5 @@ export declare const TAB_ACTIONS_PORTAL_ID = "app-tab-actions-portal";
3
3
  export default function AppPage(_props: {
4
4
  path?: string;
5
5
  }): React.JSX.Element;
6
- export declare const ArrowIcon: import("styled-components").StyledComponent<"i", any, {}, never>;
6
+ export declare const ArrowIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never> & Partial<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>, never>>> & string;
7
7
  //# sourceMappingURL=App.d.ts.map