@deot/docs-client 1.1.8 → 1.1.10

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/dist/index.d.ts CHANGED
@@ -37,6 +37,7 @@ export declare interface DocsComponentsOptions {
37
37
  }
38
38
 
39
39
  export declare interface DocsConfig {
40
+ cdns?: string[];
40
41
  locales: Record<string, DocsLocaleEntry>;
41
42
  routes: Record<string, DocsRouteConfig>;
42
43
  base?: string;
@@ -50,6 +51,9 @@ export declare interface DocsConfig {
50
51
  layout?: DocsLayoutOptions;
51
52
  renderers?: RendererModuleSource[];
52
53
  resolve?: {
54
+ cdn?: (context: {
55
+ url: string;
56
+ }) => string | null | undefined;
53
57
  markdown?: (context: DocsMarkdownContext) => string | Promise<string>;
54
58
  resource?: (context: DocsResourceContext) => string | null | undefined | Promise<string | null | undefined>;
55
59
  link?: (context: DocsLinkContext) => string | null | undefined;
@@ -139,6 +143,7 @@ export declare interface DocsRoute {
139
143
  export declare type DocsRouteConfig = DocsRoute | string | ((to: RouteLocationNormalizedGeneric) => string);
140
144
 
141
145
  export declare interface DocsRuntime {
146
+ cdn?: string;
142
147
  mode: 'development' | 'production';
143
148
  workspace?: string;
144
149
  events?: string;