@mintlify/validation 0.1.942 → 0.1.943
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/editor-navigation/conversion/common.d.ts +2 -2
- package/dist/editor-navigation/conversion/common.js +7 -1
- package/dist/editor-navigation/conversion/docsjson-to-tree.js +3 -0
- package/dist/index.js +2 -0
- package/dist/mint-config/schemas/v2/index.d.ts +88 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/anchors.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/dropdown.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/groups.d.ts +42 -0
- package/dist/mint-config/schemas/v2/properties/navigation/groups.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/index.d.ts +120 -0
- package/dist/mint-config/schemas/v2/properties/navigation/index.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/languages.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/languages.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/menu.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/menu.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/pages.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/navigation/products.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/products.js +2 -1
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.d.ts +21 -0
- package/dist/mint-config/schemas/v2/properties/navigation/tabs.js +29 -4
- package/dist/mint-config/schemas/v2/properties/navigation/version.d.ts +6 -0
- package/dist/mint-config/schemas/v2/properties/navigation/version.js +2 -1
- package/dist/mint-config/schemas/v2/properties/reusable/index.d.ts +1 -0
- package/dist/mint-config/schemas/v2/properties/reusable/index.js +1 -0
- package/dist/mint-config/schemas/v2/properties/reusable/mcp.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/reusable/mcp.js +21 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +56 -0
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +88 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +88 -0
- package/dist/mint-config/validateConfig.d.ts +288 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +2 -2
|
@@ -19,11 +19,11 @@ export declare function buildChildrenMap(tree: NavigationTree): TreeNodeMap;
|
|
|
19
19
|
export declare function mapNodesOfType<TNode extends NavigationNode, TConfig>(nodes: NavigationNode[], type: NavigationNodeType, childrenMap: TreeNodeMap, mapper: (node: TNode, childrenMap: TreeNodeMap) => TConfig): TConfig[];
|
|
20
20
|
export declare function assignIfPresent<K extends string>(target: Partial<Record<K, unknown>>, source: Partial<Record<K, unknown>>, keys: readonly K[]): void;
|
|
21
21
|
export declare const COMMON_DIVISION_NODE_DATA_FIELDS: readonly ["hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
22
|
-
export declare const TAB_NODE_DATA_FIELDS: readonly ["icon", "sdk", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
22
|
+
export declare const TAB_NODE_DATA_FIELDS: readonly ["icon", "sdk", "mcp", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
23
23
|
export declare const ANCHOR_NODE_DATA_FIELDS: readonly ["icon", "color", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
24
24
|
export declare const LANGUAGE_NODE_DATA_FIELDS: readonly ["default", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
25
25
|
export declare const VERSION_NODE_DATA_FIELDS: readonly ["default", "tag", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
26
26
|
export declare const DROPDOWN_NODE_DATA_FIELDS: readonly ["icon", "color", "description", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
27
27
|
export declare const PRODUCT_NODE_DATA_FIELDS: readonly ["name", "icon", "color", "description", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
28
28
|
export declare const MENU_ITEM_NODE_DATA_FIELDS: readonly ["icon", "description", "hidden", "href", "asyncapi", "openapi", "global", "thumbnail"];
|
|
29
|
-
export declare const GROUP_NODE_DATA_FIELDS: readonly ["icon", "hidden", "thumbnail", "tag", "expanded", "public", "root", "asyncapi", "openapi", "sdk"];
|
|
29
|
+
export declare const GROUP_NODE_DATA_FIELDS: readonly ["icon", "hidden", "thumbnail", "tag", "expanded", "public", "root", "asyncapi", "openapi", "sdk", "mcp"];
|
|
@@ -66,7 +66,12 @@ export const COMMON_DIVISION_NODE_DATA_FIELDS = [
|
|
|
66
66
|
'global',
|
|
67
67
|
'thumbnail',
|
|
68
68
|
];
|
|
69
|
-
export const TAB_NODE_DATA_FIELDS = [
|
|
69
|
+
export const TAB_NODE_DATA_FIELDS = [
|
|
70
|
+
'icon',
|
|
71
|
+
'sdk',
|
|
72
|
+
'mcp',
|
|
73
|
+
...COMMON_DIVISION_NODE_DATA_FIELDS,
|
|
74
|
+
];
|
|
70
75
|
export const ANCHOR_NODE_DATA_FIELDS = [
|
|
71
76
|
'icon',
|
|
72
77
|
'color',
|
|
@@ -107,4 +112,5 @@ export const GROUP_NODE_DATA_FIELDS = [
|
|
|
107
112
|
'asyncapi',
|
|
108
113
|
'openapi',
|
|
109
114
|
'sdk',
|
|
115
|
+
'mcp',
|
|
110
116
|
];
|
|
@@ -102,6 +102,7 @@ const NODE_FACTORIES = {
|
|
|
102
102
|
openapi: 'openapi' in value ? value.openapi : undefined,
|
|
103
103
|
asyncapi: 'asyncapi' in value ? value.asyncapi : undefined,
|
|
104
104
|
sdk: readSdkConfig(value),
|
|
105
|
+
mcp: value.mcp,
|
|
105
106
|
})),
|
|
106
107
|
};
|
|
107
108
|
return tabNode;
|
|
@@ -197,6 +198,7 @@ const NODE_FACTORIES = {
|
|
|
197
198
|
openapi: 'openapi' in value ? value.openapi : undefined,
|
|
198
199
|
asyncapi: 'asyncapi' in value ? value.asyncapi : undefined,
|
|
199
200
|
sdk: readSdkConfig(value),
|
|
201
|
+
mcp: value.mcp,
|
|
200
202
|
})),
|
|
201
203
|
};
|
|
202
204
|
return groupNode;
|
|
@@ -395,6 +397,7 @@ export function docsConfigToNavigationTree(navigation) {
|
|
|
395
397
|
root: value.root,
|
|
396
398
|
openapi: 'openapi' in value ? value.openapi : undefined,
|
|
397
399
|
asyncapi: 'asyncapi' in value ? value.asyncapi : undefined,
|
|
400
|
+
mcp: value.mcp,
|
|
398
401
|
})),
|
|
399
402
|
};
|
|
400
403
|
nodes.push(groupNode);
|
package/dist/index.js
CHANGED
|
@@ -17,6 +17,7 @@ import { baseVersionSchema, versionSchema, versionsSchema, } from './mint-config
|
|
|
17
17
|
import { graphqlSchema } from './mint-config/schemas/v2/properties/reusable/graphql.js';
|
|
18
18
|
import { hiddenSchema } from './mint-config/schemas/v2/properties/reusable/hidden.js';
|
|
19
19
|
import { iconSchema } from './mint-config/schemas/v2/properties/reusable/icon.js';
|
|
20
|
+
import { mcpSchema } from './mint-config/schemas/v2/properties/reusable/mcp.js';
|
|
20
21
|
import { openApiSchema } from './mint-config/schemas/v2/properties/reusable/openapi.js';
|
|
21
22
|
import { sdkSchema } from './mint-config/schemas/v2/properties/reusable/sdk.js';
|
|
22
23
|
import { searchableSchema } from './mint-config/schemas/v2/properties/reusable/searchable.js';
|
|
@@ -65,6 +66,7 @@ export const docsConfigJsonSchema = zodToJsonSchema(publicDocsConfigSchema, {
|
|
|
65
66
|
productsSchema,
|
|
66
67
|
groupsSchema,
|
|
67
68
|
graphqlSchema,
|
|
69
|
+
mcpSchema,
|
|
68
70
|
sdkSchema,
|
|
69
71
|
hiddenSchema,
|
|
70
72
|
iconSchema,
|
|
@@ -531,18 +531,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
531
531
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
532
532
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
533
533
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
534
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
534
535
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
535
536
|
} & {
|
|
536
537
|
products: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").ProductNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").ProductNavigation<"default">>, "many">;
|
|
537
538
|
}, "strip", z.ZodTypeAny, {
|
|
538
539
|
products: import("./properties/navigation/divisionNav.js").ProductNavigation<"default">[];
|
|
539
540
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
541
|
+
mcp?: undefined;
|
|
540
542
|
graphql?: undefined;
|
|
541
543
|
sdk?: undefined;
|
|
542
544
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
543
545
|
}, {
|
|
544
546
|
products: import("./properties/navigation/divisionNav.js").ProductNavigation<"default">[];
|
|
545
547
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
548
|
+
mcp?: undefined;
|
|
546
549
|
graphql?: undefined;
|
|
547
550
|
sdk?: undefined;
|
|
548
551
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -550,18 +553,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
550
553
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
551
554
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
552
555
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
556
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
553
557
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
554
558
|
} & {
|
|
555
559
|
languages: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">>, "many">;
|
|
556
560
|
}, "strip", z.ZodTypeAny, {
|
|
557
561
|
languages: import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">[];
|
|
558
562
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
563
|
+
mcp?: undefined;
|
|
559
564
|
graphql?: undefined;
|
|
560
565
|
sdk?: undefined;
|
|
561
566
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
562
567
|
}, {
|
|
563
568
|
languages: import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">[];
|
|
564
569
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
570
|
+
mcp?: undefined;
|
|
565
571
|
graphql?: undefined;
|
|
566
572
|
sdk?: undefined;
|
|
567
573
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -569,18 +575,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
569
575
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
570
576
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
571
577
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
578
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
572
579
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
573
580
|
} & {
|
|
574
581
|
versions: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").VersionNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").VersionNavigation<"default">>, "many">;
|
|
575
582
|
}, "strip", z.ZodTypeAny, {
|
|
576
583
|
versions: import("./properties/navigation/divisionNav.js").VersionNavigation<"default">[];
|
|
577
584
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
585
|
+
mcp?: undefined;
|
|
578
586
|
graphql?: undefined;
|
|
579
587
|
sdk?: undefined;
|
|
580
588
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
581
589
|
}, {
|
|
582
590
|
versions: import("./properties/navigation/divisionNav.js").VersionNavigation<"default">[];
|
|
583
591
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
592
|
+
mcp?: undefined;
|
|
584
593
|
graphql?: undefined;
|
|
585
594
|
sdk?: undefined;
|
|
586
595
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -588,18 +597,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
588
597
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
589
598
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
590
599
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
600
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
591
601
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
592
602
|
} & {
|
|
593
603
|
tabs: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").TabNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").TabNavigation<"default">>, "many">;
|
|
594
604
|
}, "strip", z.ZodTypeAny, {
|
|
595
605
|
tabs: import("./properties/navigation/divisionNav.js").TabNavigation<"default">[];
|
|
596
606
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
607
|
+
mcp?: undefined;
|
|
597
608
|
graphql?: undefined;
|
|
598
609
|
sdk?: undefined;
|
|
599
610
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
600
611
|
}, {
|
|
601
612
|
tabs: import("./properties/navigation/divisionNav.js").TabNavigation<"default">[];
|
|
602
613
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
614
|
+
mcp?: undefined;
|
|
603
615
|
graphql?: undefined;
|
|
604
616
|
sdk?: undefined;
|
|
605
617
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -607,18 +619,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
607
619
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
608
620
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
609
621
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
622
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
610
623
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
611
624
|
} & {
|
|
612
625
|
dropdowns: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">>, "many">;
|
|
613
626
|
}, "strip", z.ZodTypeAny, {
|
|
614
627
|
dropdowns: import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">[];
|
|
615
628
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
629
|
+
mcp?: undefined;
|
|
616
630
|
graphql?: undefined;
|
|
617
631
|
sdk?: undefined;
|
|
618
632
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
619
633
|
}, {
|
|
620
634
|
dropdowns: import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">[];
|
|
621
635
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
636
|
+
mcp?: undefined;
|
|
622
637
|
graphql?: undefined;
|
|
623
638
|
sdk?: undefined;
|
|
624
639
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -626,18 +641,21 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
626
641
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
627
642
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
628
643
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
644
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
629
645
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
630
646
|
} & {
|
|
631
647
|
anchors: z.ZodArray<z.ZodType<import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">>, "many">;
|
|
632
648
|
}, "strip", z.ZodTypeAny, {
|
|
633
649
|
anchors: import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">[];
|
|
634
650
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
651
|
+
mcp?: undefined;
|
|
635
652
|
graphql?: undefined;
|
|
636
653
|
sdk?: undefined;
|
|
637
654
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
638
655
|
}, {
|
|
639
656
|
anchors: import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">[];
|
|
640
657
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
658
|
+
mcp?: undefined;
|
|
641
659
|
graphql?: undefined;
|
|
642
660
|
sdk?: undefined;
|
|
643
661
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -645,6 +663,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
645
663
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
646
664
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
647
665
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
666
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
648
667
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
649
668
|
} & {
|
|
650
669
|
groups: z.ZodArray<z.ZodType<{
|
|
@@ -657,6 +676,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
657
676
|
expanded?: boolean | undefined;
|
|
658
677
|
public?: boolean | undefined;
|
|
659
678
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
679
|
+
mcp?: string | {
|
|
680
|
+
source: string;
|
|
681
|
+
directory?: string | undefined;
|
|
682
|
+
} | undefined;
|
|
660
683
|
tag?: string | undefined;
|
|
661
684
|
searchable?: boolean | undefined;
|
|
662
685
|
boost?: number | undefined;
|
|
@@ -697,6 +720,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
697
720
|
expanded?: boolean | undefined;
|
|
698
721
|
public?: boolean | undefined;
|
|
699
722
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
723
|
+
mcp?: string | {
|
|
724
|
+
source: string;
|
|
725
|
+
directory?: string | undefined;
|
|
726
|
+
} | undefined;
|
|
700
727
|
tag?: string | undefined;
|
|
701
728
|
searchable?: boolean | undefined;
|
|
702
729
|
boost?: number | undefined;
|
|
@@ -739,6 +766,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
739
766
|
expanded?: boolean | undefined;
|
|
740
767
|
public?: boolean | undefined;
|
|
741
768
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
769
|
+
mcp?: string | {
|
|
770
|
+
source: string;
|
|
771
|
+
directory?: string | undefined;
|
|
772
|
+
} | undefined;
|
|
742
773
|
tag?: string | undefined;
|
|
743
774
|
searchable?: boolean | undefined;
|
|
744
775
|
boost?: number | undefined;
|
|
@@ -771,6 +802,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
771
802
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
772
803
|
})[];
|
|
773
804
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
805
|
+
mcp?: undefined;
|
|
774
806
|
graphql?: undefined;
|
|
775
807
|
sdk?: undefined;
|
|
776
808
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -785,6 +817,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
785
817
|
expanded?: boolean | undefined;
|
|
786
818
|
public?: boolean | undefined;
|
|
787
819
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
820
|
+
mcp?: string | {
|
|
821
|
+
source: string;
|
|
822
|
+
directory?: string | undefined;
|
|
823
|
+
} | undefined;
|
|
788
824
|
tag?: string | undefined;
|
|
789
825
|
searchable?: boolean | undefined;
|
|
790
826
|
boost?: number | undefined;
|
|
@@ -817,6 +853,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
817
853
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
818
854
|
})[];
|
|
819
855
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
856
|
+
mcp?: undefined;
|
|
820
857
|
graphql?: undefined;
|
|
821
858
|
sdk?: undefined;
|
|
822
859
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -824,6 +861,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
824
861
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
825
862
|
global: z.ZodOptional<z.ZodType<import("./properties/navigation/divisionNav.js").GlobalNavigation, z.ZodTypeDef, import("./properties/navigation/divisionNav.js").GlobalNavigation>>;
|
|
826
863
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
864
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
827
865
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
828
866
|
} & {
|
|
829
867
|
pages: z.ZodArray<z.ZodType<string | import("./properties/index.js").NavigationLinkConfig | ({
|
|
@@ -836,6 +874,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
836
874
|
expanded?: boolean | undefined;
|
|
837
875
|
public?: boolean | undefined;
|
|
838
876
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
877
|
+
mcp?: string | {
|
|
878
|
+
source: string;
|
|
879
|
+
directory?: string | undefined;
|
|
880
|
+
} | undefined;
|
|
839
881
|
tag?: string | undefined;
|
|
840
882
|
searchable?: boolean | undefined;
|
|
841
883
|
boost?: number | undefined;
|
|
@@ -876,6 +918,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
876
918
|
expanded?: boolean | undefined;
|
|
877
919
|
public?: boolean | undefined;
|
|
878
920
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
921
|
+
mcp?: string | {
|
|
922
|
+
source: string;
|
|
923
|
+
directory?: string | undefined;
|
|
924
|
+
} | undefined;
|
|
879
925
|
tag?: string | undefined;
|
|
880
926
|
searchable?: boolean | undefined;
|
|
881
927
|
boost?: number | undefined;
|
|
@@ -918,6 +964,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
918
964
|
expanded?: boolean | undefined;
|
|
919
965
|
public?: boolean | undefined;
|
|
920
966
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
967
|
+
mcp?: string | {
|
|
968
|
+
source: string;
|
|
969
|
+
directory?: string | undefined;
|
|
970
|
+
} | undefined;
|
|
921
971
|
tag?: string | undefined;
|
|
922
972
|
searchable?: boolean | undefined;
|
|
923
973
|
boost?: number | undefined;
|
|
@@ -950,6 +1000,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
950
1000
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
951
1001
|
}))[];
|
|
952
1002
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
1003
|
+
mcp?: undefined;
|
|
953
1004
|
graphql?: undefined;
|
|
954
1005
|
sdk?: undefined;
|
|
955
1006
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -964,6 +1015,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
964
1015
|
expanded?: boolean | undefined;
|
|
965
1016
|
public?: boolean | undefined;
|
|
966
1017
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
1018
|
+
mcp?: string | {
|
|
1019
|
+
source: string;
|
|
1020
|
+
directory?: string | undefined;
|
|
1021
|
+
} | undefined;
|
|
967
1022
|
tag?: string | undefined;
|
|
968
1023
|
searchable?: boolean | undefined;
|
|
969
1024
|
boost?: number | undefined;
|
|
@@ -996,6 +1051,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
996
1051
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
997
1052
|
}))[];
|
|
998
1053
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
1054
|
+
mcp?: undefined;
|
|
999
1055
|
graphql?: undefined;
|
|
1000
1056
|
sdk?: undefined;
|
|
1001
1057
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2013,36 +2069,42 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2013
2069
|
navigation: {
|
|
2014
2070
|
products: import("./properties/navigation/divisionNav.js").ProductNavigation<"default">[];
|
|
2015
2071
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2072
|
+
mcp?: undefined;
|
|
2016
2073
|
graphql?: undefined;
|
|
2017
2074
|
sdk?: undefined;
|
|
2018
2075
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2019
2076
|
} | {
|
|
2020
2077
|
languages: import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">[];
|
|
2021
2078
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2079
|
+
mcp?: undefined;
|
|
2022
2080
|
graphql?: undefined;
|
|
2023
2081
|
sdk?: undefined;
|
|
2024
2082
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2025
2083
|
} | {
|
|
2026
2084
|
versions: import("./properties/navigation/divisionNav.js").VersionNavigation<"default">[];
|
|
2027
2085
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2086
|
+
mcp?: undefined;
|
|
2028
2087
|
graphql?: undefined;
|
|
2029
2088
|
sdk?: undefined;
|
|
2030
2089
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2031
2090
|
} | {
|
|
2032
2091
|
tabs: import("./properties/navigation/divisionNav.js").TabNavigation<"default">[];
|
|
2033
2092
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2093
|
+
mcp?: undefined;
|
|
2034
2094
|
graphql?: undefined;
|
|
2035
2095
|
sdk?: undefined;
|
|
2036
2096
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2037
2097
|
} | {
|
|
2038
2098
|
dropdowns: import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">[];
|
|
2039
2099
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2100
|
+
mcp?: undefined;
|
|
2040
2101
|
graphql?: undefined;
|
|
2041
2102
|
sdk?: undefined;
|
|
2042
2103
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2043
2104
|
} | {
|
|
2044
2105
|
anchors: import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">[];
|
|
2045
2106
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2107
|
+
mcp?: undefined;
|
|
2046
2108
|
graphql?: undefined;
|
|
2047
2109
|
sdk?: undefined;
|
|
2048
2110
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2057,6 +2119,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2057
2119
|
expanded?: boolean | undefined;
|
|
2058
2120
|
public?: boolean | undefined;
|
|
2059
2121
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2122
|
+
mcp?: string | {
|
|
2123
|
+
source: string;
|
|
2124
|
+
directory?: string | undefined;
|
|
2125
|
+
} | undefined;
|
|
2060
2126
|
tag?: string | undefined;
|
|
2061
2127
|
searchable?: boolean | undefined;
|
|
2062
2128
|
boost?: number | undefined;
|
|
@@ -2089,6 +2155,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2089
2155
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
2090
2156
|
})[];
|
|
2091
2157
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2158
|
+
mcp?: undefined;
|
|
2092
2159
|
graphql?: undefined;
|
|
2093
2160
|
sdk?: undefined;
|
|
2094
2161
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2103,6 +2170,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2103
2170
|
expanded?: boolean | undefined;
|
|
2104
2171
|
public?: boolean | undefined;
|
|
2105
2172
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2173
|
+
mcp?: string | {
|
|
2174
|
+
source: string;
|
|
2175
|
+
directory?: string | undefined;
|
|
2176
|
+
} | undefined;
|
|
2106
2177
|
tag?: string | undefined;
|
|
2107
2178
|
searchable?: boolean | undefined;
|
|
2108
2179
|
boost?: number | undefined;
|
|
@@ -2135,6 +2206,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2135
2206
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
2136
2207
|
}))[];
|
|
2137
2208
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2209
|
+
mcp?: undefined;
|
|
2138
2210
|
graphql?: undefined;
|
|
2139
2211
|
sdk?: undefined;
|
|
2140
2212
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2480,36 +2552,42 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2480
2552
|
navigation: {
|
|
2481
2553
|
products: import("./properties/navigation/divisionNav.js").ProductNavigation<"default">[];
|
|
2482
2554
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2555
|
+
mcp?: undefined;
|
|
2483
2556
|
graphql?: undefined;
|
|
2484
2557
|
sdk?: undefined;
|
|
2485
2558
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2486
2559
|
} | {
|
|
2487
2560
|
languages: import("./properties/navigation/divisionNav.js").LanguageNavigation<"default">[];
|
|
2488
2561
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2562
|
+
mcp?: undefined;
|
|
2489
2563
|
graphql?: undefined;
|
|
2490
2564
|
sdk?: undefined;
|
|
2491
2565
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2492
2566
|
} | {
|
|
2493
2567
|
versions: import("./properties/navigation/divisionNav.js").VersionNavigation<"default">[];
|
|
2494
2568
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2569
|
+
mcp?: undefined;
|
|
2495
2570
|
graphql?: undefined;
|
|
2496
2571
|
sdk?: undefined;
|
|
2497
2572
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2498
2573
|
} | {
|
|
2499
2574
|
tabs: import("./properties/navigation/divisionNav.js").TabNavigation<"default">[];
|
|
2500
2575
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2576
|
+
mcp?: undefined;
|
|
2501
2577
|
graphql?: undefined;
|
|
2502
2578
|
sdk?: undefined;
|
|
2503
2579
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2504
2580
|
} | {
|
|
2505
2581
|
dropdowns: import("./properties/navigation/divisionNav.js").DropdownNavigation<"default">[];
|
|
2506
2582
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2583
|
+
mcp?: undefined;
|
|
2507
2584
|
graphql?: undefined;
|
|
2508
2585
|
sdk?: undefined;
|
|
2509
2586
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
2510
2587
|
} | {
|
|
2511
2588
|
anchors: import("./properties/navigation/divisionNav.js").AnchorNavigation<"default">[];
|
|
2512
2589
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2590
|
+
mcp?: undefined;
|
|
2513
2591
|
graphql?: undefined;
|
|
2514
2592
|
sdk?: undefined;
|
|
2515
2593
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2524,6 +2602,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2524
2602
|
expanded?: boolean | undefined;
|
|
2525
2603
|
public?: boolean | undefined;
|
|
2526
2604
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2605
|
+
mcp?: string | {
|
|
2606
|
+
source: string;
|
|
2607
|
+
directory?: string | undefined;
|
|
2608
|
+
} | undefined;
|
|
2527
2609
|
tag?: string | undefined;
|
|
2528
2610
|
searchable?: boolean | undefined;
|
|
2529
2611
|
boost?: number | undefined;
|
|
@@ -2556,6 +2638,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2556
2638
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
2557
2639
|
})[];
|
|
2558
2640
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2641
|
+
mcp?: undefined;
|
|
2559
2642
|
graphql?: undefined;
|
|
2560
2643
|
sdk?: undefined;
|
|
2561
2644
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -2570,6 +2653,10 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2570
2653
|
expanded?: boolean | undefined;
|
|
2571
2654
|
public?: boolean | undefined;
|
|
2572
2655
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2656
|
+
mcp?: string | {
|
|
2657
|
+
source: string;
|
|
2658
|
+
directory?: string | undefined;
|
|
2659
|
+
} | undefined;
|
|
2573
2660
|
tag?: string | undefined;
|
|
2574
2661
|
searchable?: boolean | undefined;
|
|
2575
2662
|
boost?: number | undefined;
|
|
@@ -2602,6 +2689,7 @@ export declare const docsConfigUnifiedSchema: z.ZodObject<{
|
|
|
2602
2689
|
pages?: import("./properties/navigation/divisionNav.js").PageOrGroupNavigation<"default">[];
|
|
2603
2690
|
}))[];
|
|
2604
2691
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
2692
|
+
mcp?: undefined;
|
|
2605
2693
|
graphql?: undefined;
|
|
2606
2694
|
sdk?: undefined;
|
|
2607
2695
|
global?: import("./properties/navigation/divisionNav.js").GlobalNavigation | undefined;
|
|
@@ -62,6 +62,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
62
62
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
63
63
|
anchor: z.ZodString;
|
|
64
64
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
65
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
65
66
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
66
67
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
67
68
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -99,6 +100,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
99
100
|
dark?: string | undefined;
|
|
100
101
|
} | undefined;
|
|
101
102
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
103
|
+
mcp?: undefined;
|
|
102
104
|
graphql?: undefined;
|
|
103
105
|
hidden?: boolean | undefined;
|
|
104
106
|
thumbnail?: {
|
|
@@ -121,6 +123,7 @@ export declare const baseAnchorSchema: z.ZodObject<{
|
|
|
121
123
|
dark?: string | undefined;
|
|
122
124
|
} | undefined;
|
|
123
125
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
126
|
+
mcp?: undefined;
|
|
124
127
|
graphql?: undefined;
|
|
125
128
|
hidden?: boolean | undefined;
|
|
126
129
|
thumbnail?: {
|
|
@@ -195,6 +198,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
195
198
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
196
199
|
anchor: z.ZodString;
|
|
197
200
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
201
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
198
202
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
199
203
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
200
204
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -235,6 +239,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
235
239
|
dark?: string | undefined;
|
|
236
240
|
} | undefined;
|
|
237
241
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
242
|
+
mcp?: undefined;
|
|
238
243
|
graphql?: undefined;
|
|
239
244
|
hidden?: boolean | undefined;
|
|
240
245
|
thumbnail?: {
|
|
@@ -258,6 +263,7 @@ export declare const nonRecursiveAnchorSchema: z.ZodObject<{
|
|
|
258
263
|
dark?: string | undefined;
|
|
259
264
|
} | undefined;
|
|
260
265
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
266
|
+
mcp?: undefined;
|
|
261
267
|
graphql?: undefined;
|
|
262
268
|
hidden?: boolean | undefined;
|
|
263
269
|
thumbnail?: {
|
|
@@ -5,6 +5,7 @@ import { graphqlNotSupportedSchema } from '../reusable/graphql.js';
|
|
|
5
5
|
import { hiddenSchema } from '../reusable/hidden.js';
|
|
6
6
|
import { hrefSchema } from '../reusable/href.js';
|
|
7
7
|
import { iconSchema } from '../reusable/icon.js';
|
|
8
|
+
import { mcpNotSupportedSchema } from '../reusable/mcp.js';
|
|
8
9
|
import { openApiSchema } from '../reusable/openapi.js';
|
|
9
10
|
import { sdkNotSupportedSchema } from '../reusable/sdk.js';
|
|
10
11
|
import { thumbnailField } from '../thumbnails.js';
|
|
@@ -16,7 +17,7 @@ import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
|
16
17
|
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
17
18
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
18
19
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
19
|
-
export const baseAnchorSchema = z.object(Object.assign(Object.assign({ anchor: z.string().nonempty().describe('The name of the anchor'), graphql: graphqlNotSupportedSchema, sdk: sdkNotSupportedSchema, icon: iconSchema.optional(), color: colorSchemaWithOptionalLightAndDark.optional(), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
|
|
20
|
+
export const baseAnchorSchema = z.object(Object.assign(Object.assign({ anchor: z.string().nonempty().describe('The name of the anchor'), graphql: graphqlNotSupportedSchema, mcp: mcpNotSupportedSchema, sdk: sdkNotSupportedSchema, icon: iconSchema.optional(), color: colorSchemaWithOptionalLightAndDark.optional(), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
|
|
20
21
|
export const nonRecursiveAnchorSchema = baseAnchorSchema.extend({ href: hrefSchema });
|
|
21
22
|
export const anchorSchema = z.union([
|
|
22
23
|
baseAnchorSchema.extend({
|
|
@@ -62,6 +62,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
62
62
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
63
63
|
dropdown: z.ZodString;
|
|
64
64
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
65
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
65
66
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
66
67
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
67
68
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -101,6 +102,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
101
102
|
} | undefined;
|
|
102
103
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
103
104
|
description?: string | undefined;
|
|
105
|
+
mcp?: undefined;
|
|
104
106
|
graphql?: undefined;
|
|
105
107
|
hidden?: boolean | undefined;
|
|
106
108
|
thumbnail?: {
|
|
@@ -124,6 +126,7 @@ export declare const baseDropdownSchema: z.ZodObject<{
|
|
|
124
126
|
} | undefined;
|
|
125
127
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
126
128
|
description?: string | undefined;
|
|
129
|
+
mcp?: undefined;
|
|
127
130
|
graphql?: undefined;
|
|
128
131
|
hidden?: boolean | undefined;
|
|
129
132
|
thumbnail?: {
|
|
@@ -198,6 +201,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
198
201
|
directory: z.ZodOptional<z.ZodEnum<["none", "accordion", "card"]>>;
|
|
199
202
|
dropdown: z.ZodString;
|
|
200
203
|
graphql: z.ZodOptional<z.ZodNever>;
|
|
204
|
+
mcp: z.ZodOptional<z.ZodNever>;
|
|
201
205
|
sdk: z.ZodOptional<z.ZodNever>;
|
|
202
206
|
icon: z.ZodOptional<z.ZodUnion<[z.ZodEffects<z.ZodString, string, string>, z.ZodObject<{
|
|
203
207
|
style: z.ZodOptional<z.ZodEnum<["brands", "duotone", "light", "regular", "sharp-duotone-solid", "sharp-light", "sharp-regular", "sharp-solid", "sharp-thin", "solid", "thin"]>>;
|
|
@@ -240,6 +244,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
240
244
|
} | undefined;
|
|
241
245
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
242
246
|
description?: string | undefined;
|
|
247
|
+
mcp?: undefined;
|
|
243
248
|
graphql?: undefined;
|
|
244
249
|
hidden?: boolean | undefined;
|
|
245
250
|
thumbnail?: {
|
|
@@ -264,6 +269,7 @@ export declare const nonRecursiveDropdownSchema: z.ZodObject<{
|
|
|
264
269
|
} | undefined;
|
|
265
270
|
directory?: "none" | "card" | "accordion" | undefined;
|
|
266
271
|
description?: string | undefined;
|
|
272
|
+
mcp?: undefined;
|
|
267
273
|
graphql?: undefined;
|
|
268
274
|
hidden?: boolean | undefined;
|
|
269
275
|
thumbnail?: {
|
|
@@ -5,6 +5,7 @@ import { graphqlNotSupportedSchema } from '../reusable/graphql.js';
|
|
|
5
5
|
import { hiddenSchema } from '../reusable/hidden.js';
|
|
6
6
|
import { hrefSchema } from '../reusable/href.js';
|
|
7
7
|
import { iconSchema } from '../reusable/icon.js';
|
|
8
|
+
import { mcpNotSupportedSchema } from '../reusable/mcp.js';
|
|
8
9
|
import { openApiSchema } from '../reusable/openapi.js';
|
|
9
10
|
import { sdkNotSupportedSchema } from '../reusable/sdk.js';
|
|
10
11
|
import { thumbnailField } from '../thumbnails.js';
|
|
@@ -16,7 +17,7 @@ import { decoratedPagesSchema, pagesSchema } from './pages.js';
|
|
|
16
17
|
import { decoratedProductsSchema, productsSchema } from './products.js';
|
|
17
18
|
import { decoratedTabsSchema, tabsSchema } from './tabs.js';
|
|
18
19
|
import { decoratedVersionsSchema, versionsSchema } from './version.js';
|
|
19
|
-
export const baseDropdownSchema = z.object(Object.assign(Object.assign({ dropdown: z.string().nonempty().describe('The name of the dropdown'), graphql: graphqlNotSupportedSchema, sdk: sdkNotSupportedSchema, icon: iconSchema.optional(), color: colorSchemaWithOptionalLightAndDark.optional(), description: z.string().optional().describe('The description of the dropdown'), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
|
|
20
|
+
export const baseDropdownSchema = z.object(Object.assign(Object.assign({ dropdown: z.string().nonempty().describe('The name of the dropdown'), graphql: graphqlNotSupportedSchema, mcp: mcpNotSupportedSchema, sdk: sdkNotSupportedSchema, icon: iconSchema.optional(), color: colorSchemaWithOptionalLightAndDark.optional(), description: z.string().optional().describe('The description of the dropdown'), hidden: hiddenSchema.optional() }, directoryField), thumbnailField));
|
|
20
21
|
export const nonRecursiveDropdownSchema = baseDropdownSchema.extend({ href: hrefSchema });
|
|
21
22
|
export const dropdownSchema = z.union([
|
|
22
23
|
baseDropdownSchema.extend({
|