@redocly/config 0.7.0 → 0.8.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.
@@ -1,5 +1,6 @@
1
1
  import { redocConfigSchema } from './redoc-config-schema';
2
2
  import { graphqlConfigSchema } from './graphql-config-schema';
3
+ import { deprecatedRefDocsSchema } from './reference-docs-config-schema';
3
4
  const logoConfigSchema = {
4
5
  type: 'object',
5
6
  properties: {
@@ -563,7 +564,7 @@ export const themeConfigSchema = {
563
564
  default: {},
564
565
  },
565
566
  markdown: markdownConfigSchema,
566
- openapi: redocConfigSchema,
567
+ openapi: Object.assign(Object.assign({}, redocConfigSchema), { properties: Object.assign(Object.assign({}, redocConfigSchema.properties), deprecatedRefDocsSchema.properties) }),
567
568
  graphql: graphqlConfigSchema,
568
569
  analytics: {
569
570
  type: 'object',
@@ -656,6 +657,7 @@ export const productThemeOverrideSchema = {
656
657
  default: {},
657
658
  };
658
659
  export const productConfigOverrideSchema = {
660
+ $id: 'product-config-override',
659
661
  type: 'object',
660
662
  properties: {
661
663
  theme: productThemeOverrideSchema,
@@ -1,5 +1,6 @@
1
1
  export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema';
2
2
  export { productThemeOverrideSchema, productConfigOverrideSchema, } from './default-theme-config-schema';
3
+ export { redocConfigSchema } from './redoc-config-schema';
3
4
  export * from './types';
4
5
  export * from './portal-shared-types';
5
6
  export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, } from './constants';
package/lib-esm/index.js CHANGED
@@ -1,5 +1,6 @@
1
1
  export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema';
2
2
  export { productThemeOverrideSchema, productConfigOverrideSchema, } from './default-theme-config-schema';
3
+ export { redocConfigSchema } from './redoc-config-schema';
3
4
  export * from './types';
4
5
  export * from './portal-shared-types';
5
6
  export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, DEFAULT_TEAM_CLAIM_NAME, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, } from './constants';
@@ -231,7 +231,6 @@ export type Version = {
231
231
  link: string;
232
232
  default: boolean;
233
233
  active: boolean;
234
- notExists?: boolean;
235
234
  folderId: string;
236
235
  [REDOCLY_TEAMS_RBAC]?: RbacScopeItems;
237
236
  [REDOCLY_ROUTE_RBAC]?: {