@redocly/config 0.43.0 → 0.44.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. package/lib/common.d.ts +241 -22
  2. package/lib/common.js +50 -37
  3. package/lib/constants/config.d.ts +12 -0
  4. package/lib/constants/config.js +17 -0
  5. package/lib/constants/entities.d.ts +45 -0
  6. package/lib/constants/entities.js +58 -0
  7. package/lib/constants/enum.d.ts +1 -0
  8. package/lib/constants/enum.js +6 -0
  9. package/lib/constants/shared.d.ts +15 -0
  10. package/lib/constants/shared.js +22 -0
  11. package/lib/default-theme-config-schema.d.ts +866 -723
  12. package/lib/default-theme-config-schema.js +1 -1
  13. package/lib/entities-catalog-entity-file-schema.js +22 -22
  14. package/lib/ex-theme-config-schemas.d.ts +96 -26
  15. package/lib/ex-theme-config-schemas.js +23 -2
  16. package/lib/index.d.ts +3 -1
  17. package/lib/index.js +13 -10
  18. package/lib/product-override-schema.d.ts +73 -20
  19. package/lib/root-config-schema.d.ts +2823 -1567
  20. package/lib/root-config-schema.js +18 -11
  21. package/lib/scorecards-config-schema.d.ts +6 -0
  22. package/lib/scorecards-config-schema.js +2 -4
  23. package/lib/types/portal-shared-types.d.ts +1 -1
  24. package/lib-esm/common.d.ts +241 -22
  25. package/lib-esm/common.js +29 -16
  26. package/lib-esm/constants/config.d.ts +12 -0
  27. package/lib-esm/constants/config.js +14 -0
  28. package/lib-esm/constants/entities.d.ts +45 -0
  29. package/lib-esm/constants/entities.js +55 -0
  30. package/lib-esm/constants/enum.d.ts +1 -0
  31. package/lib-esm/constants/enum.js +2 -0
  32. package/lib-esm/constants/shared.d.ts +15 -0
  33. package/lib-esm/constants/shared.js +19 -0
  34. package/lib-esm/default-theme-config-schema.d.ts +866 -723
  35. package/lib-esm/default-theme-config-schema.js +1 -1
  36. package/lib-esm/entities-catalog-entity-file-schema.js +21 -21
  37. package/lib-esm/ex-theme-config-schemas.d.ts +96 -26
  38. package/lib-esm/ex-theme-config-schemas.js +24 -3
  39. package/lib-esm/index.d.ts +3 -1
  40. package/lib-esm/index.js +3 -1
  41. package/lib-esm/product-override-schema.d.ts +73 -20
  42. package/lib-esm/root-config-schema.d.ts +2823 -1567
  43. package/lib-esm/root-config-schema.js +14 -7
  44. package/lib-esm/scorecards-config-schema.d.ts +6 -0
  45. package/lib-esm/scorecards-config-schema.js +2 -4
  46. package/lib-esm/types/portal-shared-types.d.ts +1 -1
  47. package/package.json +2 -2
  48. package/lib/constants.d.ts +0 -38
  49. package/lib/constants.js +0 -73
  50. package/lib-esm/constants.d.ts +0 -38
  51. package/lib-esm/constants.js +0 -70
@@ -1,4 +1,5 @@
1
- import { DEFAULT_TEAM_CLAIM_NAME, AuthProviderType, ApigeeDevOnboardingIntegrationAuthType, } from './constants';
1
+ import { DEFAULT_TEAM_CLAIM_NAME, AuthProviderType, ApigeeDevOnboardingIntegrationAuthType, } from './constants/shared';
2
+ import { CONFIG_NODE_TYPE_NAMES } from './constants/config';
2
3
  import { themeConfigSchema } from './default-theme-config-schema';
3
4
  import { feedbackConfigSchema } from './feedback-config-schema';
4
5
  import { graphqlConfigSchema } from './graphql-config-schema';
@@ -7,7 +8,7 @@ import { reuniteConfigSchema } from './reunite-config-schema';
7
8
  import { analyticsConfigSchema, breadcrumbsConfigSchema, catalogsConfigSchema, codeSnippetConfigSchema, colorModeConfigSchema, footerConfigSchema, linksConfigSchema, logoConfigSchema, markdownConfigSchema, navbarConfigSchema, navigationConfigSchema, openapiConfigSchema, productsConfigSchema, scorecardConfigSchema, scriptsConfigSchema, searchConfigSchema, aiAssistantSchema, sidebarConfigSchema, userMenuConfigSchema, versionPickerConfigSchema, } from './ex-theme-config-schemas';
8
9
  import { entitiesCatalogConfigSchema } from './entities-catalog-config-schema';
9
10
  import { scorecardsConfigSchema } from './scorecards-config-schema';
10
- import { ruleSchemas, preprocessorSchemas, decoratorsSchemas } from './common';
11
+ import { configGovernanceSchema } from './common';
11
12
  export const oidcIssuerMetadataSchema = {
12
13
  type: 'object',
13
14
  properties: {
@@ -93,11 +94,17 @@ export const redirectConfigSchema = {
93
94
  type: { type: 'number', default: 301 },
94
95
  },
95
96
  additionalProperties: false,
97
+ nodeTypeName: CONFIG_NODE_TYPE_NAMES.RedirectSource,
98
+ description: 'Source is an absolute path that must start with a forward slash.',
99
+ documentationLink: 'https://redocly.com/docs/realm/config/redirects#sources-map',
96
100
  };
97
101
  export const redirectsConfigSchema = {
98
102
  type: 'object',
99
103
  additionalProperties: redirectConfigSchema,
100
104
  default: {},
105
+ nodeTypeName: CONFIG_NODE_TYPE_NAMES.Redirects,
106
+ description: 'Use redirects to change which resource a URL points to, maintaining working links when you move, rename, or restructure content.',
107
+ documentationLink: 'https://redocly.com/docs/realm/config/redirects',
101
108
  };
102
109
  export const bannerColorSchema = {
103
110
  type: 'string',
@@ -127,7 +134,7 @@ export const bannersConfigSchema = {
127
134
  };
128
135
  export const apiConfigSchema = {
129
136
  type: 'object',
130
- properties: Object.assign(Object.assign(Object.assign(Object.assign({ root: { type: 'string' }, output: { type: 'string', pattern: '(.ya?ml|.json)$' }, rbac: { type: 'object', additionalProperties: true }, openapi: openapiConfigSchema, graphql: graphqlConfigSchema,
137
+ properties: Object.assign({ root: { type: 'string' }, output: { type: 'string', pattern: '(.ya?ml|.json)$' }, rbac: { type: 'object', additionalProperties: true }, openapi: openapiConfigSchema, graphql: graphqlConfigSchema,
131
138
  /**
132
139
  * @deprecated left for backwards compatibility
133
140
  */
@@ -138,7 +145,7 @@ export const apiConfigSchema = {
138
145
  graphql: graphqlConfigSchema,
139
146
  },
140
147
  additionalProperties: false,
141
- }, title: { type: 'string' }, metadata: { type: 'object', additionalProperties: true } }, ruleSchemas), preprocessorSchemas), decoratorsSchemas), { extends: { type: 'array', items: { type: 'string' } } }),
148
+ }, title: { type: 'string' }, metadata: { type: 'object', additionalProperties: true } }, configGovernanceSchema),
142
149
  required: ['root'],
143
150
  };
144
151
  const metadataConfigSchema = {
@@ -494,7 +501,7 @@ export const accessConfigSchema = {
494
501
  };
495
502
  export const redoclyConfigSchema = {
496
503
  type: 'object',
497
- properties: Object.assign(Object.assign(Object.assign(Object.assign({
504
+ properties: Object.assign(Object.assign({
498
505
  /**
499
506
  * @deprecated Should use `plugins` instead
500
507
  */
@@ -519,7 +526,7 @@ export const redoclyConfigSchema = {
519
526
  }, apis: {
520
527
  type: 'object',
521
528
  additionalProperties: apiConfigSchema,
522
- }, extends: { type: 'array', items: { type: 'string' } } }, ruleSchemas), decoratorsSchemas), preprocessorSchemas), { ssoDirect: ssoDirectConfigSchema, sso: ssoConfigSchema, residency: residencySchema, logoutReturnUrl: logoutReturnUrlSchema, access: accessConfigSchema, developerOnboarding: devOnboardingConfigSchema, removeAttribution: { type: 'boolean' }, i18n: l10nConfigSchema, l10n: l10nConfigSchema, metadata: metadataConfigSchema, metadataGlobs: metadataGlobsConfigSchema, ignore: { type: 'array', items: { type: 'string' } },
529
+ } }, configGovernanceSchema), { ssoDirect: ssoDirectConfigSchema, sso: ssoConfigSchema, residency: residencySchema, logoutReturnUrl: logoutReturnUrlSchema, access: accessConfigSchema, developerOnboarding: devOnboardingConfigSchema, removeAttribution: { type: 'boolean' }, i18n: l10nConfigSchema, l10n: l10nConfigSchema, metadata: metadataConfigSchema, metadataGlobs: metadataGlobsConfigSchema, ignore: { type: 'array', items: { type: 'string' } },
523
530
  /**
524
531
  * @deprecated properties moved to the root of the config
525
532
  */
@@ -533,7 +540,7 @@ export const redoclyConfigSchema = {
533
540
  /**
534
541
  * @deprecated Should use `scorecardClassic` instead
535
542
  */
536
- scorecard: scorecardConfigSchema, scorecards: scorecardsConfigSchema, scorecardClassic: scorecardConfigSchema, mcp: mcpConfigSchema, banner: bannersConfigSchema }),
543
+ scorecard: scorecardConfigSchema, scorecardClassic: scorecardConfigSchema, scorecards: scorecardsConfigSchema, mcp: mcpConfigSchema, banner: bannersConfigSchema }),
537
544
  default: { redirects: {}, seo: seoConfigSchema.default },
538
545
  additionalProperties: true,
539
546
  };
@@ -415,10 +415,13 @@ export declare const scorecardSchema: {
415
415
  readonly type: "string";
416
416
  };
417
417
  readonly extends: {
418
+ readonly nodeTypeName: undefined;
418
419
  readonly type: "array";
419
420
  readonly items: {
420
421
  readonly type: "string";
421
422
  };
423
+ readonly description: "Use extends to inherit rules and their configurations from other rulesets.";
424
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends";
422
425
  };
423
426
  readonly rules: {
424
427
  readonly type: "object";
@@ -1006,10 +1009,13 @@ export declare const scorecardsConfigSchema: {
1006
1009
  readonly type: "string";
1007
1010
  };
1008
1011
  readonly extends: {
1012
+ readonly nodeTypeName: undefined;
1009
1013
  readonly type: "array";
1010
1014
  readonly items: {
1011
1015
  readonly type: "string";
1012
1016
  };
1017
+ readonly description: "Use extends to inherit rules and their configurations from other rulesets.";
1018
+ readonly documentationLink: "https://redocly.com/docs/cli/configuration/reference/extends";
1013
1019
  };
1014
1020
  readonly rules: {
1015
1021
  readonly type: "object";
@@ -1,3 +1,4 @@
1
+ import { configGovernanceSchema } from './common';
1
2
  const comparisonOperatorSchema = {
2
3
  type: 'string',
3
4
  enum: [
@@ -175,10 +176,7 @@ const levelSchema = {
175
176
  type: 'object',
176
177
  properties: {
177
178
  name: { type: 'string' },
178
- extends: {
179
- type: 'array',
180
- items: { type: 'string' },
181
- },
179
+ extends: configGovernanceSchema.extends,
182
180
  rules: levelRulesSchema,
183
181
  },
184
182
  required: ['name'],
@@ -1,5 +1,5 @@
1
1
  import type { Node } from '@markdoc/markdoc/dist/src/types';
2
- import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from '../constants';
2
+ import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from '../constants/shared';
3
3
  import type { ProductConfig, ProductGoogleAnalyticsConfig, RbacScopeItems, RedoclyConfig, SeoConfig } from './config-types';
4
4
  import type { CatalogEntityConfig } from './catalog-entity-types';
5
5
  export * from './code-walkthrough-types';
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.43.0",
3
+ "version": "0.44.0",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",
7
7
  "types": "./lib/index.d.ts",
8
8
  "devDependencies": {
9
9
  "@markdoc/markdoc": "0.5.2",
10
- "@redocly/openapi-core": "2.17.0",
10
+ "@redocly/openapi-core": "2.19.2",
11
11
  "@types/node": "22.18.13",
12
12
  "@types/react": "^19.2.7",
13
13
  "@vitest/coverage-v8": "4.0.10",
@@ -1,38 +0,0 @@
1
- export declare const DEFAULT_TEAM_CLAIM_NAME = "https://redocly.com/sso/teams";
2
- export declare enum AuthProviderType {
3
- OIDC = "OIDC",
4
- SAML2 = "SAML2"
5
- }
6
- export declare enum ApigeeDevOnboardingIntegrationAuthType {
7
- SERVICE_ACCOUNT = "SERVICE_ACCOUNT",
8
- OAUTH2 = "OAUTH2"
9
- }
10
- export declare const REDOCLY_TEAMS_RBAC = "redocly::teams-rbac";
11
- export declare const REDOCLY_ROUTE_RBAC = "redocly::route-rbac";
12
- export declare enum LayoutVariant {
13
- STACKED = "stacked",
14
- THREE_PANEL = "three-panel"
15
- }
16
- export declare const ENTITY_RELATION_TYPES: 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"];
17
- export declare const NODE_TYPE_NAMES: {
18
- readonly USER_ENTITY: "UserEntity";
19
- readonly USER_ENTITY_METADATA: "UserEntityMetadata";
20
- readonly API_DESCRIPTION_ENTITY: "ApiDescriptionEntity";
21
- readonly API_DESCRIPTION_METADATA: "ApiDescriptionEntityMetadata";
22
- readonly API_OPERATION_ENTITY: "ApiOperationEntity";
23
- readonly API_OPERATION_METADATA: "ApiOperationEntityMetadata";
24
- readonly DATA_SCHEMA_ENTITY: "DataSchemaEntity";
25
- readonly DATA_SCHEMA_METADATA: "DataSchemaEntityMetadata";
26
- readonly SERVICE_ENTITY: "ServiceEntity";
27
- readonly DOMAIN_ENTITY: "DomainEntity";
28
- readonly TEAM_ENTITY: "TeamEntity";
29
- readonly ENTITY: "Entity";
30
- readonly ENTITY_METADATA: "EntityMetadata";
31
- readonly ENTITY_LINK_LIST: "EntityLinkList";
32
- readonly ENTITY_LINK: "EntityLink";
33
- readonly ENTITY_RELATION: "EntityRelation";
34
- readonly ENTITY_RELATION_LIST: "EntityRelationList";
35
- readonly ENTITY_CONTACT: "EntityContact";
36
- readonly SLACK_CONTACT: "EntitySlackContact";
37
- readonly SLACK_CHANNEL: "EntitySlackChannel";
38
- };
package/lib/constants.js DELETED
@@ -1,73 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NODE_TYPE_NAMES = exports.ENTITY_RELATION_TYPES = exports.LayoutVariant = exports.REDOCLY_ROUTE_RBAC = exports.REDOCLY_TEAMS_RBAC = exports.ApigeeDevOnboardingIntegrationAuthType = exports.AuthProviderType = exports.DEFAULT_TEAM_CLAIM_NAME = void 0;
4
- exports.DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams';
5
- var AuthProviderType;
6
- (function (AuthProviderType) {
7
- AuthProviderType["OIDC"] = "OIDC";
8
- AuthProviderType["SAML2"] = "SAML2";
9
- })(AuthProviderType || (exports.AuthProviderType = AuthProviderType = {}));
10
- var ApigeeDevOnboardingIntegrationAuthType;
11
- (function (ApigeeDevOnboardingIntegrationAuthType) {
12
- ApigeeDevOnboardingIntegrationAuthType["SERVICE_ACCOUNT"] = "SERVICE_ACCOUNT";
13
- ApigeeDevOnboardingIntegrationAuthType["OAUTH2"] = "OAUTH2";
14
- })(ApigeeDevOnboardingIntegrationAuthType || (exports.ApigeeDevOnboardingIntegrationAuthType = ApigeeDevOnboardingIntegrationAuthType = {}));
15
- exports.REDOCLY_TEAMS_RBAC = 'redocly::teams-rbac';
16
- exports.REDOCLY_ROUTE_RBAC = 'redocly::route-rbac';
17
- var LayoutVariant;
18
- (function (LayoutVariant) {
19
- LayoutVariant["STACKED"] = "stacked";
20
- LayoutVariant["THREE_PANEL"] = "three-panel";
21
- })(LayoutVariant || (exports.LayoutVariant = LayoutVariant = {}));
22
- exports.ENTITY_RELATION_TYPES = [
23
- 'partOf',
24
- 'hasParts',
25
- 'creates',
26
- 'createdBy',
27
- 'owns',
28
- 'ownedBy',
29
- 'implements',
30
- 'implementedBy',
31
- 'dependsOn',
32
- 'dependencyOf',
33
- 'uses',
34
- 'usedBy',
35
- 'produces',
36
- 'consumes',
37
- 'linksTo',
38
- 'supersedes',
39
- 'supersededBy',
40
- 'compatibleWith',
41
- 'extends',
42
- 'extendedBy',
43
- 'relatesTo',
44
- 'hasMember',
45
- 'memberOf',
46
- 'triggers',
47
- 'triggeredBy',
48
- 'returns',
49
- 'returnedBy',
50
- ];
51
- exports.NODE_TYPE_NAMES = {
52
- USER_ENTITY: 'UserEntity',
53
- USER_ENTITY_METADATA: 'UserEntityMetadata',
54
- API_DESCRIPTION_ENTITY: 'ApiDescriptionEntity',
55
- API_DESCRIPTION_METADATA: 'ApiDescriptionEntityMetadata',
56
- API_OPERATION_ENTITY: 'ApiOperationEntity',
57
- API_OPERATION_METADATA: 'ApiOperationEntityMetadata',
58
- DATA_SCHEMA_ENTITY: 'DataSchemaEntity',
59
- DATA_SCHEMA_METADATA: 'DataSchemaEntityMetadata',
60
- SERVICE_ENTITY: 'ServiceEntity',
61
- DOMAIN_ENTITY: 'DomainEntity',
62
- TEAM_ENTITY: 'TeamEntity',
63
- ENTITY: 'Entity',
64
- ENTITY_METADATA: 'EntityMetadata',
65
- ENTITY_LINK_LIST: 'EntityLinkList',
66
- ENTITY_LINK: 'EntityLink',
67
- ENTITY_RELATION: 'EntityRelation',
68
- ENTITY_RELATION_LIST: 'EntityRelationList',
69
- ENTITY_CONTACT: 'EntityContact',
70
- SLACK_CONTACT: 'EntitySlackContact',
71
- SLACK_CHANNEL: 'EntitySlackChannel',
72
- };
73
- //# sourceMappingURL=constants.js.map
@@ -1,38 +0,0 @@
1
- export declare const DEFAULT_TEAM_CLAIM_NAME = "https://redocly.com/sso/teams";
2
- export declare enum AuthProviderType {
3
- OIDC = "OIDC",
4
- SAML2 = "SAML2"
5
- }
6
- export declare enum ApigeeDevOnboardingIntegrationAuthType {
7
- SERVICE_ACCOUNT = "SERVICE_ACCOUNT",
8
- OAUTH2 = "OAUTH2"
9
- }
10
- export declare const REDOCLY_TEAMS_RBAC = "redocly::teams-rbac";
11
- export declare const REDOCLY_ROUTE_RBAC = "redocly::route-rbac";
12
- export declare enum LayoutVariant {
13
- STACKED = "stacked",
14
- THREE_PANEL = "three-panel"
15
- }
16
- export declare const ENTITY_RELATION_TYPES: 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"];
17
- export declare const NODE_TYPE_NAMES: {
18
- readonly USER_ENTITY: "UserEntity";
19
- readonly USER_ENTITY_METADATA: "UserEntityMetadata";
20
- readonly API_DESCRIPTION_ENTITY: "ApiDescriptionEntity";
21
- readonly API_DESCRIPTION_METADATA: "ApiDescriptionEntityMetadata";
22
- readonly API_OPERATION_ENTITY: "ApiOperationEntity";
23
- readonly API_OPERATION_METADATA: "ApiOperationEntityMetadata";
24
- readonly DATA_SCHEMA_ENTITY: "DataSchemaEntity";
25
- readonly DATA_SCHEMA_METADATA: "DataSchemaEntityMetadata";
26
- readonly SERVICE_ENTITY: "ServiceEntity";
27
- readonly DOMAIN_ENTITY: "DomainEntity";
28
- readonly TEAM_ENTITY: "TeamEntity";
29
- readonly ENTITY: "Entity";
30
- readonly ENTITY_METADATA: "EntityMetadata";
31
- readonly ENTITY_LINK_LIST: "EntityLinkList";
32
- readonly ENTITY_LINK: "EntityLink";
33
- readonly ENTITY_RELATION: "EntityRelation";
34
- readonly ENTITY_RELATION_LIST: "EntityRelationList";
35
- readonly ENTITY_CONTACT: "EntityContact";
36
- readonly SLACK_CONTACT: "EntitySlackContact";
37
- readonly SLACK_CHANNEL: "EntitySlackChannel";
38
- };
@@ -1,70 +0,0 @@
1
- export const DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams';
2
- export var AuthProviderType;
3
- (function (AuthProviderType) {
4
- AuthProviderType["OIDC"] = "OIDC";
5
- AuthProviderType["SAML2"] = "SAML2";
6
- })(AuthProviderType || (AuthProviderType = {}));
7
- export var ApigeeDevOnboardingIntegrationAuthType;
8
- (function (ApigeeDevOnboardingIntegrationAuthType) {
9
- ApigeeDevOnboardingIntegrationAuthType["SERVICE_ACCOUNT"] = "SERVICE_ACCOUNT";
10
- ApigeeDevOnboardingIntegrationAuthType["OAUTH2"] = "OAUTH2";
11
- })(ApigeeDevOnboardingIntegrationAuthType || (ApigeeDevOnboardingIntegrationAuthType = {}));
12
- export const REDOCLY_TEAMS_RBAC = 'redocly::teams-rbac';
13
- export const REDOCLY_ROUTE_RBAC = 'redocly::route-rbac';
14
- export var LayoutVariant;
15
- (function (LayoutVariant) {
16
- LayoutVariant["STACKED"] = "stacked";
17
- LayoutVariant["THREE_PANEL"] = "three-panel";
18
- })(LayoutVariant || (LayoutVariant = {}));
19
- export const ENTITY_RELATION_TYPES = [
20
- 'partOf',
21
- 'hasParts',
22
- 'creates',
23
- 'createdBy',
24
- 'owns',
25
- 'ownedBy',
26
- 'implements',
27
- 'implementedBy',
28
- 'dependsOn',
29
- 'dependencyOf',
30
- 'uses',
31
- 'usedBy',
32
- 'produces',
33
- 'consumes',
34
- 'linksTo',
35
- 'supersedes',
36
- 'supersededBy',
37
- 'compatibleWith',
38
- 'extends',
39
- 'extendedBy',
40
- 'relatesTo',
41
- 'hasMember',
42
- 'memberOf',
43
- 'triggers',
44
- 'triggeredBy',
45
- 'returns',
46
- 'returnedBy',
47
- ];
48
- export const NODE_TYPE_NAMES = {
49
- USER_ENTITY: 'UserEntity',
50
- USER_ENTITY_METADATA: 'UserEntityMetadata',
51
- API_DESCRIPTION_ENTITY: 'ApiDescriptionEntity',
52
- API_DESCRIPTION_METADATA: 'ApiDescriptionEntityMetadata',
53
- API_OPERATION_ENTITY: 'ApiOperationEntity',
54
- API_OPERATION_METADATA: 'ApiOperationEntityMetadata',
55
- DATA_SCHEMA_ENTITY: 'DataSchemaEntity',
56
- DATA_SCHEMA_METADATA: 'DataSchemaEntityMetadata',
57
- SERVICE_ENTITY: 'ServiceEntity',
58
- DOMAIN_ENTITY: 'DomainEntity',
59
- TEAM_ENTITY: 'TeamEntity',
60
- ENTITY: 'Entity',
61
- ENTITY_METADATA: 'EntityMetadata',
62
- ENTITY_LINK_LIST: 'EntityLinkList',
63
- ENTITY_LINK: 'EntityLink',
64
- ENTITY_RELATION: 'EntityRelation',
65
- ENTITY_RELATION_LIST: 'EntityRelationList',
66
- ENTITY_CONTACT: 'EntityContact',
67
- SLACK_CONTACT: 'EntitySlackContact',
68
- SLACK_CHANNEL: 'EntitySlackChannel',
69
- };
70
- //# sourceMappingURL=constants.js.map