@redocly/config 0.19.1 → 0.19.2

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.
@@ -175,6 +175,13 @@ export const rbacConfigSchema = {
175
175
  teamFoldersBaseRoles: rbacScopeItemsSchema,
176
176
  cms: rbacScopeItemsSchema, // deprecated in favor of reunite
177
177
  reunite: rbacScopeItemsSchema,
178
+ features: {
179
+ type: 'object',
180
+ properties: {
181
+ aiSearch: rbacScopeItemsSchema,
182
+ },
183
+ additionalProperties: false,
184
+ },
178
185
  content: {
179
186
  type: 'object',
180
187
  properties: {
@@ -5,8 +5,8 @@ import type { apiConfigSchema, apigeeAdapterAuthOauth2Schema, apigeeAdapterAuthS
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';
8
- import type { reasonsSettingsSchema } from './feedback-config-schema';
9
8
  import type { reuniteConfigSchema } from './reunite-config-schema';
9
+ import type { anonymousUserEmailSettings, reasonsSettings } from './feedback-config-schema';
10
10
  /**
11
11
  * @deprecated left for backwards compatibility. To be removed in Realm 1.0
12
12
  */
@@ -62,5 +62,6 @@ export type ApiConfig = BasicApiConfig & {
62
62
  };
63
63
  };
64
64
  export type ProductConfigOverride = FromSchema<typeof productConfigOverrideSchema>;
65
- export type ReasonsSettingsSchema = FromSchema<typeof reasonsSettingsSchema>;
65
+ export type ReasonsSettingsSchema = FromSchema<typeof reasonsSettings>;
66
+ export type AnonymousUserEmailSettings = FromSchema<typeof anonymousUserEmailSettings>;
66
67
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redocly/config",
3
- "version": "0.19.1",
3
+ "version": "0.19.2",
4
4
  "license": "MIT",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib-esm/index.js",