@redocly/config 0.38.0 → 0.40.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 (35) hide show
  1. package/lib/default-theme-config-schema.d.ts +315 -0
  2. package/lib/default-theme-config-schema.js +5 -0
  3. package/lib/entities-catalog-entity-file-schema.d.ts +87 -0
  4. package/lib/entities-catalog-entity-file-schema.js +9 -0
  5. package/lib/ex-theme-config-schemas.d.ts +11 -0
  6. package/lib/ex-theme-config-schemas.js +9 -1
  7. package/lib/graphql-config-schema.d.ts +52 -0
  8. package/lib/graphql-config-schema.js +31 -0
  9. package/lib/product-override-schema.d.ts +104 -0
  10. package/lib/root-config-schema.d.ts +2293 -34
  11. package/lib/root-config-schema.js +5 -1
  12. package/lib/types/api-functions-types.d.ts +49 -1
  13. package/lib/types/catalog-entity-types.d.ts +2 -0
  14. package/lib/types/config-types.d.ts +2 -1
  15. package/lib/types/portal-shared-types.d.ts +2 -1
  16. package/lib/types/scorecards-types.d.ts +3 -0
  17. package/lib/types/scorecards-types.js +3 -0
  18. package/lib-esm/default-theme-config-schema.d.ts +315 -0
  19. package/lib-esm/default-theme-config-schema.js +6 -1
  20. package/lib-esm/entities-catalog-entity-file-schema.d.ts +87 -0
  21. package/lib-esm/entities-catalog-entity-file-schema.js +9 -0
  22. package/lib-esm/ex-theme-config-schemas.d.ts +11 -0
  23. package/lib-esm/ex-theme-config-schemas.js +8 -0
  24. package/lib-esm/graphql-config-schema.d.ts +52 -0
  25. package/lib-esm/graphql-config-schema.js +31 -0
  26. package/lib-esm/product-override-schema.d.ts +104 -0
  27. package/lib-esm/root-config-schema.d.ts +2293 -34
  28. package/lib-esm/root-config-schema.js +6 -2
  29. package/lib-esm/types/api-functions-types.d.ts +49 -1
  30. package/lib-esm/types/catalog-entity-types.d.ts +2 -0
  31. package/lib-esm/types/config-types.d.ts +2 -1
  32. package/lib-esm/types/portal-shared-types.d.ts +2 -1
  33. package/lib-esm/types/scorecards-types.d.ts +3 -0
  34. package/lib-esm/types/scorecards-types.js +2 -0
  35. package/package.json +1 -1
@@ -443,7 +443,11 @@ exports.redoclyConfigSchema = {
443
443
  /**
444
444
  * @deprecated Should use `catalogClassic` instead
445
445
  */
446
- catalog: ex_theme_config_schemas_1.catalogsConfigSchema, entitiesCatalog: entities_catalog_config_schema_1.entitiesCatalogConfigSchema, catalogClassic: ex_theme_config_schemas_1.catalogsConfigSchema, scorecard: ex_theme_config_schemas_1.scorecardConfigSchema, mcp: mcpConfigSchema }),
446
+ catalog: ex_theme_config_schemas_1.catalogsConfigSchema, entitiesCatalog: entities_catalog_config_schema_1.entitiesCatalogConfigSchema, catalogClassic: ex_theme_config_schemas_1.catalogsConfigSchema,
447
+ /**
448
+ * @deprecated Should use `scorecardClassic` instead
449
+ */
450
+ scorecard: ex_theme_config_schemas_1.scorecardConfigSchema, scorecards: ex_theme_config_schemas_1.scorecardsConfigSchema, scorecardClassic: ex_theme_config_schemas_1.scorecardConfigSchema, mcp: mcpConfigSchema }),
447
451
  default: { redirects: {}, seo: exports.seoConfigSchema.default },
448
452
  additionalProperties: true,
449
453
  };
@@ -30,6 +30,7 @@ export type ApiFunctionsContext = {
30
30
  params: Record<string, string | string[]>;
31
31
  query: Record<string, string | string[]>;
32
32
  cookies: Record<string, string>;
33
+ getStorage: () => Promise<KvService>;
33
34
  /**
34
35
  * @deprecated `telemetry` is deprecated.
35
36
  */
@@ -39,6 +40,53 @@ export type ApiFunctionsContext = {
39
40
  } & Record<string, string | number>) => void;
40
41
  };
41
42
  } & ApiFunctionsContextMethods;
43
+ export type KvService = {
44
+ get: <T extends KvValue = KvValue>(key: KvKey) => Promise<KvReadSchema<T> | null>;
45
+ getMany: <T extends KvValue = KvValue>(keys: KvKey[]) => Promise<(KvReadSchema<T> | null)[]>;
46
+ list: <T extends KvValue = KvValue>(selector: KvListSelector, options?: KvListOptions) => Promise<KvListResponse<T>>;
47
+ set: <T extends KvValue = KvValue>(key: KvKey, value: T, options?: KvSetOptions) => Promise<string | null>;
48
+ delete: (key: KvKey) => Promise<boolean>;
49
+ clearExpired: () => Promise<void>;
50
+ transaction: <T>(operation: (tx: KvTransaction) => Promise<T>) => Promise<T>;
51
+ };
52
+ export type KvValue = Record<string, unknown> | unknown[] | unknown;
53
+ export type KvKeyPart = string | number | boolean;
54
+ export type KvKey = KvKeyPart[];
55
+ export type KvSetOptions = {
56
+ ttlInSeconds?: number;
57
+ };
58
+ export type KvReadSchema<T extends KvValue = KvValue> = {
59
+ key: KvKey;
60
+ value: T | null;
61
+ };
62
+ export type KvListSelector = {
63
+ prefix: KvKey;
64
+ } | {
65
+ prefix: KvKey;
66
+ start: KvKey;
67
+ } | {
68
+ prefix: KvKey;
69
+ end: KvKey;
70
+ } | {
71
+ start: KvKey;
72
+ end: KvKey;
73
+ };
74
+ export type KvListOptions = {
75
+ limit?: number;
76
+ reverse?: boolean;
77
+ cursor?: string;
78
+ };
79
+ export type KvListResponse<T extends KvValue = KvValue> = {
80
+ items: KvReadSchema<T>[];
81
+ total: number;
82
+ cursor: string | null;
83
+ };
84
+ export type KvTransaction = {
85
+ get: <T extends KvValue = KvValue>(key: KvKey) => Promise<KvReadSchema<T> | null>;
86
+ getMany: <T extends KvValue = KvValue>(keys: KvKey[]) => Promise<(KvReadSchema<T> | null)[]>;
87
+ set: <T extends KvValue = KvValue>(key: KvKey, value: T, options?: KvSetOptions) => Promise<string | null>;
88
+ delete: (key: KvKey) => Promise<boolean>;
89
+ };
42
90
  export type ApiRoutesHandler = (request: Request, context: ApiFunctionsContext,
43
91
  /**
44
92
  * @deprecated `staticData` is deprecated.
@@ -54,4 +102,4 @@ export interface CookieOptions {
54
102
  signed?: boolean;
55
103
  sameSite?: 'Strict' | 'Lax' | 'None';
56
104
  }
57
- export type ServerPropsContext = ApiFunctionsContext;
105
+ export type ServerPropsContext = Omit<ApiFunctionsContext, 'getStorage'>;
@@ -53,6 +53,8 @@ export type EntityContactFileSchema = FromSchema<typeof entityContactFileSchema>
53
53
  export type EntityLinkFileSchema = FromSchema<typeof entityLinkFileSchema>;
54
54
  export type EntityRelationFileSchema = FromSchema<typeof entityRelationFileSchema>;
55
55
  export type EntityBaseFileSchema = {
56
+ version?: string | null;
57
+ revision?: string | null;
56
58
  key: string;
57
59
  title: string;
58
60
  summary?: string | null;
@@ -4,7 +4,7 @@ import type { productConfigOverrideSchema } from '../product-override-schema';
4
4
  import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, l10nConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoDirectConfigSchema } from '../root-config-schema';
5
5
  import type { RedocConfigTypes } from './redoc-types';
6
6
  import type { GraphQLConfigTypes } from './graphql-types';
7
- import type { productConfigSchema, productGoogleAnalyticsConfigSchema, markdownConfigSchema, amplitudeAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, segmentAnalyticsConfigSchema, gtmAnalyticsConfigSchema, googleAnalyticsConfigSchema, scorecardConfigSchema, catalogFilterSchema, catalogSchema, searchFacetsConfigSchema } from '../ex-theme-config-schemas';
7
+ import type { productConfigSchema, productGoogleAnalyticsConfigSchema, markdownConfigSchema, amplitudeAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, segmentAnalyticsConfigSchema, gtmAnalyticsConfigSchema, googleAnalyticsConfigSchema, scorecardConfigSchema, scorecardsConfigSchema, catalogFilterSchema, catalogSchema, searchFacetsConfigSchema } from '../ex-theme-config-schemas';
8
8
  import type { reuniteConfigSchema } from '../reunite-config-schema';
9
9
  import type { optionalEmailSettings, reasonsSettings } from '../feedback-config-schema';
10
10
  /**
@@ -27,6 +27,7 @@ export type CatalogConfig = FromSchema<typeof catalogSchema>;
27
27
  export type CatalogFilterConfig = FromSchema<typeof catalogFilterSchema>;
28
28
  export type ReuniteConfig = FromSchema<typeof reuniteConfigSchema>;
29
29
  export type ScorecardConfig = FromSchema<typeof scorecardConfigSchema>;
30
+ export type ScorecardsConfig = FromSchema<typeof scorecardsConfigSchema>;
30
31
  export type SearchFacetsConfig = FromSchema<typeof searchFacetsConfigSchema>;
31
32
  export type RedoclyConfig = Omit<FromSchema<typeof rootRedoclyConfigSchema>, 'theme' | 'apis'> & {
32
33
  /**
@@ -3,7 +3,7 @@ import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from '../c
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';
6
- export type UiAccessibleConfig = Pick<RedoclyConfig, 'logo' | 'navbar' | 'products' | 'footer' | 'sidebar' | 'scripts' | 'links' | 'feedback' | 'search' | 'aiAssistant' | 'colorMode' | 'navigation' | 'codeSnippet' | 'markdown' | 'openapi' | 'graphql' | 'analytics' | 'userMenu' | 'versionPicker' | 'breadcrumbs' | 'catalog' | 'scorecard' | 'entitiesCatalog' | 'mcp'> & {
6
+ export type UiAccessibleConfig = Pick<RedoclyConfig, 'logo' | 'navbar' | 'products' | 'footer' | 'sidebar' | 'scripts' | 'links' | 'feedback' | 'search' | 'aiAssistant' | 'colorMode' | 'navigation' | 'codeSnippet' | 'markdown' | 'openapi' | 'graphql' | 'analytics' | 'userMenu' | 'versionPicker' | 'breadcrumbs' | 'catalog' | 'scorecard' | 'scorecards' | 'scorecardClassic' | 'entitiesCatalog' | 'mcp'> & {
7
7
  auth?: {
8
8
  idpsInfo?: {
9
9
  idpId: string;
@@ -44,6 +44,7 @@ export type ResolvedNavLinkItem = {
44
44
  routeSlug?: string;
45
45
  active?: boolean;
46
46
  deprecated?: boolean;
47
+ isAdditionalOperation?: boolean;
47
48
  icon?: string;
48
49
  srcSet?: string;
49
50
  [REDOCLY_TEAMS_RBAC]?: RbacScopeItems;
@@ -0,0 +1,3 @@
1
+ export type ScorecardsConfig = {
2
+ test: boolean;
3
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=scorecards-types.js.map
@@ -3457,6 +3457,58 @@ export declare const themeConfigSchema: {
3457
3457
  readonly showBuiltInDirectives: {
3458
3458
  readonly type: "boolean";
3459
3459
  };
3460
+ readonly info: {
3461
+ readonly type: "object";
3462
+ readonly properties: {
3463
+ readonly title: {
3464
+ readonly type: "string";
3465
+ };
3466
+ readonly version: {
3467
+ readonly type: "string";
3468
+ };
3469
+ readonly description: {
3470
+ readonly type: "string";
3471
+ };
3472
+ readonly termsOfService: {
3473
+ readonly type: "string";
3474
+ readonly format: "uri";
3475
+ };
3476
+ readonly contact: {
3477
+ readonly type: "object";
3478
+ readonly properties: {
3479
+ readonly name: {
3480
+ readonly type: "string";
3481
+ };
3482
+ readonly url: {
3483
+ readonly type: "string";
3484
+ readonly format: "uri";
3485
+ };
3486
+ readonly email: {
3487
+ readonly type: "string";
3488
+ readonly format: "email";
3489
+ };
3490
+ };
3491
+ readonly additionalProperties: false;
3492
+ };
3493
+ readonly license: {
3494
+ readonly type: "object";
3495
+ readonly properties: {
3496
+ readonly name: {
3497
+ readonly type: "string";
3498
+ };
3499
+ readonly url: {
3500
+ readonly type: "string";
3501
+ readonly format: "uri";
3502
+ };
3503
+ readonly identifier: {
3504
+ readonly type: "string";
3505
+ };
3506
+ };
3507
+ readonly additionalProperties: false;
3508
+ };
3509
+ };
3510
+ readonly additionalProperties: false;
3511
+ };
3460
3512
  };
3461
3513
  readonly additionalProperties: false;
3462
3514
  };
@@ -5285,6 +5337,9 @@ export declare const themeConfigSchema: {
5285
5337
  };
5286
5338
  };
5287
5339
  };
5340
+ /**
5341
+ * @deprecated Should use `scorecardClassic` instead
5342
+ */
5288
5343
  readonly scorecard: {
5289
5344
  readonly type: "object";
5290
5345
  readonly additionalProperties: true;
@@ -5534,6 +5589,266 @@ export declare const themeConfigSchema: {
5534
5589
  };
5535
5590
  };
5536
5591
  };
5592
+ readonly scorecards: {
5593
+ readonly type: "object";
5594
+ readonly additionalProperties: true;
5595
+ readonly required: readonly [];
5596
+ readonly properties: {
5597
+ readonly test: {
5598
+ readonly type: "boolean";
5599
+ readonly default: true;
5600
+ };
5601
+ };
5602
+ };
5603
+ readonly scorecardClassic: {
5604
+ readonly type: "object";
5605
+ readonly additionalProperties: true;
5606
+ readonly required: readonly [];
5607
+ readonly properties: {
5608
+ readonly ignoreNonCompliant: {
5609
+ readonly type: "boolean";
5610
+ readonly default: false;
5611
+ };
5612
+ readonly teamMetadataProperty: {
5613
+ readonly type: "object";
5614
+ readonly properties: {
5615
+ readonly property: {
5616
+ readonly type: "string";
5617
+ };
5618
+ readonly label: {
5619
+ readonly type: "string";
5620
+ };
5621
+ readonly default: {
5622
+ readonly type: "string";
5623
+ };
5624
+ };
5625
+ };
5626
+ readonly levels: {
5627
+ readonly type: "array";
5628
+ readonly items: {
5629
+ readonly type: "object";
5630
+ readonly required: readonly ["name"];
5631
+ readonly properties: {
5632
+ readonly decorators: {
5633
+ readonly type: "object";
5634
+ readonly additionalProperties: true;
5635
+ };
5636
+ readonly oas2Decorators: {
5637
+ readonly type: "object";
5638
+ readonly additionalProperties: true;
5639
+ };
5640
+ readonly oas3_0Decorators: {
5641
+ readonly type: "object";
5642
+ readonly additionalProperties: true;
5643
+ };
5644
+ readonly oas3_1Decorators: {
5645
+ readonly type: "object";
5646
+ readonly additionalProperties: true;
5647
+ };
5648
+ readonly oas3_2Decorators: {
5649
+ readonly type: "object";
5650
+ readonly additionalProperties: true;
5651
+ };
5652
+ readonly async2Decorators: {
5653
+ readonly type: "object";
5654
+ readonly additionalProperties: true;
5655
+ };
5656
+ readonly async3Decorators: {
5657
+ readonly type: "object";
5658
+ readonly additionalProperties: true;
5659
+ };
5660
+ readonly arazzo1Decorators: {
5661
+ readonly type: "object";
5662
+ readonly additionalProperties: true;
5663
+ };
5664
+ readonly overlay1Decorators: {
5665
+ readonly type: "object";
5666
+ readonly additionalProperties: true;
5667
+ };
5668
+ readonly preprocessors: {
5669
+ readonly type: "object";
5670
+ readonly additionalProperties: true;
5671
+ };
5672
+ readonly oas2Preprocessors: {
5673
+ readonly type: "object";
5674
+ readonly additionalProperties: true;
5675
+ };
5676
+ readonly oas3_0Preprocessors: {
5677
+ readonly type: "object";
5678
+ readonly additionalProperties: true;
5679
+ };
5680
+ readonly oas3_1Preprocessors: {
5681
+ readonly type: "object";
5682
+ readonly additionalProperties: true;
5683
+ };
5684
+ readonly oas3_2Preprocessors: {
5685
+ readonly type: "object";
5686
+ readonly additionalProperties: true;
5687
+ };
5688
+ readonly async2Preprocessors: {
5689
+ readonly type: "object";
5690
+ readonly additionalProperties: true;
5691
+ };
5692
+ readonly async3Preprocessors: {
5693
+ readonly type: "object";
5694
+ readonly additionalProperties: true;
5695
+ };
5696
+ readonly arazzo1Preprocessors: {
5697
+ readonly type: "object";
5698
+ readonly additionalProperties: true;
5699
+ };
5700
+ readonly overlay1Preprocessors: {
5701
+ readonly type: "object";
5702
+ readonly additionalProperties: true;
5703
+ };
5704
+ readonly rules: {
5705
+ readonly type: "object";
5706
+ readonly additionalProperties: {
5707
+ readonly oneOf: readonly [{
5708
+ readonly type: "string";
5709
+ }, {
5710
+ readonly type: "object";
5711
+ }];
5712
+ };
5713
+ };
5714
+ readonly oas2Rules: {
5715
+ readonly type: "object";
5716
+ readonly additionalProperties: {
5717
+ readonly oneOf: readonly [{
5718
+ readonly type: "string";
5719
+ }, {
5720
+ readonly type: "object";
5721
+ }];
5722
+ };
5723
+ };
5724
+ readonly oas3_0Rules: {
5725
+ readonly type: "object";
5726
+ readonly additionalProperties: {
5727
+ readonly oneOf: readonly [{
5728
+ readonly type: "string";
5729
+ }, {
5730
+ readonly type: "object";
5731
+ }];
5732
+ };
5733
+ };
5734
+ readonly oas3_1Rules: {
5735
+ readonly type: "object";
5736
+ readonly additionalProperties: {
5737
+ readonly oneOf: readonly [{
5738
+ readonly type: "string";
5739
+ }, {
5740
+ readonly type: "object";
5741
+ }];
5742
+ };
5743
+ };
5744
+ readonly oas3_2Rules: {
5745
+ readonly type: "object";
5746
+ readonly additionalProperties: {
5747
+ readonly oneOf: readonly [{
5748
+ readonly type: "string";
5749
+ }, {
5750
+ readonly type: "object";
5751
+ }];
5752
+ };
5753
+ };
5754
+ readonly async2Rules: {
5755
+ readonly type: "object";
5756
+ readonly additionalProperties: {
5757
+ readonly oneOf: readonly [{
5758
+ readonly type: "string";
5759
+ }, {
5760
+ readonly type: "object";
5761
+ }];
5762
+ };
5763
+ };
5764
+ readonly async3Rules: {
5765
+ readonly type: "object";
5766
+ readonly additionalProperties: {
5767
+ readonly oneOf: readonly [{
5768
+ readonly type: "string";
5769
+ }, {
5770
+ readonly type: "object";
5771
+ }];
5772
+ };
5773
+ };
5774
+ readonly arazzo1Rules: {
5775
+ readonly type: "object";
5776
+ readonly additionalProperties: {
5777
+ readonly oneOf: readonly [{
5778
+ readonly type: "string";
5779
+ }, {
5780
+ readonly type: "object";
5781
+ }];
5782
+ };
5783
+ };
5784
+ readonly overlay1Rules: {
5785
+ readonly type: "object";
5786
+ readonly additionalProperties: {
5787
+ readonly oneOf: readonly [{
5788
+ readonly type: "string";
5789
+ }, {
5790
+ readonly type: "object";
5791
+ }];
5792
+ };
5793
+ };
5794
+ readonly name: {
5795
+ readonly type: "string";
5796
+ };
5797
+ readonly color: {
5798
+ readonly type: "string";
5799
+ };
5800
+ readonly extends: {
5801
+ readonly type: "array";
5802
+ readonly items: {
5803
+ readonly type: "string";
5804
+ };
5805
+ };
5806
+ };
5807
+ readonly additionalProperties: false;
5808
+ };
5809
+ };
5810
+ readonly targets: {
5811
+ readonly type: "array";
5812
+ readonly items: {
5813
+ readonly type: "object";
5814
+ readonly required: readonly ["where"];
5815
+ readonly properties: {
5816
+ readonly minimumLevel: {
5817
+ readonly type: "string";
5818
+ };
5819
+ readonly rules: {
5820
+ readonly type: "object";
5821
+ readonly additionalProperties: true;
5822
+ };
5823
+ readonly where: {
5824
+ readonly type: "object";
5825
+ readonly required: readonly ["metadata"];
5826
+ readonly properties: {
5827
+ readonly metadata: {
5828
+ readonly type: "object";
5829
+ readonly additionalProperties: {
5830
+ readonly type: "string";
5831
+ };
5832
+ };
5833
+ };
5834
+ readonly additionalProperties: false;
5835
+ };
5836
+ };
5837
+ readonly additionalProperties: false;
5838
+ };
5839
+ };
5840
+ readonly ignore: {
5841
+ readonly type: "array";
5842
+ readonly items: {
5843
+ readonly type: "string";
5844
+ };
5845
+ };
5846
+ readonly fromProjectUrl: {
5847
+ readonly type: "string";
5848
+ readonly format: "uri";
5849
+ };
5850
+ };
5851
+ };
5537
5852
  };
5538
5853
  readonly additionalProperties: true;
5539
5854
  };
@@ -1,6 +1,6 @@
1
1
  import { graphqlConfigSchema } from './graphql-config-schema';
2
2
  import { feedbackConfigSchema } from './feedback-config-schema';
3
- import { logoConfigSchema, analyticsConfigSchema, breadcrumbsConfigSchema, catalogsConfigSchema, codeSnippetConfigSchema, colorModeConfigSchema, footerConfigSchema, linksConfigSchema, markdownConfigSchema, navbarConfigSchema, navigationConfigSchema, openapiConfigSchema, productsConfigSchema, scorecardConfigSchema, scriptsConfigSchema, searchConfigSchema, aiAssistantSchema, sidebarConfigSchema, userMenuConfigSchema, versionPickerConfigSchema, } from './ex-theme-config-schemas';
3
+ import { logoConfigSchema, analyticsConfigSchema, breadcrumbsConfigSchema, catalogsConfigSchema, codeSnippetConfigSchema, colorModeConfigSchema, footerConfigSchema, linksConfigSchema, markdownConfigSchema, navbarConfigSchema, navigationConfigSchema, openapiConfigSchema, productsConfigSchema, scorecardConfigSchema, scriptsConfigSchema, searchConfigSchema, aiAssistantSchema, sidebarConfigSchema, userMenuConfigSchema, versionPickerConfigSchema, scorecardsConfigSchema, } from './ex-theme-config-schemas';
4
4
  import { entitiesCatalogConfigSchema } from './entities-catalog-config-schema';
5
5
  export const themeConfigSchema = {
6
6
  type: 'object',
@@ -38,7 +38,12 @@ export const themeConfigSchema = {
38
38
  catalog: catalogsConfigSchema,
39
39
  entitiesCatalog: entitiesCatalogConfigSchema,
40
40
  catalogClassic: catalogsConfigSchema,
41
+ /**
42
+ * @deprecated Should use `scorecardClassic` instead
43
+ */
41
44
  scorecard: scorecardConfigSchema,
45
+ scorecards: scorecardsConfigSchema,
46
+ scorecardClassic: scorecardConfigSchema,
42
47
  },
43
48
  additionalProperties: true,
44
49
  };