@tanstack/start-plugin-core 1.121.6 → 1.121.9
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/cjs/schema.d.cts +30 -30
- package/dist/esm/schema.d.ts +30 -30
- package/package.json +5 -5
package/dist/cjs/schema.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare function createTanStackConfig<TFrameworkPlugin extends Record<string, unknown>>(frameworkPlugin?: TFrameworkPlugin): {
|
|
3
3
|
schema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
4
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5
5
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
6
6
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
7
7
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -40,9 +40,9 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
40
40
|
}>>>;
|
|
41
41
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
42
42
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
43
|
-
}
|
|
43
|
+
} & {
|
|
44
44
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
45
|
-
}
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
srcDirectory: string;
|
|
47
47
|
target?: "react" | "solid" | undefined;
|
|
48
48
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -137,7 +137,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
137
137
|
base?: string | undefined;
|
|
138
138
|
dir?: string | undefined;
|
|
139
139
|
}>>>;
|
|
140
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
140
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
141
|
path: z.ZodString;
|
|
142
142
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
143
143
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -241,7 +241,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
241
241
|
} | undefined;
|
|
242
242
|
}>>;
|
|
243
243
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
-
}
|
|
244
|
+
} & {
|
|
245
245
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
247
247
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -542,7 +542,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
542
542
|
html: string;
|
|
543
543
|
}, ...args: unknown[]) => any) | undefined;
|
|
544
544
|
}>>;
|
|
545
|
-
}
|
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
|
546
546
|
path: string;
|
|
547
547
|
prerender?: {
|
|
548
548
|
enabled?: boolean | undefined;
|
|
@@ -687,7 +687,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
687
687
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
688
688
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
689
689
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
690
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
690
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
691
691
|
path: z.ZodString;
|
|
692
692
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
693
693
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -791,7 +791,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
791
791
|
} | undefined;
|
|
792
792
|
}>>;
|
|
793
793
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
-
}
|
|
794
|
+
} & {
|
|
795
795
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
796
796
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
797
797
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1092,7 +1092,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
1092
1092
|
html: string;
|
|
1093
1093
|
}, ...args: unknown[]) => any) | undefined;
|
|
1094
1094
|
}>>;
|
|
1095
|
-
}
|
|
1095
|
+
}, "strip", z.ZodTypeAny, {
|
|
1096
1096
|
path: string;
|
|
1097
1097
|
prerender?: {
|
|
1098
1098
|
enabled?: boolean | undefined;
|
|
@@ -2658,7 +2658,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2658
2658
|
} | undefined;
|
|
2659
2659
|
}>>>;
|
|
2660
2660
|
parse: (opts?: z.input<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2661
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
2661
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2662
2662
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
2663
2663
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
2664
2664
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2697,9 +2697,9 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2697
2697
|
}>>>;
|
|
2698
2698
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
2699
2699
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
2700
|
-
}
|
|
2700
|
+
} & {
|
|
2701
2701
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2702
|
-
}
|
|
2702
|
+
}, "strip", z.ZodTypeAny, {
|
|
2703
2703
|
srcDirectory: string;
|
|
2704
2704
|
target?: "react" | "solid" | undefined;
|
|
2705
2705
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -2794,7 +2794,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2794
2794
|
base?: string | undefined;
|
|
2795
2795
|
dir?: string | undefined;
|
|
2796
2796
|
}>>>;
|
|
2797
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
2797
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2798
2798
|
path: z.ZodString;
|
|
2799
2799
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
2800
2800
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2898,7 +2898,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2898
2898
|
} | undefined;
|
|
2899
2899
|
}>>;
|
|
2900
2900
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
2901
|
-
}
|
|
2901
|
+
} & {
|
|
2902
2902
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
2903
2903
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2904
2904
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -3199,7 +3199,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3199
3199
|
html: string;
|
|
3200
3200
|
}, ...args: unknown[]) => any) | undefined;
|
|
3201
3201
|
}>>;
|
|
3202
|
-
}
|
|
3202
|
+
}, "strip", z.ZodTypeAny, {
|
|
3203
3203
|
path: string;
|
|
3204
3204
|
prerender?: {
|
|
3205
3205
|
enabled?: boolean | undefined;
|
|
@@ -3344,7 +3344,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3344
3344
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
3345
3345
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3346
3346
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
3347
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
3347
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
3348
3348
|
path: z.ZodString;
|
|
3349
3349
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
3350
3350
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3448,7 +3448,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3448
3448
|
} | undefined;
|
|
3449
3449
|
}>>;
|
|
3450
3450
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
3451
|
-
}
|
|
3451
|
+
} & {
|
|
3452
3452
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
3453
3453
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3454
3454
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -3749,7 +3749,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3749
3749
|
html: string;
|
|
3750
3750
|
}, ...args: unknown[]) => any) | undefined;
|
|
3751
3751
|
}>>;
|
|
3752
|
-
}
|
|
3752
|
+
}, "strip", z.ZodTypeAny, {
|
|
3753
3753
|
path: string;
|
|
3754
3754
|
prerender?: {
|
|
3755
3755
|
enabled?: boolean | undefined;
|
|
@@ -5586,7 +5586,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
5586
5586
|
};
|
|
5587
5587
|
};
|
|
5588
5588
|
export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Record<string, unknown>): z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5589
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
5589
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5590
5590
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
5591
5591
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
5592
5592
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -5625,9 +5625,9 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5625
5625
|
}>>>;
|
|
5626
5626
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
5627
5627
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
5628
|
-
}
|
|
5628
|
+
} & {
|
|
5629
5629
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5630
|
-
}
|
|
5630
|
+
}, "strip", z.ZodTypeAny, {
|
|
5631
5631
|
srcDirectory: string;
|
|
5632
5632
|
target?: "react" | "solid" | undefined;
|
|
5633
5633
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -5722,7 +5722,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5722
5722
|
base?: string | undefined;
|
|
5723
5723
|
dir?: string | undefined;
|
|
5724
5724
|
}>>>;
|
|
5725
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
5725
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5726
5726
|
path: z.ZodString;
|
|
5727
5727
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
5728
5728
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5826,7 +5826,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5826
5826
|
} | undefined;
|
|
5827
5827
|
}>>;
|
|
5828
5828
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
5829
|
-
}
|
|
5829
|
+
} & {
|
|
5830
5830
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
5831
5831
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5832
5832
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -6127,7 +6127,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6127
6127
|
html: string;
|
|
6128
6128
|
}, ...args: unknown[]) => any) | undefined;
|
|
6129
6129
|
}>>;
|
|
6130
|
-
}
|
|
6130
|
+
}, "strip", z.ZodTypeAny, {
|
|
6131
6131
|
path: string;
|
|
6132
6132
|
prerender?: {
|
|
6133
6133
|
enabled?: boolean | undefined;
|
|
@@ -6272,7 +6272,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6272
6272
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
6273
6273
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6274
6274
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
6275
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
6275
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
6276
6276
|
path: z.ZodString;
|
|
6277
6277
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
6278
6278
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6376,7 +6376,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6376
6376
|
} | undefined;
|
|
6377
6377
|
}>>;
|
|
6378
6378
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
6379
|
-
}
|
|
6379
|
+
} & {
|
|
6380
6380
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
6381
6381
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6382
6382
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -6677,7 +6677,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6677
6677
|
html: string;
|
|
6678
6678
|
}, ...args: unknown[]) => any) | undefined;
|
|
6679
6679
|
}>>;
|
|
6680
|
-
}
|
|
6680
|
+
}, "strip", z.ZodTypeAny, {
|
|
6681
6681
|
path: string;
|
|
6682
6682
|
prerender?: {
|
|
6683
6683
|
enabled?: boolean | undefined;
|
|
@@ -8242,7 +8242,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
8242
8242
|
maskPath?: string | undefined;
|
|
8243
8243
|
} | undefined;
|
|
8244
8244
|
}>>>;
|
|
8245
|
-
export declare const pageSchema: z.ZodObject<
|
|
8245
|
+
export declare const pageSchema: z.ZodObject<{
|
|
8246
8246
|
path: z.ZodString;
|
|
8247
8247
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
8248
8248
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8346,7 +8346,7 @@ export declare const pageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8346
8346
|
} | undefined;
|
|
8347
8347
|
}>>;
|
|
8348
8348
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
8349
|
-
}
|
|
8349
|
+
} & {
|
|
8350
8350
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
8351
8351
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8352
8352
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -8647,7 +8647,7 @@ export declare const pageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8647
8647
|
html: string;
|
|
8648
8648
|
}, ...args: unknown[]) => any) | undefined;
|
|
8649
8649
|
}>>;
|
|
8650
|
-
}
|
|
8650
|
+
}, "strip", z.ZodTypeAny, {
|
|
8651
8651
|
path: string;
|
|
8652
8652
|
prerender?: {
|
|
8653
8653
|
enabled?: boolean | undefined;
|
package/dist/esm/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare function createTanStackConfig<TFrameworkPlugin extends Record<string, unknown>>(frameworkPlugin?: TFrameworkPlugin): {
|
|
3
3
|
schema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
4
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
4
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5
5
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
6
6
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
7
7
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -40,9 +40,9 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
40
40
|
}>>>;
|
|
41
41
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
42
42
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
43
|
-
}
|
|
43
|
+
} & {
|
|
44
44
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
45
|
-
}
|
|
45
|
+
}, "strip", z.ZodTypeAny, {
|
|
46
46
|
srcDirectory: string;
|
|
47
47
|
target?: "react" | "solid" | undefined;
|
|
48
48
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -137,7 +137,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
137
137
|
base?: string | undefined;
|
|
138
138
|
dir?: string | undefined;
|
|
139
139
|
}>>>;
|
|
140
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
140
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
141
141
|
path: z.ZodString;
|
|
142
142
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
143
143
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -241,7 +241,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
241
241
|
} | undefined;
|
|
242
242
|
}>>;
|
|
243
243
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
244
|
-
}
|
|
244
|
+
} & {
|
|
245
245
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
247
247
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -542,7 +542,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
542
542
|
html: string;
|
|
543
543
|
}, ...args: unknown[]) => any) | undefined;
|
|
544
544
|
}>>;
|
|
545
|
-
}
|
|
545
|
+
}, "strip", z.ZodTypeAny, {
|
|
546
546
|
path: string;
|
|
547
547
|
prerender?: {
|
|
548
548
|
enabled?: boolean | undefined;
|
|
@@ -687,7 +687,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
687
687
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
688
688
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
689
689
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
690
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
690
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
691
691
|
path: z.ZodString;
|
|
692
692
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
693
693
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -791,7 +791,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
791
791
|
} | undefined;
|
|
792
792
|
}>>;
|
|
793
793
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
794
|
-
}
|
|
794
|
+
} & {
|
|
795
795
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
796
796
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
797
797
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -1092,7 +1092,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
1092
1092
|
html: string;
|
|
1093
1093
|
}, ...args: unknown[]) => any) | undefined;
|
|
1094
1094
|
}>>;
|
|
1095
|
-
}
|
|
1095
|
+
}, "strip", z.ZodTypeAny, {
|
|
1096
1096
|
path: string;
|
|
1097
1097
|
prerender?: {
|
|
1098
1098
|
enabled?: boolean | undefined;
|
|
@@ -2658,7 +2658,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2658
2658
|
} | undefined;
|
|
2659
2659
|
}>>>;
|
|
2660
2660
|
parse: (opts?: z.input<z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2661
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
2661
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
2662
2662
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
2663
2663
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
2664
2664
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -2697,9 +2697,9 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2697
2697
|
}>>>;
|
|
2698
2698
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
2699
2699
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
2700
|
-
}
|
|
2700
|
+
} & {
|
|
2701
2701
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
2702
|
-
}
|
|
2702
|
+
}, "strip", z.ZodTypeAny, {
|
|
2703
2703
|
srcDirectory: string;
|
|
2704
2704
|
target?: "react" | "solid" | undefined;
|
|
2705
2705
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -2794,7 +2794,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2794
2794
|
base?: string | undefined;
|
|
2795
2795
|
dir?: string | undefined;
|
|
2796
2796
|
}>>>;
|
|
2797
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
2797
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2798
2798
|
path: z.ZodString;
|
|
2799
2799
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
2800
2800
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2898,7 +2898,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
2898
2898
|
} | undefined;
|
|
2899
2899
|
}>>;
|
|
2900
2900
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
2901
|
-
}
|
|
2901
|
+
} & {
|
|
2902
2902
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
2903
2903
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
2904
2904
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -3199,7 +3199,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3199
3199
|
html: string;
|
|
3200
3200
|
}, ...args: unknown[]) => any) | undefined;
|
|
3201
3201
|
}>>;
|
|
3202
|
-
}
|
|
3202
|
+
}, "strip", z.ZodTypeAny, {
|
|
3203
3203
|
path: string;
|
|
3204
3204
|
prerender?: {
|
|
3205
3205
|
enabled?: boolean | undefined;
|
|
@@ -3344,7 +3344,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3344
3344
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
3345
3345
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3346
3346
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
3347
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
3347
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
3348
3348
|
path: z.ZodString;
|
|
3349
3349
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
3350
3350
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -3448,7 +3448,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3448
3448
|
} | undefined;
|
|
3449
3449
|
}>>;
|
|
3450
3450
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
3451
|
-
}
|
|
3451
|
+
} & {
|
|
3452
3452
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
3453
3453
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
3454
3454
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -3749,7 +3749,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
3749
3749
|
html: string;
|
|
3750
3750
|
}, ...args: unknown[]) => any) | undefined;
|
|
3751
3751
|
}>>;
|
|
3752
|
-
}
|
|
3752
|
+
}, "strip", z.ZodTypeAny, {
|
|
3753
3753
|
path: string;
|
|
3754
3754
|
prerender?: {
|
|
3755
3755
|
enabled?: boolean | undefined;
|
|
@@ -5586,7 +5586,7 @@ export declare function createTanStackConfig<TFrameworkPlugin extends Record<str
|
|
|
5586
5586
|
};
|
|
5587
5587
|
};
|
|
5588
5588
|
export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Record<string, unknown>): z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5589
|
-
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<
|
|
5589
|
+
tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<{
|
|
5590
5590
|
target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
|
|
5591
5591
|
virtualRouteConfig: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>>;
|
|
5592
5592
|
routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -5625,9 +5625,9 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5625
5625
|
}>>>;
|
|
5626
5626
|
plugins: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodType<import('@tanstack/router-generator').GeneratorPlugin, z.ZodTypeDef, import('@tanstack/router-generator').GeneratorPlugin>, "many">>>;
|
|
5627
5627
|
tmpDir: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
|
|
5628
|
-
}
|
|
5628
|
+
} & {
|
|
5629
5629
|
srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
5630
|
-
}
|
|
5630
|
+
}, "strip", z.ZodTypeAny, {
|
|
5631
5631
|
srcDirectory: string;
|
|
5632
5632
|
target?: "react" | "solid" | undefined;
|
|
5633
5633
|
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
|
|
@@ -5722,7 +5722,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5722
5722
|
base?: string | undefined;
|
|
5723
5723
|
dir?: string | undefined;
|
|
5724
5724
|
}>>>;
|
|
5725
|
-
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<
|
|
5725
|
+
pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5726
5726
|
path: z.ZodString;
|
|
5727
5727
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
5728
5728
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -5826,7 +5826,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
5826
5826
|
} | undefined;
|
|
5827
5827
|
}>>;
|
|
5828
5828
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
5829
|
-
}
|
|
5829
|
+
} & {
|
|
5830
5830
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
5831
5831
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
5832
5832
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -6127,7 +6127,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6127
6127
|
html: string;
|
|
6128
6128
|
}, ...args: unknown[]) => any) | undefined;
|
|
6129
6129
|
}>>;
|
|
6130
|
-
}
|
|
6130
|
+
}, "strip", z.ZodTypeAny, {
|
|
6131
6131
|
path: string;
|
|
6132
6132
|
prerender?: {
|
|
6133
6133
|
enabled?: boolean | undefined;
|
|
@@ -6272,7 +6272,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6272
6272
|
prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
|
|
6273
6273
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6274
6274
|
concurrency: z.ZodOptional<z.ZodNumber>;
|
|
6275
|
-
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<
|
|
6275
|
+
filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
|
|
6276
6276
|
path: z.ZodString;
|
|
6277
6277
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
6278
6278
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6376,7 +6376,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6376
6376
|
} | undefined;
|
|
6377
6377
|
}>>;
|
|
6378
6378
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
6379
|
-
}
|
|
6379
|
+
} & {
|
|
6380
6380
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
6381
6381
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
6382
6382
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -6677,7 +6677,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
6677
6677
|
html: string;
|
|
6678
6678
|
}, ...args: unknown[]) => any) | undefined;
|
|
6679
6679
|
}>>;
|
|
6680
|
-
}
|
|
6680
|
+
}, "strip", z.ZodTypeAny, {
|
|
6681
6681
|
path: string;
|
|
6682
6682
|
prerender?: {
|
|
6683
6683
|
enabled?: boolean | undefined;
|
|
@@ -8242,7 +8242,7 @@ export declare function createTanStackStartOptionsSchema(frameworkPlugin?: Recor
|
|
|
8242
8242
|
maskPath?: string | undefined;
|
|
8243
8243
|
} | undefined;
|
|
8244
8244
|
}>>>;
|
|
8245
|
-
export declare const pageSchema: z.ZodObject<
|
|
8245
|
+
export declare const pageSchema: z.ZodObject<{
|
|
8246
8246
|
path: z.ZodString;
|
|
8247
8247
|
sitemap: z.ZodOptional<z.ZodObject<{
|
|
8248
8248
|
exclude: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -8346,7 +8346,7 @@ export declare const pageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8346
8346
|
} | undefined;
|
|
8347
8347
|
}>>;
|
|
8348
8348
|
fromCrawl: z.ZodOptional<z.ZodBoolean>;
|
|
8349
|
-
}
|
|
8349
|
+
} & {
|
|
8350
8350
|
prerender: z.ZodOptional<z.ZodObject<{
|
|
8351
8351
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
8352
8352
|
outputPath: z.ZodOptional<z.ZodString>;
|
|
@@ -8647,7 +8647,7 @@ export declare const pageSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
8647
8647
|
html: string;
|
|
8648
8648
|
}, ...args: unknown[]) => any) | undefined;
|
|
8649
8649
|
}>>;
|
|
8650
|
-
}
|
|
8650
|
+
}, "strip", z.ZodTypeAny, {
|
|
8651
8651
|
path: string;
|
|
8652
8652
|
prerender?: {
|
|
8653
8653
|
enabled?: boolean | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/start-plugin-core",
|
|
3
|
-
"version": "1.121.
|
|
3
|
+
"version": "1.121.9",
|
|
4
4
|
"description": "Modern and scalable routing for React applications",
|
|
5
5
|
"author": "Tanner Linsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
"xmlbuilder2": "^3.1.1",
|
|
65
65
|
"zod": "^3.24.2",
|
|
66
66
|
"@tanstack/router-core": "^1.121.2",
|
|
67
|
-
"@tanstack/router-
|
|
68
|
-
"@tanstack/router-
|
|
67
|
+
"@tanstack/router-plugin": "^1.121.9",
|
|
68
|
+
"@tanstack/router-generator": "^1.121.9",
|
|
69
69
|
"@tanstack/router-utils": "^1.121.0",
|
|
70
|
-
"@tanstack/
|
|
71
|
-
"@tanstack/server-
|
|
70
|
+
"@tanstack/server-functions-plugin": "^1.121.0",
|
|
71
|
+
"@tanstack/start-server-core": "^1.121.2"
|
|
72
72
|
},
|
|
73
73
|
"devDependencies": {
|
|
74
74
|
"vite": "^6.0.0"
|