@absolutejs/auth 0.65.5 → 0.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/agents/context.d.ts +5 -18
- package/dist/agents/index.js +3 -3
- package/dist/agents/index.js.map +3 -3
- package/dist/agents/routes.d.ts +24 -56
- package/dist/apikeys/routes.d.ts +169 -78
- package/dist/authContext.d.ts +34 -79
- package/dist/authorization/protectPermission.d.ts +11 -23
- package/dist/cli/migrate.js +2 -2
- package/dist/cli/migrate.js.map +4 -4
- package/dist/compliance/routes.d.ts +179 -54
- package/dist/credentials/emailVerification.d.ts +173 -56
- package/dist/credentials/login.d.ts +192 -63
- package/dist/credentials/passwordReset.d.ts +171 -60
- package/dist/credentials/register.d.ts +182 -41
- package/dist/credentials/routes.d.ts +46 -36
- package/dist/htmx/configuredRoutes.d.ts +263 -114
- package/dist/htmx/routes.d.ts +261 -89
- package/dist/index.d.ts +663 -443
- package/dist/index.js +475 -448
- package/dist/index.js.map +48 -48
- package/dist/manifest.js +86 -4
- package/dist/manifest.js.map +3 -3
- package/dist/mfa/challenge.d.ts +189 -59
- package/dist/mfa/management.d.ts +179 -54
- package/dist/mfa/routes.d.ts +34 -40
- package/dist/mfa/sms.d.ts +187 -59
- package/dist/mfa/totp.d.ts +187 -57
- package/dist/oidc/routes.d.ts +73 -74
- package/dist/oidc/vciRoutes.d.ts +9 -45
- package/dist/organizations/routes.d.ts +215 -77
- package/dist/passwordless/routes.d.ts +22 -34
- package/dist/portal/routes.d.ts +162 -55
- package/dist/roles/routes.d.ts +198 -67
- package/dist/routes/authorize.d.ts +182 -90
- package/dist/routes/callback.d.ts +189 -38
- package/dist/routes/profile.d.ts +177 -51
- package/dist/routes/protectRoute.d.ts +11 -23
- package/dist/routes/refresh.d.ts +177 -51
- package/dist/routes/requireAuth.d.ts +9 -21
- package/dist/routes/revoke.d.ts +177 -51
- package/dist/routes/sessions.d.ts +187 -61
- package/dist/routes/signout.d.ts +174 -50
- package/dist/routes/stepUp.d.ts +11 -23
- package/dist/routes/userStatus.d.ts +174 -52
- package/dist/scim/routes.d.ts +208 -73
- package/dist/server.js +475 -448
- package/dist/server.js.map +48 -48
- package/dist/session/cleanup.d.ts +5 -18
- package/dist/session/state.d.ts +3 -23
- package/dist/sso/discoveryRoute.d.ts +158 -52
- package/dist/sso/oidcRoutes.d.ts +211 -59
- package/dist/sso/samlIdpRoutes.d.ts +175 -46
- package/dist/sso/samlRoutes.d.ts +217 -69
- package/dist/typebox.d.ts +4 -4
- package/dist/types.d.ts +3 -5
- package/dist/vault/index.js +3 -3
- package/dist/vault/index.js.map +3 -3
- package/dist/vc/statusListRoutes.d.ts +158 -52
- package/dist/vc/vpRoutes.d.ts +170 -66
- package/dist/webauthn/routes.d.ts +199 -66
- package/package.json +8 -120
package/dist/scim/routes.d.ts
CHANGED
|
@@ -1,21 +1,8 @@
|
|
|
1
|
-
import { Elysia } from 'elysia';
|
|
2
1
|
import { type ScimConfig } from './config';
|
|
3
|
-
export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser, listScimGroups, listScimUsers, onScimGroupCreate, onScimGroupDelete, onScimGroupReplace, onScimUserCreate, onScimUserDeactivate, onScimUserReplace, scimRoute, scimTokenStore }: ScimConfig) =>
|
|
4
|
-
decorator: {};
|
|
5
|
-
store: {};
|
|
6
|
-
derive: {};
|
|
7
|
-
resolve: {};
|
|
8
|
-
}, {
|
|
2
|
+
export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser, listScimGroups, listScimUsers, onScimGroupCreate, onScimGroupDelete, onScimGroupReplace, onScimUserCreate, onScimUserDeactivate, onScimUserReplace, scimRoute, scimTokenStore }: ScimConfig) => import("elysia/types").AddRoute<"", "local", import("elysia/types").DefaultSingleton, {
|
|
9
3
|
typebox: {};
|
|
10
|
-
error:
|
|
11
|
-
}, {
|
|
12
|
-
schema: {};
|
|
13
|
-
standaloneSchema: {};
|
|
14
|
-
macro: {};
|
|
15
|
-
macroFn: {};
|
|
16
|
-
parser: {};
|
|
17
|
-
response: {};
|
|
18
|
-
}, {
|
|
4
|
+
error: [];
|
|
5
|
+
}, import("elysia/types").DefaultMetadata, {
|
|
19
6
|
[x: string]: {
|
|
20
7
|
get: {
|
|
21
8
|
body: unknown;
|
|
@@ -25,6 +12,7 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
25
12
|
response: {
|
|
26
13
|
200: Response;
|
|
27
14
|
};
|
|
15
|
+
error: never;
|
|
28
16
|
};
|
|
29
17
|
};
|
|
30
18
|
} & {
|
|
@@ -37,6 +25,7 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
37
25
|
response: {
|
|
38
26
|
200: Response;
|
|
39
27
|
};
|
|
28
|
+
error: never;
|
|
40
29
|
};
|
|
41
30
|
};
|
|
42
31
|
} & {
|
|
@@ -52,14 +41,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
52
41
|
200: Response;
|
|
53
42
|
422: {
|
|
54
43
|
type: "validation";
|
|
44
|
+
title: "Validation Error";
|
|
45
|
+
status: 422;
|
|
46
|
+
detail?: string;
|
|
55
47
|
on: string;
|
|
56
|
-
summary?: string;
|
|
57
|
-
message?: string;
|
|
58
48
|
found?: unknown;
|
|
59
49
|
property?: string;
|
|
60
50
|
expected?: string;
|
|
61
51
|
};
|
|
62
52
|
};
|
|
53
|
+
error: never;
|
|
63
54
|
};
|
|
64
55
|
};
|
|
65
56
|
} & {
|
|
@@ -75,14 +66,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
75
66
|
200: Response;
|
|
76
67
|
422: {
|
|
77
68
|
type: "validation";
|
|
69
|
+
title: "Validation Error";
|
|
70
|
+
status: 422;
|
|
71
|
+
detail?: string;
|
|
78
72
|
on: string;
|
|
79
|
-
summary?: string;
|
|
80
|
-
message?: string;
|
|
81
73
|
found?: unknown;
|
|
82
74
|
property?: string;
|
|
83
75
|
expected?: string;
|
|
84
76
|
};
|
|
85
77
|
};
|
|
78
|
+
error: never;
|
|
86
79
|
};
|
|
87
80
|
};
|
|
88
81
|
} & {
|
|
@@ -98,14 +91,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
98
91
|
200: Response;
|
|
99
92
|
422: {
|
|
100
93
|
type: "validation";
|
|
94
|
+
title: "Validation Error";
|
|
95
|
+
status: 422;
|
|
96
|
+
detail?: string;
|
|
101
97
|
on: string;
|
|
102
|
-
summary?: string;
|
|
103
|
-
message?: string;
|
|
104
98
|
found?: unknown;
|
|
105
99
|
property?: string;
|
|
106
100
|
expected?: string;
|
|
107
101
|
};
|
|
108
102
|
};
|
|
103
|
+
error: never;
|
|
109
104
|
};
|
|
110
105
|
};
|
|
111
106
|
} & {
|
|
@@ -121,14 +116,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
121
116
|
200: Response;
|
|
122
117
|
422: {
|
|
123
118
|
type: "validation";
|
|
119
|
+
title: "Validation Error";
|
|
120
|
+
status: 422;
|
|
121
|
+
detail?: string;
|
|
124
122
|
on: string;
|
|
125
|
-
summary?: string;
|
|
126
|
-
message?: string;
|
|
127
123
|
found?: unknown;
|
|
128
124
|
property?: string;
|
|
129
125
|
expected?: string;
|
|
130
126
|
};
|
|
131
127
|
};
|
|
128
|
+
error: never;
|
|
132
129
|
};
|
|
133
130
|
};
|
|
134
131
|
} & {
|
|
@@ -144,14 +141,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
144
141
|
200: Response;
|
|
145
142
|
422: {
|
|
146
143
|
type: "validation";
|
|
144
|
+
title: "Validation Error";
|
|
145
|
+
status: 422;
|
|
146
|
+
detail?: string;
|
|
147
147
|
on: string;
|
|
148
|
-
summary?: string;
|
|
149
|
-
message?: string;
|
|
150
148
|
found?: unknown;
|
|
151
149
|
property?: string;
|
|
152
150
|
expected?: string;
|
|
153
151
|
};
|
|
154
152
|
};
|
|
153
|
+
error: never;
|
|
155
154
|
};
|
|
156
155
|
};
|
|
157
156
|
} & {
|
|
@@ -164,6 +163,7 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
164
163
|
response: {
|
|
165
164
|
200: Response;
|
|
166
165
|
};
|
|
166
|
+
error: never;
|
|
167
167
|
};
|
|
168
168
|
};
|
|
169
169
|
} & {
|
|
@@ -179,14 +179,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
179
179
|
200: Response;
|
|
180
180
|
422: {
|
|
181
181
|
type: "validation";
|
|
182
|
+
title: "Validation Error";
|
|
183
|
+
status: 422;
|
|
184
|
+
detail?: string;
|
|
182
185
|
on: string;
|
|
183
|
-
summary?: string;
|
|
184
|
-
message?: string;
|
|
185
186
|
found?: unknown;
|
|
186
187
|
property?: string;
|
|
187
188
|
expected?: string;
|
|
188
189
|
};
|
|
189
190
|
};
|
|
191
|
+
error: never;
|
|
190
192
|
};
|
|
191
193
|
};
|
|
192
194
|
} & {
|
|
@@ -202,14 +204,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
202
204
|
200: Response;
|
|
203
205
|
422: {
|
|
204
206
|
type: "validation";
|
|
207
|
+
title: "Validation Error";
|
|
208
|
+
status: 422;
|
|
209
|
+
detail?: string;
|
|
205
210
|
on: string;
|
|
206
|
-
summary?: string;
|
|
207
|
-
message?: string;
|
|
208
211
|
found?: unknown;
|
|
209
212
|
property?: string;
|
|
210
213
|
expected?: string;
|
|
211
214
|
};
|
|
212
215
|
};
|
|
216
|
+
error: never;
|
|
213
217
|
};
|
|
214
218
|
};
|
|
215
219
|
} & {
|
|
@@ -225,14 +229,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
225
229
|
200: Response;
|
|
226
230
|
422: {
|
|
227
231
|
type: "validation";
|
|
232
|
+
title: "Validation Error";
|
|
233
|
+
status: 422;
|
|
234
|
+
detail?: string;
|
|
228
235
|
on: string;
|
|
229
|
-
summary?: string;
|
|
230
|
-
message?: string;
|
|
231
236
|
found?: unknown;
|
|
232
237
|
property?: string;
|
|
233
238
|
expected?: string;
|
|
234
239
|
};
|
|
235
240
|
};
|
|
241
|
+
error: never;
|
|
236
242
|
};
|
|
237
243
|
};
|
|
238
244
|
} & {
|
|
@@ -248,14 +254,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
248
254
|
200: Response;
|
|
249
255
|
422: {
|
|
250
256
|
type: "validation";
|
|
257
|
+
title: "Validation Error";
|
|
258
|
+
status: 422;
|
|
259
|
+
detail?: string;
|
|
251
260
|
on: string;
|
|
252
|
-
summary?: string;
|
|
253
|
-
message?: string;
|
|
254
261
|
found?: unknown;
|
|
255
262
|
property?: string;
|
|
256
263
|
expected?: string;
|
|
257
264
|
};
|
|
258
265
|
};
|
|
266
|
+
error: never;
|
|
259
267
|
};
|
|
260
268
|
};
|
|
261
269
|
} & {
|
|
@@ -271,14 +279,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
271
279
|
200: Response;
|
|
272
280
|
422: {
|
|
273
281
|
type: "validation";
|
|
282
|
+
title: "Validation Error";
|
|
283
|
+
status: 422;
|
|
284
|
+
detail?: string;
|
|
274
285
|
on: string;
|
|
275
|
-
summary?: string;
|
|
276
|
-
message?: string;
|
|
277
286
|
found?: unknown;
|
|
278
287
|
property?: string;
|
|
279
288
|
expected?: string;
|
|
280
289
|
};
|
|
281
290
|
};
|
|
291
|
+
error: never;
|
|
282
292
|
};
|
|
283
293
|
};
|
|
284
294
|
} & {
|
|
@@ -291,6 +301,7 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
291
301
|
response: {
|
|
292
302
|
200: Response;
|
|
293
303
|
};
|
|
304
|
+
error: never;
|
|
294
305
|
};
|
|
295
306
|
};
|
|
296
307
|
} & {
|
|
@@ -306,14 +317,16 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
306
317
|
200: Response;
|
|
307
318
|
422: {
|
|
308
319
|
type: "validation";
|
|
320
|
+
title: "Validation Error";
|
|
321
|
+
status: 422;
|
|
322
|
+
detail?: string;
|
|
309
323
|
on: string;
|
|
310
|
-
summary?: string;
|
|
311
|
-
message?: string;
|
|
312
324
|
found?: unknown;
|
|
313
325
|
property?: string;
|
|
314
326
|
expected?: string;
|
|
315
327
|
};
|
|
316
328
|
};
|
|
329
|
+
error: never;
|
|
317
330
|
};
|
|
318
331
|
};
|
|
319
332
|
} & {
|
|
@@ -326,41 +339,163 @@ export declare const scimRoutes: ({ customAttributes, getScimGroup, getScimUser,
|
|
|
326
339
|
response: {
|
|
327
340
|
200: Response;
|
|
328
341
|
};
|
|
342
|
+
error: never;
|
|
329
343
|
};
|
|
330
344
|
};
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
response: {
|
|
341
|
-
200: Response;
|
|
342
|
-
422: {
|
|
343
|
-
type: "validation";
|
|
344
|
-
on: string;
|
|
345
|
-
summary?: string;
|
|
346
|
-
message?: string;
|
|
347
|
-
found?: unknown;
|
|
348
|
-
property?: string;
|
|
349
|
-
expected?: string;
|
|
350
|
-
};
|
|
351
|
-
};
|
|
352
|
-
};
|
|
345
|
+
}, import("elysia/types").DefaultEphemeral, import("elysia/types").DefaultEphemeral, "get", `/${string}`, import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{
|
|
346
|
+
params: import("typebox").TObject<{
|
|
347
|
+
id: import("typebox").TString;
|
|
348
|
+
}>;
|
|
349
|
+
}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>, {}, ({ headers, params: { id }, request }: {
|
|
350
|
+
body: unknown;
|
|
351
|
+
query: Record<string, string | undefined>;
|
|
352
|
+
params: {
|
|
353
|
+
id: string;
|
|
353
354
|
};
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
355
|
+
headers: Record<string, string | undefined>;
|
|
356
|
+
cookie: Record<string, import("elysia").Cookie<unknown>>;
|
|
357
|
+
server: import("elysia").Server | null;
|
|
358
|
+
redirect: import("elysia").redirect;
|
|
359
|
+
set: {
|
|
360
|
+
headers: import("elysia").HTTPHeaders;
|
|
361
|
+
status?: number | keyof import("elysia").StatusMap;
|
|
362
|
+
cookie?: Record<string, import("elysia").BaseCookie>;
|
|
363
|
+
};
|
|
364
|
+
status: <const Code extends number | keyof import("elysia").StatusMap, const T = Code extends 400 | 401 | 403 | 501 | 204 | 404 | 200 | 100 | 101 | 102 | 103 | 201 | 202 | 203 | 205 | 206 | 207 | 208 | 300 | 301 | 302 | 303 | 304 | 307 | 308 | 402 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 428 | 429 | 431 | 451 | 500 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 510 | 511 ? {
|
|
365
|
+
readonly 100: "Continue";
|
|
366
|
+
readonly 101: "Switching Protocols";
|
|
367
|
+
readonly 102: "Processing";
|
|
368
|
+
readonly 103: "Early Hints";
|
|
369
|
+
readonly 200: "OK";
|
|
370
|
+
readonly 201: "Created";
|
|
371
|
+
readonly 202: "Accepted";
|
|
372
|
+
readonly 203: "Non-Authoritative Information";
|
|
373
|
+
readonly 204: "No Content";
|
|
374
|
+
readonly 205: "Reset Content";
|
|
375
|
+
readonly 206: "Partial Content";
|
|
376
|
+
readonly 207: "Multi-Status";
|
|
377
|
+
readonly 208: "Already Reported";
|
|
378
|
+
readonly 300: "Multiple Choices";
|
|
379
|
+
readonly 301: "Moved Permanently";
|
|
380
|
+
readonly 302: "Found";
|
|
381
|
+
readonly 303: "See Other";
|
|
382
|
+
readonly 304: "Not Modified";
|
|
383
|
+
readonly 307: "Temporary Redirect";
|
|
384
|
+
readonly 308: "Permanent Redirect";
|
|
385
|
+
readonly 400: "Bad Request";
|
|
386
|
+
readonly 401: "Unauthorized";
|
|
387
|
+
readonly 402: "Payment Required";
|
|
388
|
+
readonly 403: "Forbidden";
|
|
389
|
+
readonly 404: "Not Found";
|
|
390
|
+
readonly 405: "Method Not Allowed";
|
|
391
|
+
readonly 406: "Not Acceptable";
|
|
392
|
+
readonly 407: "Proxy Authentication Required";
|
|
393
|
+
readonly 408: "Request Timeout";
|
|
394
|
+
readonly 409: "Conflict";
|
|
395
|
+
readonly 410: "Gone";
|
|
396
|
+
readonly 411: "Length Required";
|
|
397
|
+
readonly 412: "Precondition Failed";
|
|
398
|
+
readonly 413: "Payload Too Large";
|
|
399
|
+
readonly 414: "URI Too Long";
|
|
400
|
+
readonly 415: "Unsupported Media Type";
|
|
401
|
+
readonly 416: "Range Not Satisfiable";
|
|
402
|
+
readonly 417: "Expectation Failed";
|
|
403
|
+
readonly 418: "I'm a teapot";
|
|
404
|
+
readonly 420: "Enhance Your Calm";
|
|
405
|
+
readonly 421: "Misdirected Request";
|
|
406
|
+
readonly 422: "Unprocessable Content";
|
|
407
|
+
readonly 423: "Locked";
|
|
408
|
+
readonly 424: "Failed Dependency";
|
|
409
|
+
readonly 425: "Too Early";
|
|
410
|
+
readonly 426: "Upgrade Required";
|
|
411
|
+
readonly 428: "Precondition Required";
|
|
412
|
+
readonly 429: "Too Many Requests";
|
|
413
|
+
readonly 431: "Request Header Fields Too Large";
|
|
414
|
+
readonly 451: "Unavailable For Legal Reasons";
|
|
415
|
+
readonly 500: "Internal Server Error";
|
|
416
|
+
readonly 501: "Not Implemented";
|
|
417
|
+
readonly 502: "Bad Gateway";
|
|
418
|
+
readonly 503: "Service Unavailable";
|
|
419
|
+
readonly 504: "Gateway Timeout";
|
|
420
|
+
readonly 505: "HTTP Version Not Supported";
|
|
421
|
+
readonly 506: "Variant Also Negotiates";
|
|
422
|
+
readonly 507: "Insufficient Storage";
|
|
423
|
+
readonly 508: "Loop Detected";
|
|
424
|
+
readonly 510: "Not Extended";
|
|
425
|
+
readonly 511: "Network Authentication Required";
|
|
426
|
+
}[Code] : Code>(code: Code, response?: T) => import("elysia").ElysiaStatus<Code, T, Code extends "Continue" | "Switching Protocols" | "Processing" | "Early Hints" | "OK" | "Created" | "Accepted" | "Non-Authoritative Information" | "No Content" | "Reset Content" | "Partial Content" | "Multi-Status" | "Already Reported" | "Multiple Choices" | "Moved Permanently" | "Found" | "See Other" | "Not Modified" | "Temporary Redirect" | "Permanent Redirect" | "Bad Request" | "Unauthorized" | "Payment Required" | "Forbidden" | "Not Found" | "Method Not Allowed" | "Not Acceptable" | "Proxy Authentication Required" | "Request Timeout" | "Conflict" | "Gone" | "Length Required" | "Precondition Failed" | "Payload Too Large" | "URI Too Long" | "Unsupported Media Type" | "Range Not Satisfiable" | "Expectation Failed" | "I'm a teapot" | "Enhance Your Calm" | "Misdirected Request" | "Unprocessable Content" | "Locked" | "Failed Dependency" | "Too Early" | "Upgrade Required" | "Precondition Required" | "Too Many Requests" | "Request Header Fields Too Large" | "Unavailable For Legal Reasons" | "Internal Server Error" | "Not Implemented" | "Bad Gateway" | "Service Unavailable" | "Gateway Timeout" | "HTTP Version Not Supported" | "Variant Also Negotiates" | "Insufficient Storage" | "Loop Detected" | "Not Extended" | "Network Authentication Required" ? {
|
|
427
|
+
readonly Continue: 100;
|
|
428
|
+
readonly "Switching Protocols": 101;
|
|
429
|
+
readonly Processing: 102;
|
|
430
|
+
readonly "Early Hints": 103;
|
|
431
|
+
readonly OK: 200;
|
|
432
|
+
readonly Created: 201;
|
|
433
|
+
readonly Accepted: 202;
|
|
434
|
+
readonly "Non-Authoritative Information": 203;
|
|
435
|
+
readonly "No Content": 204;
|
|
436
|
+
readonly "Reset Content": 205;
|
|
437
|
+
readonly "Partial Content": 206;
|
|
438
|
+
readonly "Multi-Status": 207;
|
|
439
|
+
readonly "Already Reported": 208;
|
|
440
|
+
readonly "Multiple Choices": 300;
|
|
441
|
+
readonly "Moved Permanently": 301;
|
|
442
|
+
readonly Found: 302;
|
|
443
|
+
readonly "See Other": 303;
|
|
444
|
+
readonly "Not Modified": 304;
|
|
445
|
+
readonly "Temporary Redirect": 307;
|
|
446
|
+
readonly "Permanent Redirect": 308;
|
|
447
|
+
readonly "Bad Request": 400;
|
|
448
|
+
readonly Unauthorized: 401;
|
|
449
|
+
readonly "Payment Required": 402;
|
|
450
|
+
readonly Forbidden: 403;
|
|
451
|
+
readonly "Not Found": 404;
|
|
452
|
+
readonly "Method Not Allowed": 405;
|
|
453
|
+
readonly "Not Acceptable": 406;
|
|
454
|
+
readonly "Proxy Authentication Required": 407;
|
|
455
|
+
readonly "Request Timeout": 408;
|
|
456
|
+
readonly Conflict: 409;
|
|
457
|
+
readonly Gone: 410;
|
|
458
|
+
readonly "Length Required": 411;
|
|
459
|
+
readonly "Precondition Failed": 412;
|
|
460
|
+
readonly "Payload Too Large": 413;
|
|
461
|
+
readonly "URI Too Long": 414;
|
|
462
|
+
readonly "Unsupported Media Type": 415;
|
|
463
|
+
readonly "Range Not Satisfiable": 416;
|
|
464
|
+
readonly "Expectation Failed": 417;
|
|
465
|
+
readonly "I'm a teapot": 418;
|
|
466
|
+
readonly "Enhance Your Calm": 420;
|
|
467
|
+
readonly "Misdirected Request": 421;
|
|
468
|
+
readonly "Unprocessable Content": 422;
|
|
469
|
+
readonly Locked: 423;
|
|
470
|
+
readonly "Failed Dependency": 424;
|
|
471
|
+
readonly "Too Early": 425;
|
|
472
|
+
readonly "Upgrade Required": 426;
|
|
473
|
+
readonly "Precondition Required": 428;
|
|
474
|
+
readonly "Too Many Requests": 429;
|
|
475
|
+
readonly "Request Header Fields Too Large": 431;
|
|
476
|
+
readonly "Unavailable For Legal Reasons": 451;
|
|
477
|
+
readonly "Internal Server Error": 500;
|
|
478
|
+
readonly "Not Implemented": 501;
|
|
479
|
+
readonly "Bad Gateway": 502;
|
|
480
|
+
readonly "Service Unavailable": 503;
|
|
481
|
+
readonly "Gateway Timeout": 504;
|
|
482
|
+
readonly "HTTP Version Not Supported": 505;
|
|
483
|
+
readonly "Variant Also Negotiates": 506;
|
|
484
|
+
readonly "Insufficient Storage": 507;
|
|
485
|
+
readonly "Loop Detected": 508;
|
|
486
|
+
readonly "Not Extended": 510;
|
|
487
|
+
readonly "Network Authentication Required": 511;
|
|
488
|
+
}[Code] : Code>;
|
|
489
|
+
defer: (fn: import("elysia/types").AfterResponseHandler<NoInfer<import("elysia/types").IntersectIfObjectSchema<import("elysia").UnwrapRoute<{
|
|
490
|
+
params: import("typebox").TObject<{
|
|
491
|
+
id: import("typebox").TString;
|
|
492
|
+
}>;
|
|
493
|
+
}, {}, `/${string}`>, import("elysia/types").MergeScopedSchemas<{}, {}, {}>>>, NoInfer<import("elysia/types").DefaultSingleton & {
|
|
494
|
+
derive: {};
|
|
495
|
+
}>>) => import("elysia/types").MaybePromise<void>;
|
|
496
|
+
readonly path: string;
|
|
497
|
+
route?: string | undefined;
|
|
498
|
+
rid?: string | undefined;
|
|
499
|
+
request: Request;
|
|
500
|
+
store: {};
|
|
501
|
+
}) => Promise<Response>>;
|