Skip to content

Commit

Permalink
final fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AlemTuzlak committed Nov 22, 2024
1 parent 94b4efb commit e57b66f
Show file tree
Hide file tree
Showing 8 changed files with 262 additions and 1 deletion.
37 changes: 37 additions & 0 deletions docs/.react-router/types/app/+types/root.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// React Router generated types for route:
// root.tsx

import type * as T from "react-router/route-module"



type Module = typeof import("../root")

export type Info = {
parents: [],
id: "root"
file: "root.tsx"
path: ""
params: {}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
37 changes: 37 additions & 0 deletions docs/.react-router/types/app/routes/+types/_index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// React Router generated types for route:
// routes/_index.tsx

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"

type Module = typeof import("../_index")

export type Info = {
parents: [Parent0],
id: "routes/_index"
file: "routes/_index.tsx"
path: "undefined"
params: {}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
38 changes: 38 additions & 0 deletions docs/.react-router/types/app/routes/+types/docs.$tag.$slug.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// React Router generated types for route:
// routes/docs.$tag.$slug.tsx

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"
import type { Info as Parent1 } from "./docs.$tag"

type Module = typeof import("../docs.$tag.$slug")

export type Info = {
parents: [Parent0, Parent1],
id: "routes/docs.$tag.$slug"
file: "routes/docs.$tag.$slug.tsx"
path: ":slug"
params: {"tag": string; "slug": string}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
38 changes: 38 additions & 0 deletions docs/.react-router/types/app/routes/+types/docs.$tag._index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// React Router generated types for route:
// routes/docs.$tag._index.tsx

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"
import type { Info as Parent1 } from "./docs.$tag"

type Module = typeof import("../docs.$tag._index")

export type Info = {
parents: [Parent0, Parent1],
id: "routes/docs.$tag._index"
file: "routes/docs.$tag._index.tsx"
path: "undefined"
params: {"tag": string}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
37 changes: 37 additions & 0 deletions docs/.react-router/types/app/routes/+types/docs.$tag.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// React Router generated types for route:
// routes/docs.$tag.tsx

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"

type Module = typeof import("../docs.$tag")

export type Info = {
parents: [Parent0],
id: "routes/docs.$tag"
file: "routes/docs.$tag.tsx"
path: "docs/:tag"
params: {"tag": string}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
37 changes: 37 additions & 0 deletions docs/.react-router/types/app/routes/+types/healthcheck.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// React Router generated types for route:
// routes/healthcheck.tsx

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"

type Module = typeof import("../healthcheck")

export type Info = {
parents: [Parent0],
id: "routes/healthcheck"
file: "routes/healthcheck.tsx"
path: "healthcheck"
params: {}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
37 changes: 37 additions & 0 deletions docs/.react-router/types/app/routes/+types/updateTheme.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
// React Router generated types for route:
// routes/updateTheme.ts

import type * as T from "react-router/route-module"

import type { Info as Parent0 } from "../../+types/root"

type Module = typeof import("../updateTheme")

export type Info = {
parents: [Parent0],
id: "routes/updateTheme"
file: "routes/updateTheme.ts"
path: "updateTheme"
params: {}
module: Module
loaderData: T.CreateLoaderData<Module>
actionData: T.CreateActionData<Module>
}

export namespace Route {
export type LinkDescriptors = T.LinkDescriptors
export type LinksFunction = () => LinkDescriptors

export type MetaArgs = T.CreateMetaArgs<Info>
export type MetaDescriptors = T.MetaDescriptors
export type MetaFunction = (args: MetaArgs) => MetaDescriptors

export type LoaderArgs = T.CreateServerLoaderArgs<Info>
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
export type ActionArgs = T.CreateServerActionArgs<Info>
export type ClientActionArgs = T.CreateClientActionArgs<Info>

export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
export type ComponentProps = T.CreateComponentProps<Info>
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
}
2 changes: 1 addition & 1 deletion docs/app/routes.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { flatRoutes } from "@react-router/fs-routes"

export const routes = flatRoutes()
export default flatRoutes()

0 comments on commit e57b66f

Please sign in to comment.