-
-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94b4efb
commit e57b66f
Showing
8 changed files
with
262 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
38
docs/.react-router/types/app/routes/+types/docs.$tag.$slug.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
38
docs/.react-router/types/app/routes/+types/docs.$tag._index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() |