@redocly/config
Advanced tools
Comparing version 0.83.0-rc.2 to 0.83.0-rc.3
# @redocly/config | ||
## 0.83.0-rc.2 | ||
## 0.83.0-rc.3 | ||
### Patch Changes | ||
- chore: Release nex RC version. | ||
- chore: Release next RC version | ||
@@ -9,0 +9,0 @@ ## 0.5.0 |
@@ -0,1 +1,2 @@ | ||
import { redocConfigSchema } from './redoc-config-schema'; | ||
const logoConfigSchema = { | ||
@@ -564,3 +565,3 @@ type: 'object', | ||
markdown: markdownConfigSchema, | ||
openapi: { type: 'object', additionalProperties: true }, | ||
openapi: redocConfigSchema, | ||
graphql: { type: 'object', additionalProperties: true }, | ||
@@ -595,3 +596,3 @@ analytics: { | ||
default: [], | ||
} }, hideConfigSchema.properties), | ||
}, hideLoginButton: { type: 'boolean' } }, hideConfigSchema.properties), | ||
additionalProperties: false, | ||
@@ -598,0 +599,0 @@ default: {}, |
@@ -45,2 +45,3 @@ import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
active?: boolean; | ||
deprecated?: boolean; | ||
icon?: string; | ||
@@ -47,0 +48,0 @@ srcSet?: string; |
import type { FromSchema } from 'json-schema-to-ts'; | ||
import type { amplitudeAnalyticsConfigSchema, catalogFilterSchema, catalogSchema, googleAnalyticsConfigSchema, gtmAnalyticsConfigSchema, markdownConfigSchema, productConfigSchema, productGoogleAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, scorecardConfigSchema, segmentAnalyticsConfigSchema, themeConfigSchema } from './default-theme-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, basicAuthProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, i18ConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { RedocConfigTypes } from './redoc-types'; | ||
/** | ||
@@ -8,2 +9,3 @@ * Theme | ||
export type ThemeConfig = FromSchema<typeof themeConfigSchema>; | ||
export type RedocConfig = RedocConfigTypes; | ||
export type ProductConfig = FromSchema<typeof productConfigSchema>; | ||
@@ -10,0 +12,0 @@ export type ProductGoogleAnalyticsConfig = FromSchema<typeof productGoogleAnalyticsConfigSchema>; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.productConfigOverrideSchema = exports.productThemeOverrideSchema = exports.themeConfigSchema = exports.catalogSchema = exports.scorecardConfigSchema = exports.catalogFilterSchema = exports.productConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.markdownConfigSchema = void 0; | ||
const redoc_config_schema_1 = require("./redoc-config-schema"); | ||
const logoConfigSchema = { | ||
@@ -567,3 +568,3 @@ type: 'object', | ||
markdown: exports.markdownConfigSchema, | ||
openapi: { type: 'object', additionalProperties: true }, | ||
openapi: redoc_config_schema_1.redocConfigSchema, | ||
graphql: { type: 'object', additionalProperties: true }, | ||
@@ -598,3 +599,3 @@ analytics: { | ||
default: [], | ||
} }, hideConfigSchema.properties), | ||
}, hideLoginButton: { type: 'boolean' } }, hideConfigSchema.properties), | ||
additionalProperties: false, | ||
@@ -601,0 +602,0 @@ default: {}, |
@@ -45,2 +45,3 @@ import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
active?: boolean; | ||
deprecated?: boolean; | ||
icon?: string; | ||
@@ -47,0 +48,0 @@ srcSet?: string; |
import type { FromSchema } from 'json-schema-to-ts'; | ||
import type { amplitudeAnalyticsConfigSchema, catalogFilterSchema, catalogSchema, googleAnalyticsConfigSchema, gtmAnalyticsConfigSchema, markdownConfigSchema, productConfigSchema, productGoogleAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, scorecardConfigSchema, segmentAnalyticsConfigSchema, themeConfigSchema } from './default-theme-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, basicAuthProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, i18ConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { RedocConfigTypes } from './redoc-types'; | ||
/** | ||
@@ -8,2 +9,3 @@ * Theme | ||
export type ThemeConfig = FromSchema<typeof themeConfigSchema>; | ||
export type RedocConfig = RedocConfigTypes; | ||
export type ProductConfig = FromSchema<typeof productConfigSchema>; | ||
@@ -10,0 +12,0 @@ export type ProductGoogleAnalyticsConfig = FromSchema<typeof productGoogleAnalyticsConfigSchema>; |
{ | ||
"name": "@redocly/config", | ||
"version": "0.83.0-rc.2", | ||
"version": "0.83.0-rc.3", | ||
"license": "MIT", | ||
@@ -8,7 +8,7 @@ "main": "./lib/index.js", | ||
"types": "./lib/index.d.ts", | ||
"dependencies": {}, | ||
"devDependencies": { | ||
"@markdoc/markdoc": "0.4.0", | ||
"@types/react": "18.3.2", | ||
"json-schema-to-ts": "2.7.2", | ||
"rimraf": "5.0.5", | ||
"json-schema-to-ts": "2.7.2", | ||
"@markdoc/markdoc": "0.4.0", | ||
"typescript": "5.2.2" | ||
@@ -15,0 +15,0 @@ }, |
@@ -0,1 +1,3 @@ | ||
import { redocConfigSchema } from './redoc-config-schema'; | ||
const logoConfigSchema = { | ||
@@ -652,3 +654,3 @@ type: 'object', | ||
markdown: markdownConfigSchema, | ||
openapi: { type: 'object', additionalProperties: true }, // TODO: put the real schema here @Viacheslav | ||
openapi: redocConfigSchema, | ||
graphql: { type: 'object', additionalProperties: true }, | ||
@@ -685,2 +687,3 @@ analytics: { | ||
}, | ||
hideLoginButton: { type: 'boolean' }, | ||
...hideConfigSchema.properties, | ||
@@ -687,0 +690,0 @@ }, |
@@ -56,2 +56,3 @@ import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
active?: boolean; | ||
deprecated?: boolean; | ||
icon?: string; | ||
@@ -58,0 +59,0 @@ srcSet?: string; |
@@ -38,2 +38,3 @@ import type { FromSchema } from 'json-schema-to-ts'; | ||
} from './root-config-schema'; | ||
import type { RedocConfigTypes } from './redoc-types'; | ||
@@ -45,2 +46,3 @@ /** | ||
export type ThemeConfig = FromSchema<typeof themeConfigSchema>; | ||
export type RedocConfig = RedocConfigTypes; | ||
export type ProductConfig = FromSchema<typeof productConfigSchema>; | ||
@@ -47,0 +49,0 @@ export type ProductGoogleAnalyticsConfig = FromSchema<typeof productGoogleAnalyticsConfigSchema>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1717182
80
33076
5