@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.
- package/lib/default-theme-config-schema.d.ts +1880 -1879
- package/lib/default-theme-config-schema.js +3 -1
- package/lib/index.d.ts +1 -0
- package/lib/index.js +3 -1
- package/lib/portal-shared-types.d.ts +0 -1
- package/lib/redoc-config-schema.d.ts +0 -1375
- package/lib/redoc-config-schema.js +35 -5
- package/lib/redoc-types.d.ts +2 -2
- package/lib/root-config-schema.d.ts +5777 -5776
- package/lib/root-config-schema.js +1 -1
- package/lib-esm/default-theme-config-schema.d.ts +1880 -1879
- package/lib-esm/default-theme-config-schema.js +3 -1
- package/lib-esm/index.d.ts +1 -0
- package/lib-esm/index.js +1 -0
- package/lib-esm/portal-shared-types.d.ts +0 -1
- package/lib-esm/redoc-config-schema.d.ts +0 -1375
- package/lib-esm/redoc-config-schema.js +35 -5
- package/lib-esm/redoc-types.d.ts +2 -2
- package/lib-esm/root-config-schema.d.ts +5777 -5776
- package/lib-esm/root-config-schema.js +1 -1
- package/package.json +1 -1
|
@@ -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,
|
package/lib-esm/index.d.ts
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';
|
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';
|