@redocly/config
Advanced tools
Comparing version 0.1.5 to 0.1.6
# @redocly/config | ||
## 0.1.6 | ||
### Patch Changes | ||
- 831d11b80: fix: Improve pattern-based RBAC support across pages, search and navigation data. | ||
## 0.1.5 | ||
@@ -4,0 +10,0 @@ |
@@ -12,2 +12,3 @@ export declare const DEFAULT_TEAM_CLAIM_NAME = "https://redocly.com/sso/teams"; | ||
export declare const REDOCLY_TEAMS_RBAC = "redocly::teams-rbac"; | ||
export declare const REDOCLY_ROUTE_RBAC = "redocly::route-rbac"; | ||
export declare enum LayoutVariant { | ||
@@ -14,0 +15,0 @@ STACKED = "stacked", |
@@ -14,2 +14,3 @@ export const DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams'; | ||
export const REDOCLY_TEAMS_RBAC = 'redocly::teams-rbac'; | ||
export const REDOCLY_ROUTE_RBAC = 'redocly::route-rbac'; | ||
export var LayoutVariant; | ||
@@ -16,0 +17,0 @@ (function (LayoutVariant) { |
@@ -5,2 +5,2 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'; | ||
export * from './portal-shared-types'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, } from './constants'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, } from './constants'; |
@@ -5,3 +5,3 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'; | ||
export * from './portal-shared-types'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, } from './constants'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, } from './constants'; | ||
//# sourceMappingURL=index.js.map |
import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
import type { LayoutVariant, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { ProductConfig, ProductGoogleAnalyticsConfig, RbacScopeItems, SeoConfig, ThemeConfig } from './types'; | ||
@@ -46,2 +46,6 @@ export type ThemeUIConfig = ThemeConfig & { | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
linkedSidebars?: string[]; | ||
@@ -73,2 +77,6 @@ languageInsensitive?: boolean; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
linkedSidebars?: string[]; | ||
@@ -96,2 +104,6 @@ languageInsensitive?: boolean; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
languageInsensitive?: boolean; | ||
@@ -113,2 +125,6 @@ } | { | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
icon?: string; | ||
@@ -212,2 +228,6 @@ srcSet?: string; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
}; | ||
@@ -254,3 +274,6 @@ export type VersionConfigItem = { | ||
}; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
[key: string]: string; | ||
}; | ||
themeOverride?: ProductThemeOverrideConfig; | ||
}; |
@@ -12,2 +12,3 @@ export declare const DEFAULT_TEAM_CLAIM_NAME = "https://redocly.com/sso/teams"; | ||
export declare const REDOCLY_TEAMS_RBAC = "redocly::teams-rbac"; | ||
export declare const REDOCLY_ROUTE_RBAC = "redocly::route-rbac"; | ||
export declare enum LayoutVariant { | ||
@@ -14,0 +15,0 @@ STACKED = "stacked", |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.LayoutVariant = exports.REDOCLY_TEAMS_RBAC = exports.ApigeeDevOnboardingIntegrationAuthType = exports.AuthProviderType = exports.DEFAULT_TEAM_CLAIM_NAME = void 0; | ||
exports.LayoutVariant = exports.REDOCLY_ROUTE_RBAC = exports.REDOCLY_TEAMS_RBAC = exports.ApigeeDevOnboardingIntegrationAuthType = exports.AuthProviderType = exports.DEFAULT_TEAM_CLAIM_NAME = void 0; | ||
exports.DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams'; | ||
@@ -17,2 +17,3 @@ var AuthProviderType; | ||
exports.REDOCLY_TEAMS_RBAC = 'redocly::teams-rbac'; | ||
exports.REDOCLY_ROUTE_RBAC = 'redocly::route-rbac'; | ||
var LayoutVariant; | ||
@@ -19,0 +20,0 @@ (function (LayoutVariant) { |
@@ -5,2 +5,2 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'; | ||
export * from './portal-shared-types'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, } from './constants'; | ||
export { ApigeeDevOnboardingIntegrationAuthType, AuthProviderType, LayoutVariant, REDOCLY_TEAMS_RBAC, REDOCLY_ROUTE_RBAC, } from './constants'; |
@@ -17,3 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.REDOCLY_TEAMS_RBAC = exports.LayoutVariant = exports.AuthProviderType = exports.ApigeeDevOnboardingIntegrationAuthType = exports.productConfigOverrideSchema = exports.productThemeOverrideSchema = exports.rootRedoclyConfigSchema = exports.rbacConfigSchema = void 0; | ||
exports.REDOCLY_ROUTE_RBAC = exports.REDOCLY_TEAMS_RBAC = exports.LayoutVariant = exports.AuthProviderType = exports.ApigeeDevOnboardingIntegrationAuthType = exports.productConfigOverrideSchema = exports.productThemeOverrideSchema = exports.rootRedoclyConfigSchema = exports.rbacConfigSchema = void 0; | ||
var root_config_schema_1 = require("./root-config-schema"); | ||
@@ -32,2 +32,3 @@ Object.defineProperty(exports, "rbacConfigSchema", { enumerable: true, get: function () { return root_config_schema_1.rbacConfigSchema; } }); | ||
Object.defineProperty(exports, "REDOCLY_TEAMS_RBAC", { enumerable: true, get: function () { return constants_1.REDOCLY_TEAMS_RBAC; } }); | ||
Object.defineProperty(exports, "REDOCLY_ROUTE_RBAC", { enumerable: true, get: function () { return constants_1.REDOCLY_ROUTE_RBAC; } }); | ||
//# sourceMappingURL=index.js.map |
import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
import type { LayoutVariant, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { ProductConfig, ProductGoogleAnalyticsConfig, RbacScopeItems, SeoConfig, ThemeConfig } from './types'; | ||
@@ -46,2 +46,6 @@ export type ThemeUIConfig = ThemeConfig & { | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
linkedSidebars?: string[]; | ||
@@ -73,2 +77,6 @@ languageInsensitive?: boolean; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
linkedSidebars?: string[]; | ||
@@ -96,2 +104,6 @@ languageInsensitive?: boolean; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
languageInsensitive?: boolean; | ||
@@ -113,2 +125,6 @@ } | { | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
icon?: string; | ||
@@ -212,2 +228,6 @@ srcSet?: string; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
}; | ||
@@ -254,3 +274,6 @@ export type VersionConfigItem = { | ||
}; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
[key: string]: string; | ||
}; | ||
themeOverride?: ProductThemeOverrideConfig; | ||
}; |
{ | ||
"name": "@redocly/config", | ||
"version": "0.1.5", | ||
"version": "0.1.6", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -13,2 +13,3 @@ export const DEFAULT_TEAM_CLAIM_NAME = 'https://redocly.com/sso/teams'; | ||
export const REDOCLY_TEAMS_RBAC = 'redocly::teams-rbac'; | ||
export const REDOCLY_ROUTE_RBAC = 'redocly::route-rbac'; | ||
@@ -15,0 +16,0 @@ export enum LayoutVariant { |
@@ -13,2 +13,3 @@ export { rbacConfigSchema, rootRedoclyConfigSchema } from './root-config-schema'; | ||
REDOCLY_TEAMS_RBAC, | ||
REDOCLY_ROUTE_RBAC, | ||
} from './constants'; |
import type { Node } from '@markdoc/markdoc/dist/src/types'; | ||
import type { LayoutVariant, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { LayoutVariant, REDOCLY_ROUTE_RBAC, REDOCLY_TEAMS_RBAC } from './constants'; | ||
import type { | ||
@@ -57,2 +57,6 @@ ProductConfig, | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
@@ -88,2 +92,6 @@ linkedSidebars?: string[]; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
@@ -118,2 +126,6 @@ linkedSidebars?: string[]; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
@@ -139,2 +151,6 @@ languageInsensitive?: boolean; | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
@@ -247,2 +263,6 @@ icon?: string; // for typescript | ||
[REDOCLY_TEAMS_RBAC]?: RbacScopeItems; | ||
[REDOCLY_ROUTE_RBAC]?: { | ||
slug?: string; | ||
fsPath?: string; | ||
}; | ||
}; | ||
@@ -301,3 +321,4 @@ | ||
[REDOCLY_TEAMS_RBAC]?: { [key: string]: string }; | ||
[REDOCLY_ROUTE_RBAC]?: { [key: string]: string }; | ||
themeOverride?: ProductThemeOverrideConfig; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1437662
27198