@redocly/config 0.17.0 → 0.18.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 +36 -4
- package/lib/ex-theme-config-schemas.d.ts +31 -2
- package/lib/ex-theme-config-schemas.js +19 -4
- package/lib/product-override-schema.d.ts +36 -6
- package/lib/root-config-schema.d.ts +110 -16
- package/lib/root-config-schema.js +3 -3
- package/lib/types.d.ts +2 -2
- package/lib-esm/default-theme-config-schema.d.ts +36 -4
- package/lib-esm/ex-theme-config-schemas.d.ts +31 -2
- package/lib-esm/ex-theme-config-schemas.js +18 -3
- package/lib-esm/product-override-schema.d.ts +36 -6
- package/lib-esm/root-config-schema.d.ts +280 -186
- package/lib-esm/root-config-schema.js +2 -2
- package/lib-esm/types.d.ts +2 -2
- package/package.json +1 -1
|
@@ -59,7 +59,7 @@ export const authProviderConfigSchema = {
|
|
|
59
59
|
oneOf: [oidcProviderConfigSchema, saml2ProviderConfigSchema],
|
|
60
60
|
discriminator: { propertyName: 'type' },
|
|
61
61
|
};
|
|
62
|
-
export const
|
|
62
|
+
export const ssoDirectConfigSchema = {
|
|
63
63
|
type: 'object',
|
|
64
64
|
additionalProperties: authProviderConfigSchema,
|
|
65
65
|
};
|
|
@@ -341,7 +341,7 @@ export const redoclyConfigSchema = {
|
|
|
341
341
|
rules: rulesSchema,
|
|
342
342
|
decorators: { type: 'object', additionalProperties: true },
|
|
343
343
|
preprocessors: { type: 'object', additionalProperties: true },
|
|
344
|
-
|
|
344
|
+
ssoDirect: ssoDirectConfigSchema,
|
|
345
345
|
sso: ssoConfigSchema,
|
|
346
346
|
residency: { type: 'string' },
|
|
347
347
|
developerOnboarding: devOnboardingConfigSchema,
|
package/lib-esm/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { FromSchema } from 'json-schema-to-ts';
|
|
2
2
|
import type { themeConfigSchema } from './default-theme-config-schema';
|
|
3
3
|
import type { productConfigOverrideSchema } from './product-override-schema';
|
|
4
|
-
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, l10nConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema,
|
|
4
|
+
import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthServiceAccountSchema, apigeeEdgeAdapterConfigSchema, apigeeXAdapterConfigSchema, authProviderConfigSchema, devOnboardingAdapterConfigSchema, graviteeAdapterConfigSchema, l10nConfigSchema, oidcIssuerMetadataSchema, oidcProviderConfigSchema, rbacConfigSchema, rbacScopeItemsSchema, redirectConfigSchema, redirectsConfigSchema, rootRedoclyConfigSchema, saml2ProviderConfigSchema, seoConfigSchema, ssoDirectConfigSchema } from './root-config-schema';
|
|
5
5
|
import type { RedocConfigTypes } from './redoc-types';
|
|
6
6
|
import type { GraphQLConfigTypes } from './graphql-types';
|
|
7
7
|
import type { productConfigSchema, productGoogleAnalyticsConfigSchema, markdownConfigSchema, amplitudeAnalyticsConfigSchema, rudderstackAnalyticsConfigSchema, segmentAnalyticsConfigSchema, gtmAnalyticsConfigSchema, googleAnalyticsConfigSchema, scorecardConfigSchema, catalogFilterSchema, catalogSchema, searchFacetsConfigSchema } from './ex-theme-config-schemas';
|
|
@@ -49,7 +49,7 @@ export type GraviteeAdapterConfig = FromSchema<typeof graviteeAdapterConfigSchem
|
|
|
49
49
|
export type ApigeeAdapterConfig = FromSchema<typeof apigeeXAdapterConfigSchema | typeof apigeeEdgeAdapterConfigSchema>;
|
|
50
50
|
export type ApigeeAdapterAuthOauth2 = FromSchema<typeof apigeeAdapterAuthOauth2Schema>;
|
|
51
51
|
export type ApigeeAdapterAuthServiceAccount = FromSchema<typeof apigeeAdapterAuthServiceAccountSchema>;
|
|
52
|
-
export type SsoConfig = FromSchema<typeof
|
|
52
|
+
export type SsoConfig = FromSchema<typeof ssoDirectConfigSchema>;
|
|
53
53
|
export type L10nConfig = FromSchema<typeof l10nConfigSchema>;
|
|
54
54
|
type BasicApiConfig = FromSchema<typeof apiConfigSchema>;
|
|
55
55
|
export type ApiConfig = BasicApiConfig & {
|