@redocly/config
Advanced tools
Comparing version 0.8.0 to 0.8.1
@@ -7,4 +7,7 @@ export declare const reuniteConfigSchema: { | ||
}; | ||
readonly ignoreMarkdocErrors: { | ||
readonly type: "boolean"; | ||
}; | ||
}; | ||
readonly additionalProperties: false; | ||
}; |
@@ -5,2 +5,3 @@ export const reuniteConfigSchema = { | ||
ignoreLinkChecker: { type: 'boolean' }, | ||
ignoreMarkdocErrors: { type: 'boolean' }, | ||
}, | ||
@@ -7,0 +8,0 @@ additionalProperties: false, |
@@ -173,2 +173,14 @@ import { DEFAULT_TEAM_CLAIM_NAME, AuthProviderType, ApigeeDevOnboardingIntegrationAuthType, } from './constants'; | ||
}; | ||
export const graviteeAdapterAuthStaticSchema = { | ||
type: 'object', | ||
properties: { static: { type: 'string' } }, | ||
additionalProperties: false, | ||
required: ['static'], | ||
}; | ||
export const graviteeAdapterAuthIdpSchema = { | ||
type: 'object', | ||
properties: { idp: { type: 'string' } }, | ||
additionalProperties: false, | ||
required: ['idp'], | ||
}; | ||
export const graviteeAdapterConfigSchema = { | ||
@@ -182,3 +194,5 @@ type: 'object', | ||
stage: { type: 'string', default: 'non-production' }, | ||
auth: { type: 'object', properties: { static: { type: 'string' } } }, | ||
auth: { | ||
oneOf: [graviteeAdapterAuthStaticSchema, graviteeAdapterAuthIdpSchema], | ||
}, | ||
}, | ||
@@ -185,0 +199,0 @@ additionalProperties: false, |
@@ -7,4 +7,7 @@ export declare const reuniteConfigSchema: { | ||
}; | ||
readonly ignoreMarkdocErrors: { | ||
readonly type: "boolean"; | ||
}; | ||
}; | ||
readonly additionalProperties: false; | ||
}; |
@@ -8,2 +8,3 @@ "use strict"; | ||
ignoreLinkChecker: { type: 'boolean' }, | ||
ignoreMarkdocErrors: { type: 'boolean' }, | ||
}, | ||
@@ -10,0 +11,0 @@ additionalProperties: false, |
"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.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.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; | ||
const constants_1 = require("./constants"); | ||
@@ -176,2 +176,14 @@ const default_theme_config_schema_1 = require("./default-theme-config-schema"); | ||
}; | ||
exports.graviteeAdapterAuthStaticSchema = { | ||
type: 'object', | ||
properties: { static: { type: 'string' } }, | ||
additionalProperties: false, | ||
required: ['static'], | ||
}; | ||
exports.graviteeAdapterAuthIdpSchema = { | ||
type: 'object', | ||
properties: { idp: { type: 'string' } }, | ||
additionalProperties: false, | ||
required: ['idp'], | ||
}; | ||
exports.graviteeAdapterConfigSchema = { | ||
@@ -185,3 +197,5 @@ type: 'object', | ||
stage: { type: 'string', default: 'non-production' }, | ||
auth: { type: 'object', properties: { static: { type: 'string' } } }, | ||
auth: { | ||
oneOf: [exports.graviteeAdapterAuthStaticSchema, exports.graviteeAdapterAuthIdpSchema], | ||
}, | ||
}, | ||
@@ -188,0 +202,0 @@ additionalProperties: false, |
{ | ||
"name": "@redocly/config", | ||
"version": "0.8.0", | ||
"version": "0.8.1", | ||
"license": "MIT", | ||
@@ -11,3 +11,3 @@ "main": "./lib/index.js", | ||
"@types/react": "18.3.2", | ||
"react-router-dom": "^6.21.1", | ||
"react-router-dom": "6.21.1", | ||
"json-schema-to-ts": "2.7.2", | ||
@@ -14,0 +14,0 @@ "rimraf": "5.0.7", |
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
3663716
68303