@redocly/config
Advanced tools
Comparing version 0.8.2 to 0.9.0
@@ -256,3 +256,3 @@ import { DEFAULT_TEAM_CLAIM_NAME, AuthProviderType, ApigeeDevOnboardingIntegrationAuthType, } from './constants'; | ||
}; | ||
export const i18ConfigSchema = { | ||
export const l10nConfigSchema = { | ||
type: 'object', | ||
@@ -328,3 +328,4 @@ properties: { | ||
removeAttribution: { type: 'boolean' }, | ||
i18n: i18ConfigSchema, | ||
i18n: l10nConfigSchema, | ||
l10n: l10nConfigSchema, | ||
metadata: metadataConfigSchema, | ||
@@ -331,0 +332,0 @@ ignore: { |
import type { FromSchema } from 'json-schema-to-ts'; | ||
import type { amplitudeAnalyticsConfigSchema, catalogFilterSchema, catalogSchema, googleAnalyticsConfigSchema, gtmAnalyticsConfigSchema, markdownConfigSchema, productConfigSchema, productGoogleAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, scorecardConfigSchema, segmentAnalyticsConfigSchema, closedThemeConfigSchema as themeConfigSchema } from './default-theme-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, i18ConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, l10nConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { RedocConfigTypes } from './redoc-types'; | ||
@@ -47,3 +47,3 @@ import type { GraphQLConfigTypes } from './graphql-types'; | ||
export type SsoConfig = FromSchema<typeof ssoOnPremConfigSchema>; | ||
export type I18nConfig = FromSchema<typeof i18ConfigSchema>; | ||
export type L10nConfig = FromSchema<typeof l10nConfigSchema>; | ||
type BasicApiConfig = FromSchema<typeof apiConfigSchema>; | ||
@@ -50,0 +50,0 @@ export type ApiConfig = BasicApiConfig & { |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.i18ConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.graviteeAdapterAuthIdpSchema = exports.graviteeAdapterAuthStaticSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoOnPremConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0; | ||
exports.rootRedoclyConfigSchema = exports.redoclyConfigSchema = exports.l10nConfigSchema = exports.devOnboardingAdapterConfigSchema = exports.apigeeEdgeAdapterConfigSchema = exports.apigeeXAdapterConfigSchema = exports.apigeeAdapterAuthServiceAccountSchema = exports.apigeeAdapterAuthOauth2Schema = exports.graviteeAdapterConfigSchema = exports.graviteeAdapterAuthIdpSchema = exports.graviteeAdapterAuthStaticSchema = exports.rbacConfigSchema = exports.rbacScopeItemsSchema = exports.seoConfigSchema = exports.apiConfigSchema = exports.redirectsConfigSchema = exports.redirectConfigSchema = exports.ssoConfigSchema = exports.ssoOnPremConfigSchema = exports.authProviderConfigSchema = exports.saml2ProviderConfigSchema = exports.oidcProviderConfigSchema = exports.oidcIssuerMetadataSchema = void 0; | ||
const constants_1 = require("./constants"); | ||
@@ -259,3 +259,3 @@ const default_theme_config_schema_1 = require("./default-theme-config-schema"); | ||
}; | ||
exports.i18ConfigSchema = { | ||
exports.l10nConfigSchema = { | ||
type: 'object', | ||
@@ -331,3 +331,4 @@ properties: { | ||
removeAttribution: { type: 'boolean' }, | ||
i18n: exports.i18ConfigSchema, | ||
i18n: exports.l10nConfigSchema, | ||
l10n: exports.l10nConfigSchema, | ||
metadata: metadataConfigSchema, | ||
@@ -334,0 +335,0 @@ ignore: { |
import type { FromSchema } from 'json-schema-to-ts'; | ||
import type { amplitudeAnalyticsConfigSchema, catalogFilterSchema, catalogSchema, googleAnalyticsConfigSchema, gtmAnalyticsConfigSchema, markdownConfigSchema, productConfigSchema, productGoogleAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, scorecardConfigSchema, segmentAnalyticsConfigSchema, closedThemeConfigSchema as themeConfigSchema } from './default-theme-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, i18ConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, l10nConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoOnPremConfigSchema } from './root-config-schema'; | ||
import type { RedocConfigTypes } from './redoc-types'; | ||
@@ -47,3 +47,3 @@ import type { GraphQLConfigTypes } from './graphql-types'; | ||
export type SsoConfig = FromSchema<typeof ssoOnPremConfigSchema>; | ||
export type I18nConfig = FromSchema<typeof i18ConfigSchema>; | ||
export type L10nConfig = FromSchema<typeof l10nConfigSchema>; | ||
type BasicApiConfig = FromSchema<typeof apiConfigSchema>; | ||
@@ -50,0 +50,0 @@ export type ApiConfig = BasicApiConfig & { |
{ | ||
"name": "@redocly/config", | ||
"version": "0.8.2", | ||
"version": "0.9.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
Sorry, the diff of this file is too big to display
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
3653175
68127