@tanstack/router-generator
Advanced tools
Comparing version 1.102.3 to 1.102.4
import { z } from 'zod'; | ||
export declare const configSchema: z.ZodObject<{ | ||
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["react"]>>>; | ||
target: z.ZodDefault<z.ZodOptional<z.ZodEnum<["react", "solid"]>>>; | ||
virtualRouteConfig: z.ZodOptional<z.ZodUnion<[z.ZodType<import('@tanstack/virtual-file-routes').VirtualRootRoute, z.ZodTypeDef, import('@tanstack/virtual-file-routes').VirtualRootRoute>, z.ZodString]>>; | ||
@@ -44,3 +44,3 @@ routeFilePrefix: z.ZodOptional<z.ZodString>; | ||
}, "strip", z.ZodTypeAny, { | ||
target: "react"; | ||
target: "react" | "solid"; | ||
routeFileIgnorePrefix: string; | ||
@@ -74,3 +74,3 @@ routesDirectory: string; | ||
}, { | ||
target?: "react" | undefined; | ||
target?: "react" | "solid" | undefined; | ||
virtualRouteConfig?: string | import('@tanstack/virtual-file-routes').VirtualRootRoute | undefined; | ||
@@ -77,0 +77,0 @@ routeFilePrefix?: string | undefined; |
@@ -6,3 +6,3 @@ import path from "node:path"; | ||
const configSchema = z.object({ | ||
target: z.enum(["react"]).optional().default("react"), | ||
target: z.enum(["react", "solid"]).optional().default("react"), | ||
virtualRouteConfig: virtualRootRouteSchema.or(z.string()).optional(), | ||
@@ -9,0 +9,0 @@ routeFilePrefix: z.string().optional(), |
{ | ||
"name": "@tanstack/router-generator", | ||
"version": "1.102.3", | ||
"version": "1.102.4", | ||
"description": "Modern and scalable routing for React applications", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
@@ -7,3 +7,3 @@ import path from 'node:path' | ||
export const configSchema = z.object({ | ||
target: z.enum(['react']).optional().default('react'), | ||
target: z.enum(['react', 'solid']).optional().default('react'), | ||
virtualRouteConfig: virtualRootRouteSchema.or(z.string()).optional(), | ||
@@ -10,0 +10,0 @@ routeFilePrefix: z.string().optional(), |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
391711
168
59
4
137