forked from ory/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
console-routes.ts
281 lines (281 loc) · 9.63 KB
/
console-routes.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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
export const routes = {
default: {
homepage: "https://ory.sh/",
pricing: "https://ory.sh/pricing",
console: "https://console.ory.sh/",
tos: "https://ory.sh/ptos",
privacy: "https://ory.sh/privacy",
docs: "https://ory.sh/docs",
videos: "https://www.youtube.com/c/ORYAcadamy/videos",
status: "https://status.ory.sh/",
slack: "https://slack.ory.sh/",
github: "https://github.com/ory",
bug: "https://github.com/ory/network/issues/new",
contact: "https://www.ory.sh/contact/",
twitter: "https://twitter.com/orycorp",
talkToUs: "https://ory.sh/talk-to-us",
},
resources: {
iso27001:
"https://www.ory.sh/resources/iso27001/OryCorp-ISO27001-Certificate-of-Registration.pdf",
},
root: "/",
"404": "/404",
_500: "/500",
error: "/error",
support: "/support",
account: {
login: "/login",
recovery: "/recovery",
verification: "/verification",
register: "/registration",
settings: "/settings",
advancedSettings: "/settings/advanced",
},
getStarted: {
onboard: "/get-started",
},
invites: "/invites",
guides: "/guides",
project: {
activity: {
route: "/projects/[project]/activity",
href: (project: string) => `/projects/${project}/activity`,
events: {
route: "/projects/[project]/activity/events",
href: (project: string) => `/projects/${project}/activity/events`,
},
},
connect: {
href: (project: string) => `/projects/${project}/connect`,
route: "/projects/[project]/connect",
},
developers: {
href: (project: string) => `/projects/${project}/developers`,
route: "/projects/[project]/developers",
actions: {
route: "/projects/[project]/developers/actions",
href: (project: string) => `/projects/${project}/developers/actions`,
},
guides: {
route: "/projects/[project]/developers/guides",
href: (project: string) => `/projects/${project}/developers/guides`,
},
},
list: "/projects",
create: "/projects/create",
settings: {
route: "/projects/[project]/settings",
href: (project: string) => `/projects/${project}/settings`,
endpoints: {
route: "/projects/[project]/browser-redirects",
href: (project: string) => `/projects/${project}/browser-redirects`,
},
billing: {
route: "/projects/[project]/settings/billing",
href: (project: string) => `/projects/${project}/settings/billing`,
},
collaborators: {
route: "/projects/[project]/settings/collaborators",
href: (project: string) =>
`/projects/${project}/settings/collaborators`,
},
advanced: {
route: "/projects/[project]/settings/advanced",
href: (project: string) => `/projects/${project}/settings/advanced`,
},
},
cname: {
route: "/projects/[project]/custom-domains",
href: (project: string) => `/projects/${project}/custom-domains`,
},
passwordless: {
route: "/projects/[project]/passwordless",
href: (project: string) => `/projects/${project}/passwordless`,
},
mfa: {
route: "/projects/[project]/mfa",
href: (project: string) => `/projects/${project}/mfa`,
},
recovery: {
route: "/projects/[project]/recovery",
href: (project: string) => `/projects/${project}/recovery`,
},
verification: {
route: "/projects/[project]/verification",
href: (project: string) => `/projects/${project}/verification`,
},
emailConfiguration: {
route: "/projects/[project]/email-configuration",
href: (project: string) => `/projects/${project}/email-configuration`,
},
emailTemplates: {
route: "/projects/[project]/email-templates",
href: (project: string) => `/projects/${project}/email-templates`,
},
smsConfiguration: {
route: "/projects/[project]/sms-configuration",
href: (project: string) => `/projects/${project}/sms-configuration`,
},
sessionSettings: {
route: "/projects/[project]/session-settings",
href: (project: string) => `/projects/${project}/session-settings`,
},
ui: {
route: "/projects/[project]/ui",
href: (project: string) => `/projects/${project}/ui`,
},
identities: {
list: {
route: "/projects/[project]/identities",
href: (project: string) => `/projects/${project}/identities`,
},
details: {
route: "/projects/[project]/identities/[identity]",
href: (project: string, identity: string) =>
`/projects/${project}/identities/${identity}`,
},
},
sessions: {
list: {
route: "/projects/[project]/sessions",
href: (project: string) => `/projects/${project}/sessions`,
},
details: {
route: "/projects/[project]/sessions/[session]",
href: (project: string, id: string) =>
`/projects/${project}/sessions/${id}`,
},
},
permissions: {
relationships: {
route: "/projects/[project]/permissions/relationships",
href: (project: string) =>
`/projects/${project}/permissions/relationships`,
},
configuration: {
route: "/projects/[project]/permissions/configuration",
href: (project: string) =>
`/projects/${project}/permissions/configuration`,
},
},
identitySchema: {
route: "/projects/[project]/identity-schema",
href: (project: string) => `/projects/${project}/identity-schema`,
},
socialSignIn: {
route: "/projects/[project]/social-signin",
href: (project: string) => `/projects/${project}/social-signin`,
configureProvider: {
route: "/projects/[project]/social-signin/[provider]",
href: (project: string, providerId: string) =>
`/projects/${project}/social-signin/${providerId}`,
},
},
oauthConfiguration: {
route: "/projects/[project]/oauth",
href: (project: string) => `/projects/${project}/oauth`,
edit: {
route: "/projects/[project]/oauth/[client]",
href: (project: string, client: string) =>
`/projects/${project}/oauth/${client}`,
},
create: {
route: "/projects/[project]/oauth/create",
href: (project: string) => `/projects/${project}/oauth/create`,
},
overview: {
route: "/projects/[project]/oauth/overview",
href: (project: string) => `/projects/${project}/oauth/overview`,
},
configure: {
route: "/projects/[project]/oauth/configure",
href: (project: string) => `/projects/${project}/oauth/configure`,
},
identityIntegration: {
route: "/projects/[project]/oauth/identity-integration-settings",
href: (project: string) =>
`/projects/${project}/oauth/identity-integration-settings`,
},
},
courierMessages: {
route: "/projects/[project]/email-delivery",
href: (project: string) => `/projects/${project}/email-delivery`,
detail: {
route: "/projects/[project]/courier-messages/[id]",
href: (project: string, msgID: string) =>
`/projects/${project}/email-delivery/${msgID}`,
},
},
accountExperience: {
route: "/projects/[project]/account-experience",
href: (project: string) => `/projects/${project}/account-experience`,
theming: {
route: "/projects/[project]/account-experience/theming",
href: (project: string) =>
`/projects/${project}/account-experience/theming`,
},
},
authentication: {
route: "/projects/[project]/authentication",
href: (project: string) => `/projects/${project}/authentication`,
sessionSettings: {
route: "/projects/[project]/authentication/sessions",
href: (project: string) =>
`/projects/${project}/authentication/sessions`,
},
organizations: {
route: "/projects/[project]/authentication/organizations",
href: (project: string) =>
`/projects/${project}/authentication/organizations`,
edit: {
route: "/projects/[project]/authentication/organizations/[id]",
href: (project: string, id: string) =>
`/projects/${project}/authentication/organizations/${id}`,
},
},
},
hostedUI: {
registration: (base: string) => `${base}/registration`,
login: (base: string) => `${base}/login`,
},
getStarted: {
route: "/projects/[project]/get-started",
href: (project: string) => `/projects/${project}/get-started`,
},
},
workspace: {
route: "/workspaces/[workspace]",
href: (workspace: string) => `/workspaces/${workspace}`,
create: "/workspaces/create",
list: "/workspaces",
projects: {
route: "/workspaces/[workspace]/projects",
href: (workspace: string) => `/workspaces/${workspace}/projects`,
},
settings: {
route: "/workspaces/[workspace]/settings",
href: (workspace: string) => `/workspaces/${workspace}/settings`,
members: {
route: "/workspaces/[workspace]/settings/members",
href: (workspace: string) =>
`/workspaces/${workspace}/settings/members`,
},
apiKeys: {
route: "/workspaces/[workspace]/settings/api-keys",
href: (workspace: string) =>
`/workspaces/${workspace}/settings/api-keys`,
},
subscription: {
route: "/workspaces/[workspace]/settings/subscription",
href: (workspace: string) =>
`/workspaces/${workspace}/settings/subscription`,
},
billing: {
route: "/workspaces/[workspace]/settings/billing",
href: (workspace: string) =>
`/workspaces/${workspace}/settings/billing`,
},
},
},
}