@deot/docs-client 1.0.5 → 1.0.7

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
@@ -36,7 +36,6 @@ export declare interface DocsConfig {
36
36
  styles?: Record<string, string>;
37
37
  prefetch?: boolean | DocsPrefetchOptions;
38
38
  theme?: boolean | DocsThemeOptions;
39
- home?: DocsHomeOptions;
40
39
  layout?: DocsLayoutOptions;
41
40
  renderers?: RendererModuleSource[];
42
41
  resolve?: {
@@ -50,17 +49,25 @@ export declare interface DocsConfig {
50
49
  export declare type DocsContent = DocsSlot | RendererDocument;
51
50
 
52
51
  export declare interface DocsFooterOptions {
53
- groups?: DocsLocalized<SidebarItem[]>;
52
+ nav?: DocsLocalized<SidebarItem[]>;
54
53
  poweredBy?: DocsLocalized<DocsFooterPoweredBy>;
55
54
  }
56
55
 
57
56
  export declare type DocsFooterPoweredBy = 'default' | string | false;
58
57
 
59
- export declare interface DocsHomeOptions {
60
- locales: Record<string, RendererDocument | string>;
58
+ export declare interface DocsHeaderBrandOptions {
59
+ logo?: DocsLocalized<string>;
60
+ label?: DocsLocalized<string>;
61
+ value?: DocsLocalized<string>;
62
+ }
63
+
64
+ export declare interface DocsHeaderOptions {
65
+ brand?: DocsHeaderBrandOptions;
66
+ nav?: DocsLocalized<SidebarItem[]>;
61
67
  }
62
68
 
63
69
  export declare interface DocsLayoutOptions {
70
+ header?: DocsHeaderOptions;
64
71
  footer?: 'default' | DocsFooterOptions | false;
65
72
  }
66
73
 
@@ -99,7 +106,7 @@ export declare type DocsResourceType = typeof DOCS_RESOURCE_TYPES[number];
99
106
 
100
107
  export declare interface DocsRoute {
101
108
  value?: string | ((to: RouteLocationNormalizedGeneric) => string);
102
- content?: DocsContent;
109
+ content?: DocsLocalized<DocsContent>;
103
110
  sidebar?: DocsSidebar;
104
111
  header?: DocsSlot;
105
112
  footer?: DocsSlot;