@tanstack/start-plugin-core 1.120.4-alpha.16 → 1.120.4-alpha.3

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.
Files changed (42) hide show
  1. package/dist/cjs/nitro/dev-server-plugin.cjs +3 -11
  2. package/dist/cjs/nitro/dev-server-plugin.cjs.map +1 -1
  3. package/dist/cjs/nitro/nitro-plugin.cjs +5 -40
  4. package/dist/cjs/nitro/nitro-plugin.cjs.map +1 -1
  5. package/dist/cjs/plugin.cjs +15 -42
  6. package/dist/cjs/plugin.cjs.map +1 -1
  7. package/dist/cjs/plugin.d.cts +1 -626
  8. package/dist/cjs/prerender.cjs +15 -27
  9. package/dist/cjs/prerender.cjs.map +1 -1
  10. package/dist/cjs/schema.cjs +1 -15
  11. package/dist/cjs/schema.cjs.map +1 -1
  12. package/dist/cjs/schema.d.cts +542 -2319
  13. package/dist/cjs/start-server-routes-plugin/plugin.cjs +2 -6
  14. package/dist/cjs/start-server-routes-plugin/plugin.cjs.map +1 -1
  15. package/dist/esm/nitro/dev-server-plugin.js +3 -11
  16. package/dist/esm/nitro/dev-server-plugin.js.map +1 -1
  17. package/dist/esm/nitro/nitro-plugin.js +5 -40
  18. package/dist/esm/nitro/nitro-plugin.js.map +1 -1
  19. package/dist/esm/plugin.d.ts +1 -626
  20. package/dist/esm/plugin.js +15 -42
  21. package/dist/esm/plugin.js.map +1 -1
  22. package/dist/esm/prerender.js +15 -27
  23. package/dist/esm/prerender.js.map +1 -1
  24. package/dist/esm/schema.d.ts +542 -2319
  25. package/dist/esm/schema.js +1 -15
  26. package/dist/esm/schema.js.map +1 -1
  27. package/dist/esm/start-server-routes-plugin/plugin.js +2 -6
  28. package/dist/esm/start-server-routes-plugin/plugin.js.map +1 -1
  29. package/package.json +4 -5
  30. package/src/nitro/dev-server-plugin.ts +4 -14
  31. package/src/nitro/nitro-plugin.ts +3 -46
  32. package/src/plugin.ts +15 -51
  33. package/src/prerender.ts +19 -34
  34. package/src/schema.ts +0 -18
  35. package/src/start-server-routes-plugin/plugin.ts +2 -10
  36. package/dist/cjs/constants.cjs +0 -10
  37. package/dist/cjs/constants.cjs.map +0 -1
  38. package/dist/cjs/constants.d.cts +0 -4
  39. package/dist/esm/constants.d.ts +0 -4
  40. package/dist/esm/constants.js +0 -10
  41. package/dist/esm/constants.js.map +0 -1
  42. package/src/constants.ts +0 -6
@@ -245,7 +245,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
245
245
  }, {
246
246
  prerender: z.ZodOptional<z.ZodObject<{
247
247
  enabled: z.ZodOptional<z.ZodBoolean>;
248
- outputPath: z.ZodOptional<z.ZodString>;
249
248
  autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
250
249
  crawlLinks: z.ZodOptional<z.ZodBoolean>;
251
250
  retryCount: z.ZodOptional<z.ZodNumber>;
@@ -470,7 +469,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
470
469
  }>], z.ZodUnknown>, z.ZodAny>>;
471
470
  }, "strip", z.ZodTypeAny, {
472
471
  enabled?: boolean | undefined;
473
- outputPath?: string | undefined;
474
472
  autoSubfolderIndex?: boolean | undefined;
475
473
  crawlLinks?: boolean | undefined;
476
474
  retryCount?: number | undefined;
@@ -507,7 +505,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
507
505
  }, ...args: unknown[]) => any) | undefined;
508
506
  }, {
509
507
  enabled?: boolean | undefined;
510
- outputPath?: string | undefined;
511
508
  autoSubfolderIndex?: boolean | undefined;
512
509
  crawlLinks?: boolean | undefined;
513
510
  retryCount?: number | undefined;
@@ -547,7 +544,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
547
544
  path: string;
548
545
  prerender?: {
549
546
  enabled?: boolean | undefined;
550
- outputPath?: string | undefined;
551
547
  autoSubfolderIndex?: boolean | undefined;
552
548
  crawlLinks?: boolean | undefined;
553
549
  retryCount?: number | undefined;
@@ -611,7 +607,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
611
607
  path: string;
612
608
  prerender?: {
613
609
  enabled?: boolean | undefined;
614
- outputPath?: string | undefined;
615
610
  autoSubfolderIndex?: boolean | undefined;
616
611
  crawlLinks?: boolean | undefined;
617
612
  retryCount?: number | undefined;
@@ -674,7 +669,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
674
669
  }>]>, "many">>>;
675
670
  sitemap: z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
676
671
  enabled: z.ZodOptional<z.ZodBoolean>;
677
- outputPath: z.ZodOptional<z.ZodString>;
678
672
  autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
679
673
  crawlLinks: z.ZodOptional<z.ZodBoolean>;
680
674
  retryCount: z.ZodOptional<z.ZodNumber>;
@@ -902,7 +896,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
902
896
  }>, "strip", z.ZodTypeAny, {
903
897
  host?: string | undefined;
904
898
  enabled?: boolean | undefined;
905
- outputPath?: string | undefined;
906
899
  autoSubfolderIndex?: boolean | undefined;
907
900
  crawlLinks?: boolean | undefined;
908
901
  retryCount?: number | undefined;
@@ -940,7 +933,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
940
933
  }, {
941
934
  host?: string | undefined;
942
935
  enabled?: boolean | undefined;
943
- outputPath?: string | undefined;
944
936
  autoSubfolderIndex?: boolean | undefined;
945
937
  crawlLinks?: boolean | undefined;
946
938
  retryCount?: number | undefined;
@@ -1086,7 +1078,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1086
1078
  }, {
1087
1079
  prerender: z.ZodOptional<z.ZodObject<{
1088
1080
  enabled: z.ZodOptional<z.ZodBoolean>;
1089
- outputPath: z.ZodOptional<z.ZodString>;
1090
1081
  autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1091
1082
  crawlLinks: z.ZodOptional<z.ZodBoolean>;
1092
1083
  retryCount: z.ZodOptional<z.ZodNumber>;
@@ -1311,7 +1302,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1311
1302
  }>], z.ZodUnknown>, z.ZodAny>>;
1312
1303
  }, "strip", z.ZodTypeAny, {
1313
1304
  enabled?: boolean | undefined;
1314
- outputPath?: string | undefined;
1315
1305
  autoSubfolderIndex?: boolean | undefined;
1316
1306
  crawlLinks?: boolean | undefined;
1317
1307
  retryCount?: number | undefined;
@@ -1348,7 +1338,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1348
1338
  }, ...args: unknown[]) => any) | undefined;
1349
1339
  }, {
1350
1340
  enabled?: boolean | undefined;
1351
- outputPath?: string | undefined;
1352
1341
  autoSubfolderIndex?: boolean | undefined;
1353
1342
  crawlLinks?: boolean | undefined;
1354
1343
  retryCount?: number | undefined;
@@ -1388,7 +1377,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1388
1377
  path: string;
1389
1378
  prerender?: {
1390
1379
  enabled?: boolean | undefined;
1391
- outputPath?: string | undefined;
1392
1380
  autoSubfolderIndex?: boolean | undefined;
1393
1381
  crawlLinks?: boolean | undefined;
1394
1382
  retryCount?: number | undefined;
@@ -1452,7 +1440,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1452
1440
  path: string;
1453
1441
  prerender?: {
1454
1442
  enabled?: boolean | undefined;
1455
- outputPath?: string | undefined;
1456
1443
  autoSubfolderIndex?: boolean | undefined;
1457
1444
  crawlLinks?: boolean | undefined;
1458
1445
  retryCount?: number | undefined;
@@ -1519,7 +1506,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1519
1506
  path: string;
1520
1507
  prerender?: {
1521
1508
  enabled?: boolean | undefined;
1522
- outputPath?: string | undefined;
1523
1509
  autoSubfolderIndex?: boolean | undefined;
1524
1510
  crawlLinks?: boolean | undefined;
1525
1511
  retryCount?: number | undefined;
@@ -1588,7 +1574,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1588
1574
  path: string;
1589
1575
  prerender?: {
1590
1576
  enabled?: boolean | undefined;
1591
- outputPath?: string | undefined;
1592
1577
  autoSubfolderIndex?: boolean | undefined;
1593
1578
  crawlLinks?: boolean | undefined;
1594
1579
  retryCount?: number | undefined;
@@ -1654,7 +1639,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1654
1639
  failOnError?: boolean | undefined;
1655
1640
  }>, z.ZodOptional<z.ZodObject<{
1656
1641
  enabled: z.ZodOptional<z.ZodBoolean>;
1657
- outputPath: z.ZodOptional<z.ZodString>;
1658
1642
  autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1659
1643
  crawlLinks: z.ZodOptional<z.ZodBoolean>;
1660
1644
  retryCount: z.ZodOptional<z.ZodNumber>;
@@ -1879,7 +1863,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1879
1863
  }>], z.ZodUnknown>, z.ZodAny>>;
1880
1864
  }, "strip", z.ZodTypeAny, {
1881
1865
  enabled?: boolean | undefined;
1882
- outputPath?: string | undefined;
1883
1866
  autoSubfolderIndex?: boolean | undefined;
1884
1867
  crawlLinks?: boolean | undefined;
1885
1868
  retryCount?: number | undefined;
@@ -1916,7 +1899,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1916
1899
  }, ...args: unknown[]) => any) | undefined;
1917
1900
  }, {
1918
1901
  enabled?: boolean | undefined;
1919
- outputPath?: string | undefined;
1920
1902
  autoSubfolderIndex?: boolean | undefined;
1921
1903
  crawlLinks?: boolean | undefined;
1922
1904
  retryCount?: number | undefined;
@@ -1952,469 +1934,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
1952
1934
  html: string;
1953
1935
  }, ...args: unknown[]) => any) | undefined;
1954
1936
  }>>>>;
1955
- shell: z.ZodOptional<z.ZodObject<{
1956
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1957
- maskPath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1958
- autoRedirect: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1959
- prerender: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodObject<{
1960
- enabled: z.ZodOptional<z.ZodBoolean>;
1961
- outputPath: z.ZodOptional<z.ZodString>;
1962
- autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1963
- crawlLinks: z.ZodOptional<z.ZodBoolean>;
1964
- retryCount: z.ZodOptional<z.ZodNumber>;
1965
- retryDelay: z.ZodOptional<z.ZodNumber>;
1966
- onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1967
- page: z.ZodObject<{
1968
- path: z.ZodString;
1969
- sitemap: z.ZodOptional<z.ZodObject<{
1970
- exclude: z.ZodOptional<z.ZodBoolean>;
1971
- priority: z.ZodOptional<z.ZodNumber>;
1972
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
1973
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1974
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1975
- href: z.ZodString;
1976
- hreflang: z.ZodString;
1977
- }, "strip", z.ZodTypeAny, {
1978
- href: string;
1979
- hreflang: string;
1980
- }, {
1981
- href: string;
1982
- hreflang: string;
1983
- }>, "many">>;
1984
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1985
- loc: z.ZodString;
1986
- caption: z.ZodOptional<z.ZodString>;
1987
- title: z.ZodOptional<z.ZodString>;
1988
- }, "strip", z.ZodTypeAny, {
1989
- loc: string;
1990
- caption?: string | undefined;
1991
- title?: string | undefined;
1992
- }, {
1993
- loc: string;
1994
- caption?: string | undefined;
1995
- title?: string | undefined;
1996
- }>, "many">>;
1997
- news: z.ZodOptional<z.ZodObject<{
1998
- publication: z.ZodObject<{
1999
- name: z.ZodString;
2000
- language: z.ZodString;
2001
- }, "strip", z.ZodTypeAny, {
2002
- name: string;
2003
- language: string;
2004
- }, {
2005
- name: string;
2006
- language: string;
2007
- }>;
2008
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
2009
- title: z.ZodString;
2010
- }, "strip", z.ZodTypeAny, {
2011
- title: string;
2012
- publication: {
2013
- name: string;
2014
- language: string;
2015
- };
2016
- publicationDate: string | Date;
2017
- }, {
2018
- title: string;
2019
- publication: {
2020
- name: string;
2021
- language: string;
2022
- };
2023
- publicationDate: string | Date;
2024
- }>>;
2025
- }, "strip", z.ZodTypeAny, {
2026
- lastmod?: string | Date | undefined;
2027
- exclude?: boolean | undefined;
2028
- priority?: number | undefined;
2029
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2030
- alternateRefs?: {
2031
- href: string;
2032
- hreflang: string;
2033
- }[] | undefined;
2034
- images?: {
2035
- loc: string;
2036
- caption?: string | undefined;
2037
- title?: string | undefined;
2038
- }[] | undefined;
2039
- news?: {
2040
- title: string;
2041
- publication: {
2042
- name: string;
2043
- language: string;
2044
- };
2045
- publicationDate: string | Date;
2046
- } | undefined;
2047
- }, {
2048
- lastmod?: string | Date | undefined;
2049
- exclude?: boolean | undefined;
2050
- priority?: number | undefined;
2051
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2052
- alternateRefs?: {
2053
- href: string;
2054
- hreflang: string;
2055
- }[] | undefined;
2056
- images?: {
2057
- loc: string;
2058
- caption?: string | undefined;
2059
- title?: string | undefined;
2060
- }[] | undefined;
2061
- news?: {
2062
- title: string;
2063
- publication: {
2064
- name: string;
2065
- language: string;
2066
- };
2067
- publicationDate: string | Date;
2068
- } | undefined;
2069
- }>>;
2070
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
2071
- }, "strip", z.ZodTypeAny, {
2072
- path: string;
2073
- sitemap?: {
2074
- lastmod?: string | Date | undefined;
2075
- exclude?: boolean | undefined;
2076
- priority?: number | undefined;
2077
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2078
- alternateRefs?: {
2079
- href: string;
2080
- hreflang: string;
2081
- }[] | undefined;
2082
- images?: {
2083
- loc: string;
2084
- caption?: string | undefined;
2085
- title?: string | undefined;
2086
- }[] | undefined;
2087
- news?: {
2088
- title: string;
2089
- publication: {
2090
- name: string;
2091
- language: string;
2092
- };
2093
- publicationDate: string | Date;
2094
- } | undefined;
2095
- } | undefined;
2096
- fromCrawl?: boolean | undefined;
2097
- }, {
2098
- path: string;
2099
- sitemap?: {
2100
- lastmod?: string | Date | undefined;
2101
- exclude?: boolean | undefined;
2102
- priority?: number | undefined;
2103
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2104
- alternateRefs?: {
2105
- href: string;
2106
- hreflang: string;
2107
- }[] | undefined;
2108
- images?: {
2109
- loc: string;
2110
- caption?: string | undefined;
2111
- title?: string | undefined;
2112
- }[] | undefined;
2113
- news?: {
2114
- title: string;
2115
- publication: {
2116
- name: string;
2117
- language: string;
2118
- };
2119
- publicationDate: string | Date;
2120
- } | undefined;
2121
- } | undefined;
2122
- fromCrawl?: boolean | undefined;
2123
- }>;
2124
- html: z.ZodString;
2125
- }, "strip", z.ZodTypeAny, {
2126
- page: {
2127
- path: string;
2128
- sitemap?: {
2129
- lastmod?: string | Date | undefined;
2130
- exclude?: boolean | undefined;
2131
- priority?: number | undefined;
2132
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2133
- alternateRefs?: {
2134
- href: string;
2135
- hreflang: string;
2136
- }[] | undefined;
2137
- images?: {
2138
- loc: string;
2139
- caption?: string | undefined;
2140
- title?: string | undefined;
2141
- }[] | undefined;
2142
- news?: {
2143
- title: string;
2144
- publication: {
2145
- name: string;
2146
- language: string;
2147
- };
2148
- publicationDate: string | Date;
2149
- } | undefined;
2150
- } | undefined;
2151
- fromCrawl?: boolean | undefined;
2152
- };
2153
- html: string;
2154
- }, {
2155
- page: {
2156
- path: string;
2157
- sitemap?: {
2158
- lastmod?: string | Date | undefined;
2159
- exclude?: boolean | undefined;
2160
- priority?: number | undefined;
2161
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2162
- alternateRefs?: {
2163
- href: string;
2164
- hreflang: string;
2165
- }[] | undefined;
2166
- images?: {
2167
- loc: string;
2168
- caption?: string | undefined;
2169
- title?: string | undefined;
2170
- }[] | undefined;
2171
- news?: {
2172
- title: string;
2173
- publication: {
2174
- name: string;
2175
- language: string;
2176
- };
2177
- publicationDate: string | Date;
2178
- } | undefined;
2179
- } | undefined;
2180
- fromCrawl?: boolean | undefined;
2181
- };
2182
- html: string;
2183
- }>], z.ZodUnknown>, z.ZodAny>>;
2184
- }, "strip", z.ZodTypeAny, {
2185
- enabled?: boolean | undefined;
2186
- outputPath?: string | undefined;
2187
- autoSubfolderIndex?: boolean | undefined;
2188
- crawlLinks?: boolean | undefined;
2189
- retryCount?: number | undefined;
2190
- retryDelay?: number | undefined;
2191
- onSuccess?: ((args_0: {
2192
- page: {
2193
- path: string;
2194
- sitemap?: {
2195
- lastmod?: string | Date | undefined;
2196
- exclude?: boolean | undefined;
2197
- priority?: number | undefined;
2198
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2199
- alternateRefs?: {
2200
- href: string;
2201
- hreflang: string;
2202
- }[] | undefined;
2203
- images?: {
2204
- loc: string;
2205
- caption?: string | undefined;
2206
- title?: string | undefined;
2207
- }[] | undefined;
2208
- news?: {
2209
- title: string;
2210
- publication: {
2211
- name: string;
2212
- language: string;
2213
- };
2214
- publicationDate: string | Date;
2215
- } | undefined;
2216
- } | undefined;
2217
- fromCrawl?: boolean | undefined;
2218
- };
2219
- html: string;
2220
- }, ...args: unknown[]) => any) | undefined;
2221
- }, {
2222
- enabled?: boolean | undefined;
2223
- outputPath?: string | undefined;
2224
- autoSubfolderIndex?: boolean | undefined;
2225
- crawlLinks?: boolean | undefined;
2226
- retryCount?: number | undefined;
2227
- retryDelay?: number | undefined;
2228
- onSuccess?: ((args_0: {
2229
- page: {
2230
- path: string;
2231
- sitemap?: {
2232
- lastmod?: string | Date | undefined;
2233
- exclude?: boolean | undefined;
2234
- priority?: number | undefined;
2235
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2236
- alternateRefs?: {
2237
- href: string;
2238
- hreflang: string;
2239
- }[] | undefined;
2240
- images?: {
2241
- loc: string;
2242
- caption?: string | undefined;
2243
- title?: string | undefined;
2244
- }[] | undefined;
2245
- news?: {
2246
- title: string;
2247
- publication: {
2248
- name: string;
2249
- language: string;
2250
- };
2251
- publicationDate: string | Date;
2252
- } | undefined;
2253
- } | undefined;
2254
- fromCrawl?: boolean | undefined;
2255
- };
2256
- html: string;
2257
- }, ...args: unknown[]) => any) | undefined;
2258
- }>>>, {
2259
- enabled: boolean;
2260
- outputPath: string;
2261
- autoSubfolderIndex?: boolean | undefined;
2262
- crawlLinks: boolean;
2263
- retryCount: number;
2264
- retryDelay?: number | undefined;
2265
- onSuccess?: ((args_0: {
2266
- page: {
2267
- path: string;
2268
- sitemap?: {
2269
- lastmod?: string | Date | undefined;
2270
- exclude?: boolean | undefined;
2271
- priority?: number | undefined;
2272
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2273
- alternateRefs?: {
2274
- href: string;
2275
- hreflang: string;
2276
- }[] | undefined;
2277
- images?: {
2278
- loc: string;
2279
- caption?: string | undefined;
2280
- title?: string | undefined;
2281
- }[] | undefined;
2282
- news?: {
2283
- title: string;
2284
- publication: {
2285
- name: string;
2286
- language: string;
2287
- };
2288
- publicationDate: string | Date;
2289
- } | undefined;
2290
- } | undefined;
2291
- fromCrawl?: boolean | undefined;
2292
- };
2293
- html: string;
2294
- }, ...args: unknown[]) => any) | undefined;
2295
- }, {
2296
- enabled?: boolean | undefined;
2297
- outputPath?: string | undefined;
2298
- autoSubfolderIndex?: boolean | undefined;
2299
- crawlLinks?: boolean | undefined;
2300
- retryCount?: number | undefined;
2301
- retryDelay?: number | undefined;
2302
- onSuccess?: ((args_0: {
2303
- page: {
2304
- path: string;
2305
- sitemap?: {
2306
- lastmod?: string | Date | undefined;
2307
- exclude?: boolean | undefined;
2308
- priority?: number | undefined;
2309
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2310
- alternateRefs?: {
2311
- href: string;
2312
- hreflang: string;
2313
- }[] | undefined;
2314
- images?: {
2315
- loc: string;
2316
- caption?: string | undefined;
2317
- title?: string | undefined;
2318
- }[] | undefined;
2319
- news?: {
2320
- title: string;
2321
- publication: {
2322
- name: string;
2323
- language: string;
2324
- };
2325
- publicationDate: string | Date;
2326
- } | undefined;
2327
- } | undefined;
2328
- fromCrawl?: boolean | undefined;
2329
- };
2330
- html: string;
2331
- }, ...args: unknown[]) => any) | undefined;
2332
- } | undefined>;
2333
- }, "strip", z.ZodTypeAny, {
2334
- prerender: {
2335
- enabled: boolean;
2336
- outputPath: string;
2337
- autoSubfolderIndex?: boolean | undefined;
2338
- crawlLinks: boolean;
2339
- retryCount: number;
2340
- retryDelay?: number | undefined;
2341
- onSuccess?: ((args_0: {
2342
- page: {
2343
- path: string;
2344
- sitemap?: {
2345
- lastmod?: string | Date | undefined;
2346
- exclude?: boolean | undefined;
2347
- priority?: number | undefined;
2348
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2349
- alternateRefs?: {
2350
- href: string;
2351
- hreflang: string;
2352
- }[] | undefined;
2353
- images?: {
2354
- loc: string;
2355
- caption?: string | undefined;
2356
- title?: string | undefined;
2357
- }[] | undefined;
2358
- news?: {
2359
- title: string;
2360
- publication: {
2361
- name: string;
2362
- language: string;
2363
- };
2364
- publicationDate: string | Date;
2365
- } | undefined;
2366
- } | undefined;
2367
- fromCrawl?: boolean | undefined;
2368
- };
2369
- html: string;
2370
- }, ...args: unknown[]) => any) | undefined;
2371
- };
2372
- enabled: boolean;
2373
- maskPath: string;
2374
- autoRedirect: boolean;
2375
- }, {
2376
- prerender?: {
2377
- enabled?: boolean | undefined;
2378
- outputPath?: string | undefined;
2379
- autoSubfolderIndex?: boolean | undefined;
2380
- crawlLinks?: boolean | undefined;
2381
- retryCount?: number | undefined;
2382
- retryDelay?: number | undefined;
2383
- onSuccess?: ((args_0: {
2384
- page: {
2385
- path: string;
2386
- sitemap?: {
2387
- lastmod?: string | Date | undefined;
2388
- exclude?: boolean | undefined;
2389
- priority?: number | undefined;
2390
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2391
- alternateRefs?: {
2392
- href: string;
2393
- hreflang: string;
2394
- }[] | undefined;
2395
- images?: {
2396
- loc: string;
2397
- caption?: string | undefined;
2398
- title?: string | undefined;
2399
- }[] | undefined;
2400
- news?: {
2401
- title: string;
2402
- publication: {
2403
- name: string;
2404
- language: string;
2405
- };
2406
- publicationDate: string | Date;
2407
- } | undefined;
2408
- } | undefined;
2409
- fromCrawl?: boolean | undefined;
2410
- };
2411
- html: string;
2412
- }, ...args: unknown[]) => any) | undefined;
2413
- } | undefined;
2414
- enabled?: boolean | undefined;
2415
- maskPath?: string | undefined;
2416
- autoRedirect?: boolean | undefined;
2417
- }>>;
2418
1937
  root: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2419
1938
  target: z.ZodOptional<z.ZodType<import('nitropack/presets').PresetNameInput | undefined, z.ZodTypeDef, import('nitropack/presets').PresetNameInput | undefined>>;
2420
1939
  }, "strip", z.ZodTypeAny, {
@@ -2468,7 +1987,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2468
1987
  path: string;
2469
1988
  prerender?: {
2470
1989
  enabled?: boolean | undefined;
2471
- outputPath?: string | undefined;
2472
1990
  autoSubfolderIndex?: boolean | undefined;
2473
1991
  crawlLinks?: boolean | undefined;
2474
1992
  retryCount?: number | undefined;
@@ -2535,7 +2053,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2535
2053
  path: string;
2536
2054
  prerender?: {
2537
2055
  enabled?: boolean | undefined;
2538
- outputPath?: string | undefined;
2539
2056
  autoSubfolderIndex?: boolean | undefined;
2540
2057
  crawlLinks?: boolean | undefined;
2541
2058
  retryCount?: number | undefined;
@@ -2601,7 +2118,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2601
2118
  failOnError?: boolean | undefined;
2602
2119
  } & {
2603
2120
  enabled?: boolean | undefined;
2604
- outputPath?: string | undefined;
2605
2121
  autoSubfolderIndex?: boolean | undefined;
2606
2122
  crawlLinks?: boolean | undefined;
2607
2123
  retryCount?: number | undefined;
@@ -2640,7 +2156,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2640
2156
  sitemap?: {
2641
2157
  host?: string | undefined;
2642
2158
  enabled?: boolean | undefined;
2643
- outputPath?: string | undefined;
2644
2159
  autoSubfolderIndex?: boolean | undefined;
2645
2160
  crawlLinks?: boolean | undefined;
2646
2161
  retryCount?: number | undefined;
@@ -2676,49 +2191,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2676
2191
  html: string;
2677
2192
  }, ...args: unknown[]) => any) | undefined;
2678
2193
  } | undefined;
2679
- shell?: {
2680
- prerender: {
2681
- enabled: boolean;
2682
- outputPath: string;
2683
- autoSubfolderIndex?: boolean | undefined;
2684
- crawlLinks: boolean;
2685
- retryCount: number;
2686
- retryDelay?: number | undefined;
2687
- onSuccess?: ((args_0: {
2688
- page: {
2689
- path: string;
2690
- sitemap?: {
2691
- lastmod?: string | Date | undefined;
2692
- exclude?: boolean | undefined;
2693
- priority?: number | undefined;
2694
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2695
- alternateRefs?: {
2696
- href: string;
2697
- hreflang: string;
2698
- }[] | undefined;
2699
- images?: {
2700
- loc: string;
2701
- caption?: string | undefined;
2702
- title?: string | undefined;
2703
- }[] | undefined;
2704
- news?: {
2705
- title: string;
2706
- publication: {
2707
- name: string;
2708
- language: string;
2709
- };
2710
- publicationDate: string | Date;
2711
- } | undefined;
2712
- } | undefined;
2713
- fromCrawl?: boolean | undefined;
2714
- };
2715
- html: string;
2716
- }, ...args: unknown[]) => any) | undefined;
2717
- };
2718
- enabled: boolean;
2719
- maskPath: string;
2720
- autoRedirect: boolean;
2721
- } | undefined;
2722
2194
  }, {
2723
2195
  client?: {
2724
2196
  entry?: string | undefined;
@@ -2734,7 +2206,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2734
2206
  path: string;
2735
2207
  prerender?: {
2736
2208
  enabled?: boolean | undefined;
2737
- outputPath?: string | undefined;
2738
2209
  autoSubfolderIndex?: boolean | undefined;
2739
2210
  crawlLinks?: boolean | undefined;
2740
2211
  retryCount?: number | undefined;
@@ -2800,7 +2271,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2800
2271
  failOnError?: boolean | undefined;
2801
2272
  } & {
2802
2273
  enabled?: boolean | undefined;
2803
- outputPath?: string | undefined;
2804
2274
  autoSubfolderIndex?: boolean | undefined;
2805
2275
  crawlLinks?: boolean | undefined;
2806
2276
  retryCount?: number | undefined;
@@ -2877,7 +2347,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2877
2347
  sitemap?: {
2878
2348
  host?: string | undefined;
2879
2349
  enabled?: boolean | undefined;
2880
- outputPath?: string | undefined;
2881
2350
  autoSubfolderIndex?: boolean | undefined;
2882
2351
  crawlLinks?: boolean | undefined;
2883
2352
  retryCount?: number | undefined;
@@ -2917,7 +2386,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2917
2386
  path: string;
2918
2387
  prerender?: {
2919
2388
  enabled?: boolean | undefined;
2920
- outputPath?: string | undefined;
2921
2389
  autoSubfolderIndex?: boolean | undefined;
2922
2390
  crawlLinks?: boolean | undefined;
2923
2391
  retryCount?: number | undefined;
@@ -2978,49 +2446,6 @@ declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject
2978
2446
  } | undefined;
2979
2447
  fromCrawl?: boolean | undefined;
2980
2448
  })[] | undefined;
2981
- shell?: {
2982
- prerender?: {
2983
- enabled?: boolean | undefined;
2984
- outputPath?: string | undefined;
2985
- autoSubfolderIndex?: boolean | undefined;
2986
- crawlLinks?: boolean | undefined;
2987
- retryCount?: number | undefined;
2988
- retryDelay?: number | undefined;
2989
- onSuccess?: ((args_0: {
2990
- page: {
2991
- path: string;
2992
- sitemap?: {
2993
- lastmod?: string | Date | undefined;
2994
- exclude?: boolean | undefined;
2995
- priority?: number | undefined;
2996
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
2997
- alternateRefs?: {
2998
- href: string;
2999
- hreflang: string;
3000
- }[] | undefined;
3001
- images?: {
3002
- loc: string;
3003
- caption?: string | undefined;
3004
- title?: string | undefined;
3005
- }[] | undefined;
3006
- news?: {
3007
- title: string;
3008
- publication: {
3009
- name: string;
3010
- language: string;
3011
- };
3012
- publicationDate: string | Date;
3013
- } | undefined;
3014
- } | undefined;
3015
- fromCrawl?: boolean | undefined;
3016
- };
3017
- html: string;
3018
- }, ...args: unknown[]) => any) | undefined;
3019
- } | undefined;
3020
- enabled?: boolean | undefined;
3021
- maskPath?: string | undefined;
3022
- autoRedirect?: boolean | undefined;
3023
- } | undefined;
3024
2449
  }>>>;
3025
2450
  export type TanStackStartInputConfig = z.input<typeof TanStackStartOptionsSchema>;
3026
2451
  export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig): {
@@ -3076,7 +2501,6 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
3076
2501
  path: string;
3077
2502
  prerender?: {
3078
2503
  enabled?: boolean | undefined;
3079
- outputPath?: string | undefined;
3080
2504
  autoSubfolderIndex?: boolean | undefined;
3081
2505
  crawlLinks?: boolean | undefined;
3082
2506
  retryCount?: number | undefined;
@@ -3143,7 +2567,6 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
3143
2567
  path: string;
3144
2568
  prerender?: {
3145
2569
  enabled?: boolean | undefined;
3146
- outputPath?: string | undefined;
3147
2570
  autoSubfolderIndex?: boolean | undefined;
3148
2571
  crawlLinks?: boolean | undefined;
3149
2572
  retryCount?: number | undefined;
@@ -3209,7 +2632,6 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
3209
2632
  failOnError?: boolean | undefined;
3210
2633
  } & {
3211
2634
  enabled?: boolean | undefined;
3212
- outputPath?: string | undefined;
3213
2635
  autoSubfolderIndex?: boolean | undefined;
3214
2636
  crawlLinks?: boolean | undefined;
3215
2637
  retryCount?: number | undefined;
@@ -3248,7 +2670,6 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
3248
2670
  sitemap?: {
3249
2671
  host?: string | undefined;
3250
2672
  enabled?: boolean | undefined;
3251
- outputPath?: string | undefined;
3252
2673
  autoSubfolderIndex?: boolean | undefined;
3253
2674
  crawlLinks?: boolean | undefined;
3254
2675
  retryCount?: number | undefined;
@@ -3284,55 +2705,9 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
3284
2705
  html: string;
3285
2706
  }, ...args: unknown[]) => any) | undefined;
3286
2707
  } | undefined;
3287
- shell?: {
3288
- prerender: {
3289
- enabled: boolean;
3290
- outputPath: string;
3291
- autoSubfolderIndex?: boolean | undefined;
3292
- crawlLinks: boolean;
3293
- retryCount: number;
3294
- retryDelay?: number | undefined;
3295
- onSuccess?: ((args_0: {
3296
- page: {
3297
- path: string;
3298
- sitemap?: {
3299
- lastmod?: string | Date | undefined;
3300
- exclude?: boolean | undefined;
3301
- priority?: number | undefined;
3302
- changefreq?: "never" | "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | undefined;
3303
- alternateRefs?: {
3304
- href: string;
3305
- hreflang: string;
3306
- }[] | undefined;
3307
- images?: {
3308
- loc: string;
3309
- caption?: string | undefined;
3310
- title?: string | undefined;
3311
- }[] | undefined;
3312
- news?: {
3313
- title: string;
3314
- publication: {
3315
- name: string;
3316
- language: string;
3317
- };
3318
- publicationDate: string | Date;
3319
- } | undefined;
3320
- } | undefined;
3321
- fromCrawl?: boolean | undefined;
3322
- };
3323
- html: string;
3324
- }, ...args: unknown[]) => any) | undefined;
3325
- };
3326
- enabled: boolean;
3327
- maskPath: string;
3328
- autoRedirect: boolean;
3329
- } | undefined;
3330
2708
  };
3331
2709
  export type TanStackStartOutputConfig = ReturnType<typeof getTanStackStartOptions>;
3332
2710
  export declare const clientDistDir = ".tanstack-start/build/client-dist";
3333
2711
  export declare const ssrEntryFile = "ssr.mjs";
3334
- export interface TanStackStartVitePluginCoreOptions {
3335
- framework: CompileStartFrameworkOptions;
3336
- }
3337
- export declare function TanStackStartVitePluginCore(opts: TanStackStartVitePluginCoreOptions, startConfig: TanStackStartOutputConfig): Array<PluginOption>;
2712
+ export declare function TanStackStartVitePluginCore(framework: CompileStartFrameworkOptions, opts: TanStackStartOutputConfig): Array<PluginOption>;
3338
2713
  export {};