@tanstack/start-plugin-core 1.121.0-alpha.8 → 1.121.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. package/dist/cjs/compilers.cjs +24 -10
  2. package/dist/cjs/compilers.cjs.map +1 -1
  3. package/dist/cjs/constants.cjs +10 -0
  4. package/dist/cjs/constants.cjs.map +1 -1
  5. package/dist/cjs/constants.d.cts +2 -0
  6. package/dist/cjs/debug.cjs +5 -0
  7. package/dist/cjs/debug.cjs.map +1 -0
  8. package/dist/cjs/debug.d.cts +1 -0
  9. package/dist/cjs/{extractHtmlScripts.cjs → dev-server-plugin/extract-html-scripts.cjs} +1 -1
  10. package/dist/cjs/dev-server-plugin/extract-html-scripts.cjs.map +1 -0
  11. package/dist/cjs/{nitro/dev-server-plugin.cjs → dev-server-plugin/plugin.cjs} +2 -2
  12. package/dist/cjs/dev-server-plugin/plugin.cjs.map +1 -0
  13. package/dist/cjs/load-env-plugin/plugin.cjs +34 -0
  14. package/dist/cjs/load-env-plugin/plugin.cjs.map +1 -0
  15. package/dist/cjs/load-env-plugin/plugin.d.cts +3 -0
  16. package/dist/cjs/{build-sitemap.cjs → nitro-plugin/build-sitemap.cjs} +12 -10
  17. package/dist/cjs/nitro-plugin/build-sitemap.cjs.map +1 -0
  18. package/dist/cjs/{build-sitemap.d.cts → nitro-plugin/build-sitemap.d.cts} +2 -2
  19. package/dist/cjs/{nitro/nitro-plugin.cjs → nitro-plugin/plugin.cjs} +79 -65
  20. package/dist/cjs/nitro-plugin/plugin.cjs.map +1 -0
  21. package/dist/cjs/{prerender.cjs → nitro-plugin/prerender.cjs} +18 -14
  22. package/dist/cjs/nitro-plugin/prerender.cjs.map +1 -0
  23. package/dist/cjs/{prerender.d.cts → nitro-plugin/prerender.d.cts} +1 -1
  24. package/dist/cjs/nitro-plugin/queue.cjs.map +1 -0
  25. package/dist/cjs/plugin.cjs +50 -38
  26. package/dist/cjs/plugin.cjs.map +1 -1
  27. package/dist/cjs/plugin.d.cts +14 -2657
  28. package/dist/cjs/resolve-virtual-entries-plugin/plugin.cjs +66 -0
  29. package/dist/cjs/resolve-virtual-entries-plugin/plugin.cjs.map +1 -0
  30. package/dist/cjs/resolve-virtual-entries-plugin/plugin.d.cts +3 -0
  31. package/dist/cjs/schema.cjs +5 -5
  32. package/dist/cjs/schema.cjs.map +1 -1
  33. package/dist/cjs/schema.d.cts +32 -16
  34. package/dist/cjs/start-compiler-plugin.cjs +21 -19
  35. package/dist/cjs/start-compiler-plugin.cjs.map +1 -1
  36. package/dist/cjs/start-compiler-plugin.d.cts +1 -1
  37. package/dist/cjs/start-manifest-plugin/plugin.cjs +182 -0
  38. package/dist/cjs/start-manifest-plugin/plugin.cjs.map +1 -0
  39. package/dist/{esm/routesManifestPlugin.d.ts → cjs/start-manifest-plugin/plugin.d.cts} +1 -1
  40. package/dist/cjs/start-router-plugin/generator-plugins/routes-manifest-plugin.cjs +39 -0
  41. package/dist/cjs/start-router-plugin/generator-plugins/routes-manifest-plugin.cjs.map +1 -0
  42. package/dist/cjs/start-router-plugin/generator-plugins/routes-manifest-plugin.d.cts +6 -0
  43. package/dist/cjs/start-router-plugin/generator-plugins/server-routes-plugin.cjs +121 -0
  44. package/dist/cjs/start-router-plugin/generator-plugins/server-routes-plugin.cjs.map +1 -0
  45. package/dist/cjs/start-router-plugin/generator-plugins/server-routes-plugin.d.cts +2 -0
  46. package/dist/cjs/start-router-plugin/plugin.cjs +21 -0
  47. package/dist/cjs/start-router-plugin/plugin.cjs.map +1 -0
  48. package/dist/cjs/start-router-plugin/plugin.d.cts +3 -0
  49. package/dist/cjs/start-router-plugin/route-tree-client-plugin.cjs +72 -0
  50. package/dist/cjs/start-router-plugin/route-tree-client-plugin.cjs.map +1 -0
  51. package/dist/cjs/start-router-plugin/route-tree-client-plugin.d.cts +6 -0
  52. package/dist/cjs/start-router-plugin/virtual-route-tree-plugin.cjs +30 -0
  53. package/dist/cjs/start-router-plugin/virtual-route-tree-plugin.cjs.map +1 -0
  54. package/dist/cjs/start-router-plugin/virtual-route-tree-plugin.d.cts +4 -0
  55. package/dist/cjs/utils.cjs +11 -0
  56. package/dist/cjs/utils.cjs.map +1 -1
  57. package/dist/cjs/utils.d.cts +7 -0
  58. package/dist/esm/compilers.js +24 -10
  59. package/dist/esm/compilers.js.map +1 -1
  60. package/dist/esm/constants.d.ts +2 -0
  61. package/dist/esm/constants.js +10 -0
  62. package/dist/esm/constants.js.map +1 -1
  63. package/dist/esm/debug.d.ts +1 -0
  64. package/dist/esm/debug.js +5 -0
  65. package/dist/esm/debug.js.map +1 -0
  66. package/dist/esm/{extractHtmlScripts.js → dev-server-plugin/extract-html-scripts.js} +1 -1
  67. package/dist/esm/dev-server-plugin/extract-html-scripts.js.map +1 -0
  68. package/dist/esm/{nitro/dev-server-plugin.js → dev-server-plugin/plugin.js} +2 -2
  69. package/dist/esm/dev-server-plugin/plugin.js.map +1 -0
  70. package/dist/esm/load-env-plugin/plugin.d.ts +3 -0
  71. package/dist/esm/load-env-plugin/plugin.js +17 -0
  72. package/dist/esm/load-env-plugin/plugin.js.map +1 -0
  73. package/dist/esm/{build-sitemap.d.ts → nitro-plugin/build-sitemap.d.ts} +2 -2
  74. package/dist/esm/{build-sitemap.js → nitro-plugin/build-sitemap.js} +9 -7
  75. package/dist/esm/nitro-plugin/build-sitemap.js.map +1 -0
  76. package/dist/esm/nitro-plugin/plugin.js +181 -0
  77. package/dist/esm/nitro-plugin/plugin.js.map +1 -0
  78. package/dist/esm/{prerender.d.ts → nitro-plugin/prerender.d.ts} +1 -1
  79. package/dist/esm/{prerender.js → nitro-plugin/prerender.js} +15 -11
  80. package/dist/esm/nitro-plugin/prerender.js.map +1 -0
  81. package/dist/esm/nitro-plugin/queue.js.map +1 -0
  82. package/dist/esm/plugin.d.ts +14 -2657
  83. package/dist/esm/plugin.js +51 -39
  84. package/dist/esm/plugin.js.map +1 -1
  85. package/dist/esm/resolve-virtual-entries-plugin/plugin.d.ts +3 -0
  86. package/dist/esm/resolve-virtual-entries-plugin/plugin.js +49 -0
  87. package/dist/esm/resolve-virtual-entries-plugin/plugin.js.map +1 -0
  88. package/dist/esm/schema.d.ts +32 -16
  89. package/dist/esm/start-compiler-plugin.d.ts +1 -1
  90. package/dist/esm/start-compiler-plugin.js +21 -19
  91. package/dist/esm/start-compiler-plugin.js.map +1 -1
  92. package/dist/{cjs/routesManifestPlugin.d.cts → esm/start-manifest-plugin/plugin.d.ts} +1 -1
  93. package/dist/esm/start-manifest-plugin/plugin.js +182 -0
  94. package/dist/esm/start-manifest-plugin/plugin.js.map +1 -0
  95. package/dist/esm/start-router-plugin/generator-plugins/routes-manifest-plugin.d.ts +6 -0
  96. package/dist/esm/start-router-plugin/generator-plugins/routes-manifest-plugin.js +39 -0
  97. package/dist/esm/start-router-plugin/generator-plugins/routes-manifest-plugin.js.map +1 -0
  98. package/dist/esm/start-router-plugin/generator-plugins/server-routes-plugin.d.ts +2 -0
  99. package/dist/esm/start-router-plugin/generator-plugins/server-routes-plugin.js +121 -0
  100. package/dist/esm/start-router-plugin/generator-plugins/server-routes-plugin.js.map +1 -0
  101. package/dist/esm/start-router-plugin/plugin.d.ts +3 -0
  102. package/dist/esm/start-router-plugin/plugin.js +21 -0
  103. package/dist/esm/start-router-plugin/plugin.js.map +1 -0
  104. package/dist/esm/start-router-plugin/route-tree-client-plugin.d.ts +6 -0
  105. package/dist/esm/start-router-plugin/route-tree-client-plugin.js +55 -0
  106. package/dist/esm/start-router-plugin/route-tree-client-plugin.js.map +1 -0
  107. package/dist/esm/start-router-plugin/virtual-route-tree-plugin.d.ts +4 -0
  108. package/dist/esm/start-router-plugin/virtual-route-tree-plugin.js +30 -0
  109. package/dist/esm/start-router-plugin/virtual-route-tree-plugin.js.map +1 -0
  110. package/dist/esm/utils.d.ts +7 -0
  111. package/dist/esm/utils.js +11 -0
  112. package/dist/esm/utils.js.map +1 -1
  113. package/package.json +8 -7
  114. package/src/compilers.ts +31 -131
  115. package/src/constants.ts +10 -0
  116. package/src/debug.ts +3 -0
  117. package/src/{nitro/dev-server-plugin.ts → dev-server-plugin/plugin.ts} +11 -1
  118. package/src/global.d.ts +8 -0
  119. package/src/load-env-plugin/plugin.ts +17 -0
  120. package/src/{build-sitemap.ts → nitro-plugin/build-sitemap.ts} +11 -8
  121. package/src/nitro-plugin/plugin.ts +244 -0
  122. package/src/{prerender.ts → nitro-plugin/prerender.ts} +17 -13
  123. package/src/plugin.ts +63 -41
  124. package/src/resolve-virtual-entries-plugin/plugin.ts +63 -0
  125. package/src/start-compiler-plugin.ts +25 -25
  126. package/src/start-manifest-plugin/plugin.ts +249 -0
  127. package/src/start-router-plugin/generator-plugins/routes-manifest-plugin.ts +43 -0
  128. package/src/start-router-plugin/generator-plugins/server-routes-plugin.ts +138 -0
  129. package/src/start-router-plugin/plugin.ts +35 -0
  130. package/src/start-router-plugin/route-tree-client-plugin.ts +76 -0
  131. package/src/start-router-plugin/virtual-route-tree-plugin.ts +30 -0
  132. package/src/utils.ts +11 -0
  133. package/dist/cjs/build-sitemap.cjs.map +0 -1
  134. package/dist/cjs/extractHtmlScripts.cjs.map +0 -1
  135. package/dist/cjs/nitro/build-nitro.cjs +0 -18
  136. package/dist/cjs/nitro/build-nitro.cjs.map +0 -1
  137. package/dist/cjs/nitro/build-nitro.d.cts +0 -2
  138. package/dist/cjs/nitro/dev-server-plugin.cjs.map +0 -1
  139. package/dist/cjs/nitro/nitro-plugin.cjs.map +0 -1
  140. package/dist/cjs/prerender.cjs.map +0 -1
  141. package/dist/cjs/queue.cjs.map +0 -1
  142. package/dist/cjs/routesManifestPlugin.cjs +0 -168
  143. package/dist/cjs/routesManifestPlugin.cjs.map +0 -1
  144. package/dist/cjs/start-server-routes-plugin/config.d.cts +0 -49
  145. package/dist/cjs/start-server-routes-plugin/plugin.cjs +0 -613
  146. package/dist/cjs/start-server-routes-plugin/plugin.cjs.map +0 -1
  147. package/dist/cjs/start-server-routes-plugin/plugin.d.cts +0 -3
  148. package/dist/cjs/start-server-routes-plugin/template.cjs +0 -111
  149. package/dist/cjs/start-server-routes-plugin/template.cjs.map +0 -1
  150. package/dist/cjs/start-server-routes-plugin/template.d.cts +0 -34
  151. package/dist/esm/build-sitemap.js.map +0 -1
  152. package/dist/esm/extractHtmlScripts.js.map +0 -1
  153. package/dist/esm/nitro/build-nitro.d.ts +0 -2
  154. package/dist/esm/nitro/build-nitro.js +0 -18
  155. package/dist/esm/nitro/build-nitro.js.map +0 -1
  156. package/dist/esm/nitro/dev-server-plugin.js.map +0 -1
  157. package/dist/esm/nitro/nitro-plugin.js +0 -167
  158. package/dist/esm/nitro/nitro-plugin.js.map +0 -1
  159. package/dist/esm/prerender.js.map +0 -1
  160. package/dist/esm/queue.js.map +0 -1
  161. package/dist/esm/routesManifestPlugin.js +0 -168
  162. package/dist/esm/routesManifestPlugin.js.map +0 -1
  163. package/dist/esm/start-server-routes-plugin/config.d.ts +0 -49
  164. package/dist/esm/start-server-routes-plugin/plugin.d.ts +0 -3
  165. package/dist/esm/start-server-routes-plugin/plugin.js +0 -613
  166. package/dist/esm/start-server-routes-plugin/plugin.js.map +0 -1
  167. package/dist/esm/start-server-routes-plugin/template.d.ts +0 -34
  168. package/dist/esm/start-server-routes-plugin/template.js +0 -111
  169. package/dist/esm/start-server-routes-plugin/template.js.map +0 -1
  170. package/src/nitro/build-nitro.ts +0 -27
  171. package/src/nitro/nitro-plugin.ts +0 -195
  172. package/src/routesManifestPlugin.ts +0 -220
  173. package/src/start-server-routes-plugin/config.ts +0 -8
  174. package/src/start-server-routes-plugin/plugin.ts +0 -899
  175. package/src/start-server-routes-plugin/template.ts +0 -164
  176. /package/dist/cjs/{extractHtmlScripts.d.cts → dev-server-plugin/extract-html-scripts.d.cts} +0 -0
  177. /package/dist/cjs/{nitro/dev-server-plugin.d.cts → dev-server-plugin/plugin.d.cts} +0 -0
  178. /package/dist/cjs/{nitro/nitro-plugin.d.cts → nitro-plugin/plugin.d.cts} +0 -0
  179. /package/dist/cjs/{queue.cjs → nitro-plugin/queue.cjs} +0 -0
  180. /package/dist/cjs/{queue.d.cts → nitro-plugin/queue.d.cts} +0 -0
  181. /package/dist/esm/{extractHtmlScripts.d.ts → dev-server-plugin/extract-html-scripts.d.ts} +0 -0
  182. /package/dist/esm/{nitro/dev-server-plugin.d.ts → dev-server-plugin/plugin.d.ts} +0 -0
  183. /package/dist/esm/{nitro/nitro-plugin.d.ts → nitro-plugin/plugin.d.ts} +0 -0
  184. /package/dist/esm/{queue.d.ts → nitro-plugin/queue.d.ts} +0 -0
  185. /package/dist/esm/{queue.js → nitro-plugin/queue.js} +0 -0
  186. /package/src/{extractHtmlScripts.ts → dev-server-plugin/extract-html-scripts.ts} +0 -0
  187. /package/src/{queue.ts → nitro-plugin/queue.ts} +0 -0
@@ -1,2659 +1,8 @@
1
+ import { createTanStackStartOptionsSchema } from './schema.cjs';
1
2
  import { PluginOption } from 'vite';
2
3
  import { z } from 'zod';
3
4
  import { CompileStartFrameworkOptions } from './compilers.cjs';
4
- declare const TanStackStartOptionsSchema: z.ZodDefault<z.ZodOptional<z.ZodObject<{
5
- tsr: z.ZodDefault<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
6
- target: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>>;
7
- 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]>>>;
8
- routeFilePrefix: z.ZodOptional<z.ZodOptional<z.ZodString>>;
9
- routeFileIgnorePrefix: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
10
- routeFileIgnorePattern: z.ZodOptional<z.ZodOptional<z.ZodString>>;
11
- routesDirectory: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
12
- quoteStyle: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodEnum<["single", "double"]>>>>;
13
- semicolons: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
14
- disableLogging: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
15
- routeTreeFileHeader: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
16
- indexToken: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
17
- routeToken: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
18
- pathParamsAllowedCharacters: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodEnum<[";", ":", "@", "&", "=", "+", "$", ","]>, "many">>>;
19
- generatedRouteTree: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodString>>>;
20
- disableTypes: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
21
- verboseFileRoutes: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
22
- addExtensions: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
23
- disableManifestGeneration: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
24
- enableRouteTreeFormatting: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodBoolean>>>;
25
- routeTreeFileFooter: z.ZodOptional<z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>>;
26
- customScaffolding: z.ZodOptional<z.ZodOptional<z.ZodObject<{
27
- routeTemplate: z.ZodOptional<z.ZodString>;
28
- lazyRouteTemplate: z.ZodOptional<z.ZodString>;
29
- }, "strip", z.ZodTypeAny, {
30
- routeTemplate?: string | undefined;
31
- lazyRouteTemplate?: string | undefined;
32
- }, {
33
- routeTemplate?: string | undefined;
34
- lazyRouteTemplate?: string | undefined;
35
- }>>>;
36
- experimental: z.ZodOptional<z.ZodOptional<z.ZodObject<{
37
- enableCodeSplitting: z.ZodOptional<z.ZodBoolean>;
38
- }, "strip", z.ZodTypeAny, {
39
- enableCodeSplitting?: boolean | undefined;
40
- }, {
41
- enableCodeSplitting?: boolean | undefined;
42
- }>>>;
43
- }, {
44
- srcDirectory: z.ZodDefault<z.ZodOptional<z.ZodString>>;
45
- }>, "strip", z.ZodTypeAny, {
46
- srcDirectory: string;
47
- target?: "react" | "solid" | undefined;
48
- virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
49
- routeFilePrefix?: string | undefined;
50
- routeFileIgnorePrefix?: string | undefined;
51
- routeFileIgnorePattern?: string | undefined;
52
- routesDirectory?: string | undefined;
53
- quoteStyle?: "single" | "double" | undefined;
54
- semicolons?: boolean | undefined;
55
- disableLogging?: boolean | undefined;
56
- routeTreeFileHeader?: string[] | undefined;
57
- indexToken?: string | undefined;
58
- routeToken?: string | undefined;
59
- pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
60
- generatedRouteTree?: string | undefined;
61
- disableTypes?: boolean | undefined;
62
- verboseFileRoutes?: boolean | undefined;
63
- addExtensions?: boolean | undefined;
64
- disableManifestGeneration?: boolean | undefined;
65
- enableRouteTreeFormatting?: boolean | undefined;
66
- routeTreeFileFooter?: string[] | undefined;
67
- customScaffolding?: {
68
- routeTemplate?: string | undefined;
69
- lazyRouteTemplate?: string | undefined;
70
- } | undefined;
71
- experimental?: {
72
- enableCodeSplitting?: boolean | undefined;
73
- } | undefined;
74
- }, {
75
- target?: "react" | "solid" | undefined;
76
- virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
77
- routeFilePrefix?: string | undefined;
78
- routeFileIgnorePrefix?: string | undefined;
79
- routeFileIgnorePattern?: string | undefined;
80
- routesDirectory?: string | undefined;
81
- quoteStyle?: "single" | "double" | undefined;
82
- semicolons?: boolean | undefined;
83
- disableLogging?: boolean | undefined;
84
- routeTreeFileHeader?: string[] | undefined;
85
- indexToken?: string | undefined;
86
- routeToken?: string | undefined;
87
- pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
88
- generatedRouteTree?: string | undefined;
89
- disableTypes?: boolean | undefined;
90
- verboseFileRoutes?: boolean | undefined;
91
- addExtensions?: boolean | undefined;
92
- disableManifestGeneration?: boolean | undefined;
93
- enableRouteTreeFormatting?: boolean | undefined;
94
- routeTreeFileFooter?: string[] | undefined;
95
- customScaffolding?: {
96
- routeTemplate?: string | undefined;
97
- lazyRouteTemplate?: string | undefined;
98
- } | undefined;
99
- experimental?: {
100
- enableCodeSplitting?: boolean | undefined;
101
- } | undefined;
102
- srcDirectory?: string | undefined;
103
- }>>>;
104
- client: z.ZodDefault<z.ZodOptional<z.ZodObject<{
105
- entry: z.ZodOptional<z.ZodString>;
106
- base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
107
- }, "strip", z.ZodTypeAny, {
108
- base: string;
109
- entry?: string | undefined;
110
- }, {
111
- entry?: string | undefined;
112
- base?: string | undefined;
113
- }>>>;
114
- server: z.ZodDefault<z.ZodOptional<z.ZodObject<{
115
- entry: z.ZodOptional<z.ZodString>;
116
- }, "strip", z.ZodTypeAny, {
117
- entry?: string | undefined;
118
- }, {
119
- entry?: string | undefined;
120
- }>>>;
121
- serverFns: z.ZodDefault<z.ZodOptional<z.ZodObject<{
122
- base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
123
- }, "strip", z.ZodTypeAny, {
124
- base: string;
125
- }, {
126
- base?: string | undefined;
127
- }>>>;
128
- public: z.ZodDefault<z.ZodOptional<z.ZodObject<{
129
- dir: z.ZodDefault<z.ZodOptional<z.ZodString>>;
130
- base: z.ZodDefault<z.ZodOptional<z.ZodString>>;
131
- }, "strip", z.ZodTypeAny, {
132
- base: string;
133
- dir: string;
134
- }, {
135
- base?: string | undefined;
136
- dir?: string | undefined;
137
- }>>>;
138
- pages: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
139
- path: z.ZodString;
140
- sitemap: z.ZodOptional<z.ZodObject<{
141
- exclude: z.ZodOptional<z.ZodBoolean>;
142
- priority: z.ZodOptional<z.ZodNumber>;
143
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
144
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
145
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
146
- href: z.ZodString;
147
- hreflang: z.ZodString;
148
- }, "strip", z.ZodTypeAny, {
149
- href: string;
150
- hreflang: string;
151
- }, {
152
- href: string;
153
- hreflang: string;
154
- }>, "many">>;
155
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
156
- loc: z.ZodString;
157
- caption: z.ZodOptional<z.ZodString>;
158
- title: z.ZodOptional<z.ZodString>;
159
- }, "strip", z.ZodTypeAny, {
160
- loc: string;
161
- caption?: string | undefined;
162
- title?: string | undefined;
163
- }, {
164
- loc: string;
165
- caption?: string | undefined;
166
- title?: string | undefined;
167
- }>, "many">>;
168
- news: z.ZodOptional<z.ZodObject<{
169
- publication: z.ZodObject<{
170
- name: z.ZodString;
171
- language: z.ZodString;
172
- }, "strip", z.ZodTypeAny, {
173
- name: string;
174
- language: string;
175
- }, {
176
- name: string;
177
- language: string;
178
- }>;
179
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
180
- title: z.ZodString;
181
- }, "strip", z.ZodTypeAny, {
182
- title: string;
183
- publication: {
184
- name: string;
185
- language: string;
186
- };
187
- publicationDate: string | Date;
188
- }, {
189
- title: string;
190
- publication: {
191
- name: string;
192
- language: string;
193
- };
194
- publicationDate: string | Date;
195
- }>>;
196
- }, "strip", z.ZodTypeAny, {
197
- exclude?: boolean | undefined;
198
- priority?: number | undefined;
199
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
200
- lastmod?: string | Date | undefined;
201
- alternateRefs?: {
202
- href: string;
203
- hreflang: string;
204
- }[] | undefined;
205
- images?: {
206
- loc: string;
207
- caption?: string | undefined;
208
- title?: string | undefined;
209
- }[] | undefined;
210
- news?: {
211
- title: string;
212
- publication: {
213
- name: string;
214
- language: string;
215
- };
216
- publicationDate: string | Date;
217
- } | undefined;
218
- }, {
219
- exclude?: boolean | undefined;
220
- priority?: number | undefined;
221
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
222
- lastmod?: string | Date | undefined;
223
- alternateRefs?: {
224
- href: string;
225
- hreflang: string;
226
- }[] | undefined;
227
- images?: {
228
- loc: string;
229
- caption?: string | undefined;
230
- title?: string | undefined;
231
- }[] | undefined;
232
- news?: {
233
- title: string;
234
- publication: {
235
- name: string;
236
- language: string;
237
- };
238
- publicationDate: string | Date;
239
- } | undefined;
240
- }>>;
241
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
242
- }, {
243
- prerender: z.ZodOptional<z.ZodObject<{
244
- enabled: z.ZodOptional<z.ZodBoolean>;
245
- outputPath: z.ZodOptional<z.ZodString>;
246
- autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
247
- crawlLinks: z.ZodOptional<z.ZodBoolean>;
248
- retryCount: z.ZodOptional<z.ZodNumber>;
249
- retryDelay: z.ZodOptional<z.ZodNumber>;
250
- onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
251
- page: z.ZodObject<{
252
- path: z.ZodString;
253
- sitemap: z.ZodOptional<z.ZodObject<{
254
- exclude: z.ZodOptional<z.ZodBoolean>;
255
- priority: z.ZodOptional<z.ZodNumber>;
256
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
257
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
258
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
259
- href: z.ZodString;
260
- hreflang: z.ZodString;
261
- }, "strip", z.ZodTypeAny, {
262
- href: string;
263
- hreflang: string;
264
- }, {
265
- href: string;
266
- hreflang: string;
267
- }>, "many">>;
268
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
269
- loc: z.ZodString;
270
- caption: z.ZodOptional<z.ZodString>;
271
- title: z.ZodOptional<z.ZodString>;
272
- }, "strip", z.ZodTypeAny, {
273
- loc: string;
274
- caption?: string | undefined;
275
- title?: string | undefined;
276
- }, {
277
- loc: string;
278
- caption?: string | undefined;
279
- title?: string | undefined;
280
- }>, "many">>;
281
- news: z.ZodOptional<z.ZodObject<{
282
- publication: z.ZodObject<{
283
- name: z.ZodString;
284
- language: z.ZodString;
285
- }, "strip", z.ZodTypeAny, {
286
- name: string;
287
- language: string;
288
- }, {
289
- name: string;
290
- language: string;
291
- }>;
292
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
293
- title: z.ZodString;
294
- }, "strip", z.ZodTypeAny, {
295
- title: string;
296
- publication: {
297
- name: string;
298
- language: string;
299
- };
300
- publicationDate: string | Date;
301
- }, {
302
- title: string;
303
- publication: {
304
- name: string;
305
- language: string;
306
- };
307
- publicationDate: string | Date;
308
- }>>;
309
- }, "strip", z.ZodTypeAny, {
310
- exclude?: boolean | undefined;
311
- priority?: number | undefined;
312
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
313
- lastmod?: string | Date | undefined;
314
- alternateRefs?: {
315
- href: string;
316
- hreflang: string;
317
- }[] | undefined;
318
- images?: {
319
- loc: string;
320
- caption?: string | undefined;
321
- title?: string | undefined;
322
- }[] | undefined;
323
- news?: {
324
- title: string;
325
- publication: {
326
- name: string;
327
- language: string;
328
- };
329
- publicationDate: string | Date;
330
- } | undefined;
331
- }, {
332
- exclude?: boolean | undefined;
333
- priority?: number | undefined;
334
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
335
- lastmod?: string | Date | undefined;
336
- alternateRefs?: {
337
- href: string;
338
- hreflang: string;
339
- }[] | undefined;
340
- images?: {
341
- loc: string;
342
- caption?: string | undefined;
343
- title?: string | undefined;
344
- }[] | undefined;
345
- news?: {
346
- title: string;
347
- publication: {
348
- name: string;
349
- language: string;
350
- };
351
- publicationDate: string | Date;
352
- } | undefined;
353
- }>>;
354
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
355
- }, "strip", z.ZodTypeAny, {
356
- path: string;
357
- sitemap?: {
358
- exclude?: boolean | undefined;
359
- priority?: number | undefined;
360
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
361
- lastmod?: string | Date | undefined;
362
- alternateRefs?: {
363
- href: string;
364
- hreflang: string;
365
- }[] | undefined;
366
- images?: {
367
- loc: string;
368
- caption?: string | undefined;
369
- title?: string | undefined;
370
- }[] | undefined;
371
- news?: {
372
- title: string;
373
- publication: {
374
- name: string;
375
- language: string;
376
- };
377
- publicationDate: string | Date;
378
- } | undefined;
379
- } | undefined;
380
- fromCrawl?: boolean | undefined;
381
- }, {
382
- path: string;
383
- sitemap?: {
384
- exclude?: boolean | undefined;
385
- priority?: number | undefined;
386
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
387
- lastmod?: string | Date | undefined;
388
- alternateRefs?: {
389
- href: string;
390
- hreflang: string;
391
- }[] | undefined;
392
- images?: {
393
- loc: string;
394
- caption?: string | undefined;
395
- title?: string | undefined;
396
- }[] | undefined;
397
- news?: {
398
- title: string;
399
- publication: {
400
- name: string;
401
- language: string;
402
- };
403
- publicationDate: string | Date;
404
- } | undefined;
405
- } | undefined;
406
- fromCrawl?: boolean | undefined;
407
- }>;
408
- html: z.ZodString;
409
- }, "strip", z.ZodTypeAny, {
410
- page: {
411
- path: string;
412
- sitemap?: {
413
- exclude?: boolean | undefined;
414
- priority?: number | undefined;
415
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
416
- lastmod?: string | Date | undefined;
417
- alternateRefs?: {
418
- href: string;
419
- hreflang: string;
420
- }[] | undefined;
421
- images?: {
422
- loc: string;
423
- caption?: string | undefined;
424
- title?: string | undefined;
425
- }[] | undefined;
426
- news?: {
427
- title: string;
428
- publication: {
429
- name: string;
430
- language: string;
431
- };
432
- publicationDate: string | Date;
433
- } | undefined;
434
- } | undefined;
435
- fromCrawl?: boolean | undefined;
436
- };
437
- html: string;
438
- }, {
439
- page: {
440
- path: string;
441
- sitemap?: {
442
- exclude?: boolean | undefined;
443
- priority?: number | undefined;
444
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
445
- lastmod?: string | Date | undefined;
446
- alternateRefs?: {
447
- href: string;
448
- hreflang: string;
449
- }[] | undefined;
450
- images?: {
451
- loc: string;
452
- caption?: string | undefined;
453
- title?: string | undefined;
454
- }[] | undefined;
455
- news?: {
456
- title: string;
457
- publication: {
458
- name: string;
459
- language: string;
460
- };
461
- publicationDate: string | Date;
462
- } | undefined;
463
- } | undefined;
464
- fromCrawl?: boolean | undefined;
465
- };
466
- html: string;
467
- }>], z.ZodUnknown>, z.ZodAny>>;
468
- }, "strip", z.ZodTypeAny, {
469
- enabled?: boolean | undefined;
470
- outputPath?: string | undefined;
471
- autoSubfolderIndex?: boolean | undefined;
472
- crawlLinks?: boolean | undefined;
473
- retryCount?: number | undefined;
474
- retryDelay?: number | undefined;
475
- onSuccess?: ((args_0: {
476
- page: {
477
- path: string;
478
- sitemap?: {
479
- exclude?: boolean | undefined;
480
- priority?: number | undefined;
481
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
482
- lastmod?: string | Date | undefined;
483
- alternateRefs?: {
484
- href: string;
485
- hreflang: string;
486
- }[] | undefined;
487
- images?: {
488
- loc: string;
489
- caption?: string | undefined;
490
- title?: string | undefined;
491
- }[] | undefined;
492
- news?: {
493
- title: string;
494
- publication: {
495
- name: string;
496
- language: string;
497
- };
498
- publicationDate: string | Date;
499
- } | undefined;
500
- } | undefined;
501
- fromCrawl?: boolean | undefined;
502
- };
503
- html: string;
504
- }, ...args: unknown[]) => any) | undefined;
505
- }, {
506
- enabled?: boolean | undefined;
507
- outputPath?: string | undefined;
508
- autoSubfolderIndex?: boolean | undefined;
509
- crawlLinks?: boolean | undefined;
510
- retryCount?: number | undefined;
511
- retryDelay?: number | undefined;
512
- onSuccess?: ((args_0: {
513
- page: {
514
- path: string;
515
- sitemap?: {
516
- exclude?: boolean | undefined;
517
- priority?: number | undefined;
518
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
519
- lastmod?: string | Date | undefined;
520
- alternateRefs?: {
521
- href: string;
522
- hreflang: string;
523
- }[] | undefined;
524
- images?: {
525
- loc: string;
526
- caption?: string | undefined;
527
- title?: string | undefined;
528
- }[] | undefined;
529
- news?: {
530
- title: string;
531
- publication: {
532
- name: string;
533
- language: string;
534
- };
535
- publicationDate: string | Date;
536
- } | undefined;
537
- } | undefined;
538
- fromCrawl?: boolean | undefined;
539
- };
540
- html: string;
541
- }, ...args: unknown[]) => any) | undefined;
542
- }>>;
543
- }>, "strip", z.ZodTypeAny, {
544
- path: string;
545
- prerender?: {
546
- enabled?: boolean | undefined;
547
- outputPath?: string | undefined;
548
- autoSubfolderIndex?: boolean | undefined;
549
- crawlLinks?: boolean | undefined;
550
- retryCount?: number | undefined;
551
- retryDelay?: number | undefined;
552
- onSuccess?: ((args_0: {
553
- page: {
554
- path: string;
555
- sitemap?: {
556
- exclude?: boolean | undefined;
557
- priority?: number | undefined;
558
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
559
- lastmod?: string | Date | undefined;
560
- alternateRefs?: {
561
- href: string;
562
- hreflang: string;
563
- }[] | undefined;
564
- images?: {
565
- loc: string;
566
- caption?: string | undefined;
567
- title?: string | undefined;
568
- }[] | undefined;
569
- news?: {
570
- title: string;
571
- publication: {
572
- name: string;
573
- language: string;
574
- };
575
- publicationDate: string | Date;
576
- } | undefined;
577
- } | undefined;
578
- fromCrawl?: boolean | undefined;
579
- };
580
- html: string;
581
- }, ...args: unknown[]) => any) | undefined;
582
- } | undefined;
583
- sitemap?: {
584
- exclude?: boolean | undefined;
585
- priority?: number | undefined;
586
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
587
- lastmod?: string | Date | undefined;
588
- alternateRefs?: {
589
- href: string;
590
- hreflang: string;
591
- }[] | undefined;
592
- images?: {
593
- loc: string;
594
- caption?: string | undefined;
595
- title?: string | undefined;
596
- }[] | undefined;
597
- news?: {
598
- title: string;
599
- publication: {
600
- name: string;
601
- language: string;
602
- };
603
- publicationDate: string | Date;
604
- } | undefined;
605
- } | undefined;
606
- fromCrawl?: boolean | undefined;
607
- }, {
608
- path: string;
609
- prerender?: {
610
- enabled?: boolean | undefined;
611
- outputPath?: string | undefined;
612
- autoSubfolderIndex?: boolean | undefined;
613
- crawlLinks?: boolean | undefined;
614
- retryCount?: number | undefined;
615
- retryDelay?: number | undefined;
616
- onSuccess?: ((args_0: {
617
- page: {
618
- path: string;
619
- sitemap?: {
620
- exclude?: boolean | undefined;
621
- priority?: number | undefined;
622
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
623
- lastmod?: string | Date | undefined;
624
- alternateRefs?: {
625
- href: string;
626
- hreflang: string;
627
- }[] | undefined;
628
- images?: {
629
- loc: string;
630
- caption?: string | undefined;
631
- title?: string | undefined;
632
- }[] | undefined;
633
- news?: {
634
- title: string;
635
- publication: {
636
- name: string;
637
- language: string;
638
- };
639
- publicationDate: string | Date;
640
- } | undefined;
641
- } | undefined;
642
- fromCrawl?: boolean | undefined;
643
- };
644
- html: string;
645
- }, ...args: unknown[]) => any) | undefined;
646
- } | undefined;
647
- sitemap?: {
648
- exclude?: boolean | undefined;
649
- priority?: number | undefined;
650
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
651
- lastmod?: string | Date | undefined;
652
- alternateRefs?: {
653
- href: string;
654
- hreflang: string;
655
- }[] | undefined;
656
- images?: {
657
- loc: string;
658
- caption?: string | undefined;
659
- title?: string | undefined;
660
- }[] | undefined;
661
- news?: {
662
- title: string;
663
- publication: {
664
- name: string;
665
- language: string;
666
- };
667
- publicationDate: string | Date;
668
- } | undefined;
669
- } | undefined;
670
- fromCrawl?: boolean | undefined;
671
- }>, "many">>>;
672
- sitemap: z.ZodOptional<z.ZodObject<{
673
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
674
- host: z.ZodOptional<z.ZodString>;
675
- outputPath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
676
- }, "strip", z.ZodTypeAny, {
677
- enabled: boolean;
678
- outputPath: string;
679
- host?: string | undefined;
680
- }, {
681
- enabled?: boolean | undefined;
682
- outputPath?: string | undefined;
683
- host?: string | undefined;
684
- }>>;
685
- prerender: z.ZodOptional<z.ZodIntersection<z.ZodObject<{
686
- enabled: z.ZodOptional<z.ZodBoolean>;
687
- concurrency: z.ZodOptional<z.ZodNumber>;
688
- filter: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<z.objectUtil.extendShape<{
689
- path: z.ZodString;
690
- sitemap: z.ZodOptional<z.ZodObject<{
691
- exclude: z.ZodOptional<z.ZodBoolean>;
692
- priority: z.ZodOptional<z.ZodNumber>;
693
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
694
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
695
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
696
- href: z.ZodString;
697
- hreflang: z.ZodString;
698
- }, "strip", z.ZodTypeAny, {
699
- href: string;
700
- hreflang: string;
701
- }, {
702
- href: string;
703
- hreflang: string;
704
- }>, "many">>;
705
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
706
- loc: z.ZodString;
707
- caption: z.ZodOptional<z.ZodString>;
708
- title: z.ZodOptional<z.ZodString>;
709
- }, "strip", z.ZodTypeAny, {
710
- loc: string;
711
- caption?: string | undefined;
712
- title?: string | undefined;
713
- }, {
714
- loc: string;
715
- caption?: string | undefined;
716
- title?: string | undefined;
717
- }>, "many">>;
718
- news: z.ZodOptional<z.ZodObject<{
719
- publication: z.ZodObject<{
720
- name: z.ZodString;
721
- language: z.ZodString;
722
- }, "strip", z.ZodTypeAny, {
723
- name: string;
724
- language: string;
725
- }, {
726
- name: string;
727
- language: string;
728
- }>;
729
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
730
- title: z.ZodString;
731
- }, "strip", z.ZodTypeAny, {
732
- title: string;
733
- publication: {
734
- name: string;
735
- language: string;
736
- };
737
- publicationDate: string | Date;
738
- }, {
739
- title: string;
740
- publication: {
741
- name: string;
742
- language: string;
743
- };
744
- publicationDate: string | Date;
745
- }>>;
746
- }, "strip", z.ZodTypeAny, {
747
- exclude?: boolean | undefined;
748
- priority?: number | undefined;
749
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
750
- lastmod?: string | Date | undefined;
751
- alternateRefs?: {
752
- href: string;
753
- hreflang: string;
754
- }[] | undefined;
755
- images?: {
756
- loc: string;
757
- caption?: string | undefined;
758
- title?: string | undefined;
759
- }[] | undefined;
760
- news?: {
761
- title: string;
762
- publication: {
763
- name: string;
764
- language: string;
765
- };
766
- publicationDate: string | Date;
767
- } | undefined;
768
- }, {
769
- exclude?: boolean | undefined;
770
- priority?: number | undefined;
771
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
772
- lastmod?: string | Date | undefined;
773
- alternateRefs?: {
774
- href: string;
775
- hreflang: string;
776
- }[] | undefined;
777
- images?: {
778
- loc: string;
779
- caption?: string | undefined;
780
- title?: string | undefined;
781
- }[] | undefined;
782
- news?: {
783
- title: string;
784
- publication: {
785
- name: string;
786
- language: string;
787
- };
788
- publicationDate: string | Date;
789
- } | undefined;
790
- }>>;
791
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
792
- }, {
793
- prerender: z.ZodOptional<z.ZodObject<{
794
- enabled: z.ZodOptional<z.ZodBoolean>;
795
- outputPath: z.ZodOptional<z.ZodString>;
796
- autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
797
- crawlLinks: z.ZodOptional<z.ZodBoolean>;
798
- retryCount: z.ZodOptional<z.ZodNumber>;
799
- retryDelay: z.ZodOptional<z.ZodNumber>;
800
- onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
801
- page: z.ZodObject<{
802
- path: z.ZodString;
803
- sitemap: z.ZodOptional<z.ZodObject<{
804
- exclude: z.ZodOptional<z.ZodBoolean>;
805
- priority: z.ZodOptional<z.ZodNumber>;
806
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
807
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
808
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
809
- href: z.ZodString;
810
- hreflang: z.ZodString;
811
- }, "strip", z.ZodTypeAny, {
812
- href: string;
813
- hreflang: string;
814
- }, {
815
- href: string;
816
- hreflang: string;
817
- }>, "many">>;
818
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
819
- loc: z.ZodString;
820
- caption: z.ZodOptional<z.ZodString>;
821
- title: z.ZodOptional<z.ZodString>;
822
- }, "strip", z.ZodTypeAny, {
823
- loc: string;
824
- caption?: string | undefined;
825
- title?: string | undefined;
826
- }, {
827
- loc: string;
828
- caption?: string | undefined;
829
- title?: string | undefined;
830
- }>, "many">>;
831
- news: z.ZodOptional<z.ZodObject<{
832
- publication: z.ZodObject<{
833
- name: z.ZodString;
834
- language: z.ZodString;
835
- }, "strip", z.ZodTypeAny, {
836
- name: string;
837
- language: string;
838
- }, {
839
- name: string;
840
- language: string;
841
- }>;
842
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
843
- title: z.ZodString;
844
- }, "strip", z.ZodTypeAny, {
845
- title: string;
846
- publication: {
847
- name: string;
848
- language: string;
849
- };
850
- publicationDate: string | Date;
851
- }, {
852
- title: string;
853
- publication: {
854
- name: string;
855
- language: string;
856
- };
857
- publicationDate: string | Date;
858
- }>>;
859
- }, "strip", z.ZodTypeAny, {
860
- exclude?: boolean | undefined;
861
- priority?: number | undefined;
862
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
863
- lastmod?: string | Date | undefined;
864
- alternateRefs?: {
865
- href: string;
866
- hreflang: string;
867
- }[] | undefined;
868
- images?: {
869
- loc: string;
870
- caption?: string | undefined;
871
- title?: string | undefined;
872
- }[] | undefined;
873
- news?: {
874
- title: string;
875
- publication: {
876
- name: string;
877
- language: string;
878
- };
879
- publicationDate: string | Date;
880
- } | undefined;
881
- }, {
882
- exclude?: boolean | undefined;
883
- priority?: number | undefined;
884
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
885
- lastmod?: string | Date | undefined;
886
- alternateRefs?: {
887
- href: string;
888
- hreflang: string;
889
- }[] | undefined;
890
- images?: {
891
- loc: string;
892
- caption?: string | undefined;
893
- title?: string | undefined;
894
- }[] | undefined;
895
- news?: {
896
- title: string;
897
- publication: {
898
- name: string;
899
- language: string;
900
- };
901
- publicationDate: string | Date;
902
- } | undefined;
903
- }>>;
904
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
905
- }, "strip", z.ZodTypeAny, {
906
- path: string;
907
- sitemap?: {
908
- exclude?: boolean | undefined;
909
- priority?: number | undefined;
910
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
911
- lastmod?: string | Date | undefined;
912
- alternateRefs?: {
913
- href: string;
914
- hreflang: string;
915
- }[] | undefined;
916
- images?: {
917
- loc: string;
918
- caption?: string | undefined;
919
- title?: string | undefined;
920
- }[] | undefined;
921
- news?: {
922
- title: string;
923
- publication: {
924
- name: string;
925
- language: string;
926
- };
927
- publicationDate: string | Date;
928
- } | undefined;
929
- } | undefined;
930
- fromCrawl?: boolean | undefined;
931
- }, {
932
- path: string;
933
- sitemap?: {
934
- exclude?: boolean | undefined;
935
- priority?: number | undefined;
936
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
937
- lastmod?: string | Date | undefined;
938
- alternateRefs?: {
939
- href: string;
940
- hreflang: string;
941
- }[] | undefined;
942
- images?: {
943
- loc: string;
944
- caption?: string | undefined;
945
- title?: string | undefined;
946
- }[] | undefined;
947
- news?: {
948
- title: string;
949
- publication: {
950
- name: string;
951
- language: string;
952
- };
953
- publicationDate: string | Date;
954
- } | undefined;
955
- } | undefined;
956
- fromCrawl?: boolean | undefined;
957
- }>;
958
- html: z.ZodString;
959
- }, "strip", z.ZodTypeAny, {
960
- page: {
961
- path: string;
962
- sitemap?: {
963
- exclude?: boolean | undefined;
964
- priority?: number | undefined;
965
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
966
- lastmod?: string | Date | undefined;
967
- alternateRefs?: {
968
- href: string;
969
- hreflang: string;
970
- }[] | undefined;
971
- images?: {
972
- loc: string;
973
- caption?: string | undefined;
974
- title?: string | undefined;
975
- }[] | undefined;
976
- news?: {
977
- title: string;
978
- publication: {
979
- name: string;
980
- language: string;
981
- };
982
- publicationDate: string | Date;
983
- } | undefined;
984
- } | undefined;
985
- fromCrawl?: boolean | undefined;
986
- };
987
- html: string;
988
- }, {
989
- page: {
990
- path: string;
991
- sitemap?: {
992
- exclude?: boolean | undefined;
993
- priority?: number | undefined;
994
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
995
- lastmod?: string | Date | undefined;
996
- alternateRefs?: {
997
- href: string;
998
- hreflang: string;
999
- }[] | undefined;
1000
- images?: {
1001
- loc: string;
1002
- caption?: string | undefined;
1003
- title?: string | undefined;
1004
- }[] | undefined;
1005
- news?: {
1006
- title: string;
1007
- publication: {
1008
- name: string;
1009
- language: string;
1010
- };
1011
- publicationDate: string | Date;
1012
- } | undefined;
1013
- } | undefined;
1014
- fromCrawl?: boolean | undefined;
1015
- };
1016
- html: string;
1017
- }>], z.ZodUnknown>, z.ZodAny>>;
1018
- }, "strip", z.ZodTypeAny, {
1019
- enabled?: boolean | undefined;
1020
- outputPath?: string | undefined;
1021
- autoSubfolderIndex?: boolean | undefined;
1022
- crawlLinks?: boolean | undefined;
1023
- retryCount?: number | undefined;
1024
- retryDelay?: number | undefined;
1025
- onSuccess?: ((args_0: {
1026
- page: {
1027
- path: string;
1028
- sitemap?: {
1029
- exclude?: boolean | undefined;
1030
- priority?: number | undefined;
1031
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1032
- lastmod?: string | Date | undefined;
1033
- alternateRefs?: {
1034
- href: string;
1035
- hreflang: string;
1036
- }[] | undefined;
1037
- images?: {
1038
- loc: string;
1039
- caption?: string | undefined;
1040
- title?: string | undefined;
1041
- }[] | undefined;
1042
- news?: {
1043
- title: string;
1044
- publication: {
1045
- name: string;
1046
- language: string;
1047
- };
1048
- publicationDate: string | Date;
1049
- } | undefined;
1050
- } | undefined;
1051
- fromCrawl?: boolean | undefined;
1052
- };
1053
- html: string;
1054
- }, ...args: unknown[]) => any) | undefined;
1055
- }, {
1056
- enabled?: boolean | undefined;
1057
- outputPath?: string | undefined;
1058
- autoSubfolderIndex?: boolean | undefined;
1059
- crawlLinks?: boolean | undefined;
1060
- retryCount?: number | undefined;
1061
- retryDelay?: number | undefined;
1062
- onSuccess?: ((args_0: {
1063
- page: {
1064
- path: string;
1065
- sitemap?: {
1066
- exclude?: boolean | undefined;
1067
- priority?: number | undefined;
1068
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1069
- lastmod?: string | Date | undefined;
1070
- alternateRefs?: {
1071
- href: string;
1072
- hreflang: string;
1073
- }[] | undefined;
1074
- images?: {
1075
- loc: string;
1076
- caption?: string | undefined;
1077
- title?: string | undefined;
1078
- }[] | undefined;
1079
- news?: {
1080
- title: string;
1081
- publication: {
1082
- name: string;
1083
- language: string;
1084
- };
1085
- publicationDate: string | Date;
1086
- } | undefined;
1087
- } | undefined;
1088
- fromCrawl?: boolean | undefined;
1089
- };
1090
- html: string;
1091
- }, ...args: unknown[]) => any) | undefined;
1092
- }>>;
1093
- }>, "strip", z.ZodTypeAny, {
1094
- path: string;
1095
- prerender?: {
1096
- enabled?: boolean | undefined;
1097
- outputPath?: string | undefined;
1098
- autoSubfolderIndex?: boolean | undefined;
1099
- crawlLinks?: boolean | undefined;
1100
- retryCount?: number | undefined;
1101
- retryDelay?: number | undefined;
1102
- onSuccess?: ((args_0: {
1103
- page: {
1104
- path: string;
1105
- sitemap?: {
1106
- exclude?: boolean | undefined;
1107
- priority?: number | undefined;
1108
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1109
- lastmod?: string | Date | undefined;
1110
- alternateRefs?: {
1111
- href: string;
1112
- hreflang: string;
1113
- }[] | undefined;
1114
- images?: {
1115
- loc: string;
1116
- caption?: string | undefined;
1117
- title?: string | undefined;
1118
- }[] | undefined;
1119
- news?: {
1120
- title: string;
1121
- publication: {
1122
- name: string;
1123
- language: string;
1124
- };
1125
- publicationDate: string | Date;
1126
- } | undefined;
1127
- } | undefined;
1128
- fromCrawl?: boolean | undefined;
1129
- };
1130
- html: string;
1131
- }, ...args: unknown[]) => any) | undefined;
1132
- } | undefined;
1133
- sitemap?: {
1134
- exclude?: boolean | undefined;
1135
- priority?: number | undefined;
1136
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1137
- lastmod?: string | Date | undefined;
1138
- alternateRefs?: {
1139
- href: string;
1140
- hreflang: string;
1141
- }[] | undefined;
1142
- images?: {
1143
- loc: string;
1144
- caption?: string | undefined;
1145
- title?: string | undefined;
1146
- }[] | undefined;
1147
- news?: {
1148
- title: string;
1149
- publication: {
1150
- name: string;
1151
- language: string;
1152
- };
1153
- publicationDate: string | Date;
1154
- } | undefined;
1155
- } | undefined;
1156
- fromCrawl?: boolean | undefined;
1157
- }, {
1158
- path: string;
1159
- prerender?: {
1160
- enabled?: boolean | undefined;
1161
- outputPath?: string | undefined;
1162
- autoSubfolderIndex?: boolean | undefined;
1163
- crawlLinks?: boolean | undefined;
1164
- retryCount?: number | undefined;
1165
- retryDelay?: number | undefined;
1166
- onSuccess?: ((args_0: {
1167
- page: {
1168
- path: string;
1169
- sitemap?: {
1170
- exclude?: boolean | undefined;
1171
- priority?: number | undefined;
1172
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1173
- lastmod?: string | Date | undefined;
1174
- alternateRefs?: {
1175
- href: string;
1176
- hreflang: string;
1177
- }[] | undefined;
1178
- images?: {
1179
- loc: string;
1180
- caption?: string | undefined;
1181
- title?: string | undefined;
1182
- }[] | undefined;
1183
- news?: {
1184
- title: string;
1185
- publication: {
1186
- name: string;
1187
- language: string;
1188
- };
1189
- publicationDate: string | Date;
1190
- } | undefined;
1191
- } | undefined;
1192
- fromCrawl?: boolean | undefined;
1193
- };
1194
- html: string;
1195
- }, ...args: unknown[]) => any) | undefined;
1196
- } | undefined;
1197
- sitemap?: {
1198
- exclude?: boolean | undefined;
1199
- priority?: number | undefined;
1200
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1201
- lastmod?: string | Date | undefined;
1202
- alternateRefs?: {
1203
- href: string;
1204
- hreflang: string;
1205
- }[] | undefined;
1206
- images?: {
1207
- loc: string;
1208
- caption?: string | undefined;
1209
- title?: string | undefined;
1210
- }[] | undefined;
1211
- news?: {
1212
- title: string;
1213
- publication: {
1214
- name: string;
1215
- language: string;
1216
- };
1217
- publicationDate: string | Date;
1218
- } | undefined;
1219
- } | undefined;
1220
- fromCrawl?: boolean | undefined;
1221
- }>], z.ZodUnknown>, z.ZodAny>>;
1222
- failOnError: z.ZodOptional<z.ZodBoolean>;
1223
- }, "strip", z.ZodTypeAny, {
1224
- filter?: ((args_0: {
1225
- path: string;
1226
- prerender?: {
1227
- enabled?: boolean | undefined;
1228
- outputPath?: string | undefined;
1229
- autoSubfolderIndex?: boolean | undefined;
1230
- crawlLinks?: boolean | undefined;
1231
- retryCount?: number | undefined;
1232
- retryDelay?: number | undefined;
1233
- onSuccess?: ((args_0: {
1234
- page: {
1235
- path: string;
1236
- sitemap?: {
1237
- exclude?: boolean | undefined;
1238
- priority?: number | undefined;
1239
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1240
- lastmod?: string | Date | undefined;
1241
- alternateRefs?: {
1242
- href: string;
1243
- hreflang: string;
1244
- }[] | undefined;
1245
- images?: {
1246
- loc: string;
1247
- caption?: string | undefined;
1248
- title?: string | undefined;
1249
- }[] | undefined;
1250
- news?: {
1251
- title: string;
1252
- publication: {
1253
- name: string;
1254
- language: string;
1255
- };
1256
- publicationDate: string | Date;
1257
- } | undefined;
1258
- } | undefined;
1259
- fromCrawl?: boolean | undefined;
1260
- };
1261
- html: string;
1262
- }, ...args: unknown[]) => any) | undefined;
1263
- } | undefined;
1264
- sitemap?: {
1265
- exclude?: boolean | undefined;
1266
- priority?: number | undefined;
1267
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1268
- lastmod?: string | Date | undefined;
1269
- alternateRefs?: {
1270
- href: string;
1271
- hreflang: string;
1272
- }[] | undefined;
1273
- images?: {
1274
- loc: string;
1275
- caption?: string | undefined;
1276
- title?: string | undefined;
1277
- }[] | undefined;
1278
- news?: {
1279
- title: string;
1280
- publication: {
1281
- name: string;
1282
- language: string;
1283
- };
1284
- publicationDate: string | Date;
1285
- } | undefined;
1286
- } | undefined;
1287
- fromCrawl?: boolean | undefined;
1288
- }, ...args: unknown[]) => any) | undefined;
1289
- enabled?: boolean | undefined;
1290
- concurrency?: number | undefined;
1291
- failOnError?: boolean | undefined;
1292
- }, {
1293
- filter?: ((args_0: {
1294
- path: string;
1295
- prerender?: {
1296
- enabled?: boolean | undefined;
1297
- outputPath?: string | undefined;
1298
- autoSubfolderIndex?: boolean | undefined;
1299
- crawlLinks?: boolean | undefined;
1300
- retryCount?: number | undefined;
1301
- retryDelay?: number | undefined;
1302
- onSuccess?: ((args_0: {
1303
- page: {
1304
- path: string;
1305
- sitemap?: {
1306
- exclude?: boolean | undefined;
1307
- priority?: number | undefined;
1308
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1309
- lastmod?: string | Date | undefined;
1310
- alternateRefs?: {
1311
- href: string;
1312
- hreflang: string;
1313
- }[] | undefined;
1314
- images?: {
1315
- loc: string;
1316
- caption?: string | undefined;
1317
- title?: string | undefined;
1318
- }[] | undefined;
1319
- news?: {
1320
- title: string;
1321
- publication: {
1322
- name: string;
1323
- language: string;
1324
- };
1325
- publicationDate: string | Date;
1326
- } | undefined;
1327
- } | undefined;
1328
- fromCrawl?: boolean | undefined;
1329
- };
1330
- html: string;
1331
- }, ...args: unknown[]) => any) | undefined;
1332
- } | undefined;
1333
- sitemap?: {
1334
- exclude?: boolean | undefined;
1335
- priority?: number | undefined;
1336
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1337
- lastmod?: string | Date | undefined;
1338
- alternateRefs?: {
1339
- href: string;
1340
- hreflang: string;
1341
- }[] | undefined;
1342
- images?: {
1343
- loc: string;
1344
- caption?: string | undefined;
1345
- title?: string | undefined;
1346
- }[] | undefined;
1347
- news?: {
1348
- title: string;
1349
- publication: {
1350
- name: string;
1351
- language: string;
1352
- };
1353
- publicationDate: string | Date;
1354
- } | undefined;
1355
- } | undefined;
1356
- fromCrawl?: boolean | undefined;
1357
- }, ...args: unknown[]) => any) | undefined;
1358
- enabled?: boolean | undefined;
1359
- concurrency?: number | undefined;
1360
- failOnError?: boolean | undefined;
1361
- }>, z.ZodOptional<z.ZodObject<{
1362
- enabled: z.ZodOptional<z.ZodBoolean>;
1363
- outputPath: z.ZodOptional<z.ZodString>;
1364
- autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1365
- crawlLinks: z.ZodOptional<z.ZodBoolean>;
1366
- retryCount: z.ZodOptional<z.ZodNumber>;
1367
- retryDelay: z.ZodOptional<z.ZodNumber>;
1368
- onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1369
- page: z.ZodObject<{
1370
- path: z.ZodString;
1371
- sitemap: z.ZodOptional<z.ZodObject<{
1372
- exclude: z.ZodOptional<z.ZodBoolean>;
1373
- priority: z.ZodOptional<z.ZodNumber>;
1374
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
1375
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1376
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1377
- href: z.ZodString;
1378
- hreflang: z.ZodString;
1379
- }, "strip", z.ZodTypeAny, {
1380
- href: string;
1381
- hreflang: string;
1382
- }, {
1383
- href: string;
1384
- hreflang: string;
1385
- }>, "many">>;
1386
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1387
- loc: z.ZodString;
1388
- caption: z.ZodOptional<z.ZodString>;
1389
- title: z.ZodOptional<z.ZodString>;
1390
- }, "strip", z.ZodTypeAny, {
1391
- loc: string;
1392
- caption?: string | undefined;
1393
- title?: string | undefined;
1394
- }, {
1395
- loc: string;
1396
- caption?: string | undefined;
1397
- title?: string | undefined;
1398
- }>, "many">>;
1399
- news: z.ZodOptional<z.ZodObject<{
1400
- publication: z.ZodObject<{
1401
- name: z.ZodString;
1402
- language: z.ZodString;
1403
- }, "strip", z.ZodTypeAny, {
1404
- name: string;
1405
- language: string;
1406
- }, {
1407
- name: string;
1408
- language: string;
1409
- }>;
1410
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1411
- title: z.ZodString;
1412
- }, "strip", z.ZodTypeAny, {
1413
- title: string;
1414
- publication: {
1415
- name: string;
1416
- language: string;
1417
- };
1418
- publicationDate: string | Date;
1419
- }, {
1420
- title: string;
1421
- publication: {
1422
- name: string;
1423
- language: string;
1424
- };
1425
- publicationDate: string | Date;
1426
- }>>;
1427
- }, "strip", z.ZodTypeAny, {
1428
- exclude?: boolean | undefined;
1429
- priority?: number | undefined;
1430
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1431
- lastmod?: string | Date | undefined;
1432
- alternateRefs?: {
1433
- href: string;
1434
- hreflang: string;
1435
- }[] | undefined;
1436
- images?: {
1437
- loc: string;
1438
- caption?: string | undefined;
1439
- title?: string | undefined;
1440
- }[] | undefined;
1441
- news?: {
1442
- title: string;
1443
- publication: {
1444
- name: string;
1445
- language: string;
1446
- };
1447
- publicationDate: string | Date;
1448
- } | undefined;
1449
- }, {
1450
- exclude?: boolean | undefined;
1451
- priority?: number | undefined;
1452
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1453
- lastmod?: string | Date | undefined;
1454
- alternateRefs?: {
1455
- href: string;
1456
- hreflang: string;
1457
- }[] | undefined;
1458
- images?: {
1459
- loc: string;
1460
- caption?: string | undefined;
1461
- title?: string | undefined;
1462
- }[] | undefined;
1463
- news?: {
1464
- title: string;
1465
- publication: {
1466
- name: string;
1467
- language: string;
1468
- };
1469
- publicationDate: string | Date;
1470
- } | undefined;
1471
- }>>;
1472
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
1473
- }, "strip", z.ZodTypeAny, {
1474
- path: string;
1475
- sitemap?: {
1476
- exclude?: boolean | undefined;
1477
- priority?: number | undefined;
1478
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1479
- lastmod?: string | Date | undefined;
1480
- alternateRefs?: {
1481
- href: string;
1482
- hreflang: string;
1483
- }[] | undefined;
1484
- images?: {
1485
- loc: string;
1486
- caption?: string | undefined;
1487
- title?: string | undefined;
1488
- }[] | undefined;
1489
- news?: {
1490
- title: string;
1491
- publication: {
1492
- name: string;
1493
- language: string;
1494
- };
1495
- publicationDate: string | Date;
1496
- } | undefined;
1497
- } | undefined;
1498
- fromCrawl?: boolean | undefined;
1499
- }, {
1500
- path: string;
1501
- sitemap?: {
1502
- exclude?: boolean | undefined;
1503
- priority?: number | undefined;
1504
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1505
- lastmod?: string | Date | undefined;
1506
- alternateRefs?: {
1507
- href: string;
1508
- hreflang: string;
1509
- }[] | undefined;
1510
- images?: {
1511
- loc: string;
1512
- caption?: string | undefined;
1513
- title?: string | undefined;
1514
- }[] | undefined;
1515
- news?: {
1516
- title: string;
1517
- publication: {
1518
- name: string;
1519
- language: string;
1520
- };
1521
- publicationDate: string | Date;
1522
- } | undefined;
1523
- } | undefined;
1524
- fromCrawl?: boolean | undefined;
1525
- }>;
1526
- html: z.ZodString;
1527
- }, "strip", z.ZodTypeAny, {
1528
- page: {
1529
- path: string;
1530
- sitemap?: {
1531
- exclude?: boolean | undefined;
1532
- priority?: number | undefined;
1533
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1534
- lastmod?: string | Date | undefined;
1535
- alternateRefs?: {
1536
- href: string;
1537
- hreflang: string;
1538
- }[] | undefined;
1539
- images?: {
1540
- loc: string;
1541
- caption?: string | undefined;
1542
- title?: string | undefined;
1543
- }[] | undefined;
1544
- news?: {
1545
- title: string;
1546
- publication: {
1547
- name: string;
1548
- language: string;
1549
- };
1550
- publicationDate: string | Date;
1551
- } | undefined;
1552
- } | undefined;
1553
- fromCrawl?: boolean | undefined;
1554
- };
1555
- html: string;
1556
- }, {
1557
- page: {
1558
- path: string;
1559
- sitemap?: {
1560
- exclude?: boolean | undefined;
1561
- priority?: number | undefined;
1562
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1563
- lastmod?: string | Date | undefined;
1564
- alternateRefs?: {
1565
- href: string;
1566
- hreflang: string;
1567
- }[] | undefined;
1568
- images?: {
1569
- loc: string;
1570
- caption?: string | undefined;
1571
- title?: string | undefined;
1572
- }[] | undefined;
1573
- news?: {
1574
- title: string;
1575
- publication: {
1576
- name: string;
1577
- language: string;
1578
- };
1579
- publicationDate: string | Date;
1580
- } | undefined;
1581
- } | undefined;
1582
- fromCrawl?: boolean | undefined;
1583
- };
1584
- html: string;
1585
- }>], z.ZodUnknown>, z.ZodAny>>;
1586
- }, "strip", z.ZodTypeAny, {
1587
- enabled?: boolean | undefined;
1588
- outputPath?: string | undefined;
1589
- autoSubfolderIndex?: boolean | undefined;
1590
- crawlLinks?: boolean | undefined;
1591
- retryCount?: number | undefined;
1592
- retryDelay?: number | undefined;
1593
- onSuccess?: ((args_0: {
1594
- page: {
1595
- path: string;
1596
- sitemap?: {
1597
- exclude?: boolean | undefined;
1598
- priority?: number | undefined;
1599
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1600
- lastmod?: string | Date | undefined;
1601
- alternateRefs?: {
1602
- href: string;
1603
- hreflang: string;
1604
- }[] | undefined;
1605
- images?: {
1606
- loc: string;
1607
- caption?: string | undefined;
1608
- title?: string | undefined;
1609
- }[] | undefined;
1610
- news?: {
1611
- title: string;
1612
- publication: {
1613
- name: string;
1614
- language: string;
1615
- };
1616
- publicationDate: string | Date;
1617
- } | undefined;
1618
- } | undefined;
1619
- fromCrawl?: boolean | undefined;
1620
- };
1621
- html: string;
1622
- }, ...args: unknown[]) => any) | undefined;
1623
- }, {
1624
- enabled?: boolean | undefined;
1625
- outputPath?: string | undefined;
1626
- autoSubfolderIndex?: boolean | undefined;
1627
- crawlLinks?: boolean | undefined;
1628
- retryCount?: number | undefined;
1629
- retryDelay?: number | undefined;
1630
- onSuccess?: ((args_0: {
1631
- page: {
1632
- path: string;
1633
- sitemap?: {
1634
- exclude?: boolean | undefined;
1635
- priority?: number | undefined;
1636
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1637
- lastmod?: string | Date | undefined;
1638
- alternateRefs?: {
1639
- href: string;
1640
- hreflang: string;
1641
- }[] | undefined;
1642
- images?: {
1643
- loc: string;
1644
- caption?: string | undefined;
1645
- title?: string | undefined;
1646
- }[] | undefined;
1647
- news?: {
1648
- title: string;
1649
- publication: {
1650
- name: string;
1651
- language: string;
1652
- };
1653
- publicationDate: string | Date;
1654
- } | undefined;
1655
- } | undefined;
1656
- fromCrawl?: boolean | undefined;
1657
- };
1658
- html: string;
1659
- }, ...args: unknown[]) => any) | undefined;
1660
- }>>>>;
1661
- spa: z.ZodOptional<z.ZodObject<{
1662
- enabled: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
1663
- maskPath: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1664
- prerender: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodObject<{
1665
- enabled: z.ZodOptional<z.ZodBoolean>;
1666
- outputPath: z.ZodOptional<z.ZodString>;
1667
- autoSubfolderIndex: z.ZodOptional<z.ZodBoolean>;
1668
- crawlLinks: z.ZodOptional<z.ZodBoolean>;
1669
- retryCount: z.ZodOptional<z.ZodNumber>;
1670
- retryDelay: z.ZodOptional<z.ZodNumber>;
1671
- onSuccess: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodObject<{
1672
- page: z.ZodObject<{
1673
- path: z.ZodString;
1674
- sitemap: z.ZodOptional<z.ZodObject<{
1675
- exclude: z.ZodOptional<z.ZodBoolean>;
1676
- priority: z.ZodOptional<z.ZodNumber>;
1677
- changefreq: z.ZodOptional<z.ZodEnum<["always", "hourly", "daily", "weekly", "monthly", "yearly", "never"]>>;
1678
- lastmod: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodDate]>>;
1679
- alternateRefs: z.ZodOptional<z.ZodArray<z.ZodObject<{
1680
- href: z.ZodString;
1681
- hreflang: z.ZodString;
1682
- }, "strip", z.ZodTypeAny, {
1683
- href: string;
1684
- hreflang: string;
1685
- }, {
1686
- href: string;
1687
- hreflang: string;
1688
- }>, "many">>;
1689
- images: z.ZodOptional<z.ZodArray<z.ZodObject<{
1690
- loc: z.ZodString;
1691
- caption: z.ZodOptional<z.ZodString>;
1692
- title: z.ZodOptional<z.ZodString>;
1693
- }, "strip", z.ZodTypeAny, {
1694
- loc: string;
1695
- caption?: string | undefined;
1696
- title?: string | undefined;
1697
- }, {
1698
- loc: string;
1699
- caption?: string | undefined;
1700
- title?: string | undefined;
1701
- }>, "many">>;
1702
- news: z.ZodOptional<z.ZodObject<{
1703
- publication: z.ZodObject<{
1704
- name: z.ZodString;
1705
- language: z.ZodString;
1706
- }, "strip", z.ZodTypeAny, {
1707
- name: string;
1708
- language: string;
1709
- }, {
1710
- name: string;
1711
- language: string;
1712
- }>;
1713
- publicationDate: z.ZodUnion<[z.ZodString, z.ZodDate]>;
1714
- title: z.ZodString;
1715
- }, "strip", z.ZodTypeAny, {
1716
- title: string;
1717
- publication: {
1718
- name: string;
1719
- language: string;
1720
- };
1721
- publicationDate: string | Date;
1722
- }, {
1723
- title: string;
1724
- publication: {
1725
- name: string;
1726
- language: string;
1727
- };
1728
- publicationDate: string | Date;
1729
- }>>;
1730
- }, "strip", z.ZodTypeAny, {
1731
- exclude?: boolean | undefined;
1732
- priority?: number | undefined;
1733
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1734
- lastmod?: string | Date | undefined;
1735
- alternateRefs?: {
1736
- href: string;
1737
- hreflang: string;
1738
- }[] | undefined;
1739
- images?: {
1740
- loc: string;
1741
- caption?: string | undefined;
1742
- title?: string | undefined;
1743
- }[] | undefined;
1744
- news?: {
1745
- title: string;
1746
- publication: {
1747
- name: string;
1748
- language: string;
1749
- };
1750
- publicationDate: string | Date;
1751
- } | undefined;
1752
- }, {
1753
- exclude?: boolean | undefined;
1754
- priority?: number | undefined;
1755
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1756
- lastmod?: string | Date | undefined;
1757
- alternateRefs?: {
1758
- href: string;
1759
- hreflang: string;
1760
- }[] | undefined;
1761
- images?: {
1762
- loc: string;
1763
- caption?: string | undefined;
1764
- title?: string | undefined;
1765
- }[] | undefined;
1766
- news?: {
1767
- title: string;
1768
- publication: {
1769
- name: string;
1770
- language: string;
1771
- };
1772
- publicationDate: string | Date;
1773
- } | undefined;
1774
- }>>;
1775
- fromCrawl: z.ZodOptional<z.ZodBoolean>;
1776
- }, "strip", z.ZodTypeAny, {
1777
- path: string;
1778
- sitemap?: {
1779
- exclude?: boolean | undefined;
1780
- priority?: number | undefined;
1781
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1782
- lastmod?: string | Date | undefined;
1783
- alternateRefs?: {
1784
- href: string;
1785
- hreflang: string;
1786
- }[] | undefined;
1787
- images?: {
1788
- loc: string;
1789
- caption?: string | undefined;
1790
- title?: string | undefined;
1791
- }[] | undefined;
1792
- news?: {
1793
- title: string;
1794
- publication: {
1795
- name: string;
1796
- language: string;
1797
- };
1798
- publicationDate: string | Date;
1799
- } | undefined;
1800
- } | undefined;
1801
- fromCrawl?: boolean | undefined;
1802
- }, {
1803
- path: string;
1804
- sitemap?: {
1805
- exclude?: boolean | undefined;
1806
- priority?: number | undefined;
1807
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1808
- lastmod?: string | Date | undefined;
1809
- alternateRefs?: {
1810
- href: string;
1811
- hreflang: string;
1812
- }[] | undefined;
1813
- images?: {
1814
- loc: string;
1815
- caption?: string | undefined;
1816
- title?: string | undefined;
1817
- }[] | undefined;
1818
- news?: {
1819
- title: string;
1820
- publication: {
1821
- name: string;
1822
- language: string;
1823
- };
1824
- publicationDate: string | Date;
1825
- } | undefined;
1826
- } | undefined;
1827
- fromCrawl?: boolean | undefined;
1828
- }>;
1829
- html: z.ZodString;
1830
- }, "strip", z.ZodTypeAny, {
1831
- page: {
1832
- path: string;
1833
- sitemap?: {
1834
- exclude?: boolean | undefined;
1835
- priority?: number | undefined;
1836
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1837
- lastmod?: string | Date | undefined;
1838
- alternateRefs?: {
1839
- href: string;
1840
- hreflang: string;
1841
- }[] | undefined;
1842
- images?: {
1843
- loc: string;
1844
- caption?: string | undefined;
1845
- title?: string | undefined;
1846
- }[] | undefined;
1847
- news?: {
1848
- title: string;
1849
- publication: {
1850
- name: string;
1851
- language: string;
1852
- };
1853
- publicationDate: string | Date;
1854
- } | undefined;
1855
- } | undefined;
1856
- fromCrawl?: boolean | undefined;
1857
- };
1858
- html: string;
1859
- }, {
1860
- page: {
1861
- path: string;
1862
- sitemap?: {
1863
- exclude?: boolean | undefined;
1864
- priority?: number | undefined;
1865
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1866
- lastmod?: string | Date | undefined;
1867
- alternateRefs?: {
1868
- href: string;
1869
- hreflang: string;
1870
- }[] | undefined;
1871
- images?: {
1872
- loc: string;
1873
- caption?: string | undefined;
1874
- title?: string | undefined;
1875
- }[] | undefined;
1876
- news?: {
1877
- title: string;
1878
- publication: {
1879
- name: string;
1880
- language: string;
1881
- };
1882
- publicationDate: string | Date;
1883
- } | undefined;
1884
- } | undefined;
1885
- fromCrawl?: boolean | undefined;
1886
- };
1887
- html: string;
1888
- }>], z.ZodUnknown>, z.ZodAny>>;
1889
- }, "strip", z.ZodTypeAny, {
1890
- enabled?: boolean | undefined;
1891
- outputPath?: string | undefined;
1892
- autoSubfolderIndex?: boolean | undefined;
1893
- crawlLinks?: boolean | undefined;
1894
- retryCount?: number | undefined;
1895
- retryDelay?: number | undefined;
1896
- onSuccess?: ((args_0: {
1897
- page: {
1898
- path: string;
1899
- sitemap?: {
1900
- exclude?: boolean | undefined;
1901
- priority?: number | undefined;
1902
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1903
- lastmod?: string | Date | undefined;
1904
- alternateRefs?: {
1905
- href: string;
1906
- hreflang: string;
1907
- }[] | undefined;
1908
- images?: {
1909
- loc: string;
1910
- caption?: string | undefined;
1911
- title?: string | undefined;
1912
- }[] | undefined;
1913
- news?: {
1914
- title: string;
1915
- publication: {
1916
- name: string;
1917
- language: string;
1918
- };
1919
- publicationDate: string | Date;
1920
- } | undefined;
1921
- } | undefined;
1922
- fromCrawl?: boolean | undefined;
1923
- };
1924
- html: string;
1925
- }, ...args: unknown[]) => any) | undefined;
1926
- }, {
1927
- enabled?: boolean | undefined;
1928
- outputPath?: string | undefined;
1929
- autoSubfolderIndex?: boolean | undefined;
1930
- crawlLinks?: boolean | undefined;
1931
- retryCount?: number | undefined;
1932
- retryDelay?: number | undefined;
1933
- onSuccess?: ((args_0: {
1934
- page: {
1935
- path: string;
1936
- sitemap?: {
1937
- exclude?: boolean | undefined;
1938
- priority?: number | undefined;
1939
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1940
- lastmod?: string | Date | undefined;
1941
- alternateRefs?: {
1942
- href: string;
1943
- hreflang: string;
1944
- }[] | undefined;
1945
- images?: {
1946
- loc: string;
1947
- caption?: string | undefined;
1948
- title?: string | undefined;
1949
- }[] | undefined;
1950
- news?: {
1951
- title: string;
1952
- publication: {
1953
- name: string;
1954
- language: string;
1955
- };
1956
- publicationDate: string | Date;
1957
- } | undefined;
1958
- } | undefined;
1959
- fromCrawl?: boolean | undefined;
1960
- };
1961
- html: string;
1962
- }, ...args: unknown[]) => any) | undefined;
1963
- }>>>, {
1964
- enabled: boolean;
1965
- outputPath: string;
1966
- autoSubfolderIndex?: boolean | undefined;
1967
- crawlLinks: boolean;
1968
- retryCount: number;
1969
- retryDelay?: number | undefined;
1970
- onSuccess?: ((args_0: {
1971
- page: {
1972
- path: string;
1973
- sitemap?: {
1974
- exclude?: boolean | undefined;
1975
- priority?: number | undefined;
1976
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
1977
- lastmod?: string | Date | undefined;
1978
- alternateRefs?: {
1979
- href: string;
1980
- hreflang: string;
1981
- }[] | undefined;
1982
- images?: {
1983
- loc: string;
1984
- caption?: string | undefined;
1985
- title?: string | undefined;
1986
- }[] | undefined;
1987
- news?: {
1988
- title: string;
1989
- publication: {
1990
- name: string;
1991
- language: string;
1992
- };
1993
- publicationDate: string | Date;
1994
- } | undefined;
1995
- } | undefined;
1996
- fromCrawl?: boolean | undefined;
1997
- };
1998
- html: string;
1999
- }, ...args: unknown[]) => any) | undefined;
2000
- }, {
2001
- enabled?: boolean | undefined;
2002
- outputPath?: string | undefined;
2003
- autoSubfolderIndex?: boolean | undefined;
2004
- crawlLinks?: boolean | undefined;
2005
- retryCount?: number | undefined;
2006
- retryDelay?: number | undefined;
2007
- onSuccess?: ((args_0: {
2008
- page: {
2009
- path: string;
2010
- sitemap?: {
2011
- exclude?: boolean | undefined;
2012
- priority?: number | undefined;
2013
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2014
- lastmod?: string | Date | undefined;
2015
- alternateRefs?: {
2016
- href: string;
2017
- hreflang: string;
2018
- }[] | undefined;
2019
- images?: {
2020
- loc: string;
2021
- caption?: string | undefined;
2022
- title?: string | undefined;
2023
- }[] | undefined;
2024
- news?: {
2025
- title: string;
2026
- publication: {
2027
- name: string;
2028
- language: string;
2029
- };
2030
- publicationDate: string | Date;
2031
- } | undefined;
2032
- } | undefined;
2033
- fromCrawl?: boolean | undefined;
2034
- };
2035
- html: string;
2036
- }, ...args: unknown[]) => any) | undefined;
2037
- } | undefined>;
2038
- }, "strip", z.ZodTypeAny, {
2039
- prerender: {
2040
- enabled: boolean;
2041
- outputPath: string;
2042
- autoSubfolderIndex?: boolean | undefined;
2043
- crawlLinks: boolean;
2044
- retryCount: number;
2045
- retryDelay?: number | undefined;
2046
- onSuccess?: ((args_0: {
2047
- page: {
2048
- path: string;
2049
- sitemap?: {
2050
- exclude?: boolean | undefined;
2051
- priority?: number | undefined;
2052
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2053
- lastmod?: string | Date | undefined;
2054
- alternateRefs?: {
2055
- href: string;
2056
- hreflang: string;
2057
- }[] | undefined;
2058
- images?: {
2059
- loc: string;
2060
- caption?: string | undefined;
2061
- title?: string | undefined;
2062
- }[] | undefined;
2063
- news?: {
2064
- title: string;
2065
- publication: {
2066
- name: string;
2067
- language: string;
2068
- };
2069
- publicationDate: string | Date;
2070
- } | undefined;
2071
- } | undefined;
2072
- fromCrawl?: boolean | undefined;
2073
- };
2074
- html: string;
2075
- }, ...args: unknown[]) => any) | undefined;
2076
- };
2077
- enabled: boolean;
2078
- maskPath: string;
2079
- }, {
2080
- prerender?: {
2081
- enabled?: boolean | undefined;
2082
- outputPath?: string | undefined;
2083
- autoSubfolderIndex?: boolean | undefined;
2084
- crawlLinks?: boolean | undefined;
2085
- retryCount?: number | undefined;
2086
- retryDelay?: number | undefined;
2087
- onSuccess?: ((args_0: {
2088
- page: {
2089
- path: string;
2090
- sitemap?: {
2091
- exclude?: boolean | undefined;
2092
- priority?: number | undefined;
2093
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2094
- lastmod?: string | Date | undefined;
2095
- alternateRefs?: {
2096
- href: string;
2097
- hreflang: string;
2098
- }[] | undefined;
2099
- images?: {
2100
- loc: string;
2101
- caption?: string | undefined;
2102
- title?: string | undefined;
2103
- }[] | undefined;
2104
- news?: {
2105
- title: string;
2106
- publication: {
2107
- name: string;
2108
- language: string;
2109
- };
2110
- publicationDate: string | Date;
2111
- } | undefined;
2112
- } | undefined;
2113
- fromCrawl?: boolean | undefined;
2114
- };
2115
- html: string;
2116
- }, ...args: unknown[]) => any) | undefined;
2117
- } | undefined;
2118
- enabled?: boolean | undefined;
2119
- maskPath?: string | undefined;
2120
- }>>;
2121
- root: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2122
- target: z.ZodOptional<z.ZodType<import('nitropack/presets').PresetNameInput | undefined, z.ZodTypeDef, import('nitropack/presets').PresetNameInput | undefined>>;
2123
- }, "strip", z.ZodTypeAny, {
2124
- root: string;
2125
- tsr: {
2126
- srcDirectory: string;
2127
- target?: "react" | "solid" | undefined;
2128
- virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
2129
- routeFilePrefix?: string | undefined;
2130
- routeFileIgnorePrefix?: string | undefined;
2131
- routeFileIgnorePattern?: string | undefined;
2132
- routesDirectory?: string | undefined;
2133
- quoteStyle?: "single" | "double" | undefined;
2134
- semicolons?: boolean | undefined;
2135
- disableLogging?: boolean | undefined;
2136
- routeTreeFileHeader?: string[] | undefined;
2137
- indexToken?: string | undefined;
2138
- routeToken?: string | undefined;
2139
- pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
2140
- generatedRouteTree?: string | undefined;
2141
- disableTypes?: boolean | undefined;
2142
- verboseFileRoutes?: boolean | undefined;
2143
- addExtensions?: boolean | undefined;
2144
- disableManifestGeneration?: boolean | undefined;
2145
- enableRouteTreeFormatting?: boolean | undefined;
2146
- routeTreeFileFooter?: string[] | undefined;
2147
- customScaffolding?: {
2148
- routeTemplate?: string | undefined;
2149
- lazyRouteTemplate?: string | undefined;
2150
- } | undefined;
2151
- experimental?: {
2152
- enableCodeSplitting?: boolean | undefined;
2153
- } | undefined;
2154
- };
2155
- client: {
2156
- base: string;
2157
- entry?: string | undefined;
2158
- };
2159
- server: {
2160
- entry?: string | undefined;
2161
- };
2162
- serverFns: {
2163
- base: string;
2164
- };
2165
- public: {
2166
- base: string;
2167
- dir: string;
2168
- };
2169
- pages: {
2170
- path: string;
2171
- prerender?: {
2172
- enabled?: boolean | undefined;
2173
- outputPath?: string | undefined;
2174
- autoSubfolderIndex?: boolean | undefined;
2175
- crawlLinks?: boolean | undefined;
2176
- retryCount?: number | undefined;
2177
- retryDelay?: number | undefined;
2178
- onSuccess?: ((args_0: {
2179
- page: {
2180
- path: string;
2181
- sitemap?: {
2182
- exclude?: boolean | undefined;
2183
- priority?: number | undefined;
2184
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2185
- lastmod?: string | Date | undefined;
2186
- alternateRefs?: {
2187
- href: string;
2188
- hreflang: string;
2189
- }[] | undefined;
2190
- images?: {
2191
- loc: string;
2192
- caption?: string | undefined;
2193
- title?: string | undefined;
2194
- }[] | undefined;
2195
- news?: {
2196
- title: string;
2197
- publication: {
2198
- name: string;
2199
- language: string;
2200
- };
2201
- publicationDate: string | Date;
2202
- } | undefined;
2203
- } | undefined;
2204
- fromCrawl?: boolean | undefined;
2205
- };
2206
- html: string;
2207
- }, ...args: unknown[]) => any) | undefined;
2208
- } | undefined;
2209
- sitemap?: {
2210
- exclude?: boolean | undefined;
2211
- priority?: number | undefined;
2212
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2213
- lastmod?: string | Date | undefined;
2214
- alternateRefs?: {
2215
- href: string;
2216
- hreflang: string;
2217
- }[] | undefined;
2218
- images?: {
2219
- loc: string;
2220
- caption?: string | undefined;
2221
- title?: string | undefined;
2222
- }[] | undefined;
2223
- news?: {
2224
- title: string;
2225
- publication: {
2226
- name: string;
2227
- language: string;
2228
- };
2229
- publicationDate: string | Date;
2230
- } | undefined;
2231
- } | undefined;
2232
- fromCrawl?: boolean | undefined;
2233
- }[];
2234
- target?: import('nitropack/presets').PresetNameInput | undefined;
2235
- prerender?: ({
2236
- filter?: ((args_0: {
2237
- path: string;
2238
- prerender?: {
2239
- enabled?: boolean | undefined;
2240
- outputPath?: string | undefined;
2241
- autoSubfolderIndex?: boolean | undefined;
2242
- crawlLinks?: boolean | undefined;
2243
- retryCount?: number | undefined;
2244
- retryDelay?: number | undefined;
2245
- onSuccess?: ((args_0: {
2246
- page: {
2247
- path: string;
2248
- sitemap?: {
2249
- exclude?: boolean | undefined;
2250
- priority?: number | undefined;
2251
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2252
- lastmod?: string | Date | undefined;
2253
- alternateRefs?: {
2254
- href: string;
2255
- hreflang: string;
2256
- }[] | undefined;
2257
- images?: {
2258
- loc: string;
2259
- caption?: string | undefined;
2260
- title?: string | undefined;
2261
- }[] | undefined;
2262
- news?: {
2263
- title: string;
2264
- publication: {
2265
- name: string;
2266
- language: string;
2267
- };
2268
- publicationDate: string | Date;
2269
- } | undefined;
2270
- } | undefined;
2271
- fromCrawl?: boolean | undefined;
2272
- };
2273
- html: string;
2274
- }, ...args: unknown[]) => any) | undefined;
2275
- } | undefined;
2276
- sitemap?: {
2277
- exclude?: boolean | undefined;
2278
- priority?: number | undefined;
2279
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2280
- lastmod?: string | Date | undefined;
2281
- alternateRefs?: {
2282
- href: string;
2283
- hreflang: string;
2284
- }[] | undefined;
2285
- images?: {
2286
- loc: string;
2287
- caption?: string | undefined;
2288
- title?: string | undefined;
2289
- }[] | undefined;
2290
- news?: {
2291
- title: string;
2292
- publication: {
2293
- name: string;
2294
- language: string;
2295
- };
2296
- publicationDate: string | Date;
2297
- } | undefined;
2298
- } | undefined;
2299
- fromCrawl?: boolean | undefined;
2300
- }, ...args: unknown[]) => any) | undefined;
2301
- enabled?: boolean | undefined;
2302
- concurrency?: number | undefined;
2303
- failOnError?: boolean | undefined;
2304
- } & {
2305
- enabled?: boolean | undefined;
2306
- outputPath?: string | undefined;
2307
- autoSubfolderIndex?: boolean | undefined;
2308
- crawlLinks?: boolean | undefined;
2309
- retryCount?: number | undefined;
2310
- retryDelay?: number | undefined;
2311
- onSuccess?: ((args_0: {
2312
- page: {
2313
- path: string;
2314
- sitemap?: {
2315
- exclude?: boolean | undefined;
2316
- priority?: number | undefined;
2317
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2318
- lastmod?: string | Date | undefined;
2319
- alternateRefs?: {
2320
- href: string;
2321
- hreflang: string;
2322
- }[] | undefined;
2323
- images?: {
2324
- loc: string;
2325
- caption?: string | undefined;
2326
- title?: string | undefined;
2327
- }[] | undefined;
2328
- news?: {
2329
- title: string;
2330
- publication: {
2331
- name: string;
2332
- language: string;
2333
- };
2334
- publicationDate: string | Date;
2335
- } | undefined;
2336
- } | undefined;
2337
- fromCrawl?: boolean | undefined;
2338
- };
2339
- html: string;
2340
- }, ...args: unknown[]) => any) | undefined;
2341
- }) | undefined;
2342
- sitemap?: {
2343
- enabled: boolean;
2344
- outputPath: string;
2345
- host?: string | undefined;
2346
- } | undefined;
2347
- spa?: {
2348
- prerender: {
2349
- enabled: boolean;
2350
- outputPath: string;
2351
- autoSubfolderIndex?: boolean | undefined;
2352
- crawlLinks: boolean;
2353
- retryCount: number;
2354
- retryDelay?: number | undefined;
2355
- onSuccess?: ((args_0: {
2356
- page: {
2357
- path: string;
2358
- sitemap?: {
2359
- exclude?: boolean | undefined;
2360
- priority?: number | undefined;
2361
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2362
- lastmod?: string | Date | undefined;
2363
- alternateRefs?: {
2364
- href: string;
2365
- hreflang: string;
2366
- }[] | undefined;
2367
- images?: {
2368
- loc: string;
2369
- caption?: string | undefined;
2370
- title?: string | undefined;
2371
- }[] | undefined;
2372
- news?: {
2373
- title: string;
2374
- publication: {
2375
- name: string;
2376
- language: string;
2377
- };
2378
- publicationDate: string | Date;
2379
- } | undefined;
2380
- } | undefined;
2381
- fromCrawl?: boolean | undefined;
2382
- };
2383
- html: string;
2384
- }, ...args: unknown[]) => any) | undefined;
2385
- };
2386
- enabled: boolean;
2387
- maskPath: string;
2388
- } | undefined;
2389
- }, {
2390
- target?: import('nitropack/presets').PresetNameInput | undefined;
2391
- root?: string | undefined;
2392
- prerender?: ({
2393
- filter?: ((args_0: {
2394
- path: string;
2395
- prerender?: {
2396
- enabled?: boolean | undefined;
2397
- outputPath?: string | undefined;
2398
- autoSubfolderIndex?: boolean | undefined;
2399
- crawlLinks?: boolean | undefined;
2400
- retryCount?: number | undefined;
2401
- retryDelay?: number | undefined;
2402
- onSuccess?: ((args_0: {
2403
- page: {
2404
- path: string;
2405
- sitemap?: {
2406
- exclude?: boolean | undefined;
2407
- priority?: number | undefined;
2408
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2409
- lastmod?: string | Date | undefined;
2410
- alternateRefs?: {
2411
- href: string;
2412
- hreflang: string;
2413
- }[] | undefined;
2414
- images?: {
2415
- loc: string;
2416
- caption?: string | undefined;
2417
- title?: string | undefined;
2418
- }[] | undefined;
2419
- news?: {
2420
- title: string;
2421
- publication: {
2422
- name: string;
2423
- language: string;
2424
- };
2425
- publicationDate: string | Date;
2426
- } | undefined;
2427
- } | undefined;
2428
- fromCrawl?: boolean | undefined;
2429
- };
2430
- html: string;
2431
- }, ...args: unknown[]) => any) | undefined;
2432
- } | undefined;
2433
- sitemap?: {
2434
- exclude?: boolean | undefined;
2435
- priority?: number | undefined;
2436
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2437
- lastmod?: string | Date | undefined;
2438
- alternateRefs?: {
2439
- href: string;
2440
- hreflang: string;
2441
- }[] | undefined;
2442
- images?: {
2443
- loc: string;
2444
- caption?: string | undefined;
2445
- title?: string | undefined;
2446
- }[] | undefined;
2447
- news?: {
2448
- title: string;
2449
- publication: {
2450
- name: string;
2451
- language: string;
2452
- };
2453
- publicationDate: string | Date;
2454
- } | undefined;
2455
- } | undefined;
2456
- fromCrawl?: boolean | undefined;
2457
- }, ...args: unknown[]) => any) | undefined;
2458
- enabled?: boolean | undefined;
2459
- concurrency?: number | undefined;
2460
- failOnError?: boolean | undefined;
2461
- } & {
2462
- enabled?: boolean | undefined;
2463
- outputPath?: string | undefined;
2464
- autoSubfolderIndex?: boolean | undefined;
2465
- crawlLinks?: boolean | undefined;
2466
- retryCount?: number | undefined;
2467
- retryDelay?: number | undefined;
2468
- onSuccess?: ((args_0: {
2469
- page: {
2470
- path: string;
2471
- sitemap?: {
2472
- exclude?: boolean | undefined;
2473
- priority?: number | undefined;
2474
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2475
- lastmod?: string | Date | undefined;
2476
- alternateRefs?: {
2477
- href: string;
2478
- hreflang: string;
2479
- }[] | undefined;
2480
- images?: {
2481
- loc: string;
2482
- caption?: string | undefined;
2483
- title?: string | undefined;
2484
- }[] | undefined;
2485
- news?: {
2486
- title: string;
2487
- publication: {
2488
- name: string;
2489
- language: string;
2490
- };
2491
- publicationDate: string | Date;
2492
- } | undefined;
2493
- } | undefined;
2494
- fromCrawl?: boolean | undefined;
2495
- };
2496
- html: string;
2497
- }, ...args: unknown[]) => any) | undefined;
2498
- }) | undefined;
2499
- tsr?: {
2500
- target?: "react" | "solid" | undefined;
2501
- virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
2502
- routeFilePrefix?: string | undefined;
2503
- routeFileIgnorePrefix?: string | undefined;
2504
- routeFileIgnorePattern?: string | undefined;
2505
- routesDirectory?: string | undefined;
2506
- quoteStyle?: "single" | "double" | undefined;
2507
- semicolons?: boolean | undefined;
2508
- disableLogging?: boolean | undefined;
2509
- routeTreeFileHeader?: string[] | undefined;
2510
- indexToken?: string | undefined;
2511
- routeToken?: string | undefined;
2512
- pathParamsAllowedCharacters?: (";" | ":" | "@" | "&" | "=" | "+" | "$" | ",")[] | undefined;
2513
- generatedRouteTree?: string | undefined;
2514
- disableTypes?: boolean | undefined;
2515
- verboseFileRoutes?: boolean | undefined;
2516
- addExtensions?: boolean | undefined;
2517
- disableManifestGeneration?: boolean | undefined;
2518
- enableRouteTreeFormatting?: boolean | undefined;
2519
- routeTreeFileFooter?: string[] | undefined;
2520
- customScaffolding?: {
2521
- routeTemplate?: string | undefined;
2522
- lazyRouteTemplate?: string | undefined;
2523
- } | undefined;
2524
- experimental?: {
2525
- enableCodeSplitting?: boolean | undefined;
2526
- } | undefined;
2527
- srcDirectory?: string | undefined;
2528
- } | undefined;
2529
- client?: {
2530
- entry?: string | undefined;
2531
- base?: string | undefined;
2532
- } | undefined;
2533
- server?: {
2534
- entry?: string | undefined;
2535
- } | undefined;
2536
- serverFns?: {
2537
- base?: string | undefined;
2538
- } | undefined;
2539
- public?: {
2540
- base?: string | undefined;
2541
- dir?: string | undefined;
2542
- } | undefined;
2543
- sitemap?: {
2544
- enabled?: boolean | undefined;
2545
- outputPath?: string | undefined;
2546
- host?: string | undefined;
2547
- } | undefined;
2548
- pages?: {
2549
- path: string;
2550
- prerender?: {
2551
- enabled?: boolean | undefined;
2552
- outputPath?: string | undefined;
2553
- autoSubfolderIndex?: boolean | undefined;
2554
- crawlLinks?: boolean | undefined;
2555
- retryCount?: number | undefined;
2556
- retryDelay?: number | undefined;
2557
- onSuccess?: ((args_0: {
2558
- page: {
2559
- path: string;
2560
- sitemap?: {
2561
- exclude?: boolean | undefined;
2562
- priority?: number | undefined;
2563
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2564
- lastmod?: string | Date | undefined;
2565
- alternateRefs?: {
2566
- href: string;
2567
- hreflang: string;
2568
- }[] | undefined;
2569
- images?: {
2570
- loc: string;
2571
- caption?: string | undefined;
2572
- title?: string | undefined;
2573
- }[] | undefined;
2574
- news?: {
2575
- title: string;
2576
- publication: {
2577
- name: string;
2578
- language: string;
2579
- };
2580
- publicationDate: string | Date;
2581
- } | undefined;
2582
- } | undefined;
2583
- fromCrawl?: boolean | undefined;
2584
- };
2585
- html: string;
2586
- }, ...args: unknown[]) => any) | undefined;
2587
- } | undefined;
2588
- sitemap?: {
2589
- exclude?: boolean | undefined;
2590
- priority?: number | undefined;
2591
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2592
- lastmod?: string | Date | undefined;
2593
- alternateRefs?: {
2594
- href: string;
2595
- hreflang: string;
2596
- }[] | undefined;
2597
- images?: {
2598
- loc: string;
2599
- caption?: string | undefined;
2600
- title?: string | undefined;
2601
- }[] | undefined;
2602
- news?: {
2603
- title: string;
2604
- publication: {
2605
- name: string;
2606
- language: string;
2607
- };
2608
- publicationDate: string | Date;
2609
- } | undefined;
2610
- } | undefined;
2611
- fromCrawl?: boolean | undefined;
2612
- }[] | undefined;
2613
- spa?: {
2614
- prerender?: {
2615
- enabled?: boolean | undefined;
2616
- outputPath?: string | undefined;
2617
- autoSubfolderIndex?: boolean | undefined;
2618
- crawlLinks?: boolean | undefined;
2619
- retryCount?: number | undefined;
2620
- retryDelay?: number | undefined;
2621
- onSuccess?: ((args_0: {
2622
- page: {
2623
- path: string;
2624
- sitemap?: {
2625
- exclude?: boolean | undefined;
2626
- priority?: number | undefined;
2627
- changefreq?: "always" | "hourly" | "daily" | "weekly" | "monthly" | "yearly" | "never" | undefined;
2628
- lastmod?: string | Date | undefined;
2629
- alternateRefs?: {
2630
- href: string;
2631
- hreflang: string;
2632
- }[] | undefined;
2633
- images?: {
2634
- loc: string;
2635
- caption?: string | undefined;
2636
- title?: string | undefined;
2637
- }[] | undefined;
2638
- news?: {
2639
- title: string;
2640
- publication: {
2641
- name: string;
2642
- language: string;
2643
- };
2644
- publicationDate: string | Date;
2645
- } | undefined;
2646
- } | undefined;
2647
- fromCrawl?: boolean | undefined;
2648
- };
2649
- html: string;
2650
- }, ...args: unknown[]) => any) | undefined;
2651
- } | undefined;
2652
- enabled?: boolean | undefined;
2653
- maskPath?: string | undefined;
2654
- } | undefined;
2655
- }>>>;
2656
- export type TanStackStartInputConfig = z.input<typeof TanStackStartOptionsSchema>;
5
+ export type TanStackStartInputConfig = z.input<ReturnType<typeof createTanStackStartOptionsSchema>>;
2657
6
  export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig): {
2658
7
  tsr: {
2659
8
  target: "react" | "solid";
@@ -2668,9 +17,9 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
2668
17
  generatedRouteTree: string;
2669
18
  disableTypes: boolean;
2670
19
  addExtensions: boolean;
2671
- disableManifestGeneration: boolean;
2672
20
  enableRouteTreeFormatting: boolean;
2673
21
  routeTreeFileFooter: string[];
22
+ tmpDir: string;
2674
23
  virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined;
2675
24
  routeFilePrefix?: string | undefined;
2676
25
  routeFileIgnorePattern?: string | undefined;
@@ -2684,6 +33,7 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
2684
33
  experimental?: {
2685
34
  enableCodeSplitting?: boolean | undefined;
2686
35
  } | undefined;
36
+ plugins?: import('@tanstack/router-generator').GeneratorPlugin[] | undefined;
2687
37
  srcDirectory: string;
2688
38
  };
2689
39
  clientEntryPath: string;
@@ -2925,10 +275,17 @@ export declare function getTanStackStartOptions(opts?: TanStackStartInputConfig)
2925
275
  } | undefined;
2926
276
  };
2927
277
  export type TanStackStartOutputConfig = ReturnType<typeof getTanStackStartOptions>;
2928
- export declare const clientDistDir = ".tanstack-start/build/client-dist";
2929
- export declare const ssrEntryFile = "ssr.mjs";
2930
278
  export interface TanStackStartVitePluginCoreOptions {
2931
279
  framework: CompileStartFrameworkOptions;
280
+ getVirtualServerRootHandler: (ctx: {
281
+ routerFilepath: string;
282
+ serverEntryFilepath: string;
283
+ }) => string;
284
+ getVirtualServerEntry: (ctx: {
285
+ routerFilepath: string;
286
+ }) => string;
287
+ getVirtualClientEntry: (ctx: {
288
+ routerFilepath: string;
289
+ }) => string;
2932
290
  }
2933
291
  export declare function TanStackStartVitePluginCore(opts: TanStackStartVitePluginCoreOptions, startConfig: TanStackStartOutputConfig): Array<PluginOption>;
2934
- export {};