-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathroutes.d.ts
160 lines (159 loc) · 8.13 KB
/
routes.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
// deno-lint-ignore-file
/* eslint-disable */
// biome-ignore: needed import
import type { OneRouter } from "one";
declare module "one" {
export namespace OneRouter {
export interface __routes<T extends string = string>
extends Record<string, unknown> {
StaticRoutes:
| `/`
| `/(home)`
| `/(home)/`
| `/(home)/saved`
| `/(tabs)`
| `/(tabs)/`
| `/(tabs)/(home)`
| `/(tabs)/(home)/`
| `/(tabs)/(home)/saved`
| `/(tabs)/communities`
| `/(tabs)/communities/`
| `/(tabs)/communities/saved`
| `/(tabs)/create`
| `/(tabs)/create/`
| `/(tabs)/create/choose-community`
| `/(tabs)/inbox`
| `/(tabs)/inbox/`
| `/(tabs)/inbox/saved`
| `/(tabs)/saved`
| `/(tabs)/settings`
| `/(tabs)/settings/`
| `/_sitemap`
| `/communities`
| `/communities/`
| `/communities/saved`
| `/create`
| `/create/`
| `/create/choose-community`
| `/inbox`
| `/inbox/`
| `/inbox/saved`
| `/privacy`
| `/saved`
| `/settings`
| `/settings/`
| `/support`;
DynamicRoutes:
| `/(home)/c/${OneRouter.SingleRoutePart<T>}`
| `/(home)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/(home)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/(home)/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/(home)/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/(home)/s/${OneRouter.SingleRoutePart<T>}`
| `/(home)/u/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/c/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/(tabs)/(home)/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/(home)/u/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/c/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/(tabs)/communities/c/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/communities/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/communities/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/communities/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/communities/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/(tabs)/communities/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/communities/u/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/inbox/c/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/inbox/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/inbox/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/inbox/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/inbox/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/(tabs)/inbox/u/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/s/${OneRouter.SingleRoutePart<T>}`
| `/(tabs)/u/${OneRouter.SingleRoutePart<T>}`
| `/c/${OneRouter.SingleRoutePart<T>}`
| `/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/communities/c/${OneRouter.SingleRoutePart<T>}`
| `/communities/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/communities/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/communities/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/communities/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/communities/s/${OneRouter.SingleRoutePart<T>}`
| `/communities/u/${OneRouter.SingleRoutePart<T>}`
| `/inbox/c/${OneRouter.SingleRoutePart<T>}`
| `/inbox/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}`
| `/inbox/c/${OneRouter.SingleRoutePart<T>}/posts/${OneRouter.SingleRoutePart<T>}/comments/${OneRouter.SingleRoutePart<T>}`
| `/inbox/c/${OneRouter.SingleRoutePart<T>}/s/${OneRouter.SingleRoutePart<T>}`
| `/inbox/c/${OneRouter.SingleRoutePart<T>}/sidebar`
| `/inbox/u/${OneRouter.SingleRoutePart<T>}`
| `/s/${OneRouter.SingleRoutePart<T>}`
| `/u/${OneRouter.SingleRoutePart<T>}`;
DynamicRouteTemplate:
| `/(home)/c/[communityName]`
| `/(home)/c/[communityName]/posts/[postId]`
| `/(home)/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/(home)/c/[communityName]/s/[search]`
| `/(home)/c/[communityName]/sidebar`
| `/(home)/s/[search]`
| `/(home)/u/[userId]`
| `/(tabs)/(home)/c/[communityName]`
| `/(tabs)/(home)/c/[communityName]/posts/[postId]`
| `/(tabs)/(home)/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/(tabs)/(home)/c/[communityName]/s/[search]`
| `/(tabs)/(home)/c/[communityName]/sidebar`
| `/(tabs)/(home)/s/[search]`
| `/(tabs)/(home)/u/[userId]`
| `/(tabs)/c/[communityName]`
| `/(tabs)/c/[communityName]/posts/[postId]`
| `/(tabs)/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/(tabs)/c/[communityName]/s/[search]`
| `/(tabs)/c/[communityName]/sidebar`
| `/(tabs)/communities/c/[communityName]`
| `/(tabs)/communities/c/[communityName]/posts/[postId]`
| `/(tabs)/communities/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/(tabs)/communities/c/[communityName]/s/[search]`
| `/(tabs)/communities/c/[communityName]/sidebar`
| `/(tabs)/communities/s/[search]`
| `/(tabs)/communities/u/[userId]`
| `/(tabs)/inbox/c/[communityName]`
| `/(tabs)/inbox/c/[communityName]/posts/[postId]`
| `/(tabs)/inbox/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/(tabs)/inbox/c/[communityName]/s/[search]`
| `/(tabs)/inbox/c/[communityName]/sidebar`
| `/(tabs)/inbox/u/[userId]`
| `/(tabs)/s/[search]`
| `/(tabs)/u/[userId]`
| `/c/[communityName]`
| `/c/[communityName]/posts/[postId]`
| `/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/c/[communityName]/s/[search]`
| `/c/[communityName]/sidebar`
| `/communities/c/[communityName]`
| `/communities/c/[communityName]/posts/[postId]`
| `/communities/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/communities/c/[communityName]/s/[search]`
| `/communities/c/[communityName]/sidebar`
| `/communities/s/[search]`
| `/communities/u/[userId]`
| `/inbox/c/[communityName]`
| `/inbox/c/[communityName]/posts/[postId]`
| `/inbox/c/[communityName]/posts/[postId]/comments/[commentPath]`
| `/inbox/c/[communityName]/s/[search]`
| `/inbox/c/[communityName]/sidebar`
| `/inbox/u/[userId]`
| `/s/[search]`
| `/u/[userId]`;
IsTyped: true;
}
}
}