@redocly/config 0.44.2 → 0.45.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.
@@ -1016,6 +1016,11 @@ export declare const themeConfigSchema: {
1016
1016
  };
1017
1017
  readonly additionalProperties: false;
1018
1018
  };
1019
+ readonly palette: {
1020
+ readonly type: "string";
1021
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
1022
+ readonly default: "default";
1023
+ };
1019
1024
  readonly navigation: {
1020
1025
  readonly type: "object";
1021
1026
  readonly properties: {
@@ -28,6 +28,7 @@ exports.themeConfigSchema = {
28
28
  search: ex_theme_config_schemas_1.searchConfigSchema,
29
29
  aiAssistant: ex_theme_config_schemas_1.aiAssistantSchema,
30
30
  colorMode: ex_theme_config_schemas_1.colorModeConfigSchema,
31
+ palette: ex_theme_config_schemas_1.paletteConfigSchema,
31
32
  navigation: ex_theme_config_schemas_1.navigationConfigSchema,
32
33
  codeSnippet: ex_theme_config_schemas_1.codeSnippetConfigSchema,
33
34
  markdown: ex_theme_config_schemas_1.markdownConfigSchema,
@@ -1049,6 +1049,11 @@ export declare const colorModeConfigSchema: {
1049
1049
  };
1050
1050
  readonly additionalProperties: false;
1051
1051
  };
1052
+ export declare const paletteConfigSchema: {
1053
+ readonly type: "string";
1054
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
1055
+ readonly default: "default";
1056
+ };
1052
1057
  export declare const navigationConfigSchema: {
1053
1058
  readonly type: "object";
1054
1059
  readonly properties: {
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.asyncapiConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
3
+ exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.asyncapiConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.paletteConfigSchema = exports.colorModeConfigSchema = exports.aiAssistantSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFiltersConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0;
4
4
  const redoc_config_schema_1 = require("./redoc-config-schema");
5
5
  const reference_docs_config_schema_1 = require("./reference-docs-config-schema");
6
6
  const common_1 = require("./common");
@@ -275,6 +275,11 @@ exports.colorModeConfigSchema = {
275
275
  } }, hideConfigSchema.properties),
276
276
  additionalProperties: false,
277
277
  };
278
+ exports.paletteConfigSchema = {
279
+ type: 'string',
280
+ enum: ['slate', 'pink', 'coral', 'amber', 'jade', 'cyan', 'ocean', 'indigo', 'iris', 'default'],
281
+ default: 'default',
282
+ };
278
283
  const navigationActionsConfigSchema = {
279
284
  type: 'object',
280
285
  properties: Object.assign(Object.assign({}, hideConfigSchema.properties), { items: {
@@ -8458,6 +8458,11 @@ export declare const redoclyConfigSchema: {
8458
8458
  };
8459
8459
  readonly additionalProperties: false;
8460
8460
  };
8461
+ readonly palette: {
8462
+ readonly type: "string";
8463
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
8464
+ readonly default: "default";
8465
+ };
8461
8466
  readonly navigation: {
8462
8467
  readonly type: "object";
8463
8468
  readonly properties: {
@@ -15475,6 +15480,11 @@ export declare const redoclyConfigSchema: {
15475
15480
  };
15476
15481
  readonly additionalProperties: false;
15477
15482
  };
15483
+ readonly palette: {
15484
+ readonly type: "string";
15485
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
15486
+ readonly default: "default";
15487
+ };
15478
15488
  readonly navigation: {
15479
15489
  readonly type: "object";
15480
15490
  readonly properties: {
@@ -29356,6 +29366,10 @@ export declare const rootRedoclyConfigSchema: {
29356
29366
  additionalProperties: false;
29357
29367
  type: "object";
29358
29368
  };
29369
+ palette: {
29370
+ enum: ("default" | "slate" | "pink" | "coral" | "amber" | "jade" | "cyan" | "ocean" | "indigo" | "iris")[];
29371
+ type: "string";
29372
+ };
29359
29373
  navigation: {
29360
29374
  properties: {
29361
29375
  nextButton: {
@@ -35232,6 +35246,10 @@ export declare const rootRedoclyConfigSchema: {
35232
35246
  additionalProperties: false;
35233
35247
  type: "object";
35234
35248
  };
35249
+ palette: {
35250
+ enum: ("default" | "slate" | "pink" | "coral" | "amber" | "jade" | "cyan" | "ocean" | "indigo" | "iris")[];
35251
+ type: "string";
35252
+ };
35235
35253
  navigation: {
35236
35254
  properties: {
35237
35255
  nextButton: {
@@ -42180,6 +42198,11 @@ export declare const rootRedoclyConfigSchema: {
42180
42198
  };
42181
42199
  readonly additionalProperties: false;
42182
42200
  };
42201
+ readonly palette: {
42202
+ readonly type: "string";
42203
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
42204
+ readonly default: "default";
42205
+ };
42183
42206
  readonly navigation: {
42184
42207
  readonly type: "object";
42185
42208
  readonly properties: {
@@ -49197,6 +49220,11 @@ export declare const rootRedoclyConfigSchema: {
49197
49220
  };
49198
49221
  readonly additionalProperties: false;
49199
49222
  };
49223
+ readonly palette: {
49224
+ readonly type: "string";
49225
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
49226
+ readonly default: "default";
49227
+ };
49200
49228
  readonly navigation: {
49201
49229
  readonly type: "object";
49202
49230
  readonly properties: {
@@ -555,7 +555,7 @@ exports.redoclyConfigSchema = {
555
555
  */
556
556
  theme: default_theme_config_schema_1.themeConfigSchema, reunite: reunite_config_schema_1.reuniteConfigSchema,
557
557
  // Ex theme properties
558
- logo: ex_theme_config_schemas_1.logoConfigSchema, navbar: ex_theme_config_schemas_1.navbarConfigSchema, products: ex_theme_config_schemas_1.productsConfigSchema, footer: ex_theme_config_schemas_1.footerConfigSchema, sidebar: ex_theme_config_schemas_1.sidebarConfigSchema, scripts: ex_theme_config_schemas_1.scriptsConfigSchema, links: ex_theme_config_schemas_1.linksConfigSchema, feedback: feedback_config_schema_1.feedbackConfigSchema, search: ex_theme_config_schemas_1.searchConfigSchema, aiAssistant: ex_theme_config_schemas_1.aiAssistantSchema, colorMode: ex_theme_config_schemas_1.colorModeConfigSchema, navigation: ex_theme_config_schemas_1.navigationConfigSchema, codeSnippet: ex_theme_config_schemas_1.codeSnippetConfigSchema, markdown: ex_theme_config_schemas_1.markdownConfigSchema, openapi: ex_theme_config_schemas_1.openapiConfigSchema, graphql: graphql_config_schema_1.graphqlConfigSchema, analytics: ex_theme_config_schemas_1.analyticsConfigSchema, userMenu: ex_theme_config_schemas_1.userMenuConfigSchema, versionPicker: ex_theme_config_schemas_1.versionPickerConfigSchema, breadcrumbs: ex_theme_config_schemas_1.breadcrumbsConfigSchema,
558
+ logo: ex_theme_config_schemas_1.logoConfigSchema, navbar: ex_theme_config_schemas_1.navbarConfigSchema, products: ex_theme_config_schemas_1.productsConfigSchema, footer: ex_theme_config_schemas_1.footerConfigSchema, sidebar: ex_theme_config_schemas_1.sidebarConfigSchema, scripts: ex_theme_config_schemas_1.scriptsConfigSchema, links: ex_theme_config_schemas_1.linksConfigSchema, feedback: feedback_config_schema_1.feedbackConfigSchema, search: ex_theme_config_schemas_1.searchConfigSchema, aiAssistant: ex_theme_config_schemas_1.aiAssistantSchema, colorMode: ex_theme_config_schemas_1.colorModeConfigSchema, palette: ex_theme_config_schemas_1.paletteConfigSchema, navigation: ex_theme_config_schemas_1.navigationConfigSchema, codeSnippet: ex_theme_config_schemas_1.codeSnippetConfigSchema, markdown: ex_theme_config_schemas_1.markdownConfigSchema, openapi: ex_theme_config_schemas_1.openapiConfigSchema, graphql: graphql_config_schema_1.graphqlConfigSchema, analytics: ex_theme_config_schemas_1.analyticsConfigSchema, userMenu: ex_theme_config_schemas_1.userMenuConfigSchema, versionPicker: ex_theme_config_schemas_1.versionPickerConfigSchema, breadcrumbs: ex_theme_config_schemas_1.breadcrumbsConfigSchema,
559
559
  /**
560
560
  * @deprecated Should use `catalogClassic` instead
561
561
  */
@@ -3,7 +3,7 @@ import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from '../c
3
3
  import type { ProductConfig, ProductGoogleAnalyticsConfig, RbacScopeItems, RedoclyConfig, SeoConfig, BannerConfig } 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' | 'scorecards' | 'scorecardClassic' | 'entitiesCatalog' | 'mcp'> & {
6
+ export type UiAccessibleConfig = Pick<RedoclyConfig, 'logo' | 'navbar' | 'products' | 'footer' | 'sidebar' | 'scripts' | 'links' | 'feedback' | 'search' | 'aiAssistant' | 'colorMode' | 'palette' | '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;
@@ -158,8 +158,9 @@ export type ResolvedSidebar = {
158
158
  catalogConfig?: CatalogEntityConfig;
159
159
  };
160
160
  };
161
- export type ResolvedBannerConfig = BannerConfig & {
161
+ export type ResolvedBannerConfig = Omit<BannerConfig, 'content'> & {
162
162
  ast: unknown;
163
+ hash: string;
163
164
  };
164
165
  export type CompilationError = {
165
166
  message: string;
@@ -1016,6 +1016,11 @@ export declare const themeConfigSchema: {
1016
1016
  };
1017
1017
  readonly additionalProperties: false;
1018
1018
  };
1019
+ readonly palette: {
1020
+ readonly type: "string";
1021
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
1022
+ readonly default: "default";
1023
+ };
1019
1024
  readonly navigation: {
1020
1025
  readonly type: "object";
1021
1026
  readonly properties: {
@@ -1,7 +1,7 @@
1
1
  import { graphqlConfigSchema } from './graphql-config-schema';
2
2
  import { asyncapiConfigSchema } from './asyncapi-config-schema';
3
3
  import { feedbackConfigSchema } from './feedback-config-schema';
4
- 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';
4
+ import { logoConfigSchema, analyticsConfigSchema, breadcrumbsConfigSchema, catalogsConfigSchema, codeSnippetConfigSchema, colorModeConfigSchema, paletteConfigSchema, footerConfigSchema, linksConfigSchema, markdownConfigSchema, navbarConfigSchema, navigationConfigSchema, openapiConfigSchema, productsConfigSchema, scorecardConfigSchema, scriptsConfigSchema, searchConfigSchema, aiAssistantSchema, sidebarConfigSchema, userMenuConfigSchema, versionPickerConfigSchema, } from './ex-theme-config-schemas';
5
5
  import { entitiesCatalogConfigSchema } from './entities-catalog-config-schema';
6
6
  import { scorecardsConfigSchema } from './scorecards-config-schema';
7
7
  export const themeConfigSchema = {
@@ -25,6 +25,7 @@ export const themeConfigSchema = {
25
25
  search: searchConfigSchema,
26
26
  aiAssistant: aiAssistantSchema,
27
27
  colorMode: colorModeConfigSchema,
28
+ palette: paletteConfigSchema,
28
29
  navigation: navigationConfigSchema,
29
30
  codeSnippet: codeSnippetConfigSchema,
30
31
  markdown: markdownConfigSchema,
@@ -1049,6 +1049,11 @@ export declare const colorModeConfigSchema: {
1049
1049
  };
1050
1050
  readonly additionalProperties: false;
1051
1051
  };
1052
+ export declare const paletteConfigSchema: {
1053
+ readonly type: "string";
1054
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
1055
+ readonly default: "default";
1056
+ };
1052
1057
  export declare const navigationConfigSchema: {
1053
1058
  readonly type: "object";
1054
1059
  readonly properties: {
@@ -272,6 +272,11 @@ export const colorModeConfigSchema = {
272
272
  } }, hideConfigSchema.properties),
273
273
  additionalProperties: false,
274
274
  };
275
+ export const paletteConfigSchema = {
276
+ type: 'string',
277
+ enum: ['slate', 'pink', 'coral', 'amber', 'jade', 'cyan', 'ocean', 'indigo', 'iris', 'default'],
278
+ default: 'default',
279
+ };
275
280
  const navigationActionsConfigSchema = {
276
281
  type: 'object',
277
282
  properties: Object.assign(Object.assign({}, hideConfigSchema.properties), { items: {
@@ -8458,6 +8458,11 @@ export declare const redoclyConfigSchema: {
8458
8458
  };
8459
8459
  readonly additionalProperties: false;
8460
8460
  };
8461
+ readonly palette: {
8462
+ readonly type: "string";
8463
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
8464
+ readonly default: "default";
8465
+ };
8461
8466
  readonly navigation: {
8462
8467
  readonly type: "object";
8463
8468
  readonly properties: {
@@ -15475,6 +15480,11 @@ export declare const redoclyConfigSchema: {
15475
15480
  };
15476
15481
  readonly additionalProperties: false;
15477
15482
  };
15483
+ readonly palette: {
15484
+ readonly type: "string";
15485
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
15486
+ readonly default: "default";
15487
+ };
15478
15488
  readonly navigation: {
15479
15489
  readonly type: "object";
15480
15490
  readonly properties: {
@@ -29356,6 +29366,10 @@ export declare const rootRedoclyConfigSchema: {
29356
29366
  additionalProperties: false;
29357
29367
  type: "object";
29358
29368
  };
29369
+ palette: {
29370
+ enum: ("default" | "slate" | "pink" | "coral" | "amber" | "jade" | "cyan" | "ocean" | "indigo" | "iris")[];
29371
+ type: "string";
29372
+ };
29359
29373
  navigation: {
29360
29374
  properties: {
29361
29375
  nextButton: {
@@ -35232,6 +35246,10 @@ export declare const rootRedoclyConfigSchema: {
35232
35246
  additionalProperties: false;
35233
35247
  type: "object";
35234
35248
  };
35249
+ palette: {
35250
+ enum: ("default" | "slate" | "pink" | "coral" | "amber" | "jade" | "cyan" | "ocean" | "indigo" | "iris")[];
35251
+ type: "string";
35252
+ };
35235
35253
  navigation: {
35236
35254
  properties: {
35237
35255
  nextButton: {
@@ -42180,6 +42198,11 @@ export declare const rootRedoclyConfigSchema: {
42180
42198
  };
42181
42199
  readonly additionalProperties: false;
42182
42200
  };
42201
+ readonly palette: {
42202
+ readonly type: "string";
42203
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
42204
+ readonly default: "default";
42205
+ };
42183
42206
  readonly navigation: {
42184
42207
  readonly type: "object";
42185
42208
  readonly properties: {
@@ -49197,6 +49220,11 @@ export declare const rootRedoclyConfigSchema: {
49197
49220
  };
49198
49221
  readonly additionalProperties: false;
49199
49222
  };
49223
+ readonly palette: {
49224
+ readonly type: "string";
49225
+ readonly enum: readonly ["slate", "pink", "coral", "amber", "jade", "cyan", "ocean", "indigo", "iris", "default"];
49226
+ readonly default: "default";
49227
+ };
49200
49228
  readonly navigation: {
49201
49229
  readonly type: "object";
49202
49230
  readonly properties: {
@@ -5,7 +5,7 @@ import { feedbackConfigSchema } from './feedback-config-schema';
5
5
  import { graphqlConfigSchema } from './graphql-config-schema';
6
6
  import { removePropertyRecursively } from './remove-property-recursively';
7
7
  import { reuniteConfigSchema } from './reunite-config-schema';
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
+ import { analyticsConfigSchema, breadcrumbsConfigSchema, catalogsConfigSchema, codeSnippetConfigSchema, colorModeConfigSchema, paletteConfigSchema, footerConfigSchema, linksConfigSchema, logoConfigSchema, markdownConfigSchema, navbarConfigSchema, navigationConfigSchema, openapiConfigSchema, productsConfigSchema, scorecardConfigSchema, scriptsConfigSchema, searchConfigSchema, aiAssistantSchema, sidebarConfigSchema, userMenuConfigSchema, versionPickerConfigSchema, } from './ex-theme-config-schemas';
9
9
  import { entitiesCatalogConfigSchema } from './entities-catalog-config-schema';
10
10
  import { scorecardsConfigSchema } from './scorecards-config-schema';
11
11
  import { configGovernanceSchema } from './common';
@@ -552,7 +552,7 @@ export const redoclyConfigSchema = {
552
552
  */
553
553
  theme: themeConfigSchema, reunite: reuniteConfigSchema,
554
554
  // Ex theme properties
555
- logo: logoConfigSchema, navbar: navbarConfigSchema, products: productsConfigSchema, footer: footerConfigSchema, sidebar: sidebarConfigSchema, scripts: scriptsConfigSchema, links: linksConfigSchema, feedback: feedbackConfigSchema, search: searchConfigSchema, aiAssistant: aiAssistantSchema, colorMode: colorModeConfigSchema, navigation: navigationConfigSchema, codeSnippet: codeSnippetConfigSchema, markdown: markdownConfigSchema, openapi: openapiConfigSchema, graphql: graphqlConfigSchema, analytics: analyticsConfigSchema, userMenu: userMenuConfigSchema, versionPicker: versionPickerConfigSchema, breadcrumbs: breadcrumbsConfigSchema,
555
+ logo: logoConfigSchema, navbar: navbarConfigSchema, products: productsConfigSchema, footer: footerConfigSchema, sidebar: sidebarConfigSchema, scripts: scriptsConfigSchema, links: linksConfigSchema, feedback: feedbackConfigSchema, search: searchConfigSchema, aiAssistant: aiAssistantSchema, colorMode: colorModeConfigSchema, palette: paletteConfigSchema, navigation: navigationConfigSchema, codeSnippet: codeSnippetConfigSchema, markdown: markdownConfigSchema, openapi: openapiConfigSchema, graphql: graphqlConfigSchema, analytics: analyticsConfigSchema, userMenu: userMenuConfigSchema, versionPicker: versionPickerConfigSchema, breadcrumbs: breadcrumbsConfigSchema,
556
556
  /**
557
557
  * @deprecated Should use `catalogClassic` instead
558
558
  */
@@ -3,7 +3,7 @@ import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from '../c
3
3
  import type { ProductConfig, ProductGoogleAnalyticsConfig, RbacScopeItems, RedoclyConfig, SeoConfig, BannerConfig } 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' | 'scorecards' | 'scorecardClassic' | 'entitiesCatalog' | 'mcp'> & {
6
+ export type UiAccessibleConfig = Pick<RedoclyConfig, 'logo' | 'navbar' | 'products' | 'footer' | 'sidebar' | 'scripts' | 'links' | 'feedback' | 'search' | 'aiAssistant' | 'colorMode' | 'palette' | '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;
@@ -158,8 +158,9 @@ export type ResolvedSidebar = {
158
158
  catalogConfig?: CatalogEntityConfig;
159
159
  };
160
160
  };
161
- export type ResolvedBannerConfig = BannerConfig & {
161
+ export type ResolvedBannerConfig = Omit<BannerConfig, 'content'> & {
162
162
  ast: unknown;
163
+ hash: string;
163
164
  };
164
165
  export type CompilationError = {
165
166
  message: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.44.2",
3
+ "version": "0.45.0",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",