Skip to content

Commit 66815e6

Browse files
feat: rr config file; enable ssr
1 parent eeb5069 commit 66815e6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1939
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// root.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
7+
8+
type Module = typeof import("../root.js")
9+
10+
export type Info = {
11+
parents: [],
12+
id: "root"
13+
file: "root.tsx"
14+
path: ""
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/$.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../+types/root.js"
7+
8+
type Module = typeof import("../$.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/$"
13+
file: "routes/$.tsx"
14+
path: "*"
15+
params: {"*": string} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/me.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../+types/root.js"
7+
8+
type Module = typeof import("../me.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/me"
13+
file: "routes/me.tsx"
14+
path: "me"
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/auth.$provider.callback.ts
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../auth.$provider.callback.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/auth.$provider.callback"
13+
file: "routes/_auth+/auth.$provider.callback.ts"
14+
path: "auth/:provider/callback"
15+
params: {"provider": string} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/auth_.$provider.ts
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../auth_.$provider.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/auth_.$provider"
13+
file: "routes/_auth+/auth_.$provider.ts"
14+
path: "auth/:provider"
15+
params: {"provider": string} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/forgot-password.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../forgot-password.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/forgot-password"
13+
file: "routes/_auth+/forgot-password.tsx"
14+
path: "forgot-password"
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/login.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../login.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/login"
13+
file: "routes/_auth+/login.tsx"
14+
path: "login"
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/logout.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../logout.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/logout"
13+
file: "routes/_auth+/logout.tsx"
14+
path: "logout"
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// React Router generated types for route:
2+
// routes/_auth+/onboarding.tsx
3+
4+
import type * as T from "react-router/route-module"
5+
6+
import type { Info as Parent0 } from "../../../+types/root.js"
7+
8+
type Module = typeof import("../onboarding.js")
9+
10+
export type Info = {
11+
parents: [Parent0],
12+
id: "routes/_auth+/onboarding"
13+
file: "routes/_auth+/onboarding.tsx"
14+
path: "onboarding"
15+
params: {} & { [key: string]: string | undefined }
16+
module: Module
17+
loaderData: T.CreateLoaderData<Module>
18+
actionData: T.CreateActionData<Module>
19+
}
20+
21+
export namespace Route {
22+
export type LinkDescriptors = T.LinkDescriptors
23+
export type LinksFunction = () => LinkDescriptors
24+
25+
export type MetaArgs = T.CreateMetaArgs<Info>
26+
export type MetaDescriptors = T.MetaDescriptors
27+
export type MetaFunction = (args: MetaArgs) => MetaDescriptors
28+
29+
export type HeadersArgs = T.HeadersArgs
30+
export type HeadersFunction = (args: HeadersArgs) => Headers | HeadersInit
31+
32+
export type LoaderArgs = T.CreateServerLoaderArgs<Info>
33+
export type ClientLoaderArgs = T.CreateClientLoaderArgs<Info>
34+
export type ActionArgs = T.CreateServerActionArgs<Info>
35+
export type ClientActionArgs = T.CreateClientActionArgs<Info>
36+
37+
export type HydrateFallbackProps = T.CreateHydrateFallbackProps<Info>
38+
export type ComponentProps = T.CreateComponentProps<Info>
39+
export type ErrorBoundaryProps = T.CreateErrorBoundaryProps<Info>
40+
}

0 commit comments

Comments
 (0)