-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade from Remix v2 -> React Router v7
- Loading branch information
1 parent
9e21d43
commit 6ca8a02
Showing
44 changed files
with
867 additions
and
2,516 deletions.
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,40 @@ | ||
// React Router generated types for route: | ||
// root.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
|
||
|
||
type Module = typeof import("../root.js") | ||
|
||
export type Info = { | ||
parents: [], | ||
id: "root" | ||
file: "root.tsx" | ||
path: "" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.agents.$agent.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.agents.$agent.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.agents.$agent.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.agents.$agent" | ||
file: "routes/_auth.agents.$agent.tsx" | ||
path: "agents/:agent" | ||
params: {"agent": string} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.agents._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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.agents._index.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.agents._index.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.agents._index" | ||
file: "routes/_auth.agents._index.tsx" | ||
path: "agents" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.debug.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.debug.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.debug.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.debug" | ||
file: "routes/_auth.debug.tsx" | ||
path: "debug" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.home.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.home.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.home.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.home" | ||
file: "routes/_auth.home.tsx" | ||
path: "home" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.model-providers.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.model-providers.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.model-providers.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.model-providers" | ||
file: "routes/_auth.model-providers.tsx" | ||
path: "model-providers" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.oauth-apps.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.oauth-apps.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.oauth-apps.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.oauth-apps" | ||
file: "routes/_auth.oauth-apps.tsx" | ||
path: "oauth-apps" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.threads.$id.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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.threads.$id.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.threads.$id.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.threads.$id" | ||
file: "routes/_auth.threads.$id.tsx" | ||
path: "threads/:id" | ||
params: {"id": string} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
41 changes: 41 additions & 0 deletions
41
ui/admin/.react-router/types/app/routes/+types/_auth.threads._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,41 @@ | ||
// React Router generated types for route: | ||
// routes/_auth.threads._index.tsx | ||
|
||
import type * as T from "react-router/route-module" | ||
|
||
import type { Info as Parent0 } from "../../+types/root.js" | ||
import type { Info as Parent1 } from "./_auth.js" | ||
|
||
type Module = typeof import("../_auth.threads._index.js") | ||
|
||
export type Info = { | ||
parents: [Parent0, Parent1], | ||
id: "routes/_auth.threads._index" | ||
file: "routes/_auth.threads._index.tsx" | ||
path: "threads" | ||
params: {} & { [key: string]: string | undefined } | ||
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 HeadersArgs = T.HeadersArgs | ||
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit | ||
|
||
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> | ||
} |
Oops, something went wrong.