UNPKG

@websolutespa/payload-plugin-bowl-llm

Version:

LLM plugin for Bowl PayloadCms plugin

55 lines (54 loc) 1.31 kB
import { options } from '../../options'; import { withIntegration } from './withIntegration'; export var KbSitemapOutputFormat; (function(KbSitemapOutputFormat) { KbSitemapOutputFormat["Text"] = "text"; KbSitemapOutputFormat["HTML"] = "html"; KbSitemapOutputFormat["Markdown"] = "markdown"; })(KbSitemapOutputFormat || (KbSitemapOutputFormat = {})); export const LlmKbSitemap = withIntegration(options.slug.llmKbSitemap, [ { name: 'sitemapUrl', type: 'withText' }, { name: 'filterUrls', type: 'text', hasMany: true }, { name: 'includeOnlySelector', type: 'text', hasMany: true }, { name: 'excludeTag', type: 'text', hasMany: true }, { name: 'excludeClass', type: 'text', hasMany: true }, { name: 'excludeId', type: 'text', hasMany: true }, { name: 'restrictDomain', type: 'checkbox', defaultValue: true }, { name: 'outputFormat', type: 'select', options: Object.entries(KbSitemapOutputFormat).map(([k, v])=>({ value: v, label: k })), defaultValue: "text" } ]); //# sourceMappingURL=LlmKbSitemap.js.map