@mintlify/validation 0.1.891 → 0.1.893
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.js +9 -1
- package/dist/mint-config/schemas/v2/index.d.ts +270 -0
- package/dist/mint-config/schemas/v2/properties/index.d.ts +1 -0
- package/dist/mint-config/schemas/v2/properties/index.js +1 -0
- package/dist/mint-config/schemas/v2/properties/packages.d.ts +24 -0
- package/dist/mint-config/schemas/v2/properties/packages.js +109 -0
- package/dist/mint-config/schemas/v2/themes/almond.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/aspen.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/linden.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/luma.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/maple.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/mint.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/palm.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.d.ts +19 -0
- package/dist/mint-config/schemas/v2/themes/reusable/index.js +2 -0
- package/dist/mint-config/schemas/v2/themes/sequoia.d.ts +27 -0
- package/dist/mint-config/schemas/v2/themes/willow.d.ts +27 -0
- package/dist/mint-config/validateConfig.d.ts +72 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/deployment/gitSource.d.ts +7 -2
- package/package.json +3 -3
|
@@ -1863,6 +1863,25 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"almond">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "almond";
|
|
@@ -2744,4 +2770,5 @@ export declare const almondConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"aspen">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "aspen";
|
|
@@ -2744,4 +2770,5 @@ export declare const aspenConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"linden">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "linden";
|
|
@@ -2744,4 +2770,5 @@ export declare const lindenConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"luma">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "luma";
|
|
@@ -2744,4 +2770,5 @@ export declare const lumaConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"maple">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "maple";
|
|
@@ -2744,4 +2770,5 @@ export declare const mapleConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"mint">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "mint";
|
|
@@ -2744,4 +2770,5 @@ export declare const mintConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1863,6 +1863,25 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"palm">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "palm";
|
|
@@ -2744,4 +2770,5 @@ export declare const palmConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1862,4 +1862,23 @@ export declare const standardConfigSchema: {
|
|
|
1862
1862
|
schema?: boolean | undefined;
|
|
1863
1863
|
instructions?: string | string[] | undefined;
|
|
1864
1864
|
}>>>;
|
|
1865
|
+
packages: import("zod").ZodCatch<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1866
|
+
registries: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodEffects<import("zod").ZodString, string, string>>>;
|
|
1867
|
+
css: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEffects<import("zod").ZodString, string, string>, "many">>;
|
|
1868
|
+
provider: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodString, string, string>>;
|
|
1869
|
+
ssr: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
1870
|
+
isolation: import("zod").ZodOptional<import("zod").ZodEnum<["page", "frame"]>>;
|
|
1871
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1872
|
+
registries?: Record<string, string> | undefined;
|
|
1873
|
+
css?: string[] | undefined;
|
|
1874
|
+
provider?: string | undefined;
|
|
1875
|
+
ssr?: boolean | undefined;
|
|
1876
|
+
isolation?: "page" | "frame" | undefined;
|
|
1877
|
+
}, {
|
|
1878
|
+
registries?: Record<string, string> | undefined;
|
|
1879
|
+
css?: string[] | undefined;
|
|
1880
|
+
provider?: string | undefined;
|
|
1881
|
+
ssr?: boolean | undefined;
|
|
1882
|
+
isolation?: "page" | "frame" | undefined;
|
|
1883
|
+
}>>>;
|
|
1865
1884
|
};
|
|
@@ -20,6 +20,7 @@ import { metadataSchema } from '../../properties/metadata.js';
|
|
|
20
20
|
import { nameSchema } from '../../properties/name.js';
|
|
21
21
|
import { navbarSchema } from '../../properties/navbar.js';
|
|
22
22
|
import { navigationSchema } from '../../properties/navigation/index.js';
|
|
23
|
+
import { packagesSchema } from '../../properties/packages.js';
|
|
23
24
|
import { publicSchema } from '../../properties/public.js';
|
|
24
25
|
import { searchSchema } from '../../properties/search.js';
|
|
25
26
|
import { seoSchema } from '../../properties/seo.js';
|
|
@@ -55,4 +56,5 @@ export const standardConfigSchema = {
|
|
|
55
56
|
metadata: metadataSchema.optional(),
|
|
56
57
|
variables: variablesSchema.optional(),
|
|
57
58
|
markdown: markdownSchema.optional(),
|
|
59
|
+
packages: packagesSchema.optional().catch(undefined),
|
|
58
60
|
};
|
|
@@ -1863,6 +1863,25 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
1863
1863
|
schema?: boolean | undefined;
|
|
1864
1864
|
instructions?: string | string[] | undefined;
|
|
1865
1865
|
}>>>;
|
|
1866
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1867
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1868
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1869
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1870
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1871
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1872
|
+
}, "strip", z.ZodTypeAny, {
|
|
1873
|
+
registries?: Record<string, string> | undefined;
|
|
1874
|
+
css?: string[] | undefined;
|
|
1875
|
+
provider?: string | undefined;
|
|
1876
|
+
ssr?: boolean | undefined;
|
|
1877
|
+
isolation?: "page" | "frame" | undefined;
|
|
1878
|
+
}, {
|
|
1879
|
+
registries?: Record<string, string> | undefined;
|
|
1880
|
+
css?: string[] | undefined;
|
|
1881
|
+
provider?: string | undefined;
|
|
1882
|
+
ssr?: boolean | undefined;
|
|
1883
|
+
isolation?: "page" | "frame" | undefined;
|
|
1884
|
+
}>>>;
|
|
1866
1885
|
theme: z.ZodLiteral<"sequoia">;
|
|
1867
1886
|
}, "strip", z.ZodTypeAny, {
|
|
1868
1887
|
name: string;
|
|
@@ -2304,6 +2323,13 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
2304
2323
|
schema?: boolean | undefined;
|
|
2305
2324
|
instructions?: string | string[] | undefined;
|
|
2306
2325
|
} | undefined;
|
|
2326
|
+
packages?: {
|
|
2327
|
+
registries?: Record<string, string> | undefined;
|
|
2328
|
+
css?: string[] | undefined;
|
|
2329
|
+
provider?: string | undefined;
|
|
2330
|
+
ssr?: boolean | undefined;
|
|
2331
|
+
isolation?: "page" | "frame" | undefined;
|
|
2332
|
+
} | undefined;
|
|
2307
2333
|
}, {
|
|
2308
2334
|
name: string;
|
|
2309
2335
|
theme: "sequoia";
|
|
@@ -2744,4 +2770,5 @@ export declare const sequoiaConfigSchema: z.ZodObject<{
|
|
|
2744
2770
|
schema?: boolean | undefined;
|
|
2745
2771
|
instructions?: string | string[] | undefined;
|
|
2746
2772
|
} | undefined;
|
|
2773
|
+
packages?: unknown;
|
|
2747
2774
|
}>;
|
|
@@ -1895,6 +1895,25 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
1895
1895
|
schema?: boolean | undefined;
|
|
1896
1896
|
instructions?: string | string[] | undefined;
|
|
1897
1897
|
}>>>;
|
|
1898
|
+
packages: z.ZodCatch<z.ZodOptional<z.ZodObject<{
|
|
1899
|
+
registries: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodString, string, string>>>;
|
|
1900
|
+
css: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, string, string>, "many">>;
|
|
1901
|
+
provider: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
1902
|
+
ssr: z.ZodOptional<z.ZodBoolean>;
|
|
1903
|
+
isolation: z.ZodOptional<z.ZodEnum<["page", "frame"]>>;
|
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
|
1905
|
+
registries?: Record<string, string> | undefined;
|
|
1906
|
+
css?: string[] | undefined;
|
|
1907
|
+
provider?: string | undefined;
|
|
1908
|
+
ssr?: boolean | undefined;
|
|
1909
|
+
isolation?: "page" | "frame" | undefined;
|
|
1910
|
+
}, {
|
|
1911
|
+
registries?: Record<string, string> | undefined;
|
|
1912
|
+
css?: string[] | undefined;
|
|
1913
|
+
provider?: string | undefined;
|
|
1914
|
+
ssr?: boolean | undefined;
|
|
1915
|
+
isolation?: "page" | "frame" | undefined;
|
|
1916
|
+
}>>>;
|
|
1898
1917
|
theme: z.ZodLiteral<"willow">;
|
|
1899
1918
|
}, "strip", z.ZodTypeAny, {
|
|
1900
1919
|
name: string;
|
|
@@ -2336,6 +2355,13 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2336
2355
|
schema?: boolean | undefined;
|
|
2337
2356
|
instructions?: string | string[] | undefined;
|
|
2338
2357
|
} | undefined;
|
|
2358
|
+
packages?: {
|
|
2359
|
+
registries?: Record<string, string> | undefined;
|
|
2360
|
+
css?: string[] | undefined;
|
|
2361
|
+
provider?: string | undefined;
|
|
2362
|
+
ssr?: boolean | undefined;
|
|
2363
|
+
isolation?: "page" | "frame" | undefined;
|
|
2364
|
+
} | undefined;
|
|
2339
2365
|
variations?: {
|
|
2340
2366
|
options: {
|
|
2341
2367
|
id: string;
|
|
@@ -2782,6 +2808,7 @@ export declare const willowConfigSchema: z.ZodObject<{
|
|
|
2782
2808
|
schema?: boolean | undefined;
|
|
2783
2809
|
instructions?: string | string[] | undefined;
|
|
2784
2810
|
} | undefined;
|
|
2811
|
+
packages?: unknown;
|
|
2785
2812
|
variations?: {
|
|
2786
2813
|
options: {
|
|
2787
2814
|
id: string;
|
|
@@ -944,6 +944,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
944
944
|
schema?: boolean | undefined;
|
|
945
945
|
instructions?: string | string[] | undefined;
|
|
946
946
|
} | undefined;
|
|
947
|
+
packages?: unknown;
|
|
947
948
|
} | {
|
|
948
949
|
name: string;
|
|
949
950
|
theme: "aspen";
|
|
@@ -1384,6 +1385,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1384
1385
|
schema?: boolean | undefined;
|
|
1385
1386
|
instructions?: string | string[] | undefined;
|
|
1386
1387
|
} | undefined;
|
|
1388
|
+
packages?: unknown;
|
|
1387
1389
|
} | {
|
|
1388
1390
|
name: string;
|
|
1389
1391
|
theme: "linden";
|
|
@@ -1824,6 +1826,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
1824
1826
|
schema?: boolean | undefined;
|
|
1825
1827
|
instructions?: string | string[] | undefined;
|
|
1826
1828
|
} | undefined;
|
|
1829
|
+
packages?: unknown;
|
|
1827
1830
|
} | {
|
|
1828
1831
|
name: string;
|
|
1829
1832
|
theme: "luma";
|
|
@@ -2264,6 +2267,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2264
2267
|
schema?: boolean | undefined;
|
|
2265
2268
|
instructions?: string | string[] | undefined;
|
|
2266
2269
|
} | undefined;
|
|
2270
|
+
packages?: unknown;
|
|
2267
2271
|
} | {
|
|
2268
2272
|
name: string;
|
|
2269
2273
|
theme: "maple";
|
|
@@ -2704,6 +2708,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
2704
2708
|
schema?: boolean | undefined;
|
|
2705
2709
|
instructions?: string | string[] | undefined;
|
|
2706
2710
|
} | undefined;
|
|
2711
|
+
packages?: unknown;
|
|
2707
2712
|
} | {
|
|
2708
2713
|
name: string;
|
|
2709
2714
|
theme: "mint";
|
|
@@ -3144,6 +3149,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3144
3149
|
schema?: boolean | undefined;
|
|
3145
3150
|
instructions?: string | string[] | undefined;
|
|
3146
3151
|
} | undefined;
|
|
3152
|
+
packages?: unknown;
|
|
3147
3153
|
} | {
|
|
3148
3154
|
name: string;
|
|
3149
3155
|
theme: "palm";
|
|
@@ -3584,6 +3590,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
3584
3590
|
schema?: boolean | undefined;
|
|
3585
3591
|
instructions?: string | string[] | undefined;
|
|
3586
3592
|
} | undefined;
|
|
3593
|
+
packages?: unknown;
|
|
3587
3594
|
} | {
|
|
3588
3595
|
name: string;
|
|
3589
3596
|
theme: "sequoia";
|
|
@@ -4024,6 +4031,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4024
4031
|
schema?: boolean | undefined;
|
|
4025
4032
|
instructions?: string | string[] | undefined;
|
|
4026
4033
|
} | undefined;
|
|
4034
|
+
packages?: unknown;
|
|
4027
4035
|
} | {
|
|
4028
4036
|
name: string;
|
|
4029
4037
|
theme: "willow";
|
|
@@ -4464,6 +4472,7 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4464
4472
|
schema?: boolean | undefined;
|
|
4465
4473
|
instructions?: string | string[] | undefined;
|
|
4466
4474
|
} | undefined;
|
|
4475
|
+
packages?: unknown;
|
|
4467
4476
|
variations?: {
|
|
4468
4477
|
options: {
|
|
4469
4478
|
id: string;
|
|
@@ -4913,6 +4922,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
4913
4922
|
schema?: boolean | undefined;
|
|
4914
4923
|
instructions?: string | string[] | undefined;
|
|
4915
4924
|
} | undefined;
|
|
4925
|
+
packages?: {
|
|
4926
|
+
registries?: Record<string, string> | undefined;
|
|
4927
|
+
css?: string[] | undefined;
|
|
4928
|
+
provider?: string | undefined;
|
|
4929
|
+
ssr?: boolean | undefined;
|
|
4930
|
+
isolation?: "page" | "frame" | undefined;
|
|
4931
|
+
} | undefined;
|
|
4916
4932
|
} | {
|
|
4917
4933
|
name: string;
|
|
4918
4934
|
$schema: string;
|
|
@@ -5353,6 +5369,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5353
5369
|
schema?: boolean | undefined;
|
|
5354
5370
|
instructions?: string | string[] | undefined;
|
|
5355
5371
|
} | undefined;
|
|
5372
|
+
packages?: {
|
|
5373
|
+
registries?: Record<string, string> | undefined;
|
|
5374
|
+
css?: string[] | undefined;
|
|
5375
|
+
provider?: string | undefined;
|
|
5376
|
+
ssr?: boolean | undefined;
|
|
5377
|
+
isolation?: "page" | "frame" | undefined;
|
|
5378
|
+
} | undefined;
|
|
5356
5379
|
} | {
|
|
5357
5380
|
name: string;
|
|
5358
5381
|
$schema: string;
|
|
@@ -5793,6 +5816,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
5793
5816
|
schema?: boolean | undefined;
|
|
5794
5817
|
instructions?: string | string[] | undefined;
|
|
5795
5818
|
} | undefined;
|
|
5819
|
+
packages?: {
|
|
5820
|
+
registries?: Record<string, string> | undefined;
|
|
5821
|
+
css?: string[] | undefined;
|
|
5822
|
+
provider?: string | undefined;
|
|
5823
|
+
ssr?: boolean | undefined;
|
|
5824
|
+
isolation?: "page" | "frame" | undefined;
|
|
5825
|
+
} | undefined;
|
|
5796
5826
|
} | {
|
|
5797
5827
|
name: string;
|
|
5798
5828
|
$schema: string;
|
|
@@ -6233,6 +6263,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
6233
6263
|
schema?: boolean | undefined;
|
|
6234
6264
|
instructions?: string | string[] | undefined;
|
|
6235
6265
|
} | undefined;
|
|
6266
|
+
packages?: {
|
|
6267
|
+
registries?: Record<string, string> | undefined;
|
|
6268
|
+
css?: string[] | undefined;
|
|
6269
|
+
provider?: string | undefined;
|
|
6270
|
+
ssr?: boolean | undefined;
|
|
6271
|
+
isolation?: "page" | "frame" | undefined;
|
|
6272
|
+
} | undefined;
|
|
6236
6273
|
} | {
|
|
6237
6274
|
name: string;
|
|
6238
6275
|
$schema: string;
|
|
@@ -6673,6 +6710,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
6673
6710
|
schema?: boolean | undefined;
|
|
6674
6711
|
instructions?: string | string[] | undefined;
|
|
6675
6712
|
} | undefined;
|
|
6713
|
+
packages?: {
|
|
6714
|
+
registries?: Record<string, string> | undefined;
|
|
6715
|
+
css?: string[] | undefined;
|
|
6716
|
+
provider?: string | undefined;
|
|
6717
|
+
ssr?: boolean | undefined;
|
|
6718
|
+
isolation?: "page" | "frame" | undefined;
|
|
6719
|
+
} | undefined;
|
|
6676
6720
|
} | {
|
|
6677
6721
|
name: string;
|
|
6678
6722
|
$schema: string;
|
|
@@ -7113,6 +7157,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
7113
7157
|
schema?: boolean | undefined;
|
|
7114
7158
|
instructions?: string | string[] | undefined;
|
|
7115
7159
|
} | undefined;
|
|
7160
|
+
packages?: {
|
|
7161
|
+
registries?: Record<string, string> | undefined;
|
|
7162
|
+
css?: string[] | undefined;
|
|
7163
|
+
provider?: string | undefined;
|
|
7164
|
+
ssr?: boolean | undefined;
|
|
7165
|
+
isolation?: "page" | "frame" | undefined;
|
|
7166
|
+
} | undefined;
|
|
7116
7167
|
} | {
|
|
7117
7168
|
name: string;
|
|
7118
7169
|
$schema: string;
|
|
@@ -7553,6 +7604,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
7553
7604
|
schema?: boolean | undefined;
|
|
7554
7605
|
instructions?: string | string[] | undefined;
|
|
7555
7606
|
} | undefined;
|
|
7607
|
+
packages?: {
|
|
7608
|
+
registries?: Record<string, string> | undefined;
|
|
7609
|
+
css?: string[] | undefined;
|
|
7610
|
+
provider?: string | undefined;
|
|
7611
|
+
ssr?: boolean | undefined;
|
|
7612
|
+
isolation?: "page" | "frame" | undefined;
|
|
7613
|
+
} | undefined;
|
|
7556
7614
|
} | {
|
|
7557
7615
|
name: string;
|
|
7558
7616
|
$schema: string;
|
|
@@ -7993,6 +8051,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
7993
8051
|
schema?: boolean | undefined;
|
|
7994
8052
|
instructions?: string | string[] | undefined;
|
|
7995
8053
|
} | undefined;
|
|
8054
|
+
packages?: {
|
|
8055
|
+
registries?: Record<string, string> | undefined;
|
|
8056
|
+
css?: string[] | undefined;
|
|
8057
|
+
provider?: string | undefined;
|
|
8058
|
+
ssr?: boolean | undefined;
|
|
8059
|
+
isolation?: "page" | "frame" | undefined;
|
|
8060
|
+
} | undefined;
|
|
7996
8061
|
} | {
|
|
7997
8062
|
name: string;
|
|
7998
8063
|
$schema: string;
|
|
@@ -8433,6 +8498,13 @@ export declare function validateDocsConfig(value: unknown): z.SafeParseError<{
|
|
|
8433
8498
|
schema?: boolean | undefined;
|
|
8434
8499
|
instructions?: string | string[] | undefined;
|
|
8435
8500
|
} | undefined;
|
|
8501
|
+
packages?: {
|
|
8502
|
+
registries?: Record<string, string> | undefined;
|
|
8503
|
+
css?: string[] | undefined;
|
|
8504
|
+
provider?: string | undefined;
|
|
8505
|
+
ssr?: boolean | undefined;
|
|
8506
|
+
isolation?: "page" | "frame" | undefined;
|
|
8507
|
+
} | undefined;
|
|
8436
8508
|
variations?: {
|
|
8437
8509
|
options: {
|
|
8438
8510
|
id: string;
|