faire-auth 1.0.3 → 1.0.4
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/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +1 -1
- package/dist/adapters/index.d.cts +1 -1
- package/dist/adapters/index.d.mts +1 -1
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +1 -1
- package/dist/adapters/memory-adapter/index.d.cts +3 -3
- package/dist/adapters/memory-adapter/index.d.mts +3 -3
- package/dist/adapters/mongodb-adapter/index.d.cts +1 -1
- package/dist/adapters/mongodb-adapter/index.d.mts +1 -1
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +1 -1
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +1 -1
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +1 -1
- package/dist/api/middleware/index.d.cts +3 -3
- package/dist/api/middleware/index.d.mts +3 -3
- package/dist/client/index.d.cts +1 -1
- package/dist/client/index.d.mts +1 -1
- package/dist/client/lynx/index.d.cts +1 -1
- package/dist/client/lynx/index.d.mts +26 -26
- package/dist/client/plugins/index.d.cts +1 -1
- package/dist/client/plugins/index.d.mts +1 -1
- package/dist/client/react/index.d.cts +26 -26
- package/dist/client/react/index.d.mts +26 -26
- package/dist/client/solid/index.d.cts +1 -1
- package/dist/client/solid/index.d.mts +5 -5
- package/dist/client/svelte/index.d.cts +26 -26
- package/dist/client/svelte/index.d.mts +26 -26
- package/dist/client/vue/index.d.cts +27 -27
- package/dist/client/vue/index.d.mts +27 -27
- package/dist/crypto/index.d.cts +2 -2
- package/dist/crypto/index.d.mts +2 -2
- package/dist/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/{index-Baarsq5J.d.mts → index--DLiUhEn.d.mts} +6 -6
- package/dist/{index-BCTFWP_o.d.mts → index-B4bqEDYG.d.mts} +1 -1
- package/dist/{index-f-5OJ9yV.d.cts → index-Boa0SV4h.d.cts} +300 -300
- package/dist/{index-rFv8Hxld.d.mts → index-Bykgiq3o.d.cts} +638 -638
- package/dist/{index-ztVZPQdV.d.mts → index-ClFGA8tb.d.mts} +6 -6
- package/dist/{index-By364WbF.d.cts → index-ClOM0wFf.d.cts} +15 -15
- package/dist/{index-CzidsAyA.d.mts → index-CsxNfGAV.d.mts} +354 -354
- package/dist/{index-BzWwMgxr.d.cts → index-DKnO_Zfm.d.cts} +9 -9
- package/dist/{index-CJD2yB-W.d.cts → index-DRYO4mGd.d.cts} +6 -6
- package/dist/{index-DvW-GCcI.d.cts → index-Dsua4U8w.d.cts} +6 -6
- package/dist/{index-CsWF3f7U.d.cts → index-DxXFCG2_.d.mts} +378 -378
- package/dist/{index-BVRfQy6L.d.mts → index-gtCVvDvC.d.mts} +15 -15
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/integrations/next-js.d.cts +1 -1
- package/dist/integrations/next-js.d.mts +5 -5
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +1 -1
- package/dist/integrations/react-start.d.cts +5 -5
- package/dist/integrations/react-start.d.mts +5 -5
- package/dist/integrations/svelte-kit.d.cts +5 -5
- package/dist/integrations/svelte-kit.d.mts +5 -5
- package/dist/oauth2/index.d.cts +1 -1
- package/dist/oauth2/index.d.mts +1 -1
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +2 -2
- package/dist/plugins/index.d.cts +348 -348
- package/dist/plugins/index.d.mts +181 -181
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +2 -2
- package/dist/test-utils/index.cjs +1 -1
- package/dist/test-utils/index.d.cts +743 -743
- package/dist/test-utils/index.mjs +1 -1
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +1 -1
- package/dist/utils/cookies.d.cts +1 -1
- package/dist/utils/cookies.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _faire_auth_core_types84 from "@faire-auth/core/types";
|
|
2
2
|
import { AnyHono, AuthContext, AuthRouteConfig, BasePath, BuildSchema, DTOTransformer, DefaultHook, DocPathFromOptions, ExK, FaireAuthOptions, FaireAuthPlugin, FromFn, LiteralString, LiteralStringUnion, MinRouteConfig, Prettify, ProcessRouteConfig, RouteConfigToEnv, RouteConfigToMiddleware, RouteHandler, RouteHook, UnionToIntersection, execHelper } from "@faire-auth/core/types";
|
|
3
|
-
import * as
|
|
3
|
+
import * as hono116 from "hono";
|
|
4
4
|
import { Context, Env, Hono, MiddlewareHandler, Schema, TypedResponse } from "hono";
|
|
5
5
|
import { Definitions, Routes, SCHEMAS } from "@faire-auth/core/static";
|
|
6
6
|
import * as type_fest0 from "type-fest";
|
|
7
7
|
import { SetRequired } from "type-fest";
|
|
8
|
-
import * as
|
|
8
|
+
import * as zod91 from "zod";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { ENV } from "@faire-auth/core/env";
|
|
11
11
|
import * as _faire_auth_core_db16 from "@faire-auth/core/db";
|
|
12
12
|
import { Session, User } from "@faire-auth/core/db";
|
|
13
13
|
import * as hono_utils_types54 from "hono/utils/types";
|
|
14
14
|
import { HasRequiredKeys } from "hono/utils/types";
|
|
15
|
-
import * as
|
|
15
|
+
import * as _faire_auth_core_social_providers29 from "@faire-auth/core/social-providers";
|
|
16
16
|
import { OpenAPIHono } from "@faire-auth/core/factory";
|
|
17
17
|
import * as _faire_auth_core_error0 from "@faire-auth/core/error";
|
|
18
18
|
import { BASE_ERROR_CODES } from "@faire-auth/core/error";
|
|
@@ -24,7 +24,7 @@ import { Atom, WritableAtom } from "nanostores";
|
|
|
24
24
|
import { ClientRequest, ClientResponse } from "hono/client";
|
|
25
25
|
import { ClientErrorStatusCode, ServerErrorStatusCode, SuccessStatusCode } from "hono/utils/http-status";
|
|
26
26
|
import { HonoRequest } from "hono/request";
|
|
27
|
-
import * as
|
|
27
|
+
import * as zod_v4_core21 from "zod/v4/core";
|
|
28
28
|
import * as kysely0 from "kysely";
|
|
29
29
|
import "mongodb";
|
|
30
30
|
|
|
@@ -232,29 +232,29 @@ declare const signInSocialRoute: {
|
|
|
232
232
|
description: string;
|
|
233
233
|
content: {
|
|
234
234
|
"application/json": {
|
|
235
|
-
schema:
|
|
236
|
-
success:
|
|
237
|
-
token:
|
|
238
|
-
user:
|
|
239
|
-
id:
|
|
240
|
-
createdAt:
|
|
241
|
-
updatedAt:
|
|
242
|
-
email:
|
|
243
|
-
emailVerified:
|
|
244
|
-
name:
|
|
245
|
-
image:
|
|
246
|
-
},
|
|
247
|
-
},
|
|
248
|
-
success:
|
|
249
|
-
token:
|
|
250
|
-
user:
|
|
251
|
-
},
|
|
252
|
-
redirect:
|
|
253
|
-
url:
|
|
254
|
-
},
|
|
255
|
-
redirect:
|
|
256
|
-
url:
|
|
257
|
-
},
|
|
235
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodIntersection<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
236
|
+
success: zod91.ZodLiteral<true>;
|
|
237
|
+
token: zod91.ZodDefault<zod91.ZodNullable<zod91.ZodString>>;
|
|
238
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
239
|
+
id: zod91.ZodString;
|
|
240
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
241
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
242
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
243
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
244
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
245
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
246
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
247
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
248
|
+
success: zod91.ZodLiteral<false>;
|
|
249
|
+
token: zod91.ZodDefault<zod91.ZodNull>;
|
|
250
|
+
user: zod91.ZodDefault<zod91.ZodNull>;
|
|
251
|
+
}, zod_v4_core21.$strip>], "success">, zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
252
|
+
redirect: zod91.ZodLiteral<false>;
|
|
253
|
+
url: zod91.ZodDefault<zod91.ZodNull>;
|
|
254
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
255
|
+
redirect: zod91.ZodLiteral<true>;
|
|
256
|
+
url: zod91.ZodURL;
|
|
257
|
+
}, zod_v4_core21.$strip>], "redirect">>, zod91.ZodTransform<{
|
|
258
258
|
success: true;
|
|
259
259
|
data: ({
|
|
260
260
|
success: true;
|
|
@@ -268,7 +268,7 @@ declare const signInSocialRoute: {
|
|
|
268
268
|
emailVerified: boolean;
|
|
269
269
|
name?: string | undefined;
|
|
270
270
|
image?: string | null | undefined;
|
|
271
|
-
} &
|
|
271
|
+
} & zod91.$brand<"user">;
|
|
272
272
|
} | {
|
|
273
273
|
success: false;
|
|
274
274
|
token: null;
|
|
@@ -292,7 +292,7 @@ declare const signInSocialRoute: {
|
|
|
292
292
|
emailVerified: boolean;
|
|
293
293
|
name?: string | undefined;
|
|
294
294
|
image?: string | null | undefined;
|
|
295
|
-
} &
|
|
295
|
+
} & zod91.$brand<"user">;
|
|
296
296
|
} | {
|
|
297
297
|
success: false;
|
|
298
298
|
token: null;
|
|
@@ -316,11 +316,11 @@ declare const signInSocialRoute: {
|
|
|
316
316
|
description: string;
|
|
317
317
|
content: {
|
|
318
318
|
"application/json": {
|
|
319
|
-
schema:
|
|
320
|
-
success:
|
|
321
|
-
code:
|
|
322
|
-
message:
|
|
323
|
-
},
|
|
319
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
320
|
+
success: zod91.ZodLiteral<false>;
|
|
321
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
322
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
323
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
324
324
|
};
|
|
325
325
|
};
|
|
326
326
|
};
|
|
@@ -329,11 +329,11 @@ declare const signInSocialRoute: {
|
|
|
329
329
|
description: string;
|
|
330
330
|
content: {
|
|
331
331
|
"application/json": {
|
|
332
|
-
schema:
|
|
333
|
-
success:
|
|
334
|
-
code:
|
|
335
|
-
message:
|
|
336
|
-
},
|
|
332
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
333
|
+
success: zod91.ZodLiteral<false>;
|
|
334
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
335
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
336
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
};
|
|
@@ -342,7 +342,7 @@ declare const signInSocialRoute: {
|
|
|
342
342
|
description: string;
|
|
343
343
|
content: {
|
|
344
344
|
"application/json": {
|
|
345
|
-
schema:
|
|
345
|
+
schema: zod91.ZodType<{
|
|
346
346
|
success: false;
|
|
347
347
|
} & {
|
|
348
348
|
errors: string[];
|
|
@@ -399,7 +399,7 @@ declare const signInSocialRoute: {
|
|
|
399
399
|
errors: string[];
|
|
400
400
|
};
|
|
401
401
|
};
|
|
402
|
-
}, unknown,
|
|
402
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
403
403
|
success: false;
|
|
404
404
|
} & {
|
|
405
405
|
errors: string[];
|
|
@@ -469,23 +469,23 @@ declare const signInSocialRoute: {
|
|
|
469
469
|
description?: string;
|
|
470
470
|
content: {
|
|
471
471
|
"application/json": {
|
|
472
|
-
schema:
|
|
473
|
-
callbackURL:
|
|
474
|
-
newUserCallbackURL:
|
|
475
|
-
errorCallbackURL:
|
|
476
|
-
provider:
|
|
477
|
-
disableRedirect:
|
|
478
|
-
idToken:
|
|
479
|
-
token:
|
|
480
|
-
nonce:
|
|
481
|
-
accessToken:
|
|
482
|
-
refreshToken:
|
|
483
|
-
expiresAt:
|
|
484
|
-
},
|
|
485
|
-
scopes:
|
|
486
|
-
requestSignUp:
|
|
487
|
-
loginHint:
|
|
488
|
-
},
|
|
472
|
+
schema: zod91.ZodObject<{
|
|
473
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
474
|
+
newUserCallbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
475
|
+
errorCallbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
476
|
+
provider: zod91.ZodType<_faire_auth_core_social_providers29.SocialProvider, _faire_auth_core_social_providers29.SocialProvider, zod_v4_core21.$ZodTypeInternals<_faire_auth_core_social_providers29.SocialProvider, _faire_auth_core_social_providers29.SocialProvider>>;
|
|
477
|
+
disableRedirect: zod91.ZodOptional<zod91.ZodBoolean>;
|
|
478
|
+
idToken: zod91.ZodOptional<zod91.ZodObject<{
|
|
479
|
+
token: zod91.ZodString;
|
|
480
|
+
nonce: zod91.ZodOptional<zod91.ZodString>;
|
|
481
|
+
accessToken: zod91.ZodOptional<zod91.ZodString>;
|
|
482
|
+
refreshToken: zod91.ZodOptional<zod91.ZodString>;
|
|
483
|
+
expiresAt: zod91.ZodOptional<zod91.ZodNumber>;
|
|
484
|
+
}, zod_v4_core21.$strip>>;
|
|
485
|
+
scopes: zod91.ZodOptional<zod91.ZodArray<zod91.ZodString>>;
|
|
486
|
+
requestSignUp: zod91.ZodOptional<zod91.ZodBoolean>;
|
|
487
|
+
loginHint: zod91.ZodOptional<zod91.ZodString>;
|
|
488
|
+
}, zod_v4_core21.$strip>;
|
|
489
489
|
};
|
|
490
490
|
};
|
|
491
491
|
required: true;
|
|
@@ -499,29 +499,29 @@ declare const signInEmailRoute: {
|
|
|
499
499
|
description: string;
|
|
500
500
|
content: {
|
|
501
501
|
"application/json": {
|
|
502
|
-
schema:
|
|
503
|
-
success:
|
|
504
|
-
token:
|
|
505
|
-
user:
|
|
506
|
-
id:
|
|
507
|
-
createdAt:
|
|
508
|
-
updatedAt:
|
|
509
|
-
email:
|
|
510
|
-
emailVerified:
|
|
511
|
-
name:
|
|
512
|
-
image:
|
|
513
|
-
},
|
|
514
|
-
},
|
|
515
|
-
success:
|
|
516
|
-
token:
|
|
517
|
-
user:
|
|
518
|
-
},
|
|
519
|
-
redirect:
|
|
520
|
-
url:
|
|
521
|
-
},
|
|
522
|
-
redirect:
|
|
523
|
-
url:
|
|
524
|
-
},
|
|
502
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodIntersection<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
503
|
+
success: zod91.ZodLiteral<true>;
|
|
504
|
+
token: zod91.ZodDefault<zod91.ZodNullable<zod91.ZodString>>;
|
|
505
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
506
|
+
id: zod91.ZodString;
|
|
507
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
508
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
509
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
510
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
511
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
512
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
513
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
514
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
515
|
+
success: zod91.ZodLiteral<false>;
|
|
516
|
+
token: zod91.ZodDefault<zod91.ZodNull>;
|
|
517
|
+
user: zod91.ZodDefault<zod91.ZodNull>;
|
|
518
|
+
}, zod_v4_core21.$strip>], "success">, zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
519
|
+
redirect: zod91.ZodLiteral<false>;
|
|
520
|
+
url: zod91.ZodDefault<zod91.ZodNull>;
|
|
521
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
522
|
+
redirect: zod91.ZodLiteral<true>;
|
|
523
|
+
url: zod91.ZodURL;
|
|
524
|
+
}, zod_v4_core21.$strip>], "redirect">>, zod91.ZodTransform<{
|
|
525
525
|
success: true;
|
|
526
526
|
data: ({
|
|
527
527
|
success: true;
|
|
@@ -535,7 +535,7 @@ declare const signInEmailRoute: {
|
|
|
535
535
|
emailVerified: boolean;
|
|
536
536
|
name?: string | undefined;
|
|
537
537
|
image?: string | null | undefined;
|
|
538
|
-
} &
|
|
538
|
+
} & zod91.$brand<"user">;
|
|
539
539
|
} | {
|
|
540
540
|
success: false;
|
|
541
541
|
token: null;
|
|
@@ -559,7 +559,7 @@ declare const signInEmailRoute: {
|
|
|
559
559
|
emailVerified: boolean;
|
|
560
560
|
name?: string | undefined;
|
|
561
561
|
image?: string | null | undefined;
|
|
562
|
-
} &
|
|
562
|
+
} & zod91.$brand<"user">;
|
|
563
563
|
} | {
|
|
564
564
|
success: false;
|
|
565
565
|
token: null;
|
|
@@ -579,11 +579,11 @@ declare const signInEmailRoute: {
|
|
|
579
579
|
description: string;
|
|
580
580
|
content: {
|
|
581
581
|
"application/json": {
|
|
582
|
-
schema:
|
|
583
|
-
success:
|
|
584
|
-
code:
|
|
585
|
-
message:
|
|
586
|
-
},
|
|
582
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
583
|
+
success: zod91.ZodLiteral<false>;
|
|
584
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
585
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
586
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
587
587
|
};
|
|
588
588
|
};
|
|
589
589
|
};
|
|
@@ -592,11 +592,11 @@ declare const signInEmailRoute: {
|
|
|
592
592
|
description: string;
|
|
593
593
|
content: {
|
|
594
594
|
"application/json": {
|
|
595
|
-
schema:
|
|
596
|
-
success:
|
|
597
|
-
code:
|
|
598
|
-
message:
|
|
599
|
-
},
|
|
595
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
596
|
+
success: zod91.ZodLiteral<false>;
|
|
597
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
598
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
599
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
600
600
|
};
|
|
601
601
|
};
|
|
602
602
|
};
|
|
@@ -605,11 +605,11 @@ declare const signInEmailRoute: {
|
|
|
605
605
|
description: string;
|
|
606
606
|
content: {
|
|
607
607
|
"application/json": {
|
|
608
|
-
schema:
|
|
609
|
-
success:
|
|
610
|
-
code:
|
|
611
|
-
message:
|
|
612
|
-
},
|
|
608
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
609
|
+
success: zod91.ZodLiteral<false>;
|
|
610
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
611
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
612
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
613
613
|
};
|
|
614
614
|
};
|
|
615
615
|
};
|
|
@@ -618,7 +618,7 @@ declare const signInEmailRoute: {
|
|
|
618
618
|
description: string;
|
|
619
619
|
content: {
|
|
620
620
|
"application/json": {
|
|
621
|
-
schema:
|
|
621
|
+
schema: zod91.ZodType<{
|
|
622
622
|
success: false;
|
|
623
623
|
} & {
|
|
624
624
|
errors: string[];
|
|
@@ -636,7 +636,7 @@ declare const signInEmailRoute: {
|
|
|
636
636
|
errors: string[];
|
|
637
637
|
};
|
|
638
638
|
};
|
|
639
|
-
}, unknown,
|
|
639
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
640
640
|
success: false;
|
|
641
641
|
} & {
|
|
642
642
|
errors: string[];
|
|
@@ -663,11 +663,11 @@ declare const signInEmailRoute: {
|
|
|
663
663
|
description: string;
|
|
664
664
|
content: {
|
|
665
665
|
"application/json": {
|
|
666
|
-
schema:
|
|
667
|
-
success:
|
|
668
|
-
code:
|
|
669
|
-
message:
|
|
670
|
-
},
|
|
666
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
667
|
+
success: zod91.ZodLiteral<false>;
|
|
668
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
669
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
670
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
671
671
|
};
|
|
672
672
|
};
|
|
673
673
|
};
|
|
@@ -680,12 +680,12 @@ declare const signInEmailRoute: {
|
|
|
680
680
|
description?: string;
|
|
681
681
|
content: {
|
|
682
682
|
"application/json": {
|
|
683
|
-
schema:
|
|
684
|
-
email:
|
|
685
|
-
password:
|
|
686
|
-
callbackURL:
|
|
687
|
-
rememberMe:
|
|
688
|
-
},
|
|
683
|
+
schema: zod91.ZodObject<{
|
|
684
|
+
email: zod91.ZodEmail;
|
|
685
|
+
password: zod91.ZodString;
|
|
686
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
687
|
+
rememberMe: zod91.ZodDefault<zod91.ZodBoolean>;
|
|
688
|
+
}, zod_v4_core21.$strip>;
|
|
689
689
|
};
|
|
690
690
|
};
|
|
691
691
|
required: true;
|
|
@@ -701,7 +701,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
701
701
|
description: string;
|
|
702
702
|
content: {
|
|
703
703
|
"application/json": {
|
|
704
|
-
schema:
|
|
704
|
+
schema: zod91.ZodType<unknown, unknown, zod_v4_core21.$ZodTypeInternals<unknown, unknown>>;
|
|
705
705
|
};
|
|
706
706
|
};
|
|
707
707
|
};
|
|
@@ -714,11 +714,11 @@ declare const getOAuthCallbackRoute: {
|
|
|
714
714
|
description: string;
|
|
715
715
|
content: {
|
|
716
716
|
"application/json": {
|
|
717
|
-
schema:
|
|
718
|
-
success:
|
|
719
|
-
code:
|
|
720
|
-
message:
|
|
721
|
-
},
|
|
717
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
718
|
+
success: zod91.ZodLiteral<false>;
|
|
719
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
720
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
721
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
722
722
|
};
|
|
723
723
|
};
|
|
724
724
|
};
|
|
@@ -728,18 +728,18 @@ declare const getOAuthCallbackRoute: {
|
|
|
728
728
|
method: "get";
|
|
729
729
|
isAction: false;
|
|
730
730
|
request: {
|
|
731
|
-
params:
|
|
732
|
-
id:
|
|
733
|
-
},
|
|
731
|
+
params: zod91.ZodObject<{
|
|
732
|
+
id: zod91.ZodString;
|
|
733
|
+
}, zod_v4_core21.$strip>;
|
|
734
734
|
} & {
|
|
735
|
-
query:
|
|
736
|
-
code:
|
|
737
|
-
error:
|
|
738
|
-
device_id:
|
|
739
|
-
error_description:
|
|
740
|
-
state:
|
|
741
|
-
user:
|
|
742
|
-
},
|
|
735
|
+
query: zod91.ZodObject<{
|
|
736
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
737
|
+
error: zod91.ZodOptional<zod91.ZodString>;
|
|
738
|
+
device_id: zod91.ZodOptional<zod91.ZodString>;
|
|
739
|
+
error_description: zod91.ZodOptional<zod91.ZodString>;
|
|
740
|
+
state: zod91.ZodOptional<zod91.ZodString>;
|
|
741
|
+
user: zod91.ZodOptional<zod91.ZodString>;
|
|
742
|
+
}, zod_v4_core21.$strip>;
|
|
743
743
|
};
|
|
744
744
|
getRoutingPath: () => "/callback/:id";
|
|
745
745
|
};
|
|
@@ -749,7 +749,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
749
749
|
description: string;
|
|
750
750
|
content: {
|
|
751
751
|
"application/json": {
|
|
752
|
-
schema:
|
|
752
|
+
schema: zod91.ZodType<unknown, unknown, zod_v4_core21.$ZodTypeInternals<unknown, unknown>>;
|
|
753
753
|
};
|
|
754
754
|
};
|
|
755
755
|
};
|
|
@@ -762,11 +762,11 @@ declare const postOAuthCallbackRoute: {
|
|
|
762
762
|
description: string;
|
|
763
763
|
content: {
|
|
764
764
|
"application/json": {
|
|
765
|
-
schema:
|
|
766
|
-
success:
|
|
767
|
-
code:
|
|
768
|
-
message:
|
|
769
|
-
},
|
|
765
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
766
|
+
success: zod91.ZodLiteral<false>;
|
|
767
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
768
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
769
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
770
770
|
};
|
|
771
771
|
};
|
|
772
772
|
};
|
|
@@ -775,7 +775,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
775
775
|
description: string;
|
|
776
776
|
content: {
|
|
777
777
|
"application/json": {
|
|
778
|
-
schema:
|
|
778
|
+
schema: zod91.ZodType<{
|
|
779
779
|
success: false;
|
|
780
780
|
} & {
|
|
781
781
|
errors: string[];
|
|
@@ -799,7 +799,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
799
799
|
errors: string[];
|
|
800
800
|
};
|
|
801
801
|
};
|
|
802
|
-
}, unknown,
|
|
802
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
803
803
|
success: false;
|
|
804
804
|
} & {
|
|
805
805
|
errors: string[];
|
|
@@ -837,22 +837,22 @@ declare const postOAuthCallbackRoute: {
|
|
|
837
837
|
description?: string;
|
|
838
838
|
content: {
|
|
839
839
|
"application/json": {
|
|
840
|
-
schema:
|
|
841
|
-
code:
|
|
842
|
-
error:
|
|
843
|
-
device_id:
|
|
844
|
-
error_description:
|
|
845
|
-
state:
|
|
846
|
-
user:
|
|
847
|
-
},
|
|
840
|
+
schema: zod91.ZodOptional<zod91.ZodObject<{
|
|
841
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
842
|
+
error: zod91.ZodOptional<zod91.ZodString>;
|
|
843
|
+
device_id: zod91.ZodOptional<zod91.ZodString>;
|
|
844
|
+
error_description: zod91.ZodOptional<zod91.ZodString>;
|
|
845
|
+
state: zod91.ZodOptional<zod91.ZodString>;
|
|
846
|
+
user: zod91.ZodOptional<zod91.ZodString>;
|
|
847
|
+
}, zod_v4_core21.$strip>>;
|
|
848
848
|
};
|
|
849
849
|
};
|
|
850
850
|
required: true;
|
|
851
851
|
};
|
|
852
852
|
} & {
|
|
853
|
-
params:
|
|
854
|
-
id:
|
|
855
|
-
},
|
|
853
|
+
params: zod91.ZodObject<{
|
|
854
|
+
id: zod91.ZodString;
|
|
855
|
+
}, zod_v4_core21.$strip>;
|
|
856
856
|
};
|
|
857
857
|
getRoutingPath: () => "/callback/:id";
|
|
858
858
|
};
|
|
@@ -864,27 +864,27 @@ declare const getSessionRoute: {
|
|
|
864
864
|
description: string;
|
|
865
865
|
content: {
|
|
866
866
|
"application/json": {
|
|
867
|
-
schema:
|
|
868
|
-
session:
|
|
869
|
-
createdAt:
|
|
870
|
-
updatedAt:
|
|
871
|
-
id:
|
|
872
|
-
userId:
|
|
873
|
-
expiresAt:
|
|
874
|
-
token:
|
|
875
|
-
ipAddress:
|
|
876
|
-
userAgent:
|
|
877
|
-
},
|
|
878
|
-
user:
|
|
879
|
-
id:
|
|
880
|
-
createdAt:
|
|
881
|
-
updatedAt:
|
|
882
|
-
email:
|
|
883
|
-
emailVerified:
|
|
884
|
-
name:
|
|
885
|
-
image:
|
|
886
|
-
},
|
|
887
|
-
},
|
|
867
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodObject<{
|
|
868
|
+
session: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
869
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
870
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
871
|
+
id: zod91.ZodOptional<zod91.ZodString>;
|
|
872
|
+
userId: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodNumber]>, zod91.ZodTransform<string, string | number>>;
|
|
873
|
+
expiresAt: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>;
|
|
874
|
+
token: zod91.ZodString;
|
|
875
|
+
ipAddress: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodString>>;
|
|
876
|
+
userAgent: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodString>>;
|
|
877
|
+
}, zod_v4_core21.$loose>, "session">;
|
|
878
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
879
|
+
id: zod91.ZodString;
|
|
880
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
881
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
882
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
883
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
884
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
885
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
886
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
887
|
+
}, zod_v4_core21.$strip>, zod91.ZodTransform<{
|
|
888
888
|
success: true;
|
|
889
889
|
data: {
|
|
890
890
|
session: {
|
|
@@ -897,7 +897,7 @@ declare const getSessionRoute: {
|
|
|
897
897
|
id?: string | undefined;
|
|
898
898
|
ipAddress?: string | null | undefined;
|
|
899
899
|
userAgent?: string | null | undefined;
|
|
900
|
-
} &
|
|
900
|
+
} & zod91.$brand<"session">;
|
|
901
901
|
user: {
|
|
902
902
|
[x: string]: unknown;
|
|
903
903
|
id: string;
|
|
@@ -907,7 +907,7 @@ declare const getSessionRoute: {
|
|
|
907
907
|
emailVerified: boolean;
|
|
908
908
|
name?: string | undefined;
|
|
909
909
|
image?: string | null | undefined;
|
|
910
|
-
} &
|
|
910
|
+
} & zod91.$brand<"user">;
|
|
911
911
|
};
|
|
912
912
|
}, {
|
|
913
913
|
session: {
|
|
@@ -920,7 +920,7 @@ declare const getSessionRoute: {
|
|
|
920
920
|
id?: string | undefined;
|
|
921
921
|
ipAddress?: string | null | undefined;
|
|
922
922
|
userAgent?: string | null | undefined;
|
|
923
|
-
} &
|
|
923
|
+
} & zod91.$brand<"session">;
|
|
924
924
|
user: {
|
|
925
925
|
[x: string]: unknown;
|
|
926
926
|
id: string;
|
|
@@ -930,7 +930,7 @@ declare const getSessionRoute: {
|
|
|
930
930
|
emailVerified: boolean;
|
|
931
931
|
name?: string | undefined;
|
|
932
932
|
image?: string | null | undefined;
|
|
933
|
-
} &
|
|
933
|
+
} & zod91.$brand<"user">;
|
|
934
934
|
}>>, "sessionUser">;
|
|
935
935
|
};
|
|
936
936
|
};
|
|
@@ -940,11 +940,11 @@ declare const getSessionRoute: {
|
|
|
940
940
|
description: string;
|
|
941
941
|
content: {
|
|
942
942
|
"application/json": {
|
|
943
|
-
schema:
|
|
944
|
-
success:
|
|
945
|
-
code:
|
|
946
|
-
message:
|
|
947
|
-
},
|
|
943
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
944
|
+
success: zod91.ZodLiteral<false>;
|
|
945
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
946
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
947
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
948
948
|
};
|
|
949
949
|
};
|
|
950
950
|
};
|
|
@@ -953,7 +953,7 @@ declare const getSessionRoute: {
|
|
|
953
953
|
description: string;
|
|
954
954
|
content: {
|
|
955
955
|
"application/json": {
|
|
956
|
-
schema:
|
|
956
|
+
schema: zod91.ZodType<{
|
|
957
957
|
success: false;
|
|
958
958
|
} & {
|
|
959
959
|
errors: string[];
|
|
@@ -965,7 +965,7 @@ declare const getSessionRoute: {
|
|
|
965
965
|
errors: string[];
|
|
966
966
|
};
|
|
967
967
|
};
|
|
968
|
-
}, unknown,
|
|
968
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
969
969
|
success: false;
|
|
970
970
|
} & {
|
|
971
971
|
errors: string[];
|
|
@@ -986,11 +986,11 @@ declare const getSessionRoute: {
|
|
|
986
986
|
description: string;
|
|
987
987
|
content: {
|
|
988
988
|
"application/json": {
|
|
989
|
-
schema:
|
|
990
|
-
success:
|
|
991
|
-
code:
|
|
992
|
-
message:
|
|
993
|
-
},
|
|
989
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
990
|
+
success: zod91.ZodLiteral<false>;
|
|
991
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
992
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
993
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
994
994
|
};
|
|
995
995
|
};
|
|
996
996
|
};
|
|
@@ -999,10 +999,10 @@ declare const getSessionRoute: {
|
|
|
999
999
|
path: "/get-session";
|
|
1000
1000
|
method: "get";
|
|
1001
1001
|
request: {
|
|
1002
|
-
query:
|
|
1003
|
-
disableCookieCache:
|
|
1004
|
-
disableRefresh:
|
|
1005
|
-
},
|
|
1002
|
+
query: zod91.ZodObject<{
|
|
1003
|
+
disableCookieCache: zod91.ZodOptional<zod91.ZodUnion<[zod91.ZodBoolean, zod91.ZodPipe<zod91.ZodString, zod91.ZodTransform<boolean, string>>]>>;
|
|
1004
|
+
disableRefresh: zod91.ZodOptional<zod91.ZodUnion<[zod91.ZodBoolean, zod91.ZodPipe<zod91.ZodString, zod91.ZodTransform<boolean, string>>]>>;
|
|
1005
|
+
}, zod_v4_core21.$strip>;
|
|
1006
1006
|
};
|
|
1007
1007
|
getRoutingPath: () => "/get-session";
|
|
1008
1008
|
};
|
|
@@ -1012,16 +1012,16 @@ declare const listSessionsRoute: {
|
|
|
1012
1012
|
description: string;
|
|
1013
1013
|
content: {
|
|
1014
1014
|
"application/json": {
|
|
1015
|
-
schema:
|
|
1016
|
-
createdAt:
|
|
1017
|
-
updatedAt:
|
|
1018
|
-
id:
|
|
1019
|
-
userId:
|
|
1020
|
-
expiresAt:
|
|
1021
|
-
token:
|
|
1022
|
-
ipAddress:
|
|
1023
|
-
userAgent:
|
|
1024
|
-
},
|
|
1015
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodArray<zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1016
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1017
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1018
|
+
id: zod91.ZodOptional<zod91.ZodString>;
|
|
1019
|
+
userId: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodNumber]>, zod91.ZodTransform<string, string | number>>;
|
|
1020
|
+
expiresAt: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>;
|
|
1021
|
+
token: zod91.ZodString;
|
|
1022
|
+
ipAddress: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodString>>;
|
|
1023
|
+
userAgent: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodString>>;
|
|
1024
|
+
}, zod_v4_core21.$loose>, "session">>, zod91.ZodTransform<{
|
|
1025
1025
|
success: true;
|
|
1026
1026
|
data: ({
|
|
1027
1027
|
[x: string]: unknown;
|
|
@@ -1033,7 +1033,7 @@ declare const listSessionsRoute: {
|
|
|
1033
1033
|
id?: string | undefined;
|
|
1034
1034
|
ipAddress?: string | null | undefined;
|
|
1035
1035
|
userAgent?: string | null | undefined;
|
|
1036
|
-
} &
|
|
1036
|
+
} & zod91.$brand<"session">)[];
|
|
1037
1037
|
}, ({
|
|
1038
1038
|
[x: string]: unknown;
|
|
1039
1039
|
createdAt: Date;
|
|
@@ -1044,7 +1044,7 @@ declare const listSessionsRoute: {
|
|
|
1044
1044
|
id?: string | undefined;
|
|
1045
1045
|
ipAddress?: string | null | undefined;
|
|
1046
1046
|
userAgent?: string | null | undefined;
|
|
1047
|
-
} &
|
|
1047
|
+
} & zod91.$brand<"session">)[]>>, "sessionsList">;
|
|
1048
1048
|
};
|
|
1049
1049
|
};
|
|
1050
1050
|
};
|
|
@@ -1053,11 +1053,11 @@ declare const listSessionsRoute: {
|
|
|
1053
1053
|
description: string;
|
|
1054
1054
|
content: {
|
|
1055
1055
|
"application/json": {
|
|
1056
|
-
schema:
|
|
1057
|
-
success:
|
|
1058
|
-
code:
|
|
1059
|
-
message:
|
|
1060
|
-
},
|
|
1056
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1057
|
+
success: zod91.ZodLiteral<false>;
|
|
1058
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1059
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1060
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1061
1061
|
};
|
|
1062
1062
|
};
|
|
1063
1063
|
};
|
|
@@ -1089,7 +1089,7 @@ declare const listSessionsRoute: {
|
|
|
1089
1089
|
image?: string | null;
|
|
1090
1090
|
};
|
|
1091
1091
|
};
|
|
1092
|
-
}>, string, {}>, next:
|
|
1092
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & TypedResponse<{
|
|
1093
1093
|
success: false;
|
|
1094
1094
|
code?: string | undefined;
|
|
1095
1095
|
message?: string | undefined;
|
|
@@ -1102,10 +1102,10 @@ declare const revokeSessionRoute: {
|
|
|
1102
1102
|
description: string;
|
|
1103
1103
|
content: {
|
|
1104
1104
|
"application/json": {
|
|
1105
|
-
schema:
|
|
1106
|
-
success:
|
|
1107
|
-
message:
|
|
1108
|
-
},
|
|
1105
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1106
|
+
success: zod91.ZodLiteral<true>;
|
|
1107
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1108
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1109
1109
|
};
|
|
1110
1110
|
};
|
|
1111
1111
|
};
|
|
@@ -1114,7 +1114,7 @@ declare const revokeSessionRoute: {
|
|
|
1114
1114
|
description: string;
|
|
1115
1115
|
content: {
|
|
1116
1116
|
"application/json": {
|
|
1117
|
-
schema:
|
|
1117
|
+
schema: zod91.ZodType<{
|
|
1118
1118
|
success: false;
|
|
1119
1119
|
} & {
|
|
1120
1120
|
errors: string[];
|
|
@@ -1123,7 +1123,7 @@ declare const revokeSessionRoute: {
|
|
|
1123
1123
|
errors: string[];
|
|
1124
1124
|
};
|
|
1125
1125
|
};
|
|
1126
|
-
}, unknown,
|
|
1126
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1127
1127
|
success: false;
|
|
1128
1128
|
} & {
|
|
1129
1129
|
errors: string[];
|
|
@@ -1141,11 +1141,11 @@ declare const revokeSessionRoute: {
|
|
|
1141
1141
|
description: string;
|
|
1142
1142
|
content: {
|
|
1143
1143
|
"application/json": {
|
|
1144
|
-
schema:
|
|
1145
|
-
success:
|
|
1146
|
-
code:
|
|
1147
|
-
message:
|
|
1148
|
-
},
|
|
1144
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1145
|
+
success: zod91.ZodLiteral<false>;
|
|
1146
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1147
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1148
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1149
1149
|
};
|
|
1150
1150
|
};
|
|
1151
1151
|
};
|
|
@@ -1154,11 +1154,11 @@ declare const revokeSessionRoute: {
|
|
|
1154
1154
|
description: string;
|
|
1155
1155
|
content: {
|
|
1156
1156
|
"application/json": {
|
|
1157
|
-
schema:
|
|
1158
|
-
success:
|
|
1159
|
-
code:
|
|
1160
|
-
message:
|
|
1161
|
-
},
|
|
1157
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1158
|
+
success: zod91.ZodLiteral<false>;
|
|
1159
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1160
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1161
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1162
1162
|
};
|
|
1163
1163
|
};
|
|
1164
1164
|
};
|
|
@@ -1167,11 +1167,11 @@ declare const revokeSessionRoute: {
|
|
|
1167
1167
|
description: string;
|
|
1168
1168
|
content: {
|
|
1169
1169
|
"application/json": {
|
|
1170
|
-
schema:
|
|
1171
|
-
success:
|
|
1172
|
-
code:
|
|
1173
|
-
message:
|
|
1174
|
-
},
|
|
1170
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1171
|
+
success: zod91.ZodLiteral<false>;
|
|
1172
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1173
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1174
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1175
1175
|
};
|
|
1176
1176
|
};
|
|
1177
1177
|
};
|
|
@@ -1184,7 +1184,7 @@ declare const revokeSessionRoute: {
|
|
|
1184
1184
|
session: Session;
|
|
1185
1185
|
user: User;
|
|
1186
1186
|
};
|
|
1187
|
-
}>, string, {}>, next:
|
|
1187
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & TypedResponse<{
|
|
1188
1188
|
success: false;
|
|
1189
1189
|
code?: string | undefined;
|
|
1190
1190
|
message?: string | undefined;
|
|
@@ -1194,9 +1194,9 @@ declare const revokeSessionRoute: {
|
|
|
1194
1194
|
description?: string;
|
|
1195
1195
|
content: {
|
|
1196
1196
|
"application/json": {
|
|
1197
|
-
schema:
|
|
1198
|
-
token:
|
|
1199
|
-
},
|
|
1197
|
+
schema: zod91.ZodObject<{
|
|
1198
|
+
token: zod91.ZodString;
|
|
1199
|
+
}, zod_v4_core21.$strip>;
|
|
1200
1200
|
};
|
|
1201
1201
|
};
|
|
1202
1202
|
required: true;
|
|
@@ -1210,10 +1210,10 @@ declare const revokeSessionsRoute: {
|
|
|
1210
1210
|
description: string;
|
|
1211
1211
|
content: {
|
|
1212
1212
|
"application/json": {
|
|
1213
|
-
schema:
|
|
1214
|
-
success:
|
|
1215
|
-
message:
|
|
1216
|
-
},
|
|
1213
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1214
|
+
success: zod91.ZodLiteral<true>;
|
|
1215
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1216
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1217
1217
|
};
|
|
1218
1218
|
};
|
|
1219
1219
|
};
|
|
@@ -1222,11 +1222,11 @@ declare const revokeSessionsRoute: {
|
|
|
1222
1222
|
description: string;
|
|
1223
1223
|
content: {
|
|
1224
1224
|
"application/json": {
|
|
1225
|
-
schema:
|
|
1226
|
-
success:
|
|
1227
|
-
code:
|
|
1228
|
-
message:
|
|
1229
|
-
},
|
|
1225
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1226
|
+
success: zod91.ZodLiteral<false>;
|
|
1227
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1228
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1229
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1230
1230
|
};
|
|
1231
1231
|
};
|
|
1232
1232
|
};
|
|
@@ -1239,7 +1239,7 @@ declare const revokeSessionsRoute: {
|
|
|
1239
1239
|
session: Session;
|
|
1240
1240
|
user: User;
|
|
1241
1241
|
};
|
|
1242
|
-
}>, string, {}>, next:
|
|
1242
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & TypedResponse<{
|
|
1243
1243
|
success: false;
|
|
1244
1244
|
code?: string | undefined;
|
|
1245
1245
|
message?: string | undefined;
|
|
@@ -1252,10 +1252,10 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1252
1252
|
description: string;
|
|
1253
1253
|
content: {
|
|
1254
1254
|
"application/json": {
|
|
1255
|
-
schema:
|
|
1256
|
-
success:
|
|
1257
|
-
message:
|
|
1258
|
-
},
|
|
1255
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1256
|
+
success: zod91.ZodLiteral<true>;
|
|
1257
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1258
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1259
1259
|
};
|
|
1260
1260
|
};
|
|
1261
1261
|
};
|
|
@@ -1268,7 +1268,7 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1268
1268
|
session: Session;
|
|
1269
1269
|
user: User;
|
|
1270
1270
|
};
|
|
1271
|
-
}>, string, {}>, next:
|
|
1271
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & TypedResponse<{
|
|
1272
1272
|
success: false;
|
|
1273
1273
|
code?: string | undefined;
|
|
1274
1274
|
message?: string | undefined;
|
|
@@ -1283,10 +1283,10 @@ declare const signOutRoute: {
|
|
|
1283
1283
|
description: string;
|
|
1284
1284
|
content: {
|
|
1285
1285
|
"application/json": {
|
|
1286
|
-
schema:
|
|
1287
|
-
success:
|
|
1288
|
-
message:
|
|
1289
|
-
},
|
|
1286
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1287
|
+
success: zod91.ZodLiteral<true>;
|
|
1288
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1289
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1290
1290
|
};
|
|
1291
1291
|
};
|
|
1292
1292
|
};
|
|
@@ -1295,11 +1295,11 @@ declare const signOutRoute: {
|
|
|
1295
1295
|
description: string;
|
|
1296
1296
|
content: {
|
|
1297
1297
|
"application/json": {
|
|
1298
|
-
schema:
|
|
1299
|
-
success:
|
|
1300
|
-
code:
|
|
1301
|
-
message:
|
|
1302
|
-
},
|
|
1298
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1299
|
+
success: zod91.ZodLiteral<false>;
|
|
1300
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1301
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1302
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1303
1303
|
};
|
|
1304
1304
|
};
|
|
1305
1305
|
};
|
|
@@ -1317,10 +1317,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1317
1317
|
description: string;
|
|
1318
1318
|
content: {
|
|
1319
1319
|
"application/json": {
|
|
1320
|
-
schema:
|
|
1321
|
-
success:
|
|
1322
|
-
message:
|
|
1323
|
-
},
|
|
1320
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1321
|
+
success: zod91.ZodLiteral<true>;
|
|
1322
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1323
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1324
1324
|
};
|
|
1325
1325
|
};
|
|
1326
1326
|
};
|
|
@@ -1329,11 +1329,11 @@ declare const requestPasswordResetRoute: {
|
|
|
1329
1329
|
description: string;
|
|
1330
1330
|
content: {
|
|
1331
1331
|
"application/json": {
|
|
1332
|
-
schema:
|
|
1333
|
-
success:
|
|
1334
|
-
code:
|
|
1335
|
-
message:
|
|
1336
|
-
},
|
|
1332
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1333
|
+
success: zod91.ZodLiteral<false>;
|
|
1334
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1335
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1336
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1337
1337
|
};
|
|
1338
1338
|
};
|
|
1339
1339
|
};
|
|
@@ -1342,7 +1342,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1342
1342
|
description: string;
|
|
1343
1343
|
content: {
|
|
1344
1344
|
"application/json": {
|
|
1345
|
-
schema:
|
|
1345
|
+
schema: zod91.ZodType<{
|
|
1346
1346
|
success: false;
|
|
1347
1347
|
} & {
|
|
1348
1348
|
errors: string[];
|
|
@@ -1354,7 +1354,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1354
1354
|
errors: string[];
|
|
1355
1355
|
};
|
|
1356
1356
|
};
|
|
1357
|
-
}, unknown,
|
|
1357
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1358
1358
|
success: false;
|
|
1359
1359
|
} & {
|
|
1360
1360
|
errors: string[];
|
|
@@ -1379,10 +1379,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1379
1379
|
description?: string;
|
|
1380
1380
|
content: {
|
|
1381
1381
|
"application/json": {
|
|
1382
|
-
schema:
|
|
1383
|
-
email:
|
|
1384
|
-
redirectTo:
|
|
1385
|
-
},
|
|
1382
|
+
schema: zod91.ZodObject<{
|
|
1383
|
+
email: zod91.ZodEmail;
|
|
1384
|
+
redirectTo: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
1385
|
+
}, zod_v4_core21.$strip>;
|
|
1386
1386
|
};
|
|
1387
1387
|
};
|
|
1388
1388
|
required: true;
|
|
@@ -1396,7 +1396,7 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1396
1396
|
description: string;
|
|
1397
1397
|
content: {
|
|
1398
1398
|
"application/json": {
|
|
1399
|
-
schema:
|
|
1399
|
+
schema: zod91.ZodType<unknown, unknown, zod_v4_core21.$ZodTypeInternals<unknown, unknown>>;
|
|
1400
1400
|
};
|
|
1401
1401
|
};
|
|
1402
1402
|
};
|
|
@@ -1408,15 +1408,15 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1408
1408
|
operationId: "requestPasswordResetCallback";
|
|
1409
1409
|
path: "/reset-password/:token";
|
|
1410
1410
|
method: "get";
|
|
1411
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1411
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono116.Next) => Promise<void | Response>];
|
|
1412
1412
|
request: {
|
|
1413
|
-
params:
|
|
1414
|
-
token:
|
|
1415
|
-
},
|
|
1413
|
+
params: zod91.ZodObject<{
|
|
1414
|
+
token: zod91.ZodString;
|
|
1415
|
+
}, zod_v4_core21.$strip>;
|
|
1416
1416
|
} & {
|
|
1417
|
-
query:
|
|
1418
|
-
callbackURL:
|
|
1419
|
-
},
|
|
1417
|
+
query: zod91.ZodObject<{
|
|
1418
|
+
callbackURL: zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string, string>, zod91.ZodURL>, zod91.ZodTransform<string, string>>;
|
|
1419
|
+
}, zod_v4_core21.$strip>;
|
|
1420
1420
|
};
|
|
1421
1421
|
getRoutingPath: () => "/reset-password/:token";
|
|
1422
1422
|
};
|
|
@@ -1426,10 +1426,10 @@ declare const resetPasswordRoute: {
|
|
|
1426
1426
|
description: string;
|
|
1427
1427
|
content: {
|
|
1428
1428
|
"application/json": {
|
|
1429
|
-
schema:
|
|
1430
|
-
success:
|
|
1431
|
-
message:
|
|
1432
|
-
},
|
|
1429
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1430
|
+
success: zod91.ZodLiteral<true>;
|
|
1431
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1432
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1433
1433
|
};
|
|
1434
1434
|
};
|
|
1435
1435
|
};
|
|
@@ -1438,11 +1438,11 @@ declare const resetPasswordRoute: {
|
|
|
1438
1438
|
description: string;
|
|
1439
1439
|
content: {
|
|
1440
1440
|
"application/json": {
|
|
1441
|
-
schema:
|
|
1442
|
-
success:
|
|
1443
|
-
code:
|
|
1444
|
-
message:
|
|
1445
|
-
},
|
|
1441
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1442
|
+
success: zod91.ZodLiteral<false>;
|
|
1443
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1444
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1445
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1446
1446
|
};
|
|
1447
1447
|
};
|
|
1448
1448
|
};
|
|
@@ -1451,7 +1451,7 @@ declare const resetPasswordRoute: {
|
|
|
1451
1451
|
description: string;
|
|
1452
1452
|
content: {
|
|
1453
1453
|
"application/json": {
|
|
1454
|
-
schema:
|
|
1454
|
+
schema: zod91.ZodType<{
|
|
1455
1455
|
success: false;
|
|
1456
1456
|
} & {
|
|
1457
1457
|
errors: string[];
|
|
@@ -1463,7 +1463,7 @@ declare const resetPasswordRoute: {
|
|
|
1463
1463
|
errors: string[];
|
|
1464
1464
|
};
|
|
1465
1465
|
};
|
|
1466
|
-
}, unknown,
|
|
1466
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1467
1467
|
success: false;
|
|
1468
1468
|
} & {
|
|
1469
1469
|
errors: string[];
|
|
@@ -1488,18 +1488,18 @@ declare const resetPasswordRoute: {
|
|
|
1488
1488
|
description?: string;
|
|
1489
1489
|
content: {
|
|
1490
1490
|
"application/json": {
|
|
1491
|
-
schema:
|
|
1492
|
-
newPassword:
|
|
1493
|
-
token:
|
|
1494
|
-
},
|
|
1491
|
+
schema: zod91.ZodObject<{
|
|
1492
|
+
newPassword: zod91.ZodString;
|
|
1493
|
+
token: zod91.ZodOptional<zod91.ZodString>;
|
|
1494
|
+
}, zod_v4_core21.$strip>;
|
|
1495
1495
|
};
|
|
1496
1496
|
};
|
|
1497
1497
|
required: true;
|
|
1498
1498
|
};
|
|
1499
1499
|
} & {
|
|
1500
|
-
query:
|
|
1501
|
-
token:
|
|
1502
|
-
},
|
|
1500
|
+
query: zod91.ZodObject<{
|
|
1501
|
+
token: zod91.ZodOptional<zod91.ZodString>;
|
|
1502
|
+
}, zod_v4_core21.$strip>;
|
|
1503
1503
|
};
|
|
1504
1504
|
getRoutingPath: () => "/reset-password";
|
|
1505
1505
|
};
|
|
@@ -1511,10 +1511,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
1511
1511
|
description: string;
|
|
1512
1512
|
content: {
|
|
1513
1513
|
"application/json": {
|
|
1514
|
-
schema:
|
|
1515
|
-
success:
|
|
1516
|
-
message:
|
|
1517
|
-
},
|
|
1514
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1515
|
+
success: zod91.ZodLiteral<true>;
|
|
1516
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1517
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1518
1518
|
};
|
|
1519
1519
|
};
|
|
1520
1520
|
};
|
|
@@ -1523,11 +1523,11 @@ declare const sendVerificationEmailRoute: {
|
|
|
1523
1523
|
description: string;
|
|
1524
1524
|
content: {
|
|
1525
1525
|
"application/json": {
|
|
1526
|
-
schema:
|
|
1527
|
-
success:
|
|
1528
|
-
code:
|
|
1529
|
-
message:
|
|
1530
|
-
},
|
|
1526
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1527
|
+
success: zod91.ZodLiteral<false>;
|
|
1528
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1529
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1530
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1531
1531
|
};
|
|
1532
1532
|
};
|
|
1533
1533
|
};
|
|
@@ -1536,7 +1536,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
1536
1536
|
description: string;
|
|
1537
1537
|
content: {
|
|
1538
1538
|
"application/json": {
|
|
1539
|
-
schema:
|
|
1539
|
+
schema: zod91.ZodType<{
|
|
1540
1540
|
success: false;
|
|
1541
1541
|
} & {
|
|
1542
1542
|
errors: string[];
|
|
@@ -1548,7 +1548,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
1548
1548
|
errors: string[];
|
|
1549
1549
|
};
|
|
1550
1550
|
};
|
|
1551
|
-
}, unknown,
|
|
1551
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1552
1552
|
success: false;
|
|
1553
1553
|
} & {
|
|
1554
1554
|
errors: string[];
|
|
@@ -1573,10 +1573,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
1573
1573
|
description?: string;
|
|
1574
1574
|
content: {
|
|
1575
1575
|
"application/json": {
|
|
1576
|
-
schema:
|
|
1577
|
-
email:
|
|
1578
|
-
callbackURL:
|
|
1579
|
-
},
|
|
1576
|
+
schema: zod91.ZodObject<{
|
|
1577
|
+
email: zod91.ZodEmail;
|
|
1578
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
1579
|
+
}, zod_v4_core21.$strip>;
|
|
1580
1580
|
};
|
|
1581
1581
|
};
|
|
1582
1582
|
required: true;
|
|
@@ -1590,23 +1590,23 @@ declare const verifyEmailRoute: {
|
|
|
1590
1590
|
description: string;
|
|
1591
1591
|
content: {
|
|
1592
1592
|
"application/json": {
|
|
1593
|
-
schema:
|
|
1594
|
-
success:
|
|
1595
|
-
token:
|
|
1596
|
-
user:
|
|
1597
|
-
id:
|
|
1598
|
-
createdAt:
|
|
1599
|
-
updatedAt:
|
|
1600
|
-
email:
|
|
1601
|
-
emailVerified:
|
|
1602
|
-
name:
|
|
1603
|
-
image:
|
|
1604
|
-
},
|
|
1605
|
-
},
|
|
1606
|
-
success:
|
|
1607
|
-
token:
|
|
1608
|
-
user:
|
|
1609
|
-
},
|
|
1593
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
1594
|
+
success: zod91.ZodLiteral<true>;
|
|
1595
|
+
token: zod91.ZodDefault<zod91.ZodNullable<zod91.ZodString>>;
|
|
1596
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1597
|
+
id: zod91.ZodString;
|
|
1598
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1599
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1600
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
1601
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
1602
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
1603
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1604
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
1605
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
1606
|
+
success: zod91.ZodLiteral<false>;
|
|
1607
|
+
token: zod91.ZodDefault<zod91.ZodNull>;
|
|
1608
|
+
user: zod91.ZodDefault<zod91.ZodNull>;
|
|
1609
|
+
}, zod_v4_core21.$strip>], "success">, zod91.ZodTransform<{
|
|
1610
1610
|
success: true;
|
|
1611
1611
|
data: {
|
|
1612
1612
|
success: true;
|
|
@@ -1620,7 +1620,7 @@ declare const verifyEmailRoute: {
|
|
|
1620
1620
|
emailVerified: boolean;
|
|
1621
1621
|
name?: string | undefined;
|
|
1622
1622
|
image?: string | null | undefined;
|
|
1623
|
-
} &
|
|
1623
|
+
} & zod91.$brand<"user">;
|
|
1624
1624
|
} | {
|
|
1625
1625
|
success: false;
|
|
1626
1626
|
token: null;
|
|
@@ -1638,7 +1638,7 @@ declare const verifyEmailRoute: {
|
|
|
1638
1638
|
emailVerified: boolean;
|
|
1639
1639
|
name?: string | undefined;
|
|
1640
1640
|
image?: string | null | undefined;
|
|
1641
|
-
} &
|
|
1641
|
+
} & zod91.$brand<"user">;
|
|
1642
1642
|
} | {
|
|
1643
1643
|
success: false;
|
|
1644
1644
|
token: null;
|
|
@@ -1652,11 +1652,11 @@ declare const verifyEmailRoute: {
|
|
|
1652
1652
|
description: string;
|
|
1653
1653
|
content: {
|
|
1654
1654
|
"application/json": {
|
|
1655
|
-
schema:
|
|
1656
|
-
success:
|
|
1657
|
-
code:
|
|
1658
|
-
message:
|
|
1659
|
-
},
|
|
1655
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1656
|
+
success: zod91.ZodLiteral<false>;
|
|
1657
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1658
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1659
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1660
1660
|
};
|
|
1661
1661
|
};
|
|
1662
1662
|
};
|
|
@@ -1665,11 +1665,11 @@ declare const verifyEmailRoute: {
|
|
|
1665
1665
|
description: string;
|
|
1666
1666
|
content: {
|
|
1667
1667
|
"application/json": {
|
|
1668
|
-
schema:
|
|
1669
|
-
success:
|
|
1670
|
-
code:
|
|
1671
|
-
message:
|
|
1672
|
-
},
|
|
1668
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1669
|
+
success: zod91.ZodLiteral<false>;
|
|
1670
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1671
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1672
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1673
1673
|
};
|
|
1674
1674
|
};
|
|
1675
1675
|
};
|
|
@@ -1682,7 +1682,7 @@ declare const verifyEmailRoute: {
|
|
|
1682
1682
|
description: string;
|
|
1683
1683
|
content: {
|
|
1684
1684
|
"application/json": {
|
|
1685
|
-
schema:
|
|
1685
|
+
schema: zod91.ZodType<{
|
|
1686
1686
|
success: false;
|
|
1687
1687
|
} & {
|
|
1688
1688
|
errors: string[];
|
|
@@ -1694,7 +1694,7 @@ declare const verifyEmailRoute: {
|
|
|
1694
1694
|
errors: string[];
|
|
1695
1695
|
};
|
|
1696
1696
|
};
|
|
1697
|
-
}, unknown,
|
|
1697
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1698
1698
|
success: false;
|
|
1699
1699
|
} & {
|
|
1700
1700
|
errors: string[];
|
|
@@ -1714,21 +1714,21 @@ declare const verifyEmailRoute: {
|
|
|
1714
1714
|
operationId: "verifyEmail";
|
|
1715
1715
|
path: "/verify-email";
|
|
1716
1716
|
method: "get";
|
|
1717
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1717
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono116.Next) => Promise<void | Response>, (ctx: Context<ContextVars<{
|
|
1718
1718
|
token: {
|
|
1719
1719
|
email: string;
|
|
1720
1720
|
updateTo?: string | undefined;
|
|
1721
1721
|
};
|
|
1722
|
-
}>, string, {}>, next:
|
|
1722
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types84.JSONRespondReturn<{
|
|
1723
1723
|
success: false;
|
|
1724
1724
|
code: string;
|
|
1725
1725
|
message: string;
|
|
1726
1726
|
}, 400 | 401>>];
|
|
1727
1727
|
request: {
|
|
1728
|
-
query:
|
|
1729
|
-
token:
|
|
1730
|
-
callbackURL:
|
|
1731
|
-
},
|
|
1728
|
+
query: zod91.ZodObject<{
|
|
1729
|
+
token: zod91.ZodString;
|
|
1730
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
1731
|
+
}, zod_v4_core21.$strip>;
|
|
1732
1732
|
};
|
|
1733
1733
|
getRoutingPath: () => "/verify-email";
|
|
1734
1734
|
};
|
|
@@ -1740,10 +1740,10 @@ declare const updateUserRoute: {
|
|
|
1740
1740
|
description: string;
|
|
1741
1741
|
content: {
|
|
1742
1742
|
"application/json": {
|
|
1743
|
-
schema:
|
|
1744
|
-
success:
|
|
1745
|
-
message:
|
|
1746
|
-
},
|
|
1743
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1744
|
+
success: zod91.ZodLiteral<true>;
|
|
1745
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1746
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
1747
1747
|
};
|
|
1748
1748
|
};
|
|
1749
1749
|
};
|
|
@@ -1752,7 +1752,7 @@ declare const updateUserRoute: {
|
|
|
1752
1752
|
description: string;
|
|
1753
1753
|
content: {
|
|
1754
1754
|
"application/json": {
|
|
1755
|
-
schema:
|
|
1755
|
+
schema: zod91.ZodType<{
|
|
1756
1756
|
success: false;
|
|
1757
1757
|
} & {
|
|
1758
1758
|
errors: string[];
|
|
@@ -1767,7 +1767,7 @@ declare const updateUserRoute: {
|
|
|
1767
1767
|
errors: string[];
|
|
1768
1768
|
};
|
|
1769
1769
|
};
|
|
1770
|
-
}, unknown,
|
|
1770
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1771
1771
|
success: false;
|
|
1772
1772
|
} & {
|
|
1773
1773
|
errors: string[];
|
|
@@ -1791,11 +1791,11 @@ declare const updateUserRoute: {
|
|
|
1791
1791
|
description: string;
|
|
1792
1792
|
content: {
|
|
1793
1793
|
"application/json": {
|
|
1794
|
-
schema:
|
|
1795
|
-
success:
|
|
1796
|
-
code:
|
|
1797
|
-
message:
|
|
1798
|
-
},
|
|
1794
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1795
|
+
success: zod91.ZodLiteral<false>;
|
|
1796
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1797
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1798
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1799
1799
|
};
|
|
1800
1800
|
};
|
|
1801
1801
|
};
|
|
@@ -1803,7 +1803,7 @@ declare const updateUserRoute: {
|
|
|
1803
1803
|
operationId: "updateUser";
|
|
1804
1804
|
path: "/update-user";
|
|
1805
1805
|
method: "post";
|
|
1806
|
-
middleware: [(ctx:
|
|
1806
|
+
middleware: [(ctx: hono116.Context<ContextVars<object & {
|
|
1807
1807
|
session: {
|
|
1808
1808
|
session: {
|
|
1809
1809
|
[x: string]: unknown;
|
|
@@ -1827,7 +1827,7 @@ declare const updateUserRoute: {
|
|
|
1827
1827
|
image?: string | null;
|
|
1828
1828
|
};
|
|
1829
1829
|
};
|
|
1830
|
-
}>, string, {}>, next:
|
|
1830
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
1831
1831
|
success: false;
|
|
1832
1832
|
code?: string | undefined;
|
|
1833
1833
|
message?: string | undefined;
|
|
@@ -1837,10 +1837,10 @@ declare const updateUserRoute: {
|
|
|
1837
1837
|
description?: string;
|
|
1838
1838
|
content: {
|
|
1839
1839
|
"application/json": {
|
|
1840
|
-
schema:
|
|
1841
|
-
name:
|
|
1842
|
-
image:
|
|
1843
|
-
},
|
|
1840
|
+
schema: zod91.ZodObject<{
|
|
1841
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
1842
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1843
|
+
}, zod_v4_core21.$loose>;
|
|
1844
1844
|
};
|
|
1845
1845
|
};
|
|
1846
1846
|
required: true;
|
|
@@ -1854,29 +1854,29 @@ declare const changePasswordRoute: {
|
|
|
1854
1854
|
description: string;
|
|
1855
1855
|
content: {
|
|
1856
1856
|
"application/json": {
|
|
1857
|
-
schema:
|
|
1858
|
-
success:
|
|
1859
|
-
token:
|
|
1860
|
-
user:
|
|
1861
|
-
id:
|
|
1862
|
-
createdAt:
|
|
1863
|
-
updatedAt:
|
|
1864
|
-
email:
|
|
1865
|
-
emailVerified:
|
|
1866
|
-
name:
|
|
1867
|
-
image:
|
|
1868
|
-
},
|
|
1869
|
-
},
|
|
1870
|
-
success:
|
|
1871
|
-
token:
|
|
1872
|
-
user:
|
|
1873
|
-
},
|
|
1874
|
-
redirect:
|
|
1875
|
-
url:
|
|
1876
|
-
},
|
|
1877
|
-
redirect:
|
|
1878
|
-
url:
|
|
1879
|
-
},
|
|
1857
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodIntersection<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
1858
|
+
success: zod91.ZodLiteral<true>;
|
|
1859
|
+
token: zod91.ZodDefault<zod91.ZodNullable<zod91.ZodString>>;
|
|
1860
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1861
|
+
id: zod91.ZodString;
|
|
1862
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1863
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
1864
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
1865
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
1866
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
1867
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1868
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
1869
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
1870
|
+
success: zod91.ZodLiteral<false>;
|
|
1871
|
+
token: zod91.ZodDefault<zod91.ZodNull>;
|
|
1872
|
+
user: zod91.ZodDefault<zod91.ZodNull>;
|
|
1873
|
+
}, zod_v4_core21.$strip>], "success">, zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
1874
|
+
redirect: zod91.ZodLiteral<false>;
|
|
1875
|
+
url: zod91.ZodDefault<zod91.ZodNull>;
|
|
1876
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
1877
|
+
redirect: zod91.ZodLiteral<true>;
|
|
1878
|
+
url: zod91.ZodURL;
|
|
1879
|
+
}, zod_v4_core21.$strip>], "redirect">>, zod91.ZodTransform<{
|
|
1880
1880
|
success: true;
|
|
1881
1881
|
data: ({
|
|
1882
1882
|
success: true;
|
|
@@ -1890,7 +1890,7 @@ declare const changePasswordRoute: {
|
|
|
1890
1890
|
emailVerified: boolean;
|
|
1891
1891
|
name?: string | undefined;
|
|
1892
1892
|
image?: string | null | undefined;
|
|
1893
|
-
} &
|
|
1893
|
+
} & zod91.$brand<"user">;
|
|
1894
1894
|
} | {
|
|
1895
1895
|
success: false;
|
|
1896
1896
|
token: null;
|
|
@@ -1914,7 +1914,7 @@ declare const changePasswordRoute: {
|
|
|
1914
1914
|
emailVerified: boolean;
|
|
1915
1915
|
name?: string | undefined;
|
|
1916
1916
|
image?: string | null | undefined;
|
|
1917
|
-
} &
|
|
1917
|
+
} & zod91.$brand<"user">;
|
|
1918
1918
|
} | {
|
|
1919
1919
|
success: false;
|
|
1920
1920
|
token: null;
|
|
@@ -1934,11 +1934,11 @@ declare const changePasswordRoute: {
|
|
|
1934
1934
|
description: string;
|
|
1935
1935
|
content: {
|
|
1936
1936
|
"application/json": {
|
|
1937
|
-
schema:
|
|
1938
|
-
success:
|
|
1939
|
-
code:
|
|
1940
|
-
message:
|
|
1941
|
-
},
|
|
1937
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1938
|
+
success: zod91.ZodLiteral<false>;
|
|
1939
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1940
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1941
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1942
1942
|
};
|
|
1943
1943
|
};
|
|
1944
1944
|
};
|
|
@@ -1947,11 +1947,11 @@ declare const changePasswordRoute: {
|
|
|
1947
1947
|
description: string;
|
|
1948
1948
|
content: {
|
|
1949
1949
|
"application/json": {
|
|
1950
|
-
schema:
|
|
1951
|
-
success:
|
|
1952
|
-
code:
|
|
1953
|
-
message:
|
|
1954
|
-
},
|
|
1950
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
1951
|
+
success: zod91.ZodLiteral<false>;
|
|
1952
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
1953
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
1954
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
1955
1955
|
};
|
|
1956
1956
|
};
|
|
1957
1957
|
};
|
|
@@ -1960,7 +1960,7 @@ declare const changePasswordRoute: {
|
|
|
1960
1960
|
description: string;
|
|
1961
1961
|
content: {
|
|
1962
1962
|
"application/json": {
|
|
1963
|
-
schema:
|
|
1963
|
+
schema: zod91.ZodType<{
|
|
1964
1964
|
success: false;
|
|
1965
1965
|
} & {
|
|
1966
1966
|
errors: string[];
|
|
@@ -1975,7 +1975,7 @@ declare const changePasswordRoute: {
|
|
|
1975
1975
|
errors: string[];
|
|
1976
1976
|
};
|
|
1977
1977
|
};
|
|
1978
|
-
}, unknown,
|
|
1978
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
1979
1979
|
success: false;
|
|
1980
1980
|
} & {
|
|
1981
1981
|
errors: string[];
|
|
@@ -1999,11 +1999,11 @@ declare const changePasswordRoute: {
|
|
|
1999
1999
|
description: string;
|
|
2000
2000
|
content: {
|
|
2001
2001
|
"application/json": {
|
|
2002
|
-
schema:
|
|
2003
|
-
success:
|
|
2004
|
-
code:
|
|
2005
|
-
message:
|
|
2006
|
-
},
|
|
2002
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2003
|
+
success: zod91.ZodLiteral<false>;
|
|
2004
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2005
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2006
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2007
2007
|
};
|
|
2008
2008
|
};
|
|
2009
2009
|
};
|
|
@@ -2011,12 +2011,12 @@ declare const changePasswordRoute: {
|
|
|
2011
2011
|
operationId: "changePassword";
|
|
2012
2012
|
path: "/change-password";
|
|
2013
2013
|
method: "post";
|
|
2014
|
-
middleware: [(ctx:
|
|
2014
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
2015
2015
|
session: {
|
|
2016
2016
|
session: _faire_auth_core_db16.Session;
|
|
2017
2017
|
user: User;
|
|
2018
2018
|
};
|
|
2019
|
-
}>, string, {}>, next:
|
|
2019
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2020
2020
|
success: false;
|
|
2021
2021
|
code?: string | undefined;
|
|
2022
2022
|
message?: string | undefined;
|
|
@@ -2026,11 +2026,11 @@ declare const changePasswordRoute: {
|
|
|
2026
2026
|
description?: string;
|
|
2027
2027
|
content: {
|
|
2028
2028
|
"application/json": {
|
|
2029
|
-
schema:
|
|
2030
|
-
newPassword:
|
|
2031
|
-
currentPassword:
|
|
2032
|
-
revokeOtherSessions:
|
|
2033
|
-
},
|
|
2029
|
+
schema: zod91.ZodObject<{
|
|
2030
|
+
newPassword: zod91.ZodString;
|
|
2031
|
+
currentPassword: zod91.ZodString;
|
|
2032
|
+
revokeOtherSessions: zod91.ZodOptional<zod91.ZodBoolean>;
|
|
2033
|
+
}, zod_v4_core21.$strip>;
|
|
2034
2034
|
};
|
|
2035
2035
|
};
|
|
2036
2036
|
required: true;
|
|
@@ -2044,10 +2044,10 @@ declare const setPasswordRoute: {
|
|
|
2044
2044
|
description: string;
|
|
2045
2045
|
content: {
|
|
2046
2046
|
"application/json": {
|
|
2047
|
-
schema:
|
|
2048
|
-
success:
|
|
2049
|
-
message:
|
|
2050
|
-
},
|
|
2047
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2048
|
+
success: zod91.ZodLiteral<true>;
|
|
2049
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2050
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
2051
2051
|
};
|
|
2052
2052
|
};
|
|
2053
2053
|
};
|
|
@@ -2056,11 +2056,11 @@ declare const setPasswordRoute: {
|
|
|
2056
2056
|
description: string;
|
|
2057
2057
|
content: {
|
|
2058
2058
|
"application/json": {
|
|
2059
|
-
schema:
|
|
2060
|
-
success:
|
|
2061
|
-
code:
|
|
2062
|
-
message:
|
|
2063
|
-
},
|
|
2059
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2060
|
+
success: zod91.ZodLiteral<false>;
|
|
2061
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2062
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2063
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2064
2064
|
};
|
|
2065
2065
|
};
|
|
2066
2066
|
};
|
|
@@ -2069,7 +2069,7 @@ declare const setPasswordRoute: {
|
|
|
2069
2069
|
description: string;
|
|
2070
2070
|
content: {
|
|
2071
2071
|
"application/json": {
|
|
2072
|
-
schema:
|
|
2072
|
+
schema: zod91.ZodType<{
|
|
2073
2073
|
success: false;
|
|
2074
2074
|
} & {
|
|
2075
2075
|
errors: string[];
|
|
@@ -2078,7 +2078,7 @@ declare const setPasswordRoute: {
|
|
|
2078
2078
|
errors: string[];
|
|
2079
2079
|
};
|
|
2080
2080
|
};
|
|
2081
|
-
}, unknown,
|
|
2081
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2082
2082
|
success: false;
|
|
2083
2083
|
} & {
|
|
2084
2084
|
errors: string[];
|
|
@@ -2097,12 +2097,12 @@ declare const setPasswordRoute: {
|
|
|
2097
2097
|
method: "post";
|
|
2098
2098
|
hide: true;
|
|
2099
2099
|
SERVER_ONLY: true;
|
|
2100
|
-
middleware: [(ctx:
|
|
2100
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
2101
2101
|
session: {
|
|
2102
2102
|
session: _faire_auth_core_db16.Session;
|
|
2103
2103
|
user: User;
|
|
2104
2104
|
};
|
|
2105
|
-
}>, string, {}>, next:
|
|
2105
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2106
2106
|
success: false;
|
|
2107
2107
|
code?: string | undefined;
|
|
2108
2108
|
message?: string | undefined;
|
|
@@ -2112,9 +2112,9 @@ declare const setPasswordRoute: {
|
|
|
2112
2112
|
description?: string;
|
|
2113
2113
|
content: {
|
|
2114
2114
|
"application/json": {
|
|
2115
|
-
schema:
|
|
2116
|
-
newPassword:
|
|
2117
|
-
},
|
|
2115
|
+
schema: zod91.ZodObject<{
|
|
2116
|
+
newPassword: zod91.ZodString;
|
|
2117
|
+
}, zod_v4_core21.$strip>;
|
|
2118
2118
|
};
|
|
2119
2119
|
};
|
|
2120
2120
|
required: true;
|
|
@@ -2128,10 +2128,10 @@ declare const deleteUserRoute: {
|
|
|
2128
2128
|
description: string;
|
|
2129
2129
|
content: {
|
|
2130
2130
|
"application/json": {
|
|
2131
|
-
schema:
|
|
2132
|
-
success:
|
|
2133
|
-
message:
|
|
2134
|
-
},
|
|
2131
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2132
|
+
success: zod91.ZodLiteral<true>;
|
|
2133
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2134
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
2135
2135
|
};
|
|
2136
2136
|
};
|
|
2137
2137
|
};
|
|
@@ -2144,11 +2144,11 @@ declare const deleteUserRoute: {
|
|
|
2144
2144
|
description: string;
|
|
2145
2145
|
content: {
|
|
2146
2146
|
"application/json": {
|
|
2147
|
-
schema:
|
|
2148
|
-
success:
|
|
2149
|
-
code:
|
|
2150
|
-
message:
|
|
2151
|
-
},
|
|
2147
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2148
|
+
success: zod91.ZodLiteral<false>;
|
|
2149
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2150
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2151
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2152
2152
|
};
|
|
2153
2153
|
};
|
|
2154
2154
|
};
|
|
@@ -2157,11 +2157,11 @@ declare const deleteUserRoute: {
|
|
|
2157
2157
|
description: string;
|
|
2158
2158
|
content: {
|
|
2159
2159
|
"application/json": {
|
|
2160
|
-
schema:
|
|
2161
|
-
success:
|
|
2162
|
-
code:
|
|
2163
|
-
message:
|
|
2164
|
-
},
|
|
2160
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2161
|
+
success: zod91.ZodLiteral<false>;
|
|
2162
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2163
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2164
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2165
2165
|
};
|
|
2166
2166
|
};
|
|
2167
2167
|
};
|
|
@@ -2170,7 +2170,7 @@ declare const deleteUserRoute: {
|
|
|
2170
2170
|
description: string;
|
|
2171
2171
|
content: {
|
|
2172
2172
|
"application/json": {
|
|
2173
|
-
schema:
|
|
2173
|
+
schema: zod91.ZodType<{
|
|
2174
2174
|
success: false;
|
|
2175
2175
|
} & {
|
|
2176
2176
|
errors: string[];
|
|
@@ -2185,7 +2185,7 @@ declare const deleteUserRoute: {
|
|
|
2185
2185
|
errors: string[];
|
|
2186
2186
|
};
|
|
2187
2187
|
};
|
|
2188
|
-
}, unknown,
|
|
2188
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2189
2189
|
success: false;
|
|
2190
2190
|
} & {
|
|
2191
2191
|
errors: string[];
|
|
@@ -2208,12 +2208,12 @@ declare const deleteUserRoute: {
|
|
|
2208
2208
|
operationId: "deleteUser";
|
|
2209
2209
|
path: "/delete-user";
|
|
2210
2210
|
method: "post";
|
|
2211
|
-
middleware: [(ctx:
|
|
2211
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
2212
2212
|
session: {
|
|
2213
2213
|
session: _faire_auth_core_db16.Session;
|
|
2214
2214
|
user: User;
|
|
2215
2215
|
};
|
|
2216
|
-
}>, string, {}>, next:
|
|
2216
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2217
2217
|
success: false;
|
|
2218
2218
|
code?: string | undefined;
|
|
2219
2219
|
message?: string | undefined;
|
|
@@ -2223,11 +2223,11 @@ declare const deleteUserRoute: {
|
|
|
2223
2223
|
description?: string;
|
|
2224
2224
|
content: {
|
|
2225
2225
|
"application/json": {
|
|
2226
|
-
schema:
|
|
2227
|
-
callbackURL:
|
|
2228
|
-
password:
|
|
2229
|
-
token:
|
|
2230
|
-
},
|
|
2226
|
+
schema: zod91.ZodObject<{
|
|
2227
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2228
|
+
password: zod91.ZodOptional<zod91.ZodString>;
|
|
2229
|
+
token: zod91.ZodOptional<zod91.ZodString>;
|
|
2230
|
+
}, zod_v4_core21.$strip>;
|
|
2231
2231
|
};
|
|
2232
2232
|
};
|
|
2233
2233
|
required: true;
|
|
@@ -2241,10 +2241,10 @@ declare const deleteUserCallbackRoute: {
|
|
|
2241
2241
|
description: string;
|
|
2242
2242
|
content: {
|
|
2243
2243
|
"application/json": {
|
|
2244
|
-
schema:
|
|
2245
|
-
success:
|
|
2246
|
-
message:
|
|
2247
|
-
},
|
|
2244
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2245
|
+
success: zod91.ZodLiteral<true>;
|
|
2246
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2247
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
2248
2248
|
};
|
|
2249
2249
|
};
|
|
2250
2250
|
};
|
|
@@ -2257,11 +2257,11 @@ declare const deleteUserCallbackRoute: {
|
|
|
2257
2257
|
description: string;
|
|
2258
2258
|
content: {
|
|
2259
2259
|
"application/json": {
|
|
2260
|
-
schema:
|
|
2261
|
-
success:
|
|
2262
|
-
code:
|
|
2263
|
-
message:
|
|
2264
|
-
},
|
|
2260
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2261
|
+
success: zod91.ZodLiteral<false>;
|
|
2262
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2263
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2264
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2265
2265
|
};
|
|
2266
2266
|
};
|
|
2267
2267
|
};
|
|
@@ -2270,7 +2270,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2270
2270
|
description: string;
|
|
2271
2271
|
content: {
|
|
2272
2272
|
"application/json": {
|
|
2273
|
-
schema:
|
|
2273
|
+
schema: zod91.ZodType<{
|
|
2274
2274
|
success: false;
|
|
2275
2275
|
} & {
|
|
2276
2276
|
errors: string[];
|
|
@@ -2282,7 +2282,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2282
2282
|
errors: string[];
|
|
2283
2283
|
};
|
|
2284
2284
|
};
|
|
2285
|
-
}, unknown,
|
|
2285
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2286
2286
|
success: false;
|
|
2287
2287
|
} & {
|
|
2288
2288
|
errors: string[];
|
|
@@ -2302,7 +2302,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2302
2302
|
operationId: "deleteUserCallback";
|
|
2303
2303
|
path: "/delete-user/callback";
|
|
2304
2304
|
method: "get";
|
|
2305
|
-
middleware: [(ctx:
|
|
2305
|
+
middleware: [(ctx: hono116.Context<ContextVars<object>, string, {}>, next: hono116.Next) => Promise<void | Response>, (ctx: hono116.Context<ContextVars<object & {
|
|
2306
2306
|
session: {
|
|
2307
2307
|
session: {
|
|
2308
2308
|
[x: string]: unknown;
|
|
@@ -2326,16 +2326,16 @@ declare const deleteUserCallbackRoute: {
|
|
|
2326
2326
|
image?: string | null;
|
|
2327
2327
|
};
|
|
2328
2328
|
};
|
|
2329
|
-
}>, string, {}>, next:
|
|
2329
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2330
2330
|
success: false;
|
|
2331
2331
|
code?: string | undefined;
|
|
2332
2332
|
message?: string | undefined;
|
|
2333
2333
|
}, 401>)>];
|
|
2334
2334
|
request: {
|
|
2335
|
-
query:
|
|
2336
|
-
token:
|
|
2337
|
-
callbackURL:
|
|
2338
|
-
},
|
|
2335
|
+
query: zod91.ZodObject<{
|
|
2336
|
+
token: zod91.ZodString;
|
|
2337
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2338
|
+
}, zod_v4_core21.$strip>;
|
|
2339
2339
|
};
|
|
2340
2340
|
getRoutingPath: () => "/delete-user/callback";
|
|
2341
2341
|
};
|
|
@@ -2345,10 +2345,10 @@ declare const changeEmailRoute: {
|
|
|
2345
2345
|
description: string;
|
|
2346
2346
|
content: {
|
|
2347
2347
|
"application/json": {
|
|
2348
|
-
schema:
|
|
2349
|
-
success:
|
|
2350
|
-
message:
|
|
2351
|
-
},
|
|
2348
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2349
|
+
success: zod91.ZodLiteral<true>;
|
|
2350
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2351
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
2352
2352
|
};
|
|
2353
2353
|
};
|
|
2354
2354
|
};
|
|
@@ -2357,11 +2357,11 @@ declare const changeEmailRoute: {
|
|
|
2357
2357
|
description: string;
|
|
2358
2358
|
content: {
|
|
2359
2359
|
"application/json": {
|
|
2360
|
-
schema:
|
|
2361
|
-
success:
|
|
2362
|
-
code:
|
|
2363
|
-
message:
|
|
2364
|
-
},
|
|
2360
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2361
|
+
success: zod91.ZodLiteral<false>;
|
|
2362
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2363
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2364
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2365
2365
|
};
|
|
2366
2366
|
};
|
|
2367
2367
|
};
|
|
@@ -2370,7 +2370,7 @@ declare const changeEmailRoute: {
|
|
|
2370
2370
|
description: string;
|
|
2371
2371
|
content: {
|
|
2372
2372
|
"application/json": {
|
|
2373
|
-
schema:
|
|
2373
|
+
schema: zod91.ZodType<{
|
|
2374
2374
|
success: false;
|
|
2375
2375
|
} & {
|
|
2376
2376
|
errors: string[];
|
|
@@ -2382,7 +2382,7 @@ declare const changeEmailRoute: {
|
|
|
2382
2382
|
errors: string[];
|
|
2383
2383
|
};
|
|
2384
2384
|
};
|
|
2385
|
-
}, unknown,
|
|
2385
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2386
2386
|
success: false;
|
|
2387
2387
|
} & {
|
|
2388
2388
|
errors: string[];
|
|
@@ -2402,12 +2402,12 @@ declare const changeEmailRoute: {
|
|
|
2402
2402
|
operationId: "changeEmail";
|
|
2403
2403
|
path: "/change-email";
|
|
2404
2404
|
method: "post";
|
|
2405
|
-
middleware: [(ctx:
|
|
2405
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
2406
2406
|
session: {
|
|
2407
2407
|
session: _faire_auth_core_db16.Session;
|
|
2408
2408
|
user: User;
|
|
2409
2409
|
};
|
|
2410
|
-
}>, string, {}>, next:
|
|
2410
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2411
2411
|
success: false;
|
|
2412
2412
|
code?: string | undefined;
|
|
2413
2413
|
message?: string | undefined;
|
|
@@ -2417,10 +2417,10 @@ declare const changeEmailRoute: {
|
|
|
2417
2417
|
description?: string;
|
|
2418
2418
|
content: {
|
|
2419
2419
|
"application/json": {
|
|
2420
|
-
schema:
|
|
2421
|
-
newEmail:
|
|
2422
|
-
callbackURL:
|
|
2423
|
-
},
|
|
2420
|
+
schema: zod91.ZodObject<{
|
|
2421
|
+
newEmail: zod91.ZodEmail;
|
|
2422
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2423
|
+
}, zod_v4_core21.$strip>;
|
|
2424
2424
|
};
|
|
2425
2425
|
};
|
|
2426
2426
|
required: true;
|
|
@@ -2436,7 +2436,7 @@ declare const errorRoute: {
|
|
|
2436
2436
|
description: string;
|
|
2437
2437
|
content: {
|
|
2438
2438
|
"text/html": {
|
|
2439
|
-
schema:
|
|
2439
|
+
schema: zod91.ZodString;
|
|
2440
2440
|
};
|
|
2441
2441
|
};
|
|
2442
2442
|
};
|
|
@@ -2445,7 +2445,7 @@ declare const errorRoute: {
|
|
|
2445
2445
|
description: string;
|
|
2446
2446
|
content: {
|
|
2447
2447
|
"application/json": {
|
|
2448
|
-
schema:
|
|
2448
|
+
schema: zod91.ZodType<{
|
|
2449
2449
|
success: false;
|
|
2450
2450
|
} & {
|
|
2451
2451
|
errors: string[];
|
|
@@ -2457,7 +2457,7 @@ declare const errorRoute: {
|
|
|
2457
2457
|
errors: string[];
|
|
2458
2458
|
};
|
|
2459
2459
|
};
|
|
2460
|
-
}, unknown,
|
|
2460
|
+
}, unknown, zod91.core.$ZodTypeInternals<{
|
|
2461
2461
|
success: false;
|
|
2462
2462
|
} & {
|
|
2463
2463
|
errors: string[];
|
|
@@ -2480,10 +2480,10 @@ declare const errorRoute: {
|
|
|
2480
2480
|
hide: true;
|
|
2481
2481
|
isAction: false;
|
|
2482
2482
|
request: {
|
|
2483
|
-
query:
|
|
2484
|
-
error:
|
|
2485
|
-
error_description:
|
|
2486
|
-
},
|
|
2483
|
+
query: zod91.ZodObject<{
|
|
2484
|
+
error: zod91.ZodOptional<zod91.ZodString>;
|
|
2485
|
+
error_description: zod91.ZodOptional<zod91.ZodString>;
|
|
2486
|
+
}, zod91.core.$strip>;
|
|
2487
2487
|
};
|
|
2488
2488
|
getRoutingPath: () => "/error";
|
|
2489
2489
|
};
|
|
@@ -2495,10 +2495,10 @@ declare const okRoute: {
|
|
|
2495
2495
|
description: string;
|
|
2496
2496
|
content: {
|
|
2497
2497
|
"application/json": {
|
|
2498
|
-
schema:
|
|
2499
|
-
success:
|
|
2500
|
-
message:
|
|
2501
|
-
},
|
|
2498
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2499
|
+
success: zod91.ZodLiteral<true>;
|
|
2500
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2501
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
2502
2502
|
};
|
|
2503
2503
|
};
|
|
2504
2504
|
};
|
|
@@ -2518,29 +2518,29 @@ declare const signUpEmailRoute: {
|
|
|
2518
2518
|
description: string;
|
|
2519
2519
|
content: {
|
|
2520
2520
|
"application/json": {
|
|
2521
|
-
schema:
|
|
2522
|
-
success:
|
|
2523
|
-
token:
|
|
2524
|
-
user:
|
|
2525
|
-
id:
|
|
2526
|
-
createdAt:
|
|
2527
|
-
updatedAt:
|
|
2528
|
-
email:
|
|
2529
|
-
emailVerified:
|
|
2530
|
-
name:
|
|
2531
|
-
image:
|
|
2532
|
-
},
|
|
2533
|
-
},
|
|
2534
|
-
success:
|
|
2535
|
-
token:
|
|
2536
|
-
user:
|
|
2537
|
-
},
|
|
2538
|
-
redirect:
|
|
2539
|
-
url:
|
|
2540
|
-
},
|
|
2541
|
-
redirect:
|
|
2542
|
-
url:
|
|
2543
|
-
},
|
|
2521
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodIntersection<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
2522
|
+
success: zod91.ZodLiteral<true>;
|
|
2523
|
+
token: zod91.ZodDefault<zod91.ZodNullable<zod91.ZodString>>;
|
|
2524
|
+
user: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2525
|
+
id: zod91.ZodString;
|
|
2526
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
2527
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
2528
|
+
email: zod91.ZodPipe<zod91.ZodEmail, zod91.ZodTransform<string, string>>;
|
|
2529
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
2530
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
2531
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2532
|
+
}, zod_v4_core21.$loose>, "user">;
|
|
2533
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
2534
|
+
success: zod91.ZodLiteral<false>;
|
|
2535
|
+
token: zod91.ZodDefault<zod91.ZodNull>;
|
|
2536
|
+
user: zod91.ZodDefault<zod91.ZodNull>;
|
|
2537
|
+
}, zod_v4_core21.$strip>], "success">, zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
2538
|
+
redirect: zod91.ZodLiteral<false>;
|
|
2539
|
+
url: zod91.ZodDefault<zod91.ZodNull>;
|
|
2540
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
2541
|
+
redirect: zod91.ZodLiteral<true>;
|
|
2542
|
+
url: zod91.ZodURL;
|
|
2543
|
+
}, zod_v4_core21.$strip>], "redirect">>, zod91.ZodTransform<{
|
|
2544
2544
|
success: true;
|
|
2545
2545
|
data: ({
|
|
2546
2546
|
success: true;
|
|
@@ -2554,7 +2554,7 @@ declare const signUpEmailRoute: {
|
|
|
2554
2554
|
emailVerified: boolean;
|
|
2555
2555
|
name?: string | undefined;
|
|
2556
2556
|
image?: string | null | undefined;
|
|
2557
|
-
} &
|
|
2557
|
+
} & zod91.$brand<"user">;
|
|
2558
2558
|
} | {
|
|
2559
2559
|
success: false;
|
|
2560
2560
|
token: null;
|
|
@@ -2578,7 +2578,7 @@ declare const signUpEmailRoute: {
|
|
|
2578
2578
|
emailVerified: boolean;
|
|
2579
2579
|
name?: string | undefined;
|
|
2580
2580
|
image?: string | null | undefined;
|
|
2581
|
-
} &
|
|
2581
|
+
} & zod91.$brand<"user">;
|
|
2582
2582
|
} | {
|
|
2583
2583
|
success: false;
|
|
2584
2584
|
token: null;
|
|
@@ -2598,11 +2598,11 @@ declare const signUpEmailRoute: {
|
|
|
2598
2598
|
description: string;
|
|
2599
2599
|
content: {
|
|
2600
2600
|
"application/json": {
|
|
2601
|
-
schema:
|
|
2602
|
-
success:
|
|
2603
|
-
code:
|
|
2604
|
-
message:
|
|
2605
|
-
},
|
|
2601
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2602
|
+
success: zod91.ZodLiteral<false>;
|
|
2603
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2604
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2605
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2606
2606
|
};
|
|
2607
2607
|
};
|
|
2608
2608
|
};
|
|
@@ -2611,7 +2611,7 @@ declare const signUpEmailRoute: {
|
|
|
2611
2611
|
description: string;
|
|
2612
2612
|
content: {
|
|
2613
2613
|
"application/json": {
|
|
2614
|
-
schema:
|
|
2614
|
+
schema: zod91.ZodType<{
|
|
2615
2615
|
success: false;
|
|
2616
2616
|
} & {
|
|
2617
2617
|
errors: string[];
|
|
@@ -2638,7 +2638,7 @@ declare const signUpEmailRoute: {
|
|
|
2638
2638
|
errors: string[];
|
|
2639
2639
|
};
|
|
2640
2640
|
};
|
|
2641
|
-
}, unknown,
|
|
2641
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2642
2642
|
success: false;
|
|
2643
2643
|
} & {
|
|
2644
2644
|
errors: string[];
|
|
@@ -2678,14 +2678,14 @@ declare const signUpEmailRoute: {
|
|
|
2678
2678
|
description?: string;
|
|
2679
2679
|
content: {
|
|
2680
2680
|
"application/json": {
|
|
2681
|
-
schema:
|
|
2682
|
-
name:
|
|
2683
|
-
email:
|
|
2684
|
-
password:
|
|
2685
|
-
image:
|
|
2686
|
-
callbackURL:
|
|
2687
|
-
rememberMe:
|
|
2688
|
-
},
|
|
2681
|
+
schema: zod91.ZodObject<{
|
|
2682
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
2683
|
+
email: zod91.ZodEmail;
|
|
2684
|
+
password: zod91.ZodString;
|
|
2685
|
+
image: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodURL>>;
|
|
2686
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2687
|
+
rememberMe: zod91.ZodDefault<zod91.ZodBoolean>;
|
|
2688
|
+
}, zod_v4_core21.$loose>;
|
|
2689
2689
|
};
|
|
2690
2690
|
};
|
|
2691
2691
|
required: true;
|
|
@@ -2701,14 +2701,14 @@ declare const listAccountsRoute: {
|
|
|
2701
2701
|
description: string;
|
|
2702
2702
|
content: {
|
|
2703
2703
|
"application/json": {
|
|
2704
|
-
schema:
|
|
2705
|
-
id:
|
|
2706
|
-
createdAt:
|
|
2707
|
-
updatedAt:
|
|
2708
|
-
providerId:
|
|
2709
|
-
accountId:
|
|
2710
|
-
scopes:
|
|
2711
|
-
},
|
|
2704
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodArray<zod91.ZodObject<{
|
|
2705
|
+
id: zod91.ZodString;
|
|
2706
|
+
createdAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
2707
|
+
updatedAt: zod91.ZodDefault<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
2708
|
+
providerId: zod91.ZodString;
|
|
2709
|
+
accountId: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodNumber]>, zod91.ZodTransform<string, string | number>>;
|
|
2710
|
+
scopes: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodArray<zod91.ZodString>]>, zod91.ZodTransform<string[], string | string[]>>;
|
|
2711
|
+
}, zod_v4_core21.$loose>>, zod91.ZodTransform<{
|
|
2712
2712
|
success: true;
|
|
2713
2713
|
data: {
|
|
2714
2714
|
[x: string]: unknown;
|
|
@@ -2735,7 +2735,7 @@ declare const listAccountsRoute: {
|
|
|
2735
2735
|
operationId: "listAccounts";
|
|
2736
2736
|
path: "/list-accounts";
|
|
2737
2737
|
method: "get";
|
|
2738
|
-
middleware: [(ctx:
|
|
2738
|
+
middleware: [(ctx: hono116.Context<ContextVars<object & {
|
|
2739
2739
|
session: {
|
|
2740
2740
|
session: {
|
|
2741
2741
|
[x: string]: unknown;
|
|
@@ -2759,7 +2759,7 @@ declare const listAccountsRoute: {
|
|
|
2759
2759
|
image?: string | null;
|
|
2760
2760
|
};
|
|
2761
2761
|
};
|
|
2762
|
-
}>, string, {}>, next:
|
|
2762
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2763
2763
|
success: false;
|
|
2764
2764
|
code?: string | undefined;
|
|
2765
2765
|
message?: string | undefined;
|
|
@@ -2772,13 +2772,13 @@ declare const linkAccountRoute: {
|
|
|
2772
2772
|
description: string;
|
|
2773
2773
|
content: {
|
|
2774
2774
|
"application/json": {
|
|
2775
|
-
schema:
|
|
2776
|
-
redirect:
|
|
2777
|
-
url:
|
|
2778
|
-
},
|
|
2779
|
-
redirect:
|
|
2780
|
-
url:
|
|
2781
|
-
},
|
|
2775
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodDiscriminatedUnion<[zod91.ZodObject<{
|
|
2776
|
+
redirect: zod91.ZodLiteral<false>;
|
|
2777
|
+
url: zod91.ZodDefault<zod91.ZodNull>;
|
|
2778
|
+
}, zod_v4_core21.$strip>, zod91.ZodObject<{
|
|
2779
|
+
redirect: zod91.ZodLiteral<true>;
|
|
2780
|
+
url: zod91.ZodURL;
|
|
2781
|
+
}, zod_v4_core21.$strip>], "redirect">, zod91.ZodTransform<{
|
|
2782
2782
|
success: true;
|
|
2783
2783
|
data: {
|
|
2784
2784
|
redirect: false;
|
|
@@ -2802,11 +2802,11 @@ declare const linkAccountRoute: {
|
|
|
2802
2802
|
description: string;
|
|
2803
2803
|
content: {
|
|
2804
2804
|
"application/json": {
|
|
2805
|
-
schema:
|
|
2806
|
-
success:
|
|
2807
|
-
code:
|
|
2808
|
-
message:
|
|
2809
|
-
},
|
|
2805
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2806
|
+
success: zod91.ZodLiteral<false>;
|
|
2807
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2808
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2809
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2810
2810
|
};
|
|
2811
2811
|
};
|
|
2812
2812
|
};
|
|
@@ -2815,11 +2815,11 @@ declare const linkAccountRoute: {
|
|
|
2815
2815
|
description: string;
|
|
2816
2816
|
content: {
|
|
2817
2817
|
"application/json": {
|
|
2818
|
-
schema:
|
|
2819
|
-
success:
|
|
2820
|
-
code:
|
|
2821
|
-
message:
|
|
2822
|
-
},
|
|
2818
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2819
|
+
success: zod91.ZodLiteral<false>;
|
|
2820
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2821
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2822
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2823
2823
|
};
|
|
2824
2824
|
};
|
|
2825
2825
|
};
|
|
@@ -2828,11 +2828,11 @@ declare const linkAccountRoute: {
|
|
|
2828
2828
|
description: string;
|
|
2829
2829
|
content: {
|
|
2830
2830
|
"application/json": {
|
|
2831
|
-
schema:
|
|
2832
|
-
success:
|
|
2833
|
-
code:
|
|
2834
|
-
message:
|
|
2835
|
-
},
|
|
2831
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
2832
|
+
success: zod91.ZodLiteral<false>;
|
|
2833
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
2834
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
2835
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
2836
2836
|
};
|
|
2837
2837
|
};
|
|
2838
2838
|
};
|
|
@@ -2841,7 +2841,7 @@ declare const linkAccountRoute: {
|
|
|
2841
2841
|
description: string;
|
|
2842
2842
|
content: {
|
|
2843
2843
|
"application/json": {
|
|
2844
|
-
schema:
|
|
2844
|
+
schema: zod91.ZodType<{
|
|
2845
2845
|
success: false;
|
|
2846
2846
|
} & {
|
|
2847
2847
|
errors: string[];
|
|
@@ -2891,7 +2891,7 @@ declare const linkAccountRoute: {
|
|
|
2891
2891
|
errors: string[];
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
|
-
}, unknown,
|
|
2894
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
2895
2895
|
success: false;
|
|
2896
2896
|
} & {
|
|
2897
2897
|
errors: string[];
|
|
@@ -2949,7 +2949,7 @@ declare const linkAccountRoute: {
|
|
|
2949
2949
|
operationId: "linkAccount";
|
|
2950
2950
|
path: "/link-social";
|
|
2951
2951
|
method: "post";
|
|
2952
|
-
middleware: [(ctx:
|
|
2952
|
+
middleware: [(ctx: hono116.Context<ContextVars<object & {
|
|
2953
2953
|
session: {
|
|
2954
2954
|
session: {
|
|
2955
2955
|
[x: string]: unknown;
|
|
@@ -2973,7 +2973,7 @@ declare const linkAccountRoute: {
|
|
|
2973
2973
|
image?: string | null;
|
|
2974
2974
|
};
|
|
2975
2975
|
};
|
|
2976
|
-
}>, string, {}>, next:
|
|
2976
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
2977
2977
|
success: false;
|
|
2978
2978
|
code?: string | undefined;
|
|
2979
2979
|
message?: string | undefined;
|
|
@@ -2983,19 +2983,19 @@ declare const linkAccountRoute: {
|
|
|
2983
2983
|
description?: string;
|
|
2984
2984
|
content: {
|
|
2985
2985
|
"application/json": {
|
|
2986
|
-
schema:
|
|
2987
|
-
callbackURL:
|
|
2988
|
-
provider:
|
|
2989
|
-
idToken:
|
|
2990
|
-
token:
|
|
2991
|
-
nonce:
|
|
2992
|
-
accessToken:
|
|
2993
|
-
refreshToken:
|
|
2994
|
-
scopes:
|
|
2995
|
-
},
|
|
2996
|
-
scopes:
|
|
2997
|
-
errorCallbackURL:
|
|
2998
|
-
},
|
|
2986
|
+
schema: zod91.ZodObject<{
|
|
2987
|
+
callbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2988
|
+
provider: zod91.ZodType<_faire_auth_core_social_providers29.SocialProvider, _faire_auth_core_social_providers29.SocialProvider, zod_v4_core21.$ZodTypeInternals<_faire_auth_core_social_providers29.SocialProvider, _faire_auth_core_social_providers29.SocialProvider>>;
|
|
2989
|
+
idToken: zod91.ZodOptional<zod91.ZodObject<{
|
|
2990
|
+
token: zod91.ZodString;
|
|
2991
|
+
nonce: zod91.ZodOptional<zod91.ZodString>;
|
|
2992
|
+
accessToken: zod91.ZodOptional<zod91.ZodString>;
|
|
2993
|
+
refreshToken: zod91.ZodOptional<zod91.ZodString>;
|
|
2994
|
+
scopes: zod91.ZodOptional<zod91.ZodArray<zod91.ZodString>>;
|
|
2995
|
+
}, zod_v4_core21.$strip>>;
|
|
2996
|
+
scopes: zod91.ZodOptional<zod91.ZodArray<zod91.ZodString>>;
|
|
2997
|
+
errorCallbackURL: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>;
|
|
2998
|
+
}, zod_v4_core21.$strip>;
|
|
2999
2999
|
};
|
|
3000
3000
|
};
|
|
3001
3001
|
required: true;
|
|
@@ -3009,10 +3009,10 @@ declare const unlinkAccountRoute: {
|
|
|
3009
3009
|
description: string;
|
|
3010
3010
|
content: {
|
|
3011
3011
|
"application/json": {
|
|
3012
|
-
schema:
|
|
3013
|
-
success:
|
|
3014
|
-
message:
|
|
3015
|
-
},
|
|
3012
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3013
|
+
success: zod91.ZodLiteral<true>;
|
|
3014
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3015
|
+
}, zod_v4_core21.$strip>, "success">;
|
|
3016
3016
|
};
|
|
3017
3017
|
};
|
|
3018
3018
|
};
|
|
@@ -3021,11 +3021,11 @@ declare const unlinkAccountRoute: {
|
|
|
3021
3021
|
description: string;
|
|
3022
3022
|
content: {
|
|
3023
3023
|
"application/json": {
|
|
3024
|
-
schema:
|
|
3025
|
-
success:
|
|
3026
|
-
code:
|
|
3027
|
-
message:
|
|
3028
|
-
},
|
|
3024
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3025
|
+
success: zod91.ZodLiteral<false>;
|
|
3026
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
3027
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3028
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
3029
3029
|
};
|
|
3030
3030
|
};
|
|
3031
3031
|
};
|
|
@@ -3034,7 +3034,7 @@ declare const unlinkAccountRoute: {
|
|
|
3034
3034
|
description: string;
|
|
3035
3035
|
content: {
|
|
3036
3036
|
"application/json": {
|
|
3037
|
-
schema:
|
|
3037
|
+
schema: zod91.ZodType<{
|
|
3038
3038
|
success: false;
|
|
3039
3039
|
} & {
|
|
3040
3040
|
errors: string[];
|
|
@@ -3046,7 +3046,7 @@ declare const unlinkAccountRoute: {
|
|
|
3046
3046
|
errors: string[];
|
|
3047
3047
|
};
|
|
3048
3048
|
};
|
|
3049
|
-
}, unknown,
|
|
3049
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
3050
3050
|
success: false;
|
|
3051
3051
|
} & {
|
|
3052
3052
|
errors: string[];
|
|
@@ -3066,16 +3066,16 @@ declare const unlinkAccountRoute: {
|
|
|
3066
3066
|
operationId: "unlinkAccount";
|
|
3067
3067
|
path: "/unlink-account";
|
|
3068
3068
|
method: "post";
|
|
3069
|
-
middleware: [(ctx:
|
|
3069
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
3070
3070
|
session: {
|
|
3071
3071
|
session: _faire_auth_core_db16.Session;
|
|
3072
3072
|
user: _faire_auth_core_db16.User;
|
|
3073
3073
|
};
|
|
3074
|
-
}>, string, {}>, next:
|
|
3074
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
3075
3075
|
success: false;
|
|
3076
3076
|
code?: string | undefined;
|
|
3077
3077
|
message?: string | undefined;
|
|
3078
|
-
}, 401>) |
|
|
3078
|
+
}, 401>) | _faire_auth_core_types84.JSONRespondReturn<{
|
|
3079
3079
|
success: false;
|
|
3080
3080
|
code?: string | undefined;
|
|
3081
3081
|
message?: string | undefined;
|
|
@@ -3085,10 +3085,10 @@ declare const unlinkAccountRoute: {
|
|
|
3085
3085
|
description?: string;
|
|
3086
3086
|
content: {
|
|
3087
3087
|
"application/json": {
|
|
3088
|
-
schema:
|
|
3089
|
-
providerId:
|
|
3090
|
-
accountId:
|
|
3091
|
-
},
|
|
3088
|
+
schema: zod91.ZodObject<{
|
|
3089
|
+
providerId: zod91.ZodString;
|
|
3090
|
+
accountId: zod91.ZodOptional<zod91.ZodString>;
|
|
3091
|
+
}, zod_v4_core21.$strip>;
|
|
3092
3092
|
};
|
|
3093
3093
|
};
|
|
3094
3094
|
required: true;
|
|
@@ -3102,15 +3102,15 @@ declare const getAccessTokenRoute: {
|
|
|
3102
3102
|
description: string;
|
|
3103
3103
|
content: {
|
|
3104
3104
|
"application/json": {
|
|
3105
|
-
schema:
|
|
3106
|
-
tokenType:
|
|
3107
|
-
accessToken:
|
|
3108
|
-
refreshToken:
|
|
3109
|
-
accessTokenExpiresAt:
|
|
3110
|
-
refreshTokenExpiresAt:
|
|
3111
|
-
scopes:
|
|
3112
|
-
idToken:
|
|
3113
|
-
},
|
|
3105
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodObject<{
|
|
3106
|
+
tokenType: zod91.ZodOptional<zod91.ZodString>;
|
|
3107
|
+
accessToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3108
|
+
refreshToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3109
|
+
accessTokenExpiresAt: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
3110
|
+
refreshTokenExpiresAt: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
3111
|
+
scopes: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodArray<zod91.ZodString>]>, zod91.ZodTransform<string[], string | string[]>>>;
|
|
3112
|
+
idToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3113
|
+
}, zod_v4_core21.$strip>, zod91.ZodTransform<{
|
|
3114
3114
|
success: true;
|
|
3115
3115
|
data: {
|
|
3116
3116
|
tokenType?: string | undefined;
|
|
@@ -3138,11 +3138,11 @@ declare const getAccessTokenRoute: {
|
|
|
3138
3138
|
description: string;
|
|
3139
3139
|
content: {
|
|
3140
3140
|
"application/json": {
|
|
3141
|
-
schema:
|
|
3142
|
-
success:
|
|
3143
|
-
code:
|
|
3144
|
-
message:
|
|
3145
|
-
},
|
|
3141
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3142
|
+
success: zod91.ZodLiteral<false>;
|
|
3143
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
3144
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3145
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
3146
3146
|
};
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
@@ -3151,7 +3151,7 @@ declare const getAccessTokenRoute: {
|
|
|
3151
3151
|
description: string;
|
|
3152
3152
|
content: {
|
|
3153
3153
|
"application/json": {
|
|
3154
|
-
schema:
|
|
3154
|
+
schema: zod91.ZodType<{
|
|
3155
3155
|
success: false;
|
|
3156
3156
|
} & {
|
|
3157
3157
|
errors: string[];
|
|
@@ -3166,7 +3166,7 @@ declare const getAccessTokenRoute: {
|
|
|
3166
3166
|
errors: string[];
|
|
3167
3167
|
};
|
|
3168
3168
|
};
|
|
3169
|
-
}, unknown,
|
|
3169
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
3170
3170
|
success: false;
|
|
3171
3171
|
} & {
|
|
3172
3172
|
errors: string[];
|
|
@@ -3189,12 +3189,12 @@ declare const getAccessTokenRoute: {
|
|
|
3189
3189
|
operationId: "getAccessToken";
|
|
3190
3190
|
path: "/get-access-token";
|
|
3191
3191
|
method: "post";
|
|
3192
|
-
middleware: [(ctx:
|
|
3192
|
+
middleware: [(ctx: hono116.Context<ContextVars<{
|
|
3193
3193
|
session?: {
|
|
3194
3194
|
session: _faire_auth_core_db16.Session;
|
|
3195
3195
|
user: _faire_auth_core_db16.User;
|
|
3196
3196
|
};
|
|
3197
|
-
}>, string, {}>, next:
|
|
3197
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
3198
3198
|
success: false;
|
|
3199
3199
|
code?: string | undefined;
|
|
3200
3200
|
message?: string | undefined;
|
|
@@ -3204,11 +3204,11 @@ declare const getAccessTokenRoute: {
|
|
|
3204
3204
|
description?: string;
|
|
3205
3205
|
content: {
|
|
3206
3206
|
"application/json": {
|
|
3207
|
-
schema:
|
|
3208
|
-
providerId:
|
|
3209
|
-
accountId:
|
|
3210
|
-
userId:
|
|
3211
|
-
},
|
|
3207
|
+
schema: zod91.ZodObject<{
|
|
3208
|
+
providerId: zod91.ZodString;
|
|
3209
|
+
accountId: zod91.ZodOptional<zod91.ZodString>;
|
|
3210
|
+
userId: zod91.ZodOptional<zod91.ZodString>;
|
|
3211
|
+
}, zod_v4_core21.$strip>;
|
|
3212
3212
|
};
|
|
3213
3213
|
};
|
|
3214
3214
|
required: true;
|
|
@@ -3222,15 +3222,15 @@ declare const refreshAccessTokenRoute: {
|
|
|
3222
3222
|
description: string;
|
|
3223
3223
|
content: {
|
|
3224
3224
|
"application/json": {
|
|
3225
|
-
schema:
|
|
3226
|
-
tokenType:
|
|
3227
|
-
accessToken:
|
|
3228
|
-
refreshToken:
|
|
3229
|
-
accessTokenExpiresAt:
|
|
3230
|
-
refreshTokenExpiresAt:
|
|
3231
|
-
scopes:
|
|
3232
|
-
idToken:
|
|
3233
|
-
},
|
|
3225
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodObject<{
|
|
3226
|
+
tokenType: zod91.ZodOptional<zod91.ZodString>;
|
|
3227
|
+
accessToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3228
|
+
refreshToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3229
|
+
accessTokenExpiresAt: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
3230
|
+
refreshTokenExpiresAt: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodDate, zod91.ZodISODateTime]>, zod91.ZodTransform<Date, string | Date>>>;
|
|
3231
|
+
scopes: zod91.ZodOptional<zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodArray<zod91.ZodString>]>, zod91.ZodTransform<string[], string | string[]>>>;
|
|
3232
|
+
idToken: zod91.ZodOptional<zod91.ZodString>;
|
|
3233
|
+
}, zod_v4_core21.$strip>, zod91.ZodTransform<{
|
|
3234
3234
|
success: true;
|
|
3235
3235
|
data: {
|
|
3236
3236
|
tokenType?: string | undefined;
|
|
@@ -3258,11 +3258,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3258
3258
|
description: string;
|
|
3259
3259
|
content: {
|
|
3260
3260
|
"application/json": {
|
|
3261
|
-
schema:
|
|
3262
|
-
success:
|
|
3263
|
-
code:
|
|
3264
|
-
message:
|
|
3265
|
-
},
|
|
3261
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3262
|
+
success: zod91.ZodLiteral<false>;
|
|
3263
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
3264
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3265
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
3266
3266
|
};
|
|
3267
3267
|
};
|
|
3268
3268
|
};
|
|
@@ -3271,7 +3271,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3271
3271
|
description: string;
|
|
3272
3272
|
content: {
|
|
3273
3273
|
"application/json": {
|
|
3274
|
-
schema:
|
|
3274
|
+
schema: zod91.ZodType<{
|
|
3275
3275
|
success: false;
|
|
3276
3276
|
} & {
|
|
3277
3277
|
errors: string[];
|
|
@@ -3286,7 +3286,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3286
3286
|
errors: string[];
|
|
3287
3287
|
};
|
|
3288
3288
|
};
|
|
3289
|
-
}, unknown,
|
|
3289
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
3290
3290
|
success: false;
|
|
3291
3291
|
} & {
|
|
3292
3292
|
errors: string[];
|
|
@@ -3309,7 +3309,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3309
3309
|
operationId: "refreshAccessToken";
|
|
3310
3310
|
path: "/refresh-token";
|
|
3311
3311
|
method: "post";
|
|
3312
|
-
middleware: [(ctx:
|
|
3312
|
+
middleware: [(ctx: hono116.Context<ContextVars<object & {
|
|
3313
3313
|
session: {
|
|
3314
3314
|
session: {
|
|
3315
3315
|
[x: string]: unknown;
|
|
@@ -3333,7 +3333,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3333
3333
|
image?: string | null;
|
|
3334
3334
|
};
|
|
3335
3335
|
};
|
|
3336
|
-
}>, string, {}>, next:
|
|
3336
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
3337
3337
|
success: false;
|
|
3338
3338
|
code?: string | undefined;
|
|
3339
3339
|
message?: string | undefined;
|
|
@@ -3343,11 +3343,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3343
3343
|
description?: string;
|
|
3344
3344
|
content: {
|
|
3345
3345
|
"application/json": {
|
|
3346
|
-
schema:
|
|
3347
|
-
providerId:
|
|
3348
|
-
accountId:
|
|
3349
|
-
userId:
|
|
3350
|
-
},
|
|
3346
|
+
schema: zod91.ZodObject<{
|
|
3347
|
+
providerId: zod91.ZodString;
|
|
3348
|
+
accountId: zod91.ZodOptional<zod91.ZodString>;
|
|
3349
|
+
userId: zod91.ZodOptional<zod91.ZodString>;
|
|
3350
|
+
}, zod_v4_core21.$strip>;
|
|
3351
3351
|
};
|
|
3352
3352
|
};
|
|
3353
3353
|
required: true;
|
|
@@ -3361,16 +3361,16 @@ declare const getAccountInfoRoute: {
|
|
|
3361
3361
|
description: string;
|
|
3362
3362
|
content: {
|
|
3363
3363
|
"application/json": {
|
|
3364
|
-
schema:
|
|
3365
|
-
user:
|
|
3366
|
-
name:
|
|
3367
|
-
image:
|
|
3368
|
-
emailVerified:
|
|
3369
|
-
id:
|
|
3370
|
-
email:
|
|
3371
|
-
},
|
|
3372
|
-
data:
|
|
3373
|
-
},
|
|
3364
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodPipe<zod91.ZodObject<{
|
|
3365
|
+
user: zod91.ZodObject<{
|
|
3366
|
+
name: zod91.ZodOptional<zod91.ZodString>;
|
|
3367
|
+
image: zod91.ZodNullable<zod91.ZodOptional<zod91.ZodPipe<zod91.ZodPipe<zod91.ZodTransform<string | undefined, string | undefined>, zod91.ZodOptional<zod91.ZodURL>>, zod91.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3368
|
+
emailVerified: zod91.ZodDefault<zod91.ZodCoercedBoolean<unknown>>;
|
|
3369
|
+
id: zod91.ZodPipe<zod91.ZodUnion<[zod91.ZodString, zod91.ZodNumber]>, zod91.ZodTransform<string, string | number>>;
|
|
3370
|
+
email: zod91.ZodOptional<zod91.ZodNullable<zod91.ZodEmail>>;
|
|
3371
|
+
}, zod_v4_core21.$loose>;
|
|
3372
|
+
data: zod91.ZodRecord<zod91.ZodString, zod91.ZodAny>;
|
|
3373
|
+
}, zod_v4_core21.$strip>, zod91.ZodTransform<{
|
|
3374
3374
|
success: true;
|
|
3375
3375
|
data: {
|
|
3376
3376
|
user: {
|
|
@@ -3402,11 +3402,11 @@ declare const getAccountInfoRoute: {
|
|
|
3402
3402
|
description: string;
|
|
3403
3403
|
content: {
|
|
3404
3404
|
"application/json": {
|
|
3405
|
-
schema:
|
|
3406
|
-
success:
|
|
3407
|
-
code:
|
|
3408
|
-
message:
|
|
3409
|
-
},
|
|
3405
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3406
|
+
success: zod91.ZodLiteral<false>;
|
|
3407
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
3408
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3409
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
3410
3410
|
};
|
|
3411
3411
|
};
|
|
3412
3412
|
};
|
|
@@ -3415,7 +3415,7 @@ declare const getAccountInfoRoute: {
|
|
|
3415
3415
|
description: string;
|
|
3416
3416
|
content: {
|
|
3417
3417
|
"application/json": {
|
|
3418
|
-
schema:
|
|
3418
|
+
schema: zod91.ZodType<{
|
|
3419
3419
|
success: false;
|
|
3420
3420
|
} & {
|
|
3421
3421
|
errors: string[];
|
|
@@ -3424,7 +3424,7 @@ declare const getAccountInfoRoute: {
|
|
|
3424
3424
|
errors: string[];
|
|
3425
3425
|
};
|
|
3426
3426
|
};
|
|
3427
|
-
}, unknown,
|
|
3427
|
+
}, unknown, zod_v4_core21.$ZodTypeInternals<{
|
|
3428
3428
|
success: false;
|
|
3429
3429
|
} & {
|
|
3430
3430
|
errors: string[];
|
|
@@ -3442,11 +3442,11 @@ declare const getAccountInfoRoute: {
|
|
|
3442
3442
|
description: string;
|
|
3443
3443
|
content: {
|
|
3444
3444
|
"application/json": {
|
|
3445
|
-
schema:
|
|
3446
|
-
success:
|
|
3447
|
-
code:
|
|
3448
|
-
message:
|
|
3449
|
-
},
|
|
3445
|
+
schema: zod_v4_core21.$ZodBranded<zod91.ZodObject<{
|
|
3446
|
+
success: zod91.ZodLiteral<false>;
|
|
3447
|
+
code: zod91.ZodOptional<zod91.ZodString>;
|
|
3448
|
+
message: zod91.ZodOptional<zod91.ZodString>;
|
|
3449
|
+
}, zod_v4_core21.$strip>, "error">;
|
|
3450
3450
|
};
|
|
3451
3451
|
};
|
|
3452
3452
|
};
|
|
@@ -3454,7 +3454,7 @@ declare const getAccountInfoRoute: {
|
|
|
3454
3454
|
operationId: "getAccountInfo";
|
|
3455
3455
|
path: "/account-info";
|
|
3456
3456
|
method: "post";
|
|
3457
|
-
middleware: [(ctx:
|
|
3457
|
+
middleware: [(ctx: hono116.Context<ContextVars<object & {
|
|
3458
3458
|
session: {
|
|
3459
3459
|
session: {
|
|
3460
3460
|
[x: string]: unknown;
|
|
@@ -3478,7 +3478,7 @@ declare const getAccountInfoRoute: {
|
|
|
3478
3478
|
image?: string | null;
|
|
3479
3479
|
};
|
|
3480
3480
|
};
|
|
3481
|
-
}>, string, {}>, next:
|
|
3481
|
+
}>, string, {}>, next: hono116.Next) => Promise<void | (Response & hono116.TypedResponse<{
|
|
3482
3482
|
success: false;
|
|
3483
3483
|
code?: string | undefined;
|
|
3484
3484
|
message?: string | undefined;
|
|
@@ -3488,9 +3488,9 @@ declare const getAccountInfoRoute: {
|
|
|
3488
3488
|
description?: string;
|
|
3489
3489
|
content: {
|
|
3490
3490
|
"application/json": {
|
|
3491
|
-
schema:
|
|
3492
|
-
accountId:
|
|
3493
|
-
},
|
|
3491
|
+
schema: zod91.ZodObject<{
|
|
3492
|
+
accountId: zod91.ZodString;
|
|
3493
|
+
}, zod_v4_core21.$strip>;
|
|
3494
3494
|
};
|
|
3495
3495
|
};
|
|
3496
3496
|
required: true;
|
|
@@ -3711,7 +3711,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3711
3711
|
json: {
|
|
3712
3712
|
newPassword: string;
|
|
3713
3713
|
};
|
|
3714
|
-
}, ctx?:
|
|
3714
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3715
3715
|
headers: Headers;
|
|
3716
3716
|
response: {
|
|
3717
3717
|
success: false;
|
|
@@ -3758,7 +3758,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3758
3758
|
newEmail: string;
|
|
3759
3759
|
callbackURL?: string | undefined;
|
|
3760
3760
|
};
|
|
3761
|
-
}, ctx?:
|
|
3761
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3762
3762
|
headers: Headers;
|
|
3763
3763
|
response: {
|
|
3764
3764
|
success: false;
|
|
@@ -3812,7 +3812,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3812
3812
|
currentPassword: string;
|
|
3813
3813
|
revokeOtherSessions?: boolean | undefined;
|
|
3814
3814
|
};
|
|
3815
|
-
}, ctx?:
|
|
3815
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3816
3816
|
headers: Headers;
|
|
3817
3817
|
response: {
|
|
3818
3818
|
success: false;
|
|
@@ -3956,7 +3956,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3956
3956
|
password?: string | undefined;
|
|
3957
3957
|
token?: string | undefined;
|
|
3958
3958
|
};
|
|
3959
|
-
}, ctx?:
|
|
3959
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3960
3960
|
headers: Headers;
|
|
3961
3961
|
response: Response | {
|
|
3962
3962
|
success: false;
|
|
@@ -4015,7 +4015,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4015
4015
|
token: string;
|
|
4016
4016
|
callbackURL?: string | undefined;
|
|
4017
4017
|
};
|
|
4018
|
-
}, ctx?:
|
|
4018
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4019
4019
|
headers: Headers;
|
|
4020
4020
|
response: Response | {
|
|
4021
4021
|
success: false;
|
|
@@ -4068,7 +4068,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4068
4068
|
error?: string | undefined;
|
|
4069
4069
|
error_description?: string | undefined;
|
|
4070
4070
|
};
|
|
4071
|
-
}, ctx?:
|
|
4071
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4072
4072
|
headers: Headers;
|
|
4073
4073
|
response: string | {
|
|
4074
4074
|
success: false;
|
|
@@ -4100,7 +4100,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4100
4100
|
accountId?: string | undefined;
|
|
4101
4101
|
userId?: string | undefined;
|
|
4102
4102
|
};
|
|
4103
|
-
}, ctx?:
|
|
4103
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4104
4104
|
headers: Headers;
|
|
4105
4105
|
response: {
|
|
4106
4106
|
success: false;
|
|
@@ -4174,7 +4174,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4174
4174
|
json: {
|
|
4175
4175
|
accountId: string;
|
|
4176
4176
|
};
|
|
4177
|
-
}, ctx?:
|
|
4177
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4178
4178
|
headers: Headers;
|
|
4179
4179
|
response: {
|
|
4180
4180
|
success: false;
|
|
@@ -4245,7 +4245,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4245
4245
|
disableCookieCache?: string | boolean | undefined;
|
|
4246
4246
|
disableRefresh?: string | boolean | undefined;
|
|
4247
4247
|
};
|
|
4248
|
-
}, ctx?:
|
|
4248
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4249
4249
|
headers: Headers;
|
|
4250
4250
|
response: {
|
|
4251
4251
|
success: false;
|
|
@@ -4331,7 +4331,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4331
4331
|
}>;
|
|
4332
4332
|
linkAccount: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
4333
4333
|
json: {
|
|
4334
|
-
provider:
|
|
4334
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
4335
4335
|
callbackURL?: string | undefined;
|
|
4336
4336
|
idToken?: {
|
|
4337
4337
|
token: string;
|
|
@@ -4343,7 +4343,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4343
4343
|
scopes?: string[] | undefined;
|
|
4344
4344
|
errorCallbackURL?: string | undefined;
|
|
4345
4345
|
};
|
|
4346
|
-
}, ctx?:
|
|
4346
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4347
4347
|
headers: Headers;
|
|
4348
4348
|
response: {
|
|
4349
4349
|
success: false;
|
|
@@ -4479,7 +4479,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4479
4479
|
} | undefined;
|
|
4480
4480
|
} | undefined;
|
|
4481
4481
|
}>;
|
|
4482
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4482
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4483
4483
|
headers: Headers;
|
|
4484
4484
|
response: {
|
|
4485
4485
|
success: false;
|
|
@@ -4513,7 +4513,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4513
4513
|
scopes: string[];
|
|
4514
4514
|
}[];
|
|
4515
4515
|
}>;
|
|
4516
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4516
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4517
4517
|
headers: Headers;
|
|
4518
4518
|
response: {
|
|
4519
4519
|
success: false;
|
|
@@ -4572,7 +4572,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4572
4572
|
state?: string | undefined;
|
|
4573
4573
|
user?: string | undefined;
|
|
4574
4574
|
};
|
|
4575
|
-
}, ctx?:
|
|
4575
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4576
4576
|
headers: Headers;
|
|
4577
4577
|
response: Response | {
|
|
4578
4578
|
success: false;
|
|
@@ -4597,7 +4597,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4597
4597
|
param: {
|
|
4598
4598
|
id: string;
|
|
4599
4599
|
};
|
|
4600
|
-
}, ctx?:
|
|
4600
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4601
4601
|
headers: Headers;
|
|
4602
4602
|
response: Response | {
|
|
4603
4603
|
success: false;
|
|
@@ -4655,7 +4655,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4655
4655
|
} | undefined;
|
|
4656
4656
|
} | undefined;
|
|
4657
4657
|
}>;
|
|
4658
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4658
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4659
4659
|
headers: Headers;
|
|
4660
4660
|
response: {
|
|
4661
4661
|
success: true;
|
|
@@ -4671,7 +4671,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4671
4671
|
accountId?: string | undefined;
|
|
4672
4672
|
userId?: string | undefined;
|
|
4673
4673
|
};
|
|
4674
|
-
}, ctx?:
|
|
4674
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4675
4675
|
headers: Headers;
|
|
4676
4676
|
response: {
|
|
4677
4677
|
success: false;
|
|
@@ -4746,7 +4746,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4746
4746
|
email: string;
|
|
4747
4747
|
redirectTo?: string | undefined;
|
|
4748
4748
|
};
|
|
4749
|
-
}, ctx?:
|
|
4749
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4750
4750
|
headers: Headers;
|
|
4751
4751
|
response: {
|
|
4752
4752
|
success: false;
|
|
@@ -4794,7 +4794,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4794
4794
|
query: {
|
|
4795
4795
|
callbackURL: string;
|
|
4796
4796
|
};
|
|
4797
|
-
}, ctx?:
|
|
4797
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4798
4798
|
headers: Headers;
|
|
4799
4799
|
response: Response;
|
|
4800
4800
|
} : Response>;
|
|
@@ -4807,7 +4807,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4807
4807
|
query: {
|
|
4808
4808
|
token?: string | undefined;
|
|
4809
4809
|
};
|
|
4810
|
-
}, ctx?:
|
|
4810
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4811
4811
|
headers: Headers;
|
|
4812
4812
|
response: {
|
|
4813
4813
|
success: false;
|
|
@@ -4847,7 +4847,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4847
4847
|
} | undefined;
|
|
4848
4848
|
} | undefined;
|
|
4849
4849
|
}>;
|
|
4850
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4850
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4851
4851
|
headers: Headers;
|
|
4852
4852
|
response: {
|
|
4853
4853
|
success: false;
|
|
@@ -4869,7 +4869,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4869
4869
|
json: {
|
|
4870
4870
|
token: string;
|
|
4871
4871
|
};
|
|
4872
|
-
}, ctx?:
|
|
4872
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4873
4873
|
headers: Headers;
|
|
4874
4874
|
response: {
|
|
4875
4875
|
success: false;
|
|
@@ -4911,7 +4911,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4911
4911
|
} | undefined;
|
|
4912
4912
|
} | undefined;
|
|
4913
4913
|
}>;
|
|
4914
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4914
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4915
4915
|
headers: Headers;
|
|
4916
4916
|
response: {
|
|
4917
4917
|
success: false;
|
|
@@ -4942,7 +4942,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4942
4942
|
email: string;
|
|
4943
4943
|
callbackURL?: string | undefined;
|
|
4944
4944
|
};
|
|
4945
|
-
}, ctx?:
|
|
4945
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4946
4946
|
headers: Headers;
|
|
4947
4947
|
response: {
|
|
4948
4948
|
success: false;
|
|
@@ -4989,7 +4989,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4989
4989
|
callbackURL?: string | undefined;
|
|
4990
4990
|
rememberMe?: boolean | undefined;
|
|
4991
4991
|
};
|
|
4992
|
-
}, ctx?:
|
|
4992
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4993
4993
|
headers: Headers;
|
|
4994
4994
|
response: {
|
|
4995
4995
|
success: false;
|
|
@@ -5127,7 +5127,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5127
5127
|
}>;
|
|
5128
5128
|
signInSocial: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
5129
5129
|
json: {
|
|
5130
|
-
provider:
|
|
5130
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
5131
5131
|
callbackURL?: string | undefined;
|
|
5132
5132
|
newUserCallbackURL?: string | undefined;
|
|
5133
5133
|
errorCallbackURL?: string | undefined;
|
|
@@ -5143,7 +5143,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5143
5143
|
requestSignUp?: boolean | undefined;
|
|
5144
5144
|
loginHint?: string | undefined;
|
|
5145
5145
|
};
|
|
5146
|
-
}, ctx?:
|
|
5146
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5147
5147
|
headers: Headers;
|
|
5148
5148
|
response: Response | {
|
|
5149
5149
|
success: false;
|
|
@@ -5357,7 +5357,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5357
5357
|
} | undefined;
|
|
5358
5358
|
} | undefined;
|
|
5359
5359
|
}>;
|
|
5360
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5360
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5361
5361
|
headers: Headers;
|
|
5362
5362
|
response: {
|
|
5363
5363
|
success: false;
|
|
@@ -5385,7 +5385,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5385
5385
|
callbackURL?: string | undefined;
|
|
5386
5386
|
rememberMe?: boolean | undefined;
|
|
5387
5387
|
};
|
|
5388
|
-
}, ctx?:
|
|
5388
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5389
5389
|
headers: Headers;
|
|
5390
5390
|
response: {
|
|
5391
5391
|
success: false;
|
|
@@ -5544,7 +5544,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5544
5544
|
providerId: string;
|
|
5545
5545
|
accountId?: string | undefined;
|
|
5546
5546
|
};
|
|
5547
|
-
}, ctx?:
|
|
5547
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5548
5548
|
headers: Headers;
|
|
5549
5549
|
response: {
|
|
5550
5550
|
success: false;
|
|
@@ -5606,7 +5606,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5606
5606
|
name?: string | undefined;
|
|
5607
5607
|
image?: string | null | undefined;
|
|
5608
5608
|
};
|
|
5609
|
-
}, ctx?:
|
|
5609
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5610
5610
|
headers: Headers;
|
|
5611
5611
|
response: {
|
|
5612
5612
|
success: false;
|
|
@@ -5665,7 +5665,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5665
5665
|
token: string;
|
|
5666
5666
|
callbackURL?: string | undefined;
|
|
5667
5667
|
};
|
|
5668
|
-
}, ctx?:
|
|
5668
|
+
}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5669
5669
|
headers: Headers;
|
|
5670
5670
|
response: Response | {
|
|
5671
5671
|
success: false;
|
|
@@ -6427,7 +6427,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6427
6427
|
$post: {
|
|
6428
6428
|
input: {
|
|
6429
6429
|
json: {
|
|
6430
|
-
provider:
|
|
6430
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6431
6431
|
callbackURL?: string | undefined;
|
|
6432
6432
|
idToken?: {
|
|
6433
6433
|
token: string;
|
|
@@ -6450,7 +6450,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6450
6450
|
} | {
|
|
6451
6451
|
input: {
|
|
6452
6452
|
json: {
|
|
6453
|
-
provider:
|
|
6453
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6454
6454
|
callbackURL?: string | undefined;
|
|
6455
6455
|
idToken?: {
|
|
6456
6456
|
token: string;
|
|
@@ -6473,7 +6473,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6473
6473
|
} | {
|
|
6474
6474
|
input: {
|
|
6475
6475
|
json: {
|
|
6476
|
-
provider:
|
|
6476
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6477
6477
|
callbackURL?: string | undefined;
|
|
6478
6478
|
idToken?: {
|
|
6479
6479
|
token: string;
|
|
@@ -6496,7 +6496,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6496
6496
|
} | {
|
|
6497
6497
|
input: {
|
|
6498
6498
|
json: {
|
|
6499
|
-
provider:
|
|
6499
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6500
6500
|
callbackURL?: string | undefined;
|
|
6501
6501
|
idToken?: {
|
|
6502
6502
|
token: string;
|
|
@@ -6524,7 +6524,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6524
6524
|
} | {
|
|
6525
6525
|
input: {
|
|
6526
6526
|
json: {
|
|
6527
|
-
provider:
|
|
6527
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6528
6528
|
callbackURL?: string | undefined;
|
|
6529
6529
|
idToken?: {
|
|
6530
6530
|
token: string;
|
|
@@ -6547,7 +6547,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6547
6547
|
} | {
|
|
6548
6548
|
input: {
|
|
6549
6549
|
json: {
|
|
6550
|
-
provider:
|
|
6550
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
6551
6551
|
callbackURL?: string | undefined;
|
|
6552
6552
|
idToken?: {
|
|
6553
6553
|
token: string;
|
|
@@ -7434,7 +7434,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7434
7434
|
$post: {
|
|
7435
7435
|
input: {
|
|
7436
7436
|
json: {
|
|
7437
|
-
provider:
|
|
7437
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
7438
7438
|
callbackURL?: string | undefined;
|
|
7439
7439
|
newUserCallbackURL?: string | undefined;
|
|
7440
7440
|
errorCallbackURL?: string | undefined;
|
|
@@ -7457,7 +7457,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7457
7457
|
} | {
|
|
7458
7458
|
input: {
|
|
7459
7459
|
json: {
|
|
7460
|
-
provider:
|
|
7460
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
7461
7461
|
callbackURL?: string | undefined;
|
|
7462
7462
|
newUserCallbackURL?: string | undefined;
|
|
7463
7463
|
errorCallbackURL?: string | undefined;
|
|
@@ -7525,7 +7525,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7525
7525
|
} | {
|
|
7526
7526
|
input: {
|
|
7527
7527
|
json: {
|
|
7528
|
-
provider:
|
|
7528
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
7529
7529
|
callbackURL?: string | undefined;
|
|
7530
7530
|
newUserCallbackURL?: string | undefined;
|
|
7531
7531
|
errorCallbackURL?: string | undefined;
|
|
@@ -7552,7 +7552,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7552
7552
|
} | {
|
|
7553
7553
|
input: {
|
|
7554
7554
|
json: {
|
|
7555
|
-
provider:
|
|
7555
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
7556
7556
|
callbackURL?: string | undefined;
|
|
7557
7557
|
newUserCallbackURL?: string | undefined;
|
|
7558
7558
|
errorCallbackURL?: string | undefined;
|
|
@@ -7579,7 +7579,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7579
7579
|
} | {
|
|
7580
7580
|
input: {
|
|
7581
7581
|
json: {
|
|
7582
|
-
provider:
|
|
7582
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
7583
7583
|
callbackURL?: string | undefined;
|
|
7584
7584
|
newUserCallbackURL?: string | undefined;
|
|
7585
7585
|
errorCallbackURL?: string | undefined;
|
|
@@ -8086,12 +8086,12 @@ declare const createTestEndpoint: <C$1 extends AuthRouteConfig, H$1 extends (opt
|
|
|
8086
8086
|
builtSchemas?: Record<Definitions, z.ZodType>;
|
|
8087
8087
|
context?: AuthContext$1;
|
|
8088
8088
|
}) => {
|
|
8089
|
-
config:
|
|
8090
|
-
handler: RouteHandler<
|
|
8091
|
-
execute: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...args:
|
|
8089
|
+
config: _faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>;
|
|
8090
|
+
handler: RouteHandler<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>, hono116.Env extends RouteConfigToEnv<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>> ? ContextVars : RouteConfigToEnv<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>> & ContextVars>;
|
|
8091
|
+
execute: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...args: _faire_auth_core_types84.CustomIO<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>, "in"> extends undefined ? [ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders>] : [input: _faire_auth_core_types84.CustomIO<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>, "in"> & {}, ctx?: hono116.Context<ContextVars<any>, any, {}> | _faire_auth_core_types84.ExecOpts<AsResponse, ReturnHeaders>]) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
8092
8092
|
headers: Headers;
|
|
8093
|
-
response:
|
|
8094
|
-
} :
|
|
8093
|
+
response: _faire_auth_core_types84.ExecRet<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>>;
|
|
8094
|
+
} : _faire_auth_core_types84.ExecRet<_faire_auth_core_types84.ProcessRouteConfig<C$1, FaireAuthOptions$1>>>;
|
|
8095
8095
|
};
|
|
8096
8096
|
//#endregion
|
|
8097
8097
|
//#region src/test-utils/test-database.d.ts
|
|
@@ -8167,12 +8167,12 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8167
8167
|
id: "bearer";
|
|
8168
8168
|
hooks: {
|
|
8169
8169
|
before: {
|
|
8170
|
-
matcher: (ctx:
|
|
8171
|
-
handler: (_opts:
|
|
8170
|
+
matcher: (ctx: hono116.Context<ContextVars<any>, any, {}>) => boolean;
|
|
8171
|
+
handler: (_opts: _faire_auth_core_types84.FaireAuthOptions<any>) => (ctx: hono116.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8172
8172
|
}[];
|
|
8173
8173
|
after: {
|
|
8174
|
-
matcher: (_ctx:
|
|
8175
|
-
handler: (_opts:
|
|
8174
|
+
matcher: (_ctx: hono116.Context<ContextVars<any>, any, {}>) => true;
|
|
8175
|
+
handler: (_opts: _faire_auth_core_types84.FaireAuthOptions<any>) => (ctx: hono116.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8176
8176
|
}[];
|
|
8177
8177
|
};
|
|
8178
8178
|
}[];
|
|
@@ -8213,12 +8213,12 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8213
8213
|
id: "bearer";
|
|
8214
8214
|
hooks: {
|
|
8215
8215
|
before: {
|
|
8216
|
-
matcher: (ctx:
|
|
8217
|
-
handler: (_opts:
|
|
8216
|
+
matcher: (ctx: hono116.Context<ContextVars<any>, any, {}>) => boolean;
|
|
8217
|
+
handler: (_opts: _faire_auth_core_types84.FaireAuthOptions<any>) => (ctx: hono116.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8218
8218
|
}[];
|
|
8219
8219
|
after: {
|
|
8220
|
-
matcher: (_ctx:
|
|
8221
|
-
handler: (_opts:
|
|
8220
|
+
matcher: (_ctx: hono116.Context<ContextVars<any>, any, {}>) => true;
|
|
8221
|
+
handler: (_opts: _faire_auth_core_types84.FaireAuthOptions<any>) => (ctx: hono116.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8222
8222
|
}[];
|
|
8223
8223
|
};
|
|
8224
8224
|
}[];
|
|
@@ -8230,7 +8230,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8230
8230
|
type: "mysql";
|
|
8231
8231
|
};
|
|
8232
8232
|
}> extends infer T_1 ? { [Key in keyof T_1 as Key extends keyof type_fest0.OmitIndexSignature<O> ? never : Key]: T_1[Key] } : never) & type_fest0.OmitIndexSignature<O> extends infer T ? { [KeyType in keyof T]: T[KeyType] } : never;
|
|
8233
|
-
handler: (request: Request, Env?: any, executionCtx?:
|
|
8233
|
+
handler: (request: Request, Env?: any, executionCtx?: hono116.ExecutionContext) => Promise<Response> | Response;
|
|
8234
8234
|
app: ReturnType<typeof router>["app"];
|
|
8235
8235
|
api: ReturnType<typeof router>["api"];
|
|
8236
8236
|
$context: AuthContext$1<FaireAuthOptions$1>;
|
|
@@ -8241,7 +8241,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8241
8241
|
};
|
|
8242
8242
|
$ERROR_CODES: typeof _faire_auth_core_error0.BASE_ERROR_CODES;
|
|
8243
8243
|
};
|
|
8244
|
-
client:
|
|
8244
|
+
client: _faire_auth_core_types84.UnionToIntersection<InferResolvedHooks<(C$1 extends undefined ? {} : C$1) & {
|
|
8245
8245
|
baseURL: string;
|
|
8246
8246
|
fetchOptions: {
|
|
8247
8247
|
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
@@ -9540,7 +9540,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9540
9540
|
} & {
|
|
9541
9541
|
linkSocial: {
|
|
9542
9542
|
$post: <O_1 extends FetchOptions<unknown, {
|
|
9543
|
-
provider:
|
|
9543
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
9544
9544
|
callbackURL?: string | undefined;
|
|
9545
9545
|
idToken?: {
|
|
9546
9546
|
token: string;
|
|
@@ -9562,7 +9562,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9562
9562
|
};
|
|
9563
9563
|
}>>(args: {
|
|
9564
9564
|
json: {
|
|
9565
|
-
provider:
|
|
9565
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
9566
9566
|
callbackURL?: string | undefined;
|
|
9567
9567
|
idToken?: {
|
|
9568
9568
|
token: string;
|
|
@@ -11338,7 +11338,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11338
11338
|
signIn: {
|
|
11339
11339
|
social: {
|
|
11340
11340
|
$post: <O_1 extends FetchOptions<unknown, {
|
|
11341
|
-
provider:
|
|
11341
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
11342
11342
|
callbackURL?: string | undefined;
|
|
11343
11343
|
newUserCallbackURL?: string | undefined;
|
|
11344
11344
|
errorCallbackURL?: string | undefined;
|
|
@@ -11400,7 +11400,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11400
11400
|
};
|
|
11401
11401
|
}>>(args: {
|
|
11402
11402
|
json: {
|
|
11403
|
-
provider:
|
|
11403
|
+
provider: _faire_auth_core_social_providers29.SocialProvider;
|
|
11404
11404
|
callbackURL?: string | undefined;
|
|
11405
11405
|
newUserCallbackURL?: string | undefined;
|
|
11406
11406
|
errorCallbackURL?: string | undefined;
|
|
@@ -12549,8 +12549,8 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12549
12549
|
customFetchImpl: any;
|
|
12550
12550
|
}, unknown, unknown, _better_fetch_fetch0.Schema>;
|
|
12551
12551
|
$store: {
|
|
12552
|
-
notify: (signal?:
|
|
12553
|
-
listen: (signal:
|
|
12552
|
+
notify: (signal?: _faire_auth_core_types84.LiteralStringUnion<"$sessionSignal">) => void;
|
|
12553
|
+
listen: (signal: _faire_auth_core_types84.LiteralStringUnion<"$sessionSignal">, listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
12554
12554
|
atoms: {
|
|
12555
12555
|
session: nanostores0.PreinitializedWritableAtom<{
|
|
12556
12556
|
data: {
|