@zpress/config 0.3.0 → 0.4.0

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,8 +37,7 @@ export { BuiltInThemeName }
37
37
  * ```
38
38
  */
39
39
  export declare interface CardConfig {
40
- readonly icon?: string;
41
- readonly iconColor?: string;
40
+ readonly icon?: IconConfig;
42
41
  readonly scope?: string;
43
42
  readonly description?: string;
44
43
  readonly tags?: readonly string[];
@@ -94,26 +93,6 @@ export declare type ConfigResult<T> = Result<T, ConfigError>;
94
93
  */
95
94
  export declare function defineConfig(config: ZpressConfig): ZpressConfig;
96
95
 
97
- /**
98
- * Unified discovery configuration with properly typed recursion dependency.
99
- */
100
- export declare type Discovery = FlatDiscoveryConfig | RecursiveDiscoveryConfig;
101
-
102
- /**
103
- * Content discovery configuration for auto-generating pages from files.
104
- *
105
- * Schema: `discoverySchema` in schema.ts validates this shape.
106
- */
107
- declare interface DiscoveryConfig {
108
- readonly from?: string;
109
- readonly title?: TitleConfig;
110
- readonly sort?: 'default' | 'alpha' | 'filename' | ((a: ResolvedPage, b: ResolvedPage) => number);
111
- readonly exclude?: readonly string[];
112
- readonly frontmatter?: Frontmatter;
113
- readonly recursive?: boolean;
114
- readonly indexFile?: string;
115
- }
116
-
117
96
  /**
118
97
  * Explicit feature card for the home page.
119
98
  *
@@ -133,7 +112,7 @@ export declare interface Feature {
133
112
  readonly title: TitleConfig;
134
113
  readonly description: string;
135
114
  readonly link?: string;
136
- readonly icon?: string;
115
+ readonly icon?: IconConfig;
137
116
  }
138
117
 
139
118
  /**
@@ -142,10 +121,22 @@ export declare interface Feature {
142
121
  declare type FilePath = string;
143
122
 
144
123
  /**
145
- * Flat (non-recursive) discovery configuration.
124
+ * Site footer shown below all page content.
125
+ *
126
+ * Schema: `footerConfigSchema` in schema.ts validates this shape.
127
+ *
128
+ * @example
129
+ * ```ts
130
+ * footer: {
131
+ * message: 'Built with zpress',
132
+ * copyright: 'Copyright © 2025 Acme Inc.',
133
+ * }
134
+ * ```
146
135
  */
147
- export declare interface FlatDiscoveryConfig extends DiscoveryConfig {
148
- readonly recursive?: false;
136
+ export declare interface FooterConfig {
137
+ readonly message?: string;
138
+ readonly copyright?: string;
139
+ readonly socials?: boolean;
149
140
  }
150
141
 
151
142
  /**
@@ -182,6 +173,32 @@ export declare interface HeroAction {
182
173
  readonly link: string;
183
174
  }
184
175
 
176
+ /**
177
+ * Home page layout customization.
178
+ *
179
+ * Schema: `homeConfigSchema` in schema.ts validates this shape.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * home: {
184
+ * features: { columns: 3, truncate: { description: 2 } },
185
+ * workspaces: { columns: 2, truncate: { title: 1, description: 2 } },
186
+ * }
187
+ * ```
188
+ */
189
+ export declare interface HomeConfig {
190
+ readonly features?: HomeGridConfig;
191
+ readonly workspaces?: HomeGridConfig;
192
+ }
193
+
194
+ /**
195
+ * Layout and styling options for a card grid section on the home page.
196
+ */
197
+ export declare interface HomeGridConfig {
198
+ readonly columns?: 1 | 2 | 3 | 4;
199
+ readonly truncate?: TruncateConfig;
200
+ }
201
+
185
202
  export { ICON_COLORS }
186
203
 
187
204
  export { IconColor }
@@ -211,10 +228,19 @@ export declare type IconConfig = IconId | {
211
228
  };
212
229
 
213
230
  /**
214
- * Iconify icon identifier (e.g. `"devicon:hono"`, `"pixelarticons:device-mobile"`).
215
- * Find icons at https://icon-sets.iconify.design/
231
+ * Iconify icon identifier `"prefix:name"` where prefix matches an installed set.
232
+ *
233
+ * @example `"devicon:hono"`, `"pixelarticons:device-mobile"`
234
+ * @see https://icon-sets.iconify.design/
235
+ */
236
+ export declare type IconId = `${IconPrefix}:${string}`;
237
+
238
+ /**
239
+ * Installed Iconify icon-set prefixes.
240
+ *
241
+ * Must stay in sync with `@iconify-json/*` packages in root `package.json`.
216
242
  */
217
- export declare type IconId = string;
243
+ export declare type IconPrefix = 'catppuccin' | 'devicon' | 'logos' | 'material-icon-theme' | 'mdi' | 'pixelarticons' | 'simple-icons' | 'skill-icons' | 'vscode-icons';
218
244
 
219
245
  export { isBuiltInIconColor }
220
246
 
@@ -268,9 +294,9 @@ export declare interface OpenAPIConfig {
268
294
  */
269
295
  readonly spec: FilePath;
270
296
  /**
271
- * URL prefix for API operation pages (e.g., '/api').
297
+ * URL path for API operation pages (e.g., '/api').
272
298
  */
273
- readonly prefix: UrlPath;
299
+ readonly path: UrlPath;
274
300
  /**
275
301
  * Sidebar group title.
276
302
  * @default 'API Reference'
@@ -310,15 +336,6 @@ export declare const pathsSchema: z.ZodObject<{
310
336
  cacheDir: string;
311
337
  }>;
312
338
 
313
- /**
314
- * Recursive directory-based discovery configuration.
315
- * Type-enforces that `indexFile` only exists when `recursive: true`.
316
- */
317
- export declare interface RecursiveDiscoveryConfig extends DiscoveryConfig {
318
- readonly recursive: true;
319
- readonly indexFile?: string;
320
- }
321
-
322
339
  export { resolveDefaultColorMode }
323
340
 
324
341
  /**
@@ -363,12 +380,12 @@ export declare type Result<T, E = Error> = readonly [E, null] | readonly [null,
363
380
  *
364
381
  * **Page — explicit file**:
365
382
  * ```ts
366
- * { title: 'Architecture', link: '/architecture', from: 'docs/architecture.md' }
383
+ * { title: 'Architecture', path: '/architecture', include: 'docs/architecture.md' }
367
384
  * ```
368
385
  *
369
386
  * **Page — inline/generated content**:
370
387
  * ```ts
371
- * { title: 'Overview', link: '/api/overview', content: '# API Overview\n...' }
388
+ * { title: 'Overview', path: '/api/overview', content: '# API Overview\n...' }
372
389
  * ```
373
390
  *
374
391
  * **Section — explicit children**:
@@ -378,49 +395,27 @@ export declare type Result<T, E = Error> = readonly [E, null] | readonly [null,
378
395
  *
379
396
  * **Section — auto-discovered from glob**:
380
397
  * ```ts
381
- * { title: 'Guides', prefix: '/guides', from: 'docs/guides/*.md' }
398
+ * { title: 'Guides', path: '/guides', include: 'docs/guides/*.md' }
382
399
  * ```
383
400
  */
384
401
  export declare interface Section {
385
402
  readonly title: TitleConfig;
386
- readonly link?: string;
387
- readonly from?: string;
388
- readonly prefix?: string;
403
+ readonly description?: string;
404
+ readonly path?: string;
405
+ readonly include?: string | readonly string[];
389
406
  readonly content?: string | (() => string | Promise<string>);
390
407
  readonly items?: readonly Section[];
391
- readonly landing?: 'auto' | 'cards' | 'overview' | false;
408
+ readonly landing?: boolean;
392
409
  readonly collapsible?: boolean;
393
410
  readonly exclude?: readonly string[];
394
411
  readonly hidden?: boolean;
395
412
  readonly frontmatter?: Frontmatter;
396
413
  readonly sort?: 'default' | 'alpha' | 'filename' | ((a: ResolvedPage, b: ResolvedPage) => number);
397
414
  readonly recursive?: boolean;
398
- readonly indexFile?: string;
399
- readonly icon?: string;
400
- readonly iconColor?: string;
415
+ readonly entryFile?: string;
416
+ readonly icon?: IconConfig;
401
417
  readonly card?: CardConfig;
402
- readonly isolated?: boolean;
403
- /**
404
- * @deprecated Use `title: { from: 'auto' }` instead
405
- */
406
- readonly titleFrom?: 'filename' | 'heading' | 'frontmatter' | 'auto';
407
- /**
408
- * @deprecated Use `title: { from: 'auto', transform: ... }` instead
409
- */
410
- readonly titleTransform?: (title: string, slug: string) => string;
411
- }
412
-
413
- /**
414
- * SEO meta tag configuration.
415
- * No schema — this is a type-only definition used for future extension.
416
- */
417
- export declare interface SeoConfig {
418
- readonly title?: string;
419
- readonly description?: string;
420
- readonly image?: string;
421
- readonly siteName?: string;
422
- readonly locale?: string;
423
- readonly twitterCard?: 'summary' | 'summary_large_image' | 'app' | 'player';
418
+ readonly standalone?: boolean;
424
419
  }
425
420
 
426
421
  /**
@@ -454,12 +449,39 @@ export declare interface SidebarConfig {
454
449
  export declare interface SidebarLink {
455
450
  readonly text: string;
456
451
  readonly link: string;
457
- readonly icon?: string | {
458
- readonly id: string;
459
- readonly color: string;
452
+ readonly icon?: IconConfig;
453
+ readonly style?: 'brand' | 'alt' | 'ghost';
454
+ readonly shape?: 'square' | 'rounded' | 'circle';
455
+ }
456
+
457
+ /**
458
+ * A social link shown in the navigation bar.
459
+ *
460
+ * Schema: `socialLinkSchema` in schema.ts validates this shape.
461
+ *
462
+ * @example
463
+ * ```ts
464
+ * socialLinks: [
465
+ * { icon: 'github', mode: 'link', content: 'https://github.com/acme' },
466
+ * { icon: 'discord', mode: 'link', content: 'https://discord.gg/acme' },
467
+ * ]
468
+ * ```
469
+ */
470
+ export declare interface SocialLink {
471
+ readonly icon: SocialLinkIcon | {
472
+ readonly svg: string;
460
473
  };
474
+ readonly mode: 'link' | 'text' | 'img' | 'dom';
475
+ readonly content: string;
461
476
  }
462
477
 
478
+ /**
479
+ * Built-in social link icon identifier.
480
+ *
481
+ * Rspress supports these icons out of the box via `virtual-social-links`.
482
+ */
483
+ export declare type SocialLinkIcon = 'lark' | 'discord' | 'facebook' | 'github' | 'instagram' | 'linkedin' | 'slack' | 'x' | 'youtube' | 'wechat' | 'qq' | 'juejin' | 'zhihu' | 'bilibili' | 'weibo' | 'gitlab' | 'X' | 'bluesky' | 'npm';
484
+
463
485
  export { THEME_NAMES }
464
486
 
465
487
  export { ThemeColors }
@@ -501,6 +523,17 @@ export declare type TitleConfig = string | {
501
523
  readonly transform?: (text: string, slug: string) => string;
502
524
  };
503
525
 
526
+ /**
527
+ * Text truncation configuration for card content.
528
+ *
529
+ * Values represent the maximum number of visible lines before
530
+ * overflow is clipped with an ellipsis via CSS `line-clamp`.
531
+ */
532
+ export declare interface TruncateConfig {
533
+ readonly title?: number;
534
+ readonly description?: number;
535
+ }
536
+
504
537
  /**
505
538
  * URL path segment (e.g. `"/api"`, `"/guides/auth"`).
506
539
  */
@@ -526,24 +559,29 @@ export declare function validateConfig(config: unknown): ConfigResult<ZpressConf
526
559
  * icon: 'devicon:hono',
527
560
  * description: 'Hono REST API serving all client applications',
528
561
  * tags: ['hono', 'react', 'vercel'],
529
- * prefix: '/apps/api',
530
- * discovery: { from: 'docs/*.md', title: { from: 'auto' } },
562
+ * path: '/apps/api',
563
+ * include: 'docs/*.md',
564
+ * sort: 'alpha',
531
565
  * }
532
566
  * ```
533
567
  */
534
568
  export declare interface Workspace {
535
569
  readonly title: TitleConfig;
536
- readonly icon?: string;
537
- readonly iconColor?: string;
570
+ readonly icon?: IconConfig;
538
571
  readonly description: string;
539
572
  readonly tags?: readonly string[];
540
573
  readonly badge?: {
541
574
  readonly src: string;
542
575
  readonly alt: string;
543
576
  };
544
- readonly prefix: string;
545
- readonly discovery?: Discovery;
577
+ readonly path: string;
578
+ readonly include?: string | readonly string[];
546
579
  readonly items?: readonly Section[];
580
+ readonly sort?: 'default' | 'alpha' | 'filename' | ((a: ResolvedPage, b: ResolvedPage) => number);
581
+ readonly exclude?: readonly string[];
582
+ readonly recursive?: boolean;
583
+ readonly entryFile?: string;
584
+ readonly frontmatter?: Frontmatter;
547
585
  readonly openapi?: OpenAPIConfig;
548
586
  }
549
587
 
@@ -557,17 +595,17 @@ export declare interface Workspace {
557
595
  * {
558
596
  * title: 'Integrations',
559
597
  * description: 'Third-party service connectors',
560
- * icon: 'pixelarticons:integration',
598
+ * icon: 'mdi:puzzle',
561
599
  * items: [
562
- * { title: 'Stripe', description: 'Payment processing', prefix: '/integrations/stripe' },
600
+ * { title: 'Stripe', description: 'Payment processing', path: '/integrations/stripe' },
563
601
  * ],
564
602
  * }
565
603
  * ```
566
604
  */
567
605
  export declare interface WorkspaceCategory {
568
606
  readonly title: TitleConfig;
569
- readonly description: string;
570
- readonly icon: string;
607
+ readonly description?: string;
608
+ readonly icon: IconId;
571
609
  readonly items: readonly Workspace[];
572
610
  readonly link?: string;
573
611
  }
@@ -583,12 +621,9 @@ export declare interface ZpressConfig {
583
621
  readonly title?: string;
584
622
  readonly description?: string;
585
623
  readonly theme?: ThemeConfig;
586
- readonly icon?: string;
624
+ readonly icon?: IconId;
587
625
  readonly tagline?: string;
588
626
  readonly actions?: readonly HeroAction[];
589
- readonly seo?: SeoConfig;
590
- readonly apps?: readonly Workspace[];
591
- readonly packages?: readonly Workspace[];
592
627
  readonly workspaces?: readonly WorkspaceCategory[];
593
628
  readonly features?: readonly Feature[];
594
629
  readonly sidebar?: SidebarConfig;
@@ -596,6 +631,9 @@ export declare interface ZpressConfig {
596
631
  readonly nav?: 'auto' | readonly NavItem[];
597
632
  readonly exclude?: readonly string[];
598
633
  readonly openapi?: OpenAPIConfig;
634
+ readonly home?: HomeConfig;
635
+ readonly socialLinks?: readonly SocialLink[];
636
+ readonly footer?: FooterConfig;
599
637
  }
600
638
 
601
639
  export declare const zpressConfigSchema: z.ZodObject<{
@@ -770,9 +808,9 @@ export declare const zpressConfigSchema: z.ZodObject<{
770
808
  homeBg?: string | undefined;
771
809
  } | undefined;
772
810
  }>>;
773
- icon: z.ZodOptional<z.ZodString>;
811
+ icon: z.ZodOptional<z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>>;
774
812
  tagline: z.ZodOptional<z.ZodString>;
775
- apps: z.ZodOptional<z.ZodArray<z.ZodObject<{
813
+ workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
776
814
  title: z.ZodUnion<[z.ZodString, z.ZodObject<{
777
815
  from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
778
816
  transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
@@ -783,24 +821,10 @@ export declare const zpressConfigSchema: z.ZodObject<{
783
821
  from: "auto" | "filename" | "heading" | "frontmatter";
784
822
  transform?: ((text: string, slug: string) => string) | undefined;
785
823
  }>]>;
786
- icon: z.ZodOptional<z.ZodString>;
787
- iconColor: z.ZodOptional<z.ZodString>;
788
- description: z.ZodString;
789
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
790
- badge: z.ZodOptional<z.ZodObject<{
791
- src: z.ZodString;
792
- alt: z.ZodString;
793
- }, "strict", z.ZodTypeAny, {
794
- alt: string;
795
- src: string;
796
- }, {
797
- alt: string;
798
- src: string;
799
- }>>;
800
- prefix: z.ZodString;
801
- discovery: z.ZodOptional<z.ZodObject<{
802
- from: z.ZodOptional<z.ZodString>;
803
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
824
+ description: z.ZodOptional<z.ZodString>;
825
+ icon: z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>;
826
+ items: z.ZodArray<z.ZodObject<{
827
+ title: z.ZodUnion<[z.ZodString, z.ZodObject<{
804
828
  from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
805
829
  transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
806
830
  }, "strict", z.ZodTypeAny, {
@@ -809,9 +833,36 @@ export declare const zpressConfigSchema: z.ZodObject<{
809
833
  }, {
810
834
  from: "auto" | "filename" | "heading" | "frontmatter";
811
835
  transform?: ((text: string, slug: string) => string) | undefined;
836
+ }>]>;
837
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>, z.ZodObject<{
838
+ id: z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>;
839
+ color: z.ZodString;
840
+ }, "strict", z.ZodTypeAny, {
841
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
842
+ color: string;
843
+ }, {
844
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
845
+ color: string;
812
846
  }>]>>;
847
+ description: z.ZodString;
848
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
849
+ badge: z.ZodOptional<z.ZodObject<{
850
+ src: z.ZodString;
851
+ alt: z.ZodString;
852
+ }, "strict", z.ZodTypeAny, {
853
+ alt: string;
854
+ src: string;
855
+ }, {
856
+ alt: string;
857
+ src: string;
858
+ }>>;
859
+ path: z.ZodString;
860
+ include: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
861
+ items: z.ZodOptional<z.ZodArray<z.ZodType<Section, z.ZodTypeDef, Section>, "many">>;
813
862
  sort: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "alpha", "filename"]>, z.ZodType<(a: ResolvedPage, b: ResolvedPage) => number, z.ZodTypeDef, (a: ResolvedPage, b: ResolvedPage) => number>]>>;
814
863
  exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
864
+ recursive: z.ZodOptional<z.ZodBoolean>;
865
+ entryFile: z.ZodOptional<z.ZodString>;
815
866
  frontmatter: z.ZodOptional<z.ZodObject<{
816
867
  title: z.ZodOptional<z.ZodString>;
817
868
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -855,13 +906,29 @@ export declare const zpressConfigSchema: z.ZodObject<{
855
906
  pageClass: z.ZodOptional<z.ZodString>;
856
907
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
857
908
  }, z.ZodTypeAny, "passthrough">>>;
858
- recursive: z.ZodOptional<z.ZodBoolean>;
859
- indexFile: z.ZodOptional<z.ZodString>;
909
+ openapi: z.ZodOptional<z.ZodObject<{
910
+ spec: z.ZodString;
911
+ path: z.ZodString;
912
+ title: z.ZodOptional<z.ZodString>;
913
+ sidebarLayout: z.ZodOptional<z.ZodEnum<["method-path", "title"]>>;
914
+ }, "strict", z.ZodTypeAny, {
915
+ path: string;
916
+ spec: string;
917
+ title?: string | undefined;
918
+ sidebarLayout?: "title" | "method-path" | undefined;
919
+ }, {
920
+ path: string;
921
+ spec: string;
922
+ title?: string | undefined;
923
+ sidebarLayout?: "title" | "method-path" | undefined;
924
+ }>>;
860
925
  }, "strict", z.ZodTypeAny, {
861
- title?: string | {
926
+ title: string | {
862
927
  from: "auto" | "filename" | "heading" | "frontmatter";
863
928
  transform?: ((text: string, slug: string) => string) | undefined;
864
- } | undefined;
929
+ };
930
+ description: string;
931
+ path: string;
865
932
  frontmatter?: z.objectOutputType<{
866
933
  title: z.ZodOptional<z.ZodString>;
867
934
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -878,15 +945,33 @@ export declare const zpressConfigSchema: z.ZodObject<{
878
945
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
879
946
  }, z.ZodTypeAny, "passthrough"> | undefined;
880
947
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
881
- from?: string | undefined;
948
+ items?: Section[] | undefined;
949
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
950
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
951
+ color: string;
952
+ } | undefined;
953
+ tags?: string[] | undefined;
954
+ badge?: {
955
+ alt: string;
956
+ src: string;
957
+ } | undefined;
958
+ include?: string | string[] | undefined;
882
959
  exclude?: string[] | undefined;
883
960
  recursive?: boolean | undefined;
884
- indexFile?: string | undefined;
961
+ entryFile?: string | undefined;
962
+ openapi?: {
963
+ path: string;
964
+ spec: string;
965
+ title?: string | undefined;
966
+ sidebarLayout?: "title" | "method-path" | undefined;
967
+ } | undefined;
885
968
  }, {
886
- title?: string | {
969
+ title: string | {
887
970
  from: "auto" | "filename" | "heading" | "frontmatter";
888
971
  transform?: ((text: string, slug: string) => string) | undefined;
889
- } | undefined;
972
+ };
973
+ description: string;
974
+ path: string;
890
975
  frontmatter?: z.objectInputType<{
891
976
  title: z.ZodOptional<z.ZodString>;
892
977
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -903,48 +988,40 @@ export declare const zpressConfigSchema: z.ZodObject<{
903
988
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
904
989
  }, z.ZodTypeAny, "passthrough"> | undefined;
905
990
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
906
- from?: string | undefined;
991
+ items?: Section[] | undefined;
992
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
993
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
994
+ color: string;
995
+ } | undefined;
996
+ tags?: string[] | undefined;
997
+ badge?: {
998
+ alt: string;
999
+ src: string;
1000
+ } | undefined;
1001
+ include?: string | string[] | undefined;
907
1002
  exclude?: string[] | undefined;
908
1003
  recursive?: boolean | undefined;
909
- indexFile?: string | undefined;
910
- }>>;
911
- items: z.ZodOptional<z.ZodArray<z.ZodType<Section, z.ZodTypeDef, Section>, "many">>;
912
- openapi: z.ZodOptional<z.ZodObject<{
913
- spec: z.ZodString;
914
- prefix: z.ZodString;
915
- title: z.ZodOptional<z.ZodString>;
916
- sidebarLayout: z.ZodOptional<z.ZodEnum<["method-path", "title"]>>;
917
- }, "strict", z.ZodTypeAny, {
918
- prefix: string;
919
- spec: string;
920
- title?: string | undefined;
921
- sidebarLayout?: "title" | "method-path" | undefined;
922
- }, {
923
- prefix: string;
924
- spec: string;
925
- title?: string | undefined;
926
- sidebarLayout?: "title" | "method-path" | undefined;
927
- }>>;
1004
+ entryFile?: string | undefined;
1005
+ openapi?: {
1006
+ path: string;
1007
+ spec: string;
1008
+ title?: string | undefined;
1009
+ sidebarLayout?: "title" | "method-path" | undefined;
1010
+ } | undefined;
1011
+ }>, "many">;
1012
+ link: z.ZodOptional<z.ZodString>;
928
1013
  }, "strict", z.ZodTypeAny, {
929
1014
  title: string | {
930
1015
  from: "auto" | "filename" | "heading" | "frontmatter";
931
1016
  transform?: ((text: string, slug: string) => string) | undefined;
932
1017
  };
933
- description: string;
934
- prefix: string;
935
- items?: Section[] | undefined;
936
- icon?: string | undefined;
937
- iconColor?: string | undefined;
938
- tags?: string[] | undefined;
939
- badge?: {
940
- alt: string;
941
- src: string;
942
- } | undefined;
943
- discovery?: {
944
- title?: string | {
1018
+ items: {
1019
+ title: string | {
945
1020
  from: "auto" | "filename" | "heading" | "frontmatter";
946
1021
  transform?: ((text: string, slug: string) => string) | undefined;
947
- } | undefined;
1022
+ };
1023
+ description: string;
1024
+ path: string;
948
1025
  frontmatter?: z.objectOutputType<{
949
1026
  title: z.ZodOptional<z.ZodString>;
950
1027
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -961,37 +1038,42 @@ export declare const zpressConfigSchema: z.ZodObject<{
961
1038
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
962
1039
  }, z.ZodTypeAny, "passthrough"> | undefined;
963
1040
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
964
- from?: string | undefined;
1041
+ items?: Section[] | undefined;
1042
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1043
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1044
+ color: string;
1045
+ } | undefined;
1046
+ tags?: string[] | undefined;
1047
+ badge?: {
1048
+ alt: string;
1049
+ src: string;
1050
+ } | undefined;
1051
+ include?: string | string[] | undefined;
965
1052
  exclude?: string[] | undefined;
966
1053
  recursive?: boolean | undefined;
967
- indexFile?: string | undefined;
968
- } | undefined;
969
- openapi?: {
970
- prefix: string;
971
- spec: string;
972
- title?: string | undefined;
973
- sidebarLayout?: "title" | "method-path" | undefined;
974
- } | undefined;
1054
+ entryFile?: string | undefined;
1055
+ openapi?: {
1056
+ path: string;
1057
+ spec: string;
1058
+ title?: string | undefined;
1059
+ sidebarLayout?: "title" | "method-path" | undefined;
1060
+ } | undefined;
1061
+ }[];
1062
+ icon: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1063
+ description?: string | undefined;
1064
+ link?: string | undefined;
975
1065
  }, {
976
1066
  title: string | {
977
1067
  from: "auto" | "filename" | "heading" | "frontmatter";
978
1068
  transform?: ((text: string, slug: string) => string) | undefined;
979
1069
  };
980
- description: string;
981
- prefix: string;
982
- items?: Section[] | undefined;
983
- icon?: string | undefined;
984
- iconColor?: string | undefined;
985
- tags?: string[] | undefined;
986
- badge?: {
987
- alt: string;
988
- src: string;
989
- } | undefined;
990
- discovery?: {
991
- title?: string | {
1070
+ items: {
1071
+ title: string | {
992
1072
  from: "auto" | "filename" | "heading" | "frontmatter";
993
1073
  transform?: ((text: string, slug: string) => string) | undefined;
994
- } | undefined;
1074
+ };
1075
+ description: string;
1076
+ path: string;
995
1077
  frontmatter?: z.objectInputType<{
996
1078
  title: z.ZodOptional<z.ZodString>;
997
1079
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -1008,19 +1090,32 @@ export declare const zpressConfigSchema: z.ZodObject<{
1008
1090
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1009
1091
  }, z.ZodTypeAny, "passthrough"> | undefined;
1010
1092
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1011
- from?: string | undefined;
1093
+ items?: Section[] | undefined;
1094
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1095
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1096
+ color: string;
1097
+ } | undefined;
1098
+ tags?: string[] | undefined;
1099
+ badge?: {
1100
+ alt: string;
1101
+ src: string;
1102
+ } | undefined;
1103
+ include?: string | string[] | undefined;
1012
1104
  exclude?: string[] | undefined;
1013
1105
  recursive?: boolean | undefined;
1014
- indexFile?: string | undefined;
1015
- } | undefined;
1016
- openapi?: {
1017
- prefix: string;
1018
- spec: string;
1019
- title?: string | undefined;
1020
- sidebarLayout?: "title" | "method-path" | undefined;
1021
- } | undefined;
1106
+ entryFile?: string | undefined;
1107
+ openapi?: {
1108
+ path: string;
1109
+ spec: string;
1110
+ title?: string | undefined;
1111
+ sidebarLayout?: "title" | "method-path" | undefined;
1112
+ } | undefined;
1113
+ }[];
1114
+ icon: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1115
+ description?: string | undefined;
1116
+ link?: string | undefined;
1022
1117
  }>, "many">>;
1023
- packages: z.ZodOptional<z.ZodArray<z.ZodObject<{
1118
+ features: z.ZodOptional<z.ZodArray<z.ZodObject<{
1024
1119
  title: z.ZodUnion<[z.ZodString, z.ZodObject<{
1025
1120
  from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1026
1121
  transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
@@ -1031,887 +1126,366 @@ export declare const zpressConfigSchema: z.ZodObject<{
1031
1126
  from: "auto" | "filename" | "heading" | "frontmatter";
1032
1127
  transform?: ((text: string, slug: string) => string) | undefined;
1033
1128
  }>]>;
1034
- icon: z.ZodOptional<z.ZodString>;
1035
- iconColor: z.ZodOptional<z.ZodString>;
1036
1129
  description: z.ZodString;
1037
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1038
- badge: z.ZodOptional<z.ZodObject<{
1039
- src: z.ZodString;
1040
- alt: z.ZodString;
1130
+ link: z.ZodOptional<z.ZodString>;
1131
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>, z.ZodObject<{
1132
+ id: z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>;
1133
+ color: z.ZodString;
1041
1134
  }, "strict", z.ZodTypeAny, {
1042
- alt: string;
1043
- src: string;
1135
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1136
+ color: string;
1044
1137
  }, {
1045
- alt: string;
1046
- src: string;
1047
- }>>;
1048
- prefix: z.ZodString;
1049
- discovery: z.ZodOptional<z.ZodObject<{
1050
- from: z.ZodOptional<z.ZodString>;
1051
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1052
- from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1053
- transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
1138
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1139
+ color: string;
1140
+ }>]>>;
1141
+ }, "strict", z.ZodTypeAny, {
1142
+ title: string | {
1143
+ from: "auto" | "filename" | "heading" | "frontmatter";
1144
+ transform?: ((text: string, slug: string) => string) | undefined;
1145
+ };
1146
+ description: string;
1147
+ link?: string | undefined;
1148
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1149
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1150
+ color: string;
1151
+ } | undefined;
1152
+ }, {
1153
+ title: string | {
1154
+ from: "auto" | "filename" | "heading" | "frontmatter";
1155
+ transform?: ((text: string, slug: string) => string) | undefined;
1156
+ };
1157
+ description: string;
1158
+ link?: string | undefined;
1159
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1160
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1161
+ color: string;
1162
+ } | undefined;
1163
+ }>, "many">>;
1164
+ actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1165
+ theme: z.ZodEnum<["brand", "alt"]>;
1166
+ text: z.ZodString;
1167
+ link: z.ZodString;
1168
+ }, "strict", z.ZodTypeAny, {
1169
+ link: string;
1170
+ text: string;
1171
+ theme: "brand" | "alt";
1172
+ }, {
1173
+ link: string;
1174
+ text: string;
1175
+ theme: "brand" | "alt";
1176
+ }>, "many">>;
1177
+ sidebar: z.ZodOptional<z.ZodObject<{
1178
+ above: z.ZodOptional<z.ZodArray<z.ZodObject<{
1179
+ text: z.ZodString;
1180
+ link: z.ZodString;
1181
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>, z.ZodObject<{
1182
+ id: z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>;
1183
+ color: z.ZodString;
1054
1184
  }, "strict", z.ZodTypeAny, {
1055
- from: "auto" | "filename" | "heading" | "frontmatter";
1056
- transform?: ((text: string, slug: string) => string) | undefined;
1185
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1186
+ color: string;
1057
1187
  }, {
1058
- from: "auto" | "filename" | "heading" | "frontmatter";
1059
- transform?: ((text: string, slug: string) => string) | undefined;
1060
- }>]>>;
1061
- sort: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "alpha", "filename"]>, z.ZodType<(a: ResolvedPage, b: ResolvedPage) => number, z.ZodTypeDef, (a: ResolvedPage, b: ResolvedPage) => number>]>>;
1062
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1063
- frontmatter: z.ZodOptional<z.ZodObject<{
1064
- title: z.ZodOptional<z.ZodString>;
1065
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1066
- description: z.ZodOptional<z.ZodString>;
1067
- layout: z.ZodOptional<z.ZodString>;
1068
- sidebar: z.ZodOptional<z.ZodBoolean>;
1069
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1070
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1071
- navbar: z.ZodOptional<z.ZodBoolean>;
1072
- editLink: z.ZodOptional<z.ZodBoolean>;
1073
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1074
- footer: z.ZodOptional<z.ZodBoolean>;
1075
- pageClass: z.ZodOptional<z.ZodString>;
1076
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1077
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1078
- title: z.ZodOptional<z.ZodString>;
1079
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1080
- description: z.ZodOptional<z.ZodString>;
1081
- layout: z.ZodOptional<z.ZodString>;
1082
- sidebar: z.ZodOptional<z.ZodBoolean>;
1083
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1084
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1085
- navbar: z.ZodOptional<z.ZodBoolean>;
1086
- editLink: z.ZodOptional<z.ZodBoolean>;
1087
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1088
- footer: z.ZodOptional<z.ZodBoolean>;
1089
- pageClass: z.ZodOptional<z.ZodString>;
1090
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1091
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1092
- title: z.ZodOptional<z.ZodString>;
1093
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1094
- description: z.ZodOptional<z.ZodString>;
1095
- layout: z.ZodOptional<z.ZodString>;
1096
- sidebar: z.ZodOptional<z.ZodBoolean>;
1097
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1098
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1099
- navbar: z.ZodOptional<z.ZodBoolean>;
1100
- editLink: z.ZodOptional<z.ZodBoolean>;
1101
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1102
- footer: z.ZodOptional<z.ZodBoolean>;
1103
- pageClass: z.ZodOptional<z.ZodString>;
1104
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1105
- }, z.ZodTypeAny, "passthrough">>>;
1106
- recursive: z.ZodOptional<z.ZodBoolean>;
1107
- indexFile: z.ZodOptional<z.ZodString>;
1108
- }, "strict", z.ZodTypeAny, {
1109
- title?: string | {
1110
- from: "auto" | "filename" | "heading" | "frontmatter";
1111
- transform?: ((text: string, slug: string) => string) | undefined;
1112
- } | undefined;
1113
- frontmatter?: z.objectOutputType<{
1114
- title: z.ZodOptional<z.ZodString>;
1115
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1116
- description: z.ZodOptional<z.ZodString>;
1117
- layout: z.ZodOptional<z.ZodString>;
1118
- sidebar: z.ZodOptional<z.ZodBoolean>;
1119
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1120
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1121
- navbar: z.ZodOptional<z.ZodBoolean>;
1122
- editLink: z.ZodOptional<z.ZodBoolean>;
1123
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1124
- footer: z.ZodOptional<z.ZodBoolean>;
1125
- pageClass: z.ZodOptional<z.ZodString>;
1126
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1127
- }, z.ZodTypeAny, "passthrough"> | undefined;
1128
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1129
- from?: string | undefined;
1130
- exclude?: string[] | undefined;
1131
- recursive?: boolean | undefined;
1132
- indexFile?: string | undefined;
1133
- }, {
1134
- title?: string | {
1135
- from: "auto" | "filename" | "heading" | "frontmatter";
1136
- transform?: ((text: string, slug: string) => string) | undefined;
1137
- } | undefined;
1138
- frontmatter?: z.objectInputType<{
1139
- title: z.ZodOptional<z.ZodString>;
1140
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1141
- description: z.ZodOptional<z.ZodString>;
1142
- layout: z.ZodOptional<z.ZodString>;
1143
- sidebar: z.ZodOptional<z.ZodBoolean>;
1144
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1145
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1146
- navbar: z.ZodOptional<z.ZodBoolean>;
1147
- editLink: z.ZodOptional<z.ZodBoolean>;
1148
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1149
- footer: z.ZodOptional<z.ZodBoolean>;
1150
- pageClass: z.ZodOptional<z.ZodString>;
1151
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1152
- }, z.ZodTypeAny, "passthrough"> | undefined;
1153
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1154
- from?: string | undefined;
1155
- exclude?: string[] | undefined;
1156
- recursive?: boolean | undefined;
1157
- indexFile?: string | undefined;
1158
- }>>;
1159
- items: z.ZodOptional<z.ZodArray<z.ZodType<Section, z.ZodTypeDef, Section>, "many">>;
1160
- openapi: z.ZodOptional<z.ZodObject<{
1161
- spec: z.ZodString;
1162
- prefix: z.ZodString;
1163
- title: z.ZodOptional<z.ZodString>;
1164
- sidebarLayout: z.ZodOptional<z.ZodEnum<["method-path", "title"]>>;
1165
- }, "strict", z.ZodTypeAny, {
1166
- prefix: string;
1167
- spec: string;
1168
- title?: string | undefined;
1169
- sidebarLayout?: "title" | "method-path" | undefined;
1170
- }, {
1171
- prefix: string;
1172
- spec: string;
1173
- title?: string | undefined;
1174
- sidebarLayout?: "title" | "method-path" | undefined;
1175
- }>>;
1176
- }, "strict", z.ZodTypeAny, {
1177
- title: string | {
1178
- from: "auto" | "filename" | "heading" | "frontmatter";
1179
- transform?: ((text: string, slug: string) => string) | undefined;
1180
- };
1181
- description: string;
1182
- prefix: string;
1183
- items?: Section[] | undefined;
1184
- icon?: string | undefined;
1185
- iconColor?: string | undefined;
1186
- tags?: string[] | undefined;
1187
- badge?: {
1188
- alt: string;
1189
- src: string;
1190
- } | undefined;
1191
- discovery?: {
1192
- title?: string | {
1193
- from: "auto" | "filename" | "heading" | "frontmatter";
1194
- transform?: ((text: string, slug: string) => string) | undefined;
1195
- } | undefined;
1196
- frontmatter?: z.objectOutputType<{
1197
- title: z.ZodOptional<z.ZodString>;
1198
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1199
- description: z.ZodOptional<z.ZodString>;
1200
- layout: z.ZodOptional<z.ZodString>;
1201
- sidebar: z.ZodOptional<z.ZodBoolean>;
1202
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1203
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1204
- navbar: z.ZodOptional<z.ZodBoolean>;
1205
- editLink: z.ZodOptional<z.ZodBoolean>;
1206
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1207
- footer: z.ZodOptional<z.ZodBoolean>;
1208
- pageClass: z.ZodOptional<z.ZodString>;
1209
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1210
- }, z.ZodTypeAny, "passthrough"> | undefined;
1211
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1212
- from?: string | undefined;
1213
- exclude?: string[] | undefined;
1214
- recursive?: boolean | undefined;
1215
- indexFile?: string | undefined;
1216
- } | undefined;
1217
- openapi?: {
1218
- prefix: string;
1219
- spec: string;
1220
- title?: string | undefined;
1221
- sidebarLayout?: "title" | "method-path" | undefined;
1222
- } | undefined;
1223
- }, {
1224
- title: string | {
1225
- from: "auto" | "filename" | "heading" | "frontmatter";
1226
- transform?: ((text: string, slug: string) => string) | undefined;
1227
- };
1228
- description: string;
1229
- prefix: string;
1230
- items?: Section[] | undefined;
1231
- icon?: string | undefined;
1232
- iconColor?: string | undefined;
1233
- tags?: string[] | undefined;
1234
- badge?: {
1235
- alt: string;
1236
- src: string;
1237
- } | undefined;
1238
- discovery?: {
1239
- title?: string | {
1240
- from: "auto" | "filename" | "heading" | "frontmatter";
1241
- transform?: ((text: string, slug: string) => string) | undefined;
1242
- } | undefined;
1243
- frontmatter?: z.objectInputType<{
1244
- title: z.ZodOptional<z.ZodString>;
1245
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1246
- description: z.ZodOptional<z.ZodString>;
1247
- layout: z.ZodOptional<z.ZodString>;
1248
- sidebar: z.ZodOptional<z.ZodBoolean>;
1249
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1250
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1251
- navbar: z.ZodOptional<z.ZodBoolean>;
1252
- editLink: z.ZodOptional<z.ZodBoolean>;
1253
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1254
- footer: z.ZodOptional<z.ZodBoolean>;
1255
- pageClass: z.ZodOptional<z.ZodString>;
1256
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1257
- }, z.ZodTypeAny, "passthrough"> | undefined;
1258
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1259
- from?: string | undefined;
1260
- exclude?: string[] | undefined;
1261
- recursive?: boolean | undefined;
1262
- indexFile?: string | undefined;
1263
- } | undefined;
1264
- openapi?: {
1265
- prefix: string;
1266
- spec: string;
1267
- title?: string | undefined;
1268
- sidebarLayout?: "title" | "method-path" | undefined;
1269
- } | undefined;
1270
- }>, "many">>;
1271
- workspaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
1272
- title: z.ZodUnion<[z.ZodString, z.ZodObject<{
1273
- from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1274
- transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
1275
- }, "strict", z.ZodTypeAny, {
1276
- from: "auto" | "filename" | "heading" | "frontmatter";
1277
- transform?: ((text: string, slug: string) => string) | undefined;
1278
- }, {
1279
- from: "auto" | "filename" | "heading" | "frontmatter";
1280
- transform?: ((text: string, slug: string) => string) | undefined;
1281
- }>]>;
1282
- description: z.ZodString;
1283
- icon: z.ZodString;
1284
- items: z.ZodArray<z.ZodObject<{
1285
- title: z.ZodUnion<[z.ZodString, z.ZodObject<{
1286
- from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1287
- transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
1288
- }, "strict", z.ZodTypeAny, {
1289
- from: "auto" | "filename" | "heading" | "frontmatter";
1290
- transform?: ((text: string, slug: string) => string) | undefined;
1291
- }, {
1292
- from: "auto" | "filename" | "heading" | "frontmatter";
1293
- transform?: ((text: string, slug: string) => string) | undefined;
1294
- }>]>;
1295
- icon: z.ZodOptional<z.ZodString>;
1296
- iconColor: z.ZodOptional<z.ZodString>;
1297
- description: z.ZodString;
1298
- tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1299
- badge: z.ZodOptional<z.ZodObject<{
1300
- src: z.ZodString;
1301
- alt: z.ZodString;
1302
- }, "strict", z.ZodTypeAny, {
1303
- alt: string;
1304
- src: string;
1305
- }, {
1306
- alt: string;
1307
- src: string;
1308
- }>>;
1309
- prefix: z.ZodString;
1310
- discovery: z.ZodOptional<z.ZodObject<{
1311
- from: z.ZodOptional<z.ZodString>;
1312
- title: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1313
- from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1314
- transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
1315
- }, "strict", z.ZodTypeAny, {
1316
- from: "auto" | "filename" | "heading" | "frontmatter";
1317
- transform?: ((text: string, slug: string) => string) | undefined;
1318
- }, {
1319
- from: "auto" | "filename" | "heading" | "frontmatter";
1320
- transform?: ((text: string, slug: string) => string) | undefined;
1321
- }>]>>;
1322
- sort: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["default", "alpha", "filename"]>, z.ZodType<(a: ResolvedPage, b: ResolvedPage) => number, z.ZodTypeDef, (a: ResolvedPage, b: ResolvedPage) => number>]>>;
1323
- exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1324
- frontmatter: z.ZodOptional<z.ZodObject<{
1325
- title: z.ZodOptional<z.ZodString>;
1326
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1327
- description: z.ZodOptional<z.ZodString>;
1328
- layout: z.ZodOptional<z.ZodString>;
1329
- sidebar: z.ZodOptional<z.ZodBoolean>;
1330
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1331
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1332
- navbar: z.ZodOptional<z.ZodBoolean>;
1333
- editLink: z.ZodOptional<z.ZodBoolean>;
1334
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1335
- footer: z.ZodOptional<z.ZodBoolean>;
1336
- pageClass: z.ZodOptional<z.ZodString>;
1337
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1338
- }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
1339
- title: z.ZodOptional<z.ZodString>;
1340
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1341
- description: z.ZodOptional<z.ZodString>;
1342
- layout: z.ZodOptional<z.ZodString>;
1343
- sidebar: z.ZodOptional<z.ZodBoolean>;
1344
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1345
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1346
- navbar: z.ZodOptional<z.ZodBoolean>;
1347
- editLink: z.ZodOptional<z.ZodBoolean>;
1348
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1349
- footer: z.ZodOptional<z.ZodBoolean>;
1350
- pageClass: z.ZodOptional<z.ZodString>;
1351
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1352
- }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
1353
- title: z.ZodOptional<z.ZodString>;
1354
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1355
- description: z.ZodOptional<z.ZodString>;
1356
- layout: z.ZodOptional<z.ZodString>;
1357
- sidebar: z.ZodOptional<z.ZodBoolean>;
1358
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1359
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1360
- navbar: z.ZodOptional<z.ZodBoolean>;
1361
- editLink: z.ZodOptional<z.ZodBoolean>;
1362
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1363
- footer: z.ZodOptional<z.ZodBoolean>;
1364
- pageClass: z.ZodOptional<z.ZodString>;
1365
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1366
- }, z.ZodTypeAny, "passthrough">>>;
1367
- recursive: z.ZodOptional<z.ZodBoolean>;
1368
- indexFile: z.ZodOptional<z.ZodString>;
1369
- }, "strict", z.ZodTypeAny, {
1370
- title?: string | {
1371
- from: "auto" | "filename" | "heading" | "frontmatter";
1372
- transform?: ((text: string, slug: string) => string) | undefined;
1373
- } | undefined;
1374
- frontmatter?: z.objectOutputType<{
1375
- title: z.ZodOptional<z.ZodString>;
1376
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1377
- description: z.ZodOptional<z.ZodString>;
1378
- layout: z.ZodOptional<z.ZodString>;
1379
- sidebar: z.ZodOptional<z.ZodBoolean>;
1380
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1381
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1382
- navbar: z.ZodOptional<z.ZodBoolean>;
1383
- editLink: z.ZodOptional<z.ZodBoolean>;
1384
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1385
- footer: z.ZodOptional<z.ZodBoolean>;
1386
- pageClass: z.ZodOptional<z.ZodString>;
1387
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1388
- }, z.ZodTypeAny, "passthrough"> | undefined;
1389
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1390
- from?: string | undefined;
1391
- exclude?: string[] | undefined;
1392
- recursive?: boolean | undefined;
1393
- indexFile?: string | undefined;
1394
- }, {
1395
- title?: string | {
1396
- from: "auto" | "filename" | "heading" | "frontmatter";
1397
- transform?: ((text: string, slug: string) => string) | undefined;
1398
- } | undefined;
1399
- frontmatter?: z.objectInputType<{
1400
- title: z.ZodOptional<z.ZodString>;
1401
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1402
- description: z.ZodOptional<z.ZodString>;
1403
- layout: z.ZodOptional<z.ZodString>;
1404
- sidebar: z.ZodOptional<z.ZodBoolean>;
1405
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1406
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1407
- navbar: z.ZodOptional<z.ZodBoolean>;
1408
- editLink: z.ZodOptional<z.ZodBoolean>;
1409
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1410
- footer: z.ZodOptional<z.ZodBoolean>;
1411
- pageClass: z.ZodOptional<z.ZodString>;
1412
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1413
- }, z.ZodTypeAny, "passthrough"> | undefined;
1414
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1415
- from?: string | undefined;
1416
- exclude?: string[] | undefined;
1417
- recursive?: boolean | undefined;
1418
- indexFile?: string | undefined;
1419
- }>>;
1420
- items: z.ZodOptional<z.ZodArray<z.ZodType<Section, z.ZodTypeDef, Section>, "many">>;
1421
- openapi: z.ZodOptional<z.ZodObject<{
1422
- spec: z.ZodString;
1423
- prefix: z.ZodString;
1424
- title: z.ZodOptional<z.ZodString>;
1425
- sidebarLayout: z.ZodOptional<z.ZodEnum<["method-path", "title"]>>;
1426
- }, "strict", z.ZodTypeAny, {
1427
- prefix: string;
1428
- spec: string;
1429
- title?: string | undefined;
1430
- sidebarLayout?: "title" | "method-path" | undefined;
1431
- }, {
1432
- prefix: string;
1433
- spec: string;
1434
- title?: string | undefined;
1435
- sidebarLayout?: "title" | "method-path" | undefined;
1436
- }>>;
1437
- }, "strict", z.ZodTypeAny, {
1438
- title: string | {
1439
- from: "auto" | "filename" | "heading" | "frontmatter";
1440
- transform?: ((text: string, slug: string) => string) | undefined;
1441
- };
1442
- description: string;
1443
- prefix: string;
1444
- items?: Section[] | undefined;
1445
- icon?: string | undefined;
1446
- iconColor?: string | undefined;
1447
- tags?: string[] | undefined;
1448
- badge?: {
1449
- alt: string;
1450
- src: string;
1451
- } | undefined;
1452
- discovery?: {
1453
- title?: string | {
1454
- from: "auto" | "filename" | "heading" | "frontmatter";
1455
- transform?: ((text: string, slug: string) => string) | undefined;
1456
- } | undefined;
1457
- frontmatter?: z.objectOutputType<{
1458
- title: z.ZodOptional<z.ZodString>;
1459
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1460
- description: z.ZodOptional<z.ZodString>;
1461
- layout: z.ZodOptional<z.ZodString>;
1462
- sidebar: z.ZodOptional<z.ZodBoolean>;
1463
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1464
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1465
- navbar: z.ZodOptional<z.ZodBoolean>;
1466
- editLink: z.ZodOptional<z.ZodBoolean>;
1467
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1468
- footer: z.ZodOptional<z.ZodBoolean>;
1469
- pageClass: z.ZodOptional<z.ZodString>;
1470
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1471
- }, z.ZodTypeAny, "passthrough"> | undefined;
1472
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1473
- from?: string | undefined;
1474
- exclude?: string[] | undefined;
1475
- recursive?: boolean | undefined;
1476
- indexFile?: string | undefined;
1477
- } | undefined;
1478
- openapi?: {
1479
- prefix: string;
1480
- spec: string;
1481
- title?: string | undefined;
1482
- sidebarLayout?: "title" | "method-path" | undefined;
1483
- } | undefined;
1484
- }, {
1485
- title: string | {
1486
- from: "auto" | "filename" | "heading" | "frontmatter";
1487
- transform?: ((text: string, slug: string) => string) | undefined;
1488
- };
1489
- description: string;
1490
- prefix: string;
1491
- items?: Section[] | undefined;
1492
- icon?: string | undefined;
1493
- iconColor?: string | undefined;
1494
- tags?: string[] | undefined;
1495
- badge?: {
1496
- alt: string;
1497
- src: string;
1498
- } | undefined;
1499
- discovery?: {
1500
- title?: string | {
1501
- from: "auto" | "filename" | "heading" | "frontmatter";
1502
- transform?: ((text: string, slug: string) => string) | undefined;
1503
- } | undefined;
1504
- frontmatter?: z.objectInputType<{
1505
- title: z.ZodOptional<z.ZodString>;
1506
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1507
- description: z.ZodOptional<z.ZodString>;
1508
- layout: z.ZodOptional<z.ZodString>;
1509
- sidebar: z.ZodOptional<z.ZodBoolean>;
1510
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1511
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1512
- navbar: z.ZodOptional<z.ZodBoolean>;
1513
- editLink: z.ZodOptional<z.ZodBoolean>;
1514
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1515
- footer: z.ZodOptional<z.ZodBoolean>;
1516
- pageClass: z.ZodOptional<z.ZodString>;
1517
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1518
- }, z.ZodTypeAny, "passthrough"> | undefined;
1519
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1520
- from?: string | undefined;
1521
- exclude?: string[] | undefined;
1522
- recursive?: boolean | undefined;
1523
- indexFile?: string | undefined;
1524
- } | undefined;
1525
- openapi?: {
1526
- prefix: string;
1527
- spec: string;
1528
- title?: string | undefined;
1529
- sidebarLayout?: "title" | "method-path" | undefined;
1530
- } | undefined;
1531
- }>, "many">;
1532
- link: z.ZodOptional<z.ZodString>;
1533
- }, "strict", z.ZodTypeAny, {
1534
- title: string | {
1535
- from: "auto" | "filename" | "heading" | "frontmatter";
1536
- transform?: ((text: string, slug: string) => string) | undefined;
1537
- };
1538
- description: string;
1539
- items: {
1540
- title: string | {
1541
- from: "auto" | "filename" | "heading" | "frontmatter";
1542
- transform?: ((text: string, slug: string) => string) | undefined;
1543
- };
1544
- description: string;
1545
- prefix: string;
1546
- items?: Section[] | undefined;
1547
- icon?: string | undefined;
1548
- iconColor?: string | undefined;
1549
- tags?: string[] | undefined;
1550
- badge?: {
1551
- alt: string;
1552
- src: string;
1553
- } | undefined;
1554
- discovery?: {
1555
- title?: string | {
1556
- from: "auto" | "filename" | "heading" | "frontmatter";
1557
- transform?: ((text: string, slug: string) => string) | undefined;
1558
- } | undefined;
1559
- frontmatter?: z.objectOutputType<{
1560
- title: z.ZodOptional<z.ZodString>;
1561
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1562
- description: z.ZodOptional<z.ZodString>;
1563
- layout: z.ZodOptional<z.ZodString>;
1564
- sidebar: z.ZodOptional<z.ZodBoolean>;
1565
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1566
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1567
- navbar: z.ZodOptional<z.ZodBoolean>;
1568
- editLink: z.ZodOptional<z.ZodBoolean>;
1569
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1570
- footer: z.ZodOptional<z.ZodBoolean>;
1571
- pageClass: z.ZodOptional<z.ZodString>;
1572
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1573
- }, z.ZodTypeAny, "passthrough"> | undefined;
1574
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1575
- from?: string | undefined;
1576
- exclude?: string[] | undefined;
1577
- recursive?: boolean | undefined;
1578
- indexFile?: string | undefined;
1579
- } | undefined;
1580
- openapi?: {
1581
- prefix: string;
1582
- spec: string;
1583
- title?: string | undefined;
1584
- sidebarLayout?: "title" | "method-path" | undefined;
1585
- } | undefined;
1586
- }[];
1587
- icon: string;
1588
- link?: string | undefined;
1589
- }, {
1590
- title: string | {
1591
- from: "auto" | "filename" | "heading" | "frontmatter";
1592
- transform?: ((text: string, slug: string) => string) | undefined;
1593
- };
1594
- description: string;
1595
- items: {
1596
- title: string | {
1597
- from: "auto" | "filename" | "heading" | "frontmatter";
1598
- transform?: ((text: string, slug: string) => string) | undefined;
1599
- };
1600
- description: string;
1601
- prefix: string;
1602
- items?: Section[] | undefined;
1603
- icon?: string | undefined;
1604
- iconColor?: string | undefined;
1605
- tags?: string[] | undefined;
1606
- badge?: {
1607
- alt: string;
1608
- src: string;
1609
- } | undefined;
1610
- discovery?: {
1611
- title?: string | {
1612
- from: "auto" | "filename" | "heading" | "frontmatter";
1613
- transform?: ((text: string, slug: string) => string) | undefined;
1614
- } | undefined;
1615
- frontmatter?: z.objectInputType<{
1616
- title: z.ZodOptional<z.ZodString>;
1617
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1618
- description: z.ZodOptional<z.ZodString>;
1619
- layout: z.ZodOptional<z.ZodString>;
1620
- sidebar: z.ZodOptional<z.ZodBoolean>;
1621
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1622
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1623
- navbar: z.ZodOptional<z.ZodBoolean>;
1624
- editLink: z.ZodOptional<z.ZodBoolean>;
1625
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1626
- footer: z.ZodOptional<z.ZodBoolean>;
1627
- pageClass: z.ZodOptional<z.ZodString>;
1628
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1629
- }, z.ZodTypeAny, "passthrough"> | undefined;
1630
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1631
- from?: string | undefined;
1632
- exclude?: string[] | undefined;
1633
- recursive?: boolean | undefined;
1634
- indexFile?: string | undefined;
1635
- } | undefined;
1636
- openapi?: {
1637
- prefix: string;
1638
- spec: string;
1639
- title?: string | undefined;
1640
- sidebarLayout?: "title" | "method-path" | undefined;
1641
- } | undefined;
1642
- }[];
1643
- icon: string;
1644
- link?: string | undefined;
1645
- }>, "many">>;
1646
- features: z.ZodOptional<z.ZodArray<z.ZodObject<{
1647
- title: z.ZodUnion<[z.ZodString, z.ZodObject<{
1648
- from: z.ZodEnum<["auto", "filename", "heading", "frontmatter"]>;
1649
- transform: z.ZodOptional<z.ZodType<(text: string, slug: string) => string, z.ZodTypeDef, (text: string, slug: string) => string>>;
1650
- }, "strict", z.ZodTypeAny, {
1651
- from: "auto" | "filename" | "heading" | "frontmatter";
1652
- transform?: ((text: string, slug: string) => string) | undefined;
1653
- }, {
1654
- from: "auto" | "filename" | "heading" | "frontmatter";
1655
- transform?: ((text: string, slug: string) => string) | undefined;
1656
- }>]>;
1657
- description: z.ZodString;
1658
- link: z.ZodOptional<z.ZodString>;
1659
- icon: z.ZodOptional<z.ZodString>;
1660
- }, "strict", z.ZodTypeAny, {
1661
- title: string | {
1662
- from: "auto" | "filename" | "heading" | "frontmatter";
1663
- transform?: ((text: string, slug: string) => string) | undefined;
1664
- };
1665
- description: string;
1666
- link?: string | undefined;
1667
- icon?: string | undefined;
1668
- }, {
1669
- title: string | {
1670
- from: "auto" | "filename" | "heading" | "frontmatter";
1671
- transform?: ((text: string, slug: string) => string) | undefined;
1672
- };
1673
- description: string;
1674
- link?: string | undefined;
1675
- icon?: string | undefined;
1676
- }>, "many">>;
1677
- actions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1678
- theme: z.ZodEnum<["brand", "alt"]>;
1679
- text: z.ZodString;
1680
- link: z.ZodString;
1681
- }, "strict", z.ZodTypeAny, {
1682
- link: string;
1683
- text: string;
1684
- theme: "brand" | "alt";
1685
- }, {
1686
- link: string;
1687
- text: string;
1688
- theme: "brand" | "alt";
1689
- }>, "many">>;
1690
- sidebar: z.ZodOptional<z.ZodObject<{
1691
- above: z.ZodOptional<z.ZodArray<z.ZodObject<{
1692
- text: z.ZodString;
1693
- link: z.ZodString;
1694
- icon: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1695
- id: z.ZodString;
1696
- color: z.ZodString;
1697
- }, "strict", z.ZodTypeAny, {
1698
- id: string;
1699
- color: string;
1700
- }, {
1701
- id: string;
1702
- color: string;
1188
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1189
+ color: string;
1703
1190
  }>]>>;
1191
+ style: z.ZodOptional<z.ZodEnum<["brand", "alt", "ghost"]>>;
1192
+ shape: z.ZodOptional<z.ZodEnum<["square", "rounded", "circle"]>>;
1704
1193
  }, "strict", z.ZodTypeAny, {
1705
1194
  link: string;
1706
1195
  text: string;
1707
- icon?: string | {
1708
- id: string;
1196
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1197
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1709
1198
  color: string;
1710
1199
  } | undefined;
1200
+ style?: "brand" | "alt" | "ghost" | undefined;
1201
+ shape?: "square" | "rounded" | "circle" | undefined;
1711
1202
  }, {
1712
1203
  link: string;
1713
1204
  text: string;
1714
- icon?: string | {
1715
- id: string;
1205
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1206
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1716
1207
  color: string;
1717
1208
  } | undefined;
1209
+ style?: "brand" | "alt" | "ghost" | undefined;
1210
+ shape?: "square" | "rounded" | "circle" | undefined;
1718
1211
  }>, "many">>;
1719
1212
  below: z.ZodOptional<z.ZodArray<z.ZodObject<{
1720
1213
  text: z.ZodString;
1721
1214
  link: z.ZodString;
1722
- icon: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
1723
- id: z.ZodString;
1215
+ icon: z.ZodOptional<z.ZodUnion<[z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>, z.ZodObject<{
1216
+ id: z.ZodType<`catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`, z.ZodTypeDef, `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`>;
1724
1217
  color: z.ZodString;
1725
1218
  }, "strict", z.ZodTypeAny, {
1726
- id: string;
1219
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1727
1220
  color: string;
1728
1221
  }, {
1729
- id: string;
1222
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1730
1223
  color: string;
1731
1224
  }>]>>;
1225
+ style: z.ZodOptional<z.ZodEnum<["brand", "alt", "ghost"]>>;
1226
+ shape: z.ZodOptional<z.ZodEnum<["square", "rounded", "circle"]>>;
1732
1227
  }, "strict", z.ZodTypeAny, {
1733
1228
  link: string;
1734
1229
  text: string;
1735
- icon?: string | {
1736
- id: string;
1230
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1231
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1737
1232
  color: string;
1738
1233
  } | undefined;
1234
+ style?: "brand" | "alt" | "ghost" | undefined;
1235
+ shape?: "square" | "rounded" | "circle" | undefined;
1739
1236
  }, {
1740
1237
  link: string;
1741
1238
  text: string;
1742
- icon?: string | {
1743
- id: string;
1239
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1240
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1744
1241
  color: string;
1745
1242
  } | undefined;
1243
+ style?: "brand" | "alt" | "ghost" | undefined;
1244
+ shape?: "square" | "rounded" | "circle" | undefined;
1746
1245
  }>, "many">>;
1747
1246
  }, "strict", z.ZodTypeAny, {
1748
1247
  above?: {
1749
1248
  link: string;
1750
1249
  text: string;
1751
- icon?: string | {
1752
- id: string;
1250
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1251
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1753
1252
  color: string;
1754
1253
  } | undefined;
1254
+ style?: "brand" | "alt" | "ghost" | undefined;
1255
+ shape?: "square" | "rounded" | "circle" | undefined;
1755
1256
  }[] | undefined;
1756
1257
  below?: {
1757
1258
  link: string;
1758
1259
  text: string;
1759
- icon?: string | {
1760
- id: string;
1260
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1261
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1761
1262
  color: string;
1762
1263
  } | undefined;
1264
+ style?: "brand" | "alt" | "ghost" | undefined;
1265
+ shape?: "square" | "rounded" | "circle" | undefined;
1763
1266
  }[] | undefined;
1764
1267
  }, {
1765
1268
  above?: {
1766
1269
  link: string;
1767
1270
  text: string;
1768
- icon?: string | {
1769
- id: string;
1271
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1272
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1770
1273
  color: string;
1771
1274
  } | undefined;
1275
+ style?: "brand" | "alt" | "ghost" | undefined;
1276
+ shape?: "square" | "rounded" | "circle" | undefined;
1772
1277
  }[] | undefined;
1773
1278
  below?: {
1774
1279
  link: string;
1775
1280
  text: string;
1776
- icon?: string | {
1777
- id: string;
1281
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1282
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1778
1283
  color: string;
1779
1284
  } | undefined;
1285
+ style?: "brand" | "alt" | "ghost" | undefined;
1286
+ shape?: "square" | "rounded" | "circle" | undefined;
1780
1287
  }[] | undefined;
1781
1288
  }>>;
1782
1289
  sections: z.ZodArray<z.ZodType<Section, z.ZodTypeDef, Section>, "many">;
1783
1290
  nav: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"auto">, z.ZodArray<z.ZodType<NavItem, z.ZodTypeDef, NavItem>, "many">]>>;
1784
1291
  exclude: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1785
- }, "strict", z.ZodTypeAny, {
1786
- sections: Section[];
1787
- title?: string | undefined;
1788
- description?: string | undefined;
1789
- sidebar?: {
1790
- above?: {
1791
- link: string;
1792
- text: string;
1793
- icon?: string | {
1794
- id: string;
1795
- color: string;
1292
+ home: z.ZodOptional<z.ZodObject<{
1293
+ features: z.ZodOptional<z.ZodObject<{
1294
+ columns: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1295
+ truncate: z.ZodOptional<z.ZodObject<{
1296
+ title: z.ZodOptional<z.ZodNumber>;
1297
+ description: z.ZodOptional<z.ZodNumber>;
1298
+ }, "strict", z.ZodTypeAny, {
1299
+ title?: number | undefined;
1300
+ description?: number | undefined;
1301
+ }, {
1302
+ title?: number | undefined;
1303
+ description?: number | undefined;
1304
+ }>>;
1305
+ }, "strict", z.ZodTypeAny, {
1306
+ columns?: 2 | 1 | 3 | 4 | undefined;
1307
+ truncate?: {
1308
+ title?: number | undefined;
1309
+ description?: number | undefined;
1796
1310
  } | undefined;
1797
- }[] | undefined;
1798
- below?: {
1799
- link: string;
1800
- text: string;
1801
- icon?: string | {
1802
- id: string;
1803
- color: string;
1311
+ }, {
1312
+ columns?: 2 | 1 | 3 | 4 | undefined;
1313
+ truncate?: {
1314
+ title?: number | undefined;
1315
+ description?: number | undefined;
1316
+ } | undefined;
1317
+ }>>;
1318
+ workspaces: z.ZodOptional<z.ZodObject<{
1319
+ columns: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>]>>;
1320
+ truncate: z.ZodOptional<z.ZodObject<{
1321
+ title: z.ZodOptional<z.ZodNumber>;
1322
+ description: z.ZodOptional<z.ZodNumber>;
1323
+ }, "strict", z.ZodTypeAny, {
1324
+ title?: number | undefined;
1325
+ description?: number | undefined;
1326
+ }, {
1327
+ title?: number | undefined;
1328
+ description?: number | undefined;
1329
+ }>>;
1330
+ }, "strict", z.ZodTypeAny, {
1331
+ columns?: 2 | 1 | 3 | 4 | undefined;
1332
+ truncate?: {
1333
+ title?: number | undefined;
1334
+ description?: number | undefined;
1335
+ } | undefined;
1336
+ }, {
1337
+ columns?: 2 | 1 | 3 | 4 | undefined;
1338
+ truncate?: {
1339
+ title?: number | undefined;
1340
+ description?: number | undefined;
1341
+ } | undefined;
1342
+ }>>;
1343
+ }, "strict", z.ZodTypeAny, {
1344
+ features?: {
1345
+ columns?: 2 | 1 | 3 | 4 | undefined;
1346
+ truncate?: {
1347
+ title?: number | undefined;
1348
+ description?: number | undefined;
1804
1349
  } | undefined;
1805
- }[] | undefined;
1806
- } | undefined;
1807
- exclude?: string[] | undefined;
1808
- icon?: string | undefined;
1809
- theme?: {
1810
- name: string;
1811
- colorMode?: "dark" | "light" | "toggle" | undefined;
1812
- switcher?: boolean | undefined;
1813
- colors?: {
1814
- brand?: string | undefined;
1815
- brandLight?: string | undefined;
1816
- brandDark?: string | undefined;
1817
- brandSoft?: string | undefined;
1818
- bg?: string | undefined;
1819
- bgAlt?: string | undefined;
1820
- bgElv?: string | undefined;
1821
- bgSoft?: string | undefined;
1822
- text1?: string | undefined;
1823
- text2?: string | undefined;
1824
- text3?: string | undefined;
1825
- divider?: string | undefined;
1826
- border?: string | undefined;
1827
- homeBg?: string | undefined;
1828
1350
  } | undefined;
1829
- darkColors?: {
1830
- brand?: string | undefined;
1831
- brandLight?: string | undefined;
1832
- brandDark?: string | undefined;
1833
- brandSoft?: string | undefined;
1834
- bg?: string | undefined;
1835
- bgAlt?: string | undefined;
1836
- bgElv?: string | undefined;
1837
- bgSoft?: string | undefined;
1838
- text1?: string | undefined;
1839
- text2?: string | undefined;
1840
- text3?: string | undefined;
1841
- divider?: string | undefined;
1842
- border?: string | undefined;
1843
- homeBg?: string | undefined;
1351
+ workspaces?: {
1352
+ columns?: 2 | 1 | 3 | 4 | undefined;
1353
+ truncate?: {
1354
+ title?: number | undefined;
1355
+ description?: number | undefined;
1356
+ } | undefined;
1357
+ } | undefined;
1358
+ }, {
1359
+ features?: {
1360
+ columns?: 2 | 1 | 3 | 4 | undefined;
1361
+ truncate?: {
1362
+ title?: number | undefined;
1363
+ description?: number | undefined;
1364
+ } | undefined;
1365
+ } | undefined;
1366
+ workspaces?: {
1367
+ columns?: 2 | 1 | 3 | 4 | undefined;
1368
+ truncate?: {
1369
+ title?: number | undefined;
1370
+ description?: number | undefined;
1371
+ } | undefined;
1844
1372
  } | undefined;
1373
+ }>>;
1374
+ socialLinks: z.ZodOptional<z.ZodArray<z.ZodObject<{
1375
+ icon: z.ZodUnion<[z.ZodEnum<["lark", "discord", "facebook", "github", "instagram", "linkedin", "slack", "x", "youtube", "wechat", "qq", "juejin", "zhihu", "bilibili", "weibo", "gitlab", "X", "bluesky", "npm"]>, z.ZodObject<{
1376
+ svg: z.ZodString;
1377
+ }, "strict", z.ZodTypeAny, {
1378
+ svg: string;
1379
+ }, {
1380
+ svg: string;
1381
+ }>]>;
1382
+ mode: z.ZodEnum<["link", "text", "img", "dom"]>;
1383
+ content: z.ZodString;
1384
+ }, "strict", z.ZodTypeAny, {
1385
+ icon: "lark" | "discord" | "facebook" | "github" | "instagram" | "linkedin" | "slack" | "x" | "youtube" | "wechat" | "qq" | "juejin" | "zhihu" | "bilibili" | "weibo" | "gitlab" | "X" | "bluesky" | "npm" | {
1386
+ svg: string;
1387
+ };
1388
+ content: string;
1389
+ mode: "link" | "text" | "img" | "dom";
1390
+ }, {
1391
+ icon: "lark" | "discord" | "facebook" | "github" | "instagram" | "linkedin" | "slack" | "x" | "youtube" | "wechat" | "qq" | "juejin" | "zhihu" | "bilibili" | "weibo" | "gitlab" | "X" | "bluesky" | "npm" | {
1392
+ svg: string;
1393
+ };
1394
+ content: string;
1395
+ mode: "link" | "text" | "img" | "dom";
1396
+ }>, "many">>;
1397
+ footer: z.ZodOptional<z.ZodObject<{
1398
+ message: z.ZodOptional<z.ZodString>;
1399
+ copyright: z.ZodOptional<z.ZodString>;
1400
+ socials: z.ZodOptional<z.ZodBoolean>;
1401
+ }, "strict", z.ZodTypeAny, {
1402
+ message?: string | undefined;
1403
+ copyright?: string | undefined;
1404
+ socials?: boolean | undefined;
1405
+ }, {
1406
+ message?: string | undefined;
1407
+ copyright?: string | undefined;
1408
+ socials?: boolean | undefined;
1409
+ }>>;
1410
+ openapi: z.ZodOptional<z.ZodObject<{
1411
+ spec: z.ZodString;
1412
+ path: z.ZodString;
1413
+ title: z.ZodOptional<z.ZodString>;
1414
+ sidebarLayout: z.ZodOptional<z.ZodEnum<["method-path", "title"]>>;
1415
+ }, "strict", z.ZodTypeAny, {
1416
+ path: string;
1417
+ spec: string;
1418
+ title?: string | undefined;
1419
+ sidebarLayout?: "title" | "method-path" | undefined;
1420
+ }, {
1421
+ path: string;
1422
+ spec: string;
1423
+ title?: string | undefined;
1424
+ sidebarLayout?: "title" | "method-path" | undefined;
1425
+ }>>;
1426
+ }, "strict", z.ZodTypeAny, {
1427
+ sections: Section[];
1428
+ title?: string | undefined;
1429
+ description?: string | undefined;
1430
+ sidebar?: {
1431
+ above?: {
1432
+ link: string;
1433
+ text: string;
1434
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1435
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1436
+ color: string;
1437
+ } | undefined;
1438
+ style?: "brand" | "alt" | "ghost" | undefined;
1439
+ shape?: "square" | "rounded" | "circle" | undefined;
1440
+ }[] | undefined;
1441
+ below?: {
1442
+ link: string;
1443
+ text: string;
1444
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1445
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1446
+ color: string;
1447
+ } | undefined;
1448
+ style?: "brand" | "alt" | "ghost" | undefined;
1449
+ shape?: "square" | "rounded" | "circle" | undefined;
1450
+ }[] | undefined;
1845
1451
  } | undefined;
1846
- tagline?: string | undefined;
1847
- apps?: {
1452
+ footer?: {
1453
+ message?: string | undefined;
1454
+ copyright?: string | undefined;
1455
+ socials?: boolean | undefined;
1456
+ } | undefined;
1457
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | undefined;
1458
+ exclude?: string[] | undefined;
1459
+ openapi?: {
1460
+ path: string;
1461
+ spec: string;
1462
+ title?: string | undefined;
1463
+ sidebarLayout?: "title" | "method-path" | undefined;
1464
+ } | undefined;
1465
+ features?: {
1848
1466
  title: string | {
1849
1467
  from: "auto" | "filename" | "heading" | "frontmatter";
1850
1468
  transform?: ((text: string, slug: string) => string) | undefined;
1851
1469
  };
1852
1470
  description: string;
1853
- prefix: string;
1854
- items?: Section[] | undefined;
1855
- icon?: string | undefined;
1856
- iconColor?: string | undefined;
1857
- tags?: string[] | undefined;
1858
- badge?: {
1859
- alt: string;
1860
- src: string;
1861
- } | undefined;
1862
- discovery?: {
1863
- title?: string | {
1864
- from: "auto" | "filename" | "heading" | "frontmatter";
1865
- transform?: ((text: string, slug: string) => string) | undefined;
1866
- } | undefined;
1867
- frontmatter?: z.objectOutputType<{
1868
- title: z.ZodOptional<z.ZodString>;
1869
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1870
- description: z.ZodOptional<z.ZodString>;
1871
- layout: z.ZodOptional<z.ZodString>;
1872
- sidebar: z.ZodOptional<z.ZodBoolean>;
1873
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1874
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1875
- navbar: z.ZodOptional<z.ZodBoolean>;
1876
- editLink: z.ZodOptional<z.ZodBoolean>;
1877
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1878
- footer: z.ZodOptional<z.ZodBoolean>;
1879
- pageClass: z.ZodOptional<z.ZodString>;
1880
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1881
- }, z.ZodTypeAny, "passthrough"> | undefined;
1882
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1883
- from?: string | undefined;
1884
- exclude?: string[] | undefined;
1885
- recursive?: boolean | undefined;
1886
- indexFile?: string | undefined;
1887
- } | undefined;
1888
- openapi?: {
1889
- prefix: string;
1890
- spec: string;
1891
- title?: string | undefined;
1892
- sidebarLayout?: "title" | "method-path" | undefined;
1471
+ link?: string | undefined;
1472
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1473
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1474
+ color: string;
1893
1475
  } | undefined;
1894
1476
  }[] | undefined;
1895
- packages?: {
1477
+ workspaces?: {
1896
1478
  title: string | {
1897
1479
  from: "auto" | "filename" | "heading" | "frontmatter";
1898
1480
  transform?: ((text: string, slug: string) => string) | undefined;
1899
1481
  };
1900
- description: string;
1901
- prefix: string;
1902
- items?: Section[] | undefined;
1903
- icon?: string | undefined;
1904
- iconColor?: string | undefined;
1905
- tags?: string[] | undefined;
1906
- badge?: {
1907
- alt: string;
1908
- src: string;
1909
- } | undefined;
1910
- discovery?: {
1911
- title?: string | {
1482
+ items: {
1483
+ title: string | {
1912
1484
  from: "auto" | "filename" | "heading" | "frontmatter";
1913
1485
  transform?: ((text: string, slug: string) => string) | undefined;
1914
- } | undefined;
1486
+ };
1487
+ description: string;
1488
+ path: string;
1915
1489
  frontmatter?: z.objectOutputType<{
1916
1490
  title: z.ZodOptional<z.ZodString>;
1917
1491
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -1928,116 +1502,33 @@ export declare const zpressConfigSchema: z.ZodObject<{
1928
1502
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1929
1503
  }, z.ZodTypeAny, "passthrough"> | undefined;
1930
1504
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1931
- from?: string | undefined;
1932
- exclude?: string[] | undefined;
1933
- recursive?: boolean | undefined;
1934
- indexFile?: string | undefined;
1935
- } | undefined;
1936
- openapi?: {
1937
- prefix: string;
1938
- spec: string;
1939
- title?: string | undefined;
1940
- sidebarLayout?: "title" | "method-path" | undefined;
1941
- } | undefined;
1942
- }[] | undefined;
1943
- workspaces?: {
1944
- title: string | {
1945
- from: "auto" | "filename" | "heading" | "frontmatter";
1946
- transform?: ((text: string, slug: string) => string) | undefined;
1947
- };
1948
- description: string;
1949
- items: {
1950
- title: string | {
1951
- from: "auto" | "filename" | "heading" | "frontmatter";
1952
- transform?: ((text: string, slug: string) => string) | undefined;
1953
- };
1954
- description: string;
1955
- prefix: string;
1956
1505
  items?: Section[] | undefined;
1957
- icon?: string | undefined;
1958
- iconColor?: string | undefined;
1506
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1507
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1508
+ color: string;
1509
+ } | undefined;
1959
1510
  tags?: string[] | undefined;
1960
1511
  badge?: {
1961
1512
  alt: string;
1962
1513
  src: string;
1963
1514
  } | undefined;
1964
- discovery?: {
1965
- title?: string | {
1966
- from: "auto" | "filename" | "heading" | "frontmatter";
1967
- transform?: ((text: string, slug: string) => string) | undefined;
1968
- } | undefined;
1969
- frontmatter?: z.objectOutputType<{
1970
- title: z.ZodOptional<z.ZodString>;
1971
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
1972
- description: z.ZodOptional<z.ZodString>;
1973
- layout: z.ZodOptional<z.ZodString>;
1974
- sidebar: z.ZodOptional<z.ZodBoolean>;
1975
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
1976
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
1977
- navbar: z.ZodOptional<z.ZodBoolean>;
1978
- editLink: z.ZodOptional<z.ZodBoolean>;
1979
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
1980
- footer: z.ZodOptional<z.ZodBoolean>;
1981
- pageClass: z.ZodOptional<z.ZodString>;
1982
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
1983
- }, z.ZodTypeAny, "passthrough"> | undefined;
1984
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
1985
- from?: string | undefined;
1986
- exclude?: string[] | undefined;
1987
- recursive?: boolean | undefined;
1988
- indexFile?: string | undefined;
1989
- } | undefined;
1515
+ include?: string | string[] | undefined;
1516
+ exclude?: string[] | undefined;
1517
+ recursive?: boolean | undefined;
1518
+ entryFile?: string | undefined;
1990
1519
  openapi?: {
1991
- prefix: string;
1520
+ path: string;
1992
1521
  spec: string;
1993
1522
  title?: string | undefined;
1994
1523
  sidebarLayout?: "title" | "method-path" | undefined;
1995
1524
  } | undefined;
1996
1525
  }[];
1997
- icon: string;
1998
- link?: string | undefined;
1999
- }[] | undefined;
2000
- features?: {
2001
- title: string | {
2002
- from: "auto" | "filename" | "heading" | "frontmatter";
2003
- transform?: ((text: string, slug: string) => string) | undefined;
2004
- };
2005
- description: string;
1526
+ icon: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1527
+ description?: string | undefined;
2006
1528
  link?: string | undefined;
2007
- icon?: string | undefined;
2008
- }[] | undefined;
2009
- actions?: {
2010
- link: string;
2011
- text: string;
2012
- theme: "brand" | "alt";
2013
1529
  }[] | undefined;
2014
- nav?: "auto" | NavItem[] | undefined;
2015
- }, {
2016
- sections: Section[];
2017
- title?: string | undefined;
2018
- description?: string | undefined;
2019
- sidebar?: {
2020
- above?: {
2021
- link: string;
2022
- text: string;
2023
- icon?: string | {
2024
- id: string;
2025
- color: string;
2026
- } | undefined;
2027
- }[] | undefined;
2028
- below?: {
2029
- link: string;
2030
- text: string;
2031
- icon?: string | {
2032
- id: string;
2033
- color: string;
2034
- } | undefined;
2035
- }[] | undefined;
2036
- } | undefined;
2037
- exclude?: string[] | undefined;
2038
- icon?: string | undefined;
2039
1530
  theme?: {
2040
- name?: string | undefined;
1531
+ name: string;
2041
1532
  colorMode?: "dark" | "light" | "toggle" | undefined;
2042
1533
  switcher?: boolean | undefined;
2043
1534
  colors?: {
@@ -2074,74 +1565,98 @@ export declare const zpressConfigSchema: z.ZodObject<{
2074
1565
  } | undefined;
2075
1566
  } | undefined;
2076
1567
  tagline?: string | undefined;
2077
- apps?: {
1568
+ actions?: {
1569
+ link: string;
1570
+ text: string;
1571
+ theme: "brand" | "alt";
1572
+ }[] | undefined;
1573
+ nav?: "auto" | NavItem[] | undefined;
1574
+ home?: {
1575
+ features?: {
1576
+ columns?: 2 | 1 | 3 | 4 | undefined;
1577
+ truncate?: {
1578
+ title?: number | undefined;
1579
+ description?: number | undefined;
1580
+ } | undefined;
1581
+ } | undefined;
1582
+ workspaces?: {
1583
+ columns?: 2 | 1 | 3 | 4 | undefined;
1584
+ truncate?: {
1585
+ title?: number | undefined;
1586
+ description?: number | undefined;
1587
+ } | undefined;
1588
+ } | undefined;
1589
+ } | undefined;
1590
+ socialLinks?: {
1591
+ icon: "lark" | "discord" | "facebook" | "github" | "instagram" | "linkedin" | "slack" | "x" | "youtube" | "wechat" | "qq" | "juejin" | "zhihu" | "bilibili" | "weibo" | "gitlab" | "X" | "bluesky" | "npm" | {
1592
+ svg: string;
1593
+ };
1594
+ content: string;
1595
+ mode: "link" | "text" | "img" | "dom";
1596
+ }[] | undefined;
1597
+ }, {
1598
+ sections: Section[];
1599
+ title?: string | undefined;
1600
+ description?: string | undefined;
1601
+ sidebar?: {
1602
+ above?: {
1603
+ link: string;
1604
+ text: string;
1605
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1606
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1607
+ color: string;
1608
+ } | undefined;
1609
+ style?: "brand" | "alt" | "ghost" | undefined;
1610
+ shape?: "square" | "rounded" | "circle" | undefined;
1611
+ }[] | undefined;
1612
+ below?: {
1613
+ link: string;
1614
+ text: string;
1615
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1616
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1617
+ color: string;
1618
+ } | undefined;
1619
+ style?: "brand" | "alt" | "ghost" | undefined;
1620
+ shape?: "square" | "rounded" | "circle" | undefined;
1621
+ }[] | undefined;
1622
+ } | undefined;
1623
+ footer?: {
1624
+ message?: string | undefined;
1625
+ copyright?: string | undefined;
1626
+ socials?: boolean | undefined;
1627
+ } | undefined;
1628
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | undefined;
1629
+ exclude?: string[] | undefined;
1630
+ openapi?: {
1631
+ path: string;
1632
+ spec: string;
1633
+ title?: string | undefined;
1634
+ sidebarLayout?: "title" | "method-path" | undefined;
1635
+ } | undefined;
1636
+ features?: {
2078
1637
  title: string | {
2079
1638
  from: "auto" | "filename" | "heading" | "frontmatter";
2080
1639
  transform?: ((text: string, slug: string) => string) | undefined;
2081
1640
  };
2082
1641
  description: string;
2083
- prefix: string;
2084
- items?: Section[] | undefined;
2085
- icon?: string | undefined;
2086
- iconColor?: string | undefined;
2087
- tags?: string[] | undefined;
2088
- badge?: {
2089
- alt: string;
2090
- src: string;
2091
- } | undefined;
2092
- discovery?: {
2093
- title?: string | {
2094
- from: "auto" | "filename" | "heading" | "frontmatter";
2095
- transform?: ((text: string, slug: string) => string) | undefined;
2096
- } | undefined;
2097
- frontmatter?: z.objectInputType<{
2098
- title: z.ZodOptional<z.ZodString>;
2099
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
2100
- description: z.ZodOptional<z.ZodString>;
2101
- layout: z.ZodOptional<z.ZodString>;
2102
- sidebar: z.ZodOptional<z.ZodBoolean>;
2103
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
2104
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
2105
- navbar: z.ZodOptional<z.ZodBoolean>;
2106
- editLink: z.ZodOptional<z.ZodBoolean>;
2107
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
2108
- footer: z.ZodOptional<z.ZodBoolean>;
2109
- pageClass: z.ZodOptional<z.ZodString>;
2110
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
2111
- }, z.ZodTypeAny, "passthrough"> | undefined;
2112
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
2113
- from?: string | undefined;
2114
- exclude?: string[] | undefined;
2115
- recursive?: boolean | undefined;
2116
- indexFile?: string | undefined;
2117
- } | undefined;
2118
- openapi?: {
2119
- prefix: string;
2120
- spec: string;
2121
- title?: string | undefined;
2122
- sidebarLayout?: "title" | "method-path" | undefined;
1642
+ link?: string | undefined;
1643
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1644
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1645
+ color: string;
2123
1646
  } | undefined;
2124
1647
  }[] | undefined;
2125
- packages?: {
1648
+ workspaces?: {
2126
1649
  title: string | {
2127
1650
  from: "auto" | "filename" | "heading" | "frontmatter";
2128
1651
  transform?: ((text: string, slug: string) => string) | undefined;
2129
1652
  };
2130
- description: string;
2131
- prefix: string;
2132
- items?: Section[] | undefined;
2133
- icon?: string | undefined;
2134
- iconColor?: string | undefined;
2135
- tags?: string[] | undefined;
2136
- badge?: {
2137
- alt: string;
2138
- src: string;
2139
- } | undefined;
2140
- discovery?: {
2141
- title?: string | {
1653
+ items: {
1654
+ title: string | {
2142
1655
  from: "auto" | "filename" | "heading" | "frontmatter";
2143
1656
  transform?: ((text: string, slug: string) => string) | undefined;
2144
- } | undefined;
1657
+ };
1658
+ description: string;
1659
+ path: string;
2145
1660
  frontmatter?: z.objectInputType<{
2146
1661
  title: z.ZodOptional<z.ZodString>;
2147
1662
  titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
@@ -2158,90 +1673,98 @@ export declare const zpressConfigSchema: z.ZodObject<{
2158
1673
  head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
2159
1674
  }, z.ZodTypeAny, "passthrough"> | undefined;
2160
1675
  sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
2161
- from?: string | undefined;
2162
- exclude?: string[] | undefined;
2163
- recursive?: boolean | undefined;
2164
- indexFile?: string | undefined;
2165
- } | undefined;
2166
- openapi?: {
2167
- prefix: string;
2168
- spec: string;
2169
- title?: string | undefined;
2170
- sidebarLayout?: "title" | "method-path" | undefined;
2171
- } | undefined;
2172
- }[] | undefined;
2173
- workspaces?: {
2174
- title: string | {
2175
- from: "auto" | "filename" | "heading" | "frontmatter";
2176
- transform?: ((text: string, slug: string) => string) | undefined;
2177
- };
2178
- description: string;
2179
- items: {
2180
- title: string | {
2181
- from: "auto" | "filename" | "heading" | "frontmatter";
2182
- transform?: ((text: string, slug: string) => string) | undefined;
2183
- };
2184
- description: string;
2185
- prefix: string;
2186
1676
  items?: Section[] | undefined;
2187
- icon?: string | undefined;
2188
- iconColor?: string | undefined;
1677
+ icon?: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}` | {
1678
+ id: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1679
+ color: string;
1680
+ } | undefined;
2189
1681
  tags?: string[] | undefined;
2190
1682
  badge?: {
2191
1683
  alt: string;
2192
1684
  src: string;
2193
1685
  } | undefined;
2194
- discovery?: {
2195
- title?: string | {
2196
- from: "auto" | "filename" | "heading" | "frontmatter";
2197
- transform?: ((text: string, slug: string) => string) | undefined;
2198
- } | undefined;
2199
- frontmatter?: z.objectInputType<{
2200
- title: z.ZodOptional<z.ZodString>;
2201
- titleTemplate: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
2202
- description: z.ZodOptional<z.ZodString>;
2203
- layout: z.ZodOptional<z.ZodString>;
2204
- sidebar: z.ZodOptional<z.ZodBoolean>;
2205
- aside: z.ZodOptional<z.ZodUnion<[z.ZodBoolean, z.ZodLiteral<"left">]>>;
2206
- outline: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<false>, z.ZodNumber, z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>, z.ZodLiteral<"deep">]>>;
2207
- navbar: z.ZodOptional<z.ZodBoolean>;
2208
- editLink: z.ZodOptional<z.ZodBoolean>;
2209
- lastUpdated: z.ZodOptional<z.ZodBoolean>;
2210
- footer: z.ZodOptional<z.ZodBoolean>;
2211
- pageClass: z.ZodOptional<z.ZodString>;
2212
- head: z.ZodOptional<z.ZodArray<z.ZodTuple<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>], null>, "many">>;
2213
- }, z.ZodTypeAny, "passthrough"> | undefined;
2214
- sort?: "filename" | "default" | "alpha" | ((a: ResolvedPage, b: ResolvedPage) => number) | undefined;
2215
- from?: string | undefined;
2216
- exclude?: string[] | undefined;
2217
- recursive?: boolean | undefined;
2218
- indexFile?: string | undefined;
2219
- } | undefined;
1686
+ include?: string | string[] | undefined;
1687
+ exclude?: string[] | undefined;
1688
+ recursive?: boolean | undefined;
1689
+ entryFile?: string | undefined;
2220
1690
  openapi?: {
2221
- prefix: string;
1691
+ path: string;
2222
1692
  spec: string;
2223
1693
  title?: string | undefined;
2224
1694
  sidebarLayout?: "title" | "method-path" | undefined;
2225
1695
  } | undefined;
2226
1696
  }[];
2227
- icon: string;
2228
- link?: string | undefined;
2229
- }[] | undefined;
2230
- features?: {
2231
- title: string | {
2232
- from: "auto" | "filename" | "heading" | "frontmatter";
2233
- transform?: ((text: string, slug: string) => string) | undefined;
2234
- };
2235
- description: string;
1697
+ icon: `catppuccin:${string}` | `devicon:${string}` | `logos:${string}` | `material-icon-theme:${string}` | `mdi:${string}` | `pixelarticons:${string}` | `simple-icons:${string}` | `skill-icons:${string}` | `vscode-icons:${string}`;
1698
+ description?: string | undefined;
2236
1699
  link?: string | undefined;
2237
- icon?: string | undefined;
2238
1700
  }[] | undefined;
1701
+ theme?: {
1702
+ name?: string | undefined;
1703
+ colorMode?: "dark" | "light" | "toggle" | undefined;
1704
+ switcher?: boolean | undefined;
1705
+ colors?: {
1706
+ brand?: string | undefined;
1707
+ brandLight?: string | undefined;
1708
+ brandDark?: string | undefined;
1709
+ brandSoft?: string | undefined;
1710
+ bg?: string | undefined;
1711
+ bgAlt?: string | undefined;
1712
+ bgElv?: string | undefined;
1713
+ bgSoft?: string | undefined;
1714
+ text1?: string | undefined;
1715
+ text2?: string | undefined;
1716
+ text3?: string | undefined;
1717
+ divider?: string | undefined;
1718
+ border?: string | undefined;
1719
+ homeBg?: string | undefined;
1720
+ } | undefined;
1721
+ darkColors?: {
1722
+ brand?: string | undefined;
1723
+ brandLight?: string | undefined;
1724
+ brandDark?: string | undefined;
1725
+ brandSoft?: string | undefined;
1726
+ bg?: string | undefined;
1727
+ bgAlt?: string | undefined;
1728
+ bgElv?: string | undefined;
1729
+ bgSoft?: string | undefined;
1730
+ text1?: string | undefined;
1731
+ text2?: string | undefined;
1732
+ text3?: string | undefined;
1733
+ divider?: string | undefined;
1734
+ border?: string | undefined;
1735
+ homeBg?: string | undefined;
1736
+ } | undefined;
1737
+ } | undefined;
1738
+ tagline?: string | undefined;
2239
1739
  actions?: {
2240
1740
  link: string;
2241
1741
  text: string;
2242
1742
  theme: "brand" | "alt";
2243
1743
  }[] | undefined;
2244
1744
  nav?: "auto" | NavItem[] | undefined;
1745
+ home?: {
1746
+ features?: {
1747
+ columns?: 2 | 1 | 3 | 4 | undefined;
1748
+ truncate?: {
1749
+ title?: number | undefined;
1750
+ description?: number | undefined;
1751
+ } | undefined;
1752
+ } | undefined;
1753
+ workspaces?: {
1754
+ columns?: 2 | 1 | 3 | 4 | undefined;
1755
+ truncate?: {
1756
+ title?: number | undefined;
1757
+ description?: number | undefined;
1758
+ } | undefined;
1759
+ } | undefined;
1760
+ } | undefined;
1761
+ socialLinks?: {
1762
+ icon: "lark" | "discord" | "facebook" | "github" | "instagram" | "linkedin" | "slack" | "x" | "youtube" | "wechat" | "qq" | "juejin" | "zhihu" | "bilibili" | "weibo" | "gitlab" | "X" | "bluesky" | "npm" | {
1763
+ svg: string;
1764
+ };
1765
+ content: string;
1766
+ mode: "link" | "text" | "img" | "dom";
1767
+ }[] | undefined;
2245
1768
  }>;
2246
1769
 
2247
1770
  export { }