@redocly/config
Advanced tools
Comparing version 0.17.0 to 0.17.1
@@ -80,2 +80,15 @@ import { redocConfigSchema } from './redoc-config-schema'; | ||
}; | ||
export const aiSearchConfigSchema = { | ||
type: 'object', | ||
properties: { | ||
hide: { | ||
type: 'boolean', | ||
default: false, | ||
}, | ||
prompt: { | ||
type: 'string', | ||
}, | ||
}, | ||
additionalProperties: false, | ||
}; | ||
export const searchFacetsConfigSchema = { | ||
@@ -180,5 +193,3 @@ type: 'array', | ||
default: 'flexsearch', | ||
}, askAi: { | ||
type: 'boolean', | ||
}, facets: searchFacetsConfigSchema, placement: { | ||
}, ai: aiSearchConfigSchema, facets: searchFacetsConfigSchema, placement: { | ||
type: 'string', | ||
@@ -185,0 +196,0 @@ default: 'navbar', |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFacetsConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0; | ||
exports.scorecardConfigSchema = exports.catalogsConfigSchema = exports.catalogSchema = exports.catalogFilterSchema = exports.breadcrumbsConfigSchema = exports.versionPickerConfigSchema = exports.userMenuConfigSchema = exports.analyticsConfigSchema = exports.googleAnalyticsConfigSchema = exports.productGoogleAnalyticsConfigSchema = exports.gtmAnalyticsConfigSchema = exports.segmentAnalyticsConfigSchema = exports.rudderstackAnalyticsConfigSchema = exports.heapAnalyticsConfigSchema = exports.fullstoryAnalyticsConfigSchema = exports.amplitudeAnalyticsConfigSchema = exports.openapiConfigSchema = exports.markdownConfigSchema = exports.codeSnippetConfigSchema = exports.navigationConfigSchema = exports.colorModeConfigSchema = exports.searchConfigSchema = exports.linksConfigSchema = exports.scriptsConfigSchema = exports.sidebarConfigSchema = exports.footerConfigSchema = exports.productsConfigSchema = exports.navbarConfigSchema = exports.logoConfigSchema = exports.searchFacetsConfigSchema = exports.aiSearchConfigSchema = exports.productConfigSchema = exports.navItemsSchema = void 0; | ||
const redoc_config_schema_1 = require("./redoc-config-schema"); | ||
@@ -83,2 +83,15 @@ const reference_docs_config_schema_1 = require("./reference-docs-config-schema"); | ||
}; | ||
exports.aiSearchConfigSchema = { | ||
type: 'object', | ||
properties: { | ||
hide: { | ||
type: 'boolean', | ||
default: false, | ||
}, | ||
prompt: { | ||
type: 'string', | ||
}, | ||
}, | ||
additionalProperties: false, | ||
}; | ||
exports.searchFacetsConfigSchema = { | ||
@@ -183,5 +196,3 @@ type: 'array', | ||
default: 'flexsearch', | ||
}, askAi: { | ||
type: 'boolean', | ||
}, facets: exports.searchFacetsConfigSchema, placement: { | ||
}, ai: exports.aiSearchConfigSchema, facets: exports.searchFacetsConfigSchema, placement: { | ||
type: 'string', | ||
@@ -188,0 +199,0 @@ default: 'navbar', |
{ | ||
"name": "@redocly/config", | ||
"version": "0.17.0", | ||
"version": "0.17.1", | ||
"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
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
7910062
142247