faire-auth 1.0.2 → 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 +9 -9
- 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 +6 -6
- package/dist/client/solid/index.d.mts +6 -6
- 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 +24 -24
- package/dist/client/vue/index.d.mts +27 -27
- package/dist/crypto/index.d.cts +2 -2
- package/dist/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/{index-Dfgobqa-.d.mts → index--DLiUhEn.d.mts} +6 -6
- package/dist/{index-C0b8eC8h.d.mts → index-B4bqEDYG.d.mts} +15 -15
- package/dist/index-Boa0SV4h.d.cts +13350 -0
- package/dist/index-Bykgiq3o.d.cts +13350 -0
- package/dist/{index-Bw8dyZTc.d.cts → index-ClFGA8tb.d.mts} +2 -2
- package/dist/{index-4PEF72Mq.d.cts → index-ClOM0wFf.d.cts} +20 -20
- package/dist/{index-CrmLTEj8.d.mts → index-CsxNfGAV.d.mts} +624 -624
- package/dist/index-DKnO_Zfm.d.cts +992 -0
- package/dist/index-DRYO4mGd.d.cts +33 -0
- package/dist/index-Dsua4U8w.d.cts +33 -0
- package/dist/{index-BCzB3uDD.d.cts → index-DxXFCG2_.d.mts} +354 -354
- package/dist/index-gtCVvDvC.d.mts +992 -0
- 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 +3 -3
- package/dist/integrations/next-js.d.mts +1 -1
- 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 +1 -1
- 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 +267 -267
- package/dist/plugins/index.d.mts +267 -267
- 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 +993 -993
- package/dist/test-utils/index.d.mts +997 -997
- 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
|
@@ -6,19 +6,19 @@ import { BASE_ERROR_CODES } from "@faire-auth/core/error";
|
|
|
6
6
|
import * as kysely0 from "kysely";
|
|
7
7
|
import { Kysely } from "kysely";
|
|
8
8
|
import "@faire-auth/core/crypto";
|
|
9
|
-
import * as
|
|
9
|
+
import * as zod463 from "zod";
|
|
10
10
|
import { z } from "zod";
|
|
11
11
|
import * as _faire_auth_core_db16 from "@faire-auth/core/db";
|
|
12
12
|
import { Session, User } from "@faire-auth/core/db";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _faire_auth_core_social_providers37 from "@faire-auth/core/social-providers";
|
|
14
14
|
import * as _better_fetch_fetch0 from "@better-fetch/fetch";
|
|
15
15
|
import { BetterFetch, BetterFetchError, BetterFetchOption, BetterFetchPlugin, CreateFetchOption, Schema, SuccessContext } from "@better-fetch/fetch";
|
|
16
|
-
import * as
|
|
16
|
+
import * as hono110 from "hono";
|
|
17
17
|
import { Context, Env, Hono, MiddlewareHandler, Schema as Schema$1, TypedResponse } from "hono";
|
|
18
18
|
import * as nanostores0 from "nanostores";
|
|
19
19
|
import { Atom, WritableAtom } from "nanostores";
|
|
20
20
|
import { MongoClient } from "mongodb";
|
|
21
|
-
import * as
|
|
21
|
+
import * as _faire_auth_core_types87 from "@faire-auth/core/types";
|
|
22
22
|
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";
|
|
23
23
|
import * as type_fest0 from "type-fest";
|
|
24
24
|
import { SetRequired } from "type-fest";
|
|
@@ -28,7 +28,7 @@ import { ExtractSchema } from "hono/types";
|
|
|
28
28
|
import { ClientRequest, ClientResponse } from "hono/client";
|
|
29
29
|
import { ClientErrorStatusCode, ServerErrorStatusCode, SuccessStatusCode } from "hono/utils/http-status";
|
|
30
30
|
import { HonoRequest } from "hono/request";
|
|
31
|
-
import * as
|
|
31
|
+
import * as zod_v4_core83 from "zod/v4/core";
|
|
32
32
|
|
|
33
33
|
//#region src/types/hono.d.ts
|
|
34
34
|
type ContextVars<E$2 extends object = object> = {
|
|
@@ -234,29 +234,29 @@ declare const signInSocialRoute: {
|
|
|
234
234
|
description: string;
|
|
235
235
|
content: {
|
|
236
236
|
"application/json": {
|
|
237
|
-
schema:
|
|
238
|
-
success:
|
|
239
|
-
token:
|
|
240
|
-
user:
|
|
241
|
-
id:
|
|
242
|
-
createdAt:
|
|
243
|
-
updatedAt:
|
|
244
|
-
email:
|
|
245
|
-
emailVerified:
|
|
246
|
-
name:
|
|
247
|
-
image:
|
|
248
|
-
},
|
|
249
|
-
},
|
|
250
|
-
success:
|
|
251
|
-
token:
|
|
252
|
-
user:
|
|
253
|
-
},
|
|
254
|
-
redirect:
|
|
255
|
-
url:
|
|
256
|
-
},
|
|
257
|
-
redirect:
|
|
258
|
-
url:
|
|
259
|
-
},
|
|
237
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodIntersection<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
238
|
+
success: zod463.ZodLiteral<true>;
|
|
239
|
+
token: zod463.ZodDefault<zod463.ZodNullable<zod463.ZodString>>;
|
|
240
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
241
|
+
id: zod463.ZodString;
|
|
242
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
243
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
244
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
245
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
246
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
247
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
248
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
249
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
250
|
+
success: zod463.ZodLiteral<false>;
|
|
251
|
+
token: zod463.ZodDefault<zod463.ZodNull>;
|
|
252
|
+
user: zod463.ZodDefault<zod463.ZodNull>;
|
|
253
|
+
}, zod_v4_core83.$strip>], "success">, zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
254
|
+
redirect: zod463.ZodLiteral<false>;
|
|
255
|
+
url: zod463.ZodDefault<zod463.ZodNull>;
|
|
256
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
257
|
+
redirect: zod463.ZodLiteral<true>;
|
|
258
|
+
url: zod463.ZodURL;
|
|
259
|
+
}, zod_v4_core83.$strip>], "redirect">>, zod463.ZodTransform<{
|
|
260
260
|
success: true;
|
|
261
261
|
data: ({
|
|
262
262
|
success: true;
|
|
@@ -270,7 +270,7 @@ declare const signInSocialRoute: {
|
|
|
270
270
|
emailVerified: boolean;
|
|
271
271
|
name?: string | undefined;
|
|
272
272
|
image?: string | null | undefined;
|
|
273
|
-
} &
|
|
273
|
+
} & zod463.$brand<"user">;
|
|
274
274
|
} | {
|
|
275
275
|
success: false;
|
|
276
276
|
token: null;
|
|
@@ -294,7 +294,7 @@ declare const signInSocialRoute: {
|
|
|
294
294
|
emailVerified: boolean;
|
|
295
295
|
name?: string | undefined;
|
|
296
296
|
image?: string | null | undefined;
|
|
297
|
-
} &
|
|
297
|
+
} & zod463.$brand<"user">;
|
|
298
298
|
} | {
|
|
299
299
|
success: false;
|
|
300
300
|
token: null;
|
|
@@ -318,11 +318,11 @@ declare const signInSocialRoute: {
|
|
|
318
318
|
description: string;
|
|
319
319
|
content: {
|
|
320
320
|
"application/json": {
|
|
321
|
-
schema:
|
|
322
|
-
success:
|
|
323
|
-
code:
|
|
324
|
-
message:
|
|
325
|
-
},
|
|
321
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
322
|
+
success: zod463.ZodLiteral<false>;
|
|
323
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
324
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
325
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
326
326
|
};
|
|
327
327
|
};
|
|
328
328
|
};
|
|
@@ -331,11 +331,11 @@ declare const signInSocialRoute: {
|
|
|
331
331
|
description: string;
|
|
332
332
|
content: {
|
|
333
333
|
"application/json": {
|
|
334
|
-
schema:
|
|
335
|
-
success:
|
|
336
|
-
code:
|
|
337
|
-
message:
|
|
338
|
-
},
|
|
334
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
335
|
+
success: zod463.ZodLiteral<false>;
|
|
336
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
337
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
338
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
};
|
|
@@ -344,7 +344,7 @@ declare const signInSocialRoute: {
|
|
|
344
344
|
description: string;
|
|
345
345
|
content: {
|
|
346
346
|
"application/json": {
|
|
347
|
-
schema:
|
|
347
|
+
schema: zod463.ZodType<{
|
|
348
348
|
success: false;
|
|
349
349
|
} & {
|
|
350
350
|
errors: string[];
|
|
@@ -401,7 +401,7 @@ declare const signInSocialRoute: {
|
|
|
401
401
|
errors: string[];
|
|
402
402
|
};
|
|
403
403
|
};
|
|
404
|
-
}, unknown,
|
|
404
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
405
405
|
success: false;
|
|
406
406
|
} & {
|
|
407
407
|
errors: string[];
|
|
@@ -471,23 +471,23 @@ declare const signInSocialRoute: {
|
|
|
471
471
|
description?: string;
|
|
472
472
|
content: {
|
|
473
473
|
"application/json": {
|
|
474
|
-
schema:
|
|
475
|
-
callbackURL:
|
|
476
|
-
newUserCallbackURL:
|
|
477
|
-
errorCallbackURL:
|
|
478
|
-
provider:
|
|
479
|
-
disableRedirect:
|
|
480
|
-
idToken:
|
|
481
|
-
token:
|
|
482
|
-
nonce:
|
|
483
|
-
accessToken:
|
|
484
|
-
refreshToken:
|
|
485
|
-
expiresAt:
|
|
486
|
-
},
|
|
487
|
-
scopes:
|
|
488
|
-
requestSignUp:
|
|
489
|
-
loginHint:
|
|
490
|
-
},
|
|
474
|
+
schema: zod463.ZodObject<{
|
|
475
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
476
|
+
newUserCallbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
477
|
+
errorCallbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
478
|
+
provider: zod463.ZodType<_faire_auth_core_social_providers37.SocialProvider, _faire_auth_core_social_providers37.SocialProvider, zod_v4_core83.$ZodTypeInternals<_faire_auth_core_social_providers37.SocialProvider, _faire_auth_core_social_providers37.SocialProvider>>;
|
|
479
|
+
disableRedirect: zod463.ZodOptional<zod463.ZodBoolean>;
|
|
480
|
+
idToken: zod463.ZodOptional<zod463.ZodObject<{
|
|
481
|
+
token: zod463.ZodString;
|
|
482
|
+
nonce: zod463.ZodOptional<zod463.ZodString>;
|
|
483
|
+
accessToken: zod463.ZodOptional<zod463.ZodString>;
|
|
484
|
+
refreshToken: zod463.ZodOptional<zod463.ZodString>;
|
|
485
|
+
expiresAt: zod463.ZodOptional<zod463.ZodNumber>;
|
|
486
|
+
}, zod_v4_core83.$strip>>;
|
|
487
|
+
scopes: zod463.ZodOptional<zod463.ZodArray<zod463.ZodString>>;
|
|
488
|
+
requestSignUp: zod463.ZodOptional<zod463.ZodBoolean>;
|
|
489
|
+
loginHint: zod463.ZodOptional<zod463.ZodString>;
|
|
490
|
+
}, zod_v4_core83.$strip>;
|
|
491
491
|
};
|
|
492
492
|
};
|
|
493
493
|
required: true;
|
|
@@ -501,29 +501,29 @@ declare const signInEmailRoute: {
|
|
|
501
501
|
description: string;
|
|
502
502
|
content: {
|
|
503
503
|
"application/json": {
|
|
504
|
-
schema:
|
|
505
|
-
success:
|
|
506
|
-
token:
|
|
507
|
-
user:
|
|
508
|
-
id:
|
|
509
|
-
createdAt:
|
|
510
|
-
updatedAt:
|
|
511
|
-
email:
|
|
512
|
-
emailVerified:
|
|
513
|
-
name:
|
|
514
|
-
image:
|
|
515
|
-
},
|
|
516
|
-
},
|
|
517
|
-
success:
|
|
518
|
-
token:
|
|
519
|
-
user:
|
|
520
|
-
},
|
|
521
|
-
redirect:
|
|
522
|
-
url:
|
|
523
|
-
},
|
|
524
|
-
redirect:
|
|
525
|
-
url:
|
|
526
|
-
},
|
|
504
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodIntersection<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
505
|
+
success: zod463.ZodLiteral<true>;
|
|
506
|
+
token: zod463.ZodDefault<zod463.ZodNullable<zod463.ZodString>>;
|
|
507
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
508
|
+
id: zod463.ZodString;
|
|
509
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
510
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
511
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
512
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
513
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
514
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
515
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
516
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
517
|
+
success: zod463.ZodLiteral<false>;
|
|
518
|
+
token: zod463.ZodDefault<zod463.ZodNull>;
|
|
519
|
+
user: zod463.ZodDefault<zod463.ZodNull>;
|
|
520
|
+
}, zod_v4_core83.$strip>], "success">, zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
521
|
+
redirect: zod463.ZodLiteral<false>;
|
|
522
|
+
url: zod463.ZodDefault<zod463.ZodNull>;
|
|
523
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
524
|
+
redirect: zod463.ZodLiteral<true>;
|
|
525
|
+
url: zod463.ZodURL;
|
|
526
|
+
}, zod_v4_core83.$strip>], "redirect">>, zod463.ZodTransform<{
|
|
527
527
|
success: true;
|
|
528
528
|
data: ({
|
|
529
529
|
success: true;
|
|
@@ -537,7 +537,7 @@ declare const signInEmailRoute: {
|
|
|
537
537
|
emailVerified: boolean;
|
|
538
538
|
name?: string | undefined;
|
|
539
539
|
image?: string | null | undefined;
|
|
540
|
-
} &
|
|
540
|
+
} & zod463.$brand<"user">;
|
|
541
541
|
} | {
|
|
542
542
|
success: false;
|
|
543
543
|
token: null;
|
|
@@ -561,7 +561,7 @@ declare const signInEmailRoute: {
|
|
|
561
561
|
emailVerified: boolean;
|
|
562
562
|
name?: string | undefined;
|
|
563
563
|
image?: string | null | undefined;
|
|
564
|
-
} &
|
|
564
|
+
} & zod463.$brand<"user">;
|
|
565
565
|
} | {
|
|
566
566
|
success: false;
|
|
567
567
|
token: null;
|
|
@@ -581,11 +581,11 @@ declare const signInEmailRoute: {
|
|
|
581
581
|
description: string;
|
|
582
582
|
content: {
|
|
583
583
|
"application/json": {
|
|
584
|
-
schema:
|
|
585
|
-
success:
|
|
586
|
-
code:
|
|
587
|
-
message:
|
|
588
|
-
},
|
|
584
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
585
|
+
success: zod463.ZodLiteral<false>;
|
|
586
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
587
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
588
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
589
589
|
};
|
|
590
590
|
};
|
|
591
591
|
};
|
|
@@ -594,11 +594,11 @@ declare const signInEmailRoute: {
|
|
|
594
594
|
description: string;
|
|
595
595
|
content: {
|
|
596
596
|
"application/json": {
|
|
597
|
-
schema:
|
|
598
|
-
success:
|
|
599
|
-
code:
|
|
600
|
-
message:
|
|
601
|
-
},
|
|
597
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
598
|
+
success: zod463.ZodLiteral<false>;
|
|
599
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
600
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
601
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
602
602
|
};
|
|
603
603
|
};
|
|
604
604
|
};
|
|
@@ -607,11 +607,11 @@ declare const signInEmailRoute: {
|
|
|
607
607
|
description: string;
|
|
608
608
|
content: {
|
|
609
609
|
"application/json": {
|
|
610
|
-
schema:
|
|
611
|
-
success:
|
|
612
|
-
code:
|
|
613
|
-
message:
|
|
614
|
-
},
|
|
610
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
611
|
+
success: zod463.ZodLiteral<false>;
|
|
612
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
613
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
614
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
615
615
|
};
|
|
616
616
|
};
|
|
617
617
|
};
|
|
@@ -620,7 +620,7 @@ declare const signInEmailRoute: {
|
|
|
620
620
|
description: string;
|
|
621
621
|
content: {
|
|
622
622
|
"application/json": {
|
|
623
|
-
schema:
|
|
623
|
+
schema: zod463.ZodType<{
|
|
624
624
|
success: false;
|
|
625
625
|
} & {
|
|
626
626
|
errors: string[];
|
|
@@ -638,7 +638,7 @@ declare const signInEmailRoute: {
|
|
|
638
638
|
errors: string[];
|
|
639
639
|
};
|
|
640
640
|
};
|
|
641
|
-
}, unknown,
|
|
641
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
642
642
|
success: false;
|
|
643
643
|
} & {
|
|
644
644
|
errors: string[];
|
|
@@ -665,11 +665,11 @@ declare const signInEmailRoute: {
|
|
|
665
665
|
description: string;
|
|
666
666
|
content: {
|
|
667
667
|
"application/json": {
|
|
668
|
-
schema:
|
|
669
|
-
success:
|
|
670
|
-
code:
|
|
671
|
-
message:
|
|
672
|
-
},
|
|
668
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
669
|
+
success: zod463.ZodLiteral<false>;
|
|
670
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
671
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
672
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
673
673
|
};
|
|
674
674
|
};
|
|
675
675
|
};
|
|
@@ -682,12 +682,12 @@ declare const signInEmailRoute: {
|
|
|
682
682
|
description?: string;
|
|
683
683
|
content: {
|
|
684
684
|
"application/json": {
|
|
685
|
-
schema:
|
|
686
|
-
email:
|
|
687
|
-
password:
|
|
688
|
-
callbackURL:
|
|
689
|
-
rememberMe:
|
|
690
|
-
},
|
|
685
|
+
schema: zod463.ZodObject<{
|
|
686
|
+
email: zod463.ZodEmail;
|
|
687
|
+
password: zod463.ZodString;
|
|
688
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
689
|
+
rememberMe: zod463.ZodDefault<zod463.ZodBoolean>;
|
|
690
|
+
}, zod_v4_core83.$strip>;
|
|
691
691
|
};
|
|
692
692
|
};
|
|
693
693
|
required: true;
|
|
@@ -703,7 +703,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
703
703
|
description: string;
|
|
704
704
|
content: {
|
|
705
705
|
"application/json": {
|
|
706
|
-
schema:
|
|
706
|
+
schema: zod463.ZodType<unknown, unknown, zod_v4_core83.$ZodTypeInternals<unknown, unknown>>;
|
|
707
707
|
};
|
|
708
708
|
};
|
|
709
709
|
};
|
|
@@ -716,11 +716,11 @@ declare const getOAuthCallbackRoute: {
|
|
|
716
716
|
description: string;
|
|
717
717
|
content: {
|
|
718
718
|
"application/json": {
|
|
719
|
-
schema:
|
|
720
|
-
success:
|
|
721
|
-
code:
|
|
722
|
-
message:
|
|
723
|
-
},
|
|
719
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
720
|
+
success: zod463.ZodLiteral<false>;
|
|
721
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
722
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
723
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
724
724
|
};
|
|
725
725
|
};
|
|
726
726
|
};
|
|
@@ -730,18 +730,18 @@ declare const getOAuthCallbackRoute: {
|
|
|
730
730
|
method: "get";
|
|
731
731
|
isAction: false;
|
|
732
732
|
request: {
|
|
733
|
-
params:
|
|
734
|
-
id:
|
|
735
|
-
},
|
|
733
|
+
params: zod463.ZodObject<{
|
|
734
|
+
id: zod463.ZodString;
|
|
735
|
+
}, zod_v4_core83.$strip>;
|
|
736
736
|
} & {
|
|
737
|
-
query:
|
|
738
|
-
code:
|
|
739
|
-
error:
|
|
740
|
-
device_id:
|
|
741
|
-
error_description:
|
|
742
|
-
state:
|
|
743
|
-
user:
|
|
744
|
-
},
|
|
737
|
+
query: zod463.ZodObject<{
|
|
738
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
739
|
+
error: zod463.ZodOptional<zod463.ZodString>;
|
|
740
|
+
device_id: zod463.ZodOptional<zod463.ZodString>;
|
|
741
|
+
error_description: zod463.ZodOptional<zod463.ZodString>;
|
|
742
|
+
state: zod463.ZodOptional<zod463.ZodString>;
|
|
743
|
+
user: zod463.ZodOptional<zod463.ZodString>;
|
|
744
|
+
}, zod_v4_core83.$strip>;
|
|
745
745
|
};
|
|
746
746
|
getRoutingPath: () => "/callback/:id";
|
|
747
747
|
};
|
|
@@ -751,7 +751,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
751
751
|
description: string;
|
|
752
752
|
content: {
|
|
753
753
|
"application/json": {
|
|
754
|
-
schema:
|
|
754
|
+
schema: zod463.ZodType<unknown, unknown, zod_v4_core83.$ZodTypeInternals<unknown, unknown>>;
|
|
755
755
|
};
|
|
756
756
|
};
|
|
757
757
|
};
|
|
@@ -764,11 +764,11 @@ declare const postOAuthCallbackRoute: {
|
|
|
764
764
|
description: string;
|
|
765
765
|
content: {
|
|
766
766
|
"application/json": {
|
|
767
|
-
schema:
|
|
768
|
-
success:
|
|
769
|
-
code:
|
|
770
|
-
message:
|
|
771
|
-
},
|
|
767
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
768
|
+
success: zod463.ZodLiteral<false>;
|
|
769
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
770
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
771
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
772
772
|
};
|
|
773
773
|
};
|
|
774
774
|
};
|
|
@@ -777,7 +777,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
777
777
|
description: string;
|
|
778
778
|
content: {
|
|
779
779
|
"application/json": {
|
|
780
|
-
schema:
|
|
780
|
+
schema: zod463.ZodType<{
|
|
781
781
|
success: false;
|
|
782
782
|
} & {
|
|
783
783
|
errors: string[];
|
|
@@ -801,7 +801,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
801
801
|
errors: string[];
|
|
802
802
|
};
|
|
803
803
|
};
|
|
804
|
-
}, unknown,
|
|
804
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
805
805
|
success: false;
|
|
806
806
|
} & {
|
|
807
807
|
errors: string[];
|
|
@@ -839,22 +839,22 @@ declare const postOAuthCallbackRoute: {
|
|
|
839
839
|
description?: string;
|
|
840
840
|
content: {
|
|
841
841
|
"application/json": {
|
|
842
|
-
schema:
|
|
843
|
-
code:
|
|
844
|
-
error:
|
|
845
|
-
device_id:
|
|
846
|
-
error_description:
|
|
847
|
-
state:
|
|
848
|
-
user:
|
|
849
|
-
},
|
|
842
|
+
schema: zod463.ZodOptional<zod463.ZodObject<{
|
|
843
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
844
|
+
error: zod463.ZodOptional<zod463.ZodString>;
|
|
845
|
+
device_id: zod463.ZodOptional<zod463.ZodString>;
|
|
846
|
+
error_description: zod463.ZodOptional<zod463.ZodString>;
|
|
847
|
+
state: zod463.ZodOptional<zod463.ZodString>;
|
|
848
|
+
user: zod463.ZodOptional<zod463.ZodString>;
|
|
849
|
+
}, zod_v4_core83.$strip>>;
|
|
850
850
|
};
|
|
851
851
|
};
|
|
852
852
|
required: true;
|
|
853
853
|
};
|
|
854
854
|
} & {
|
|
855
|
-
params:
|
|
856
|
-
id:
|
|
857
|
-
},
|
|
855
|
+
params: zod463.ZodObject<{
|
|
856
|
+
id: zod463.ZodString;
|
|
857
|
+
}, zod_v4_core83.$strip>;
|
|
858
858
|
};
|
|
859
859
|
getRoutingPath: () => "/callback/:id";
|
|
860
860
|
};
|
|
@@ -866,27 +866,27 @@ declare const getSessionRoute: {
|
|
|
866
866
|
description: string;
|
|
867
867
|
content: {
|
|
868
868
|
"application/json": {
|
|
869
|
-
schema:
|
|
870
|
-
session:
|
|
871
|
-
createdAt:
|
|
872
|
-
updatedAt:
|
|
873
|
-
id:
|
|
874
|
-
userId:
|
|
875
|
-
expiresAt:
|
|
876
|
-
token:
|
|
877
|
-
ipAddress:
|
|
878
|
-
userAgent:
|
|
879
|
-
},
|
|
880
|
-
user:
|
|
881
|
-
id:
|
|
882
|
-
createdAt:
|
|
883
|
-
updatedAt:
|
|
884
|
-
email:
|
|
885
|
-
emailVerified:
|
|
886
|
-
name:
|
|
887
|
-
image:
|
|
888
|
-
},
|
|
889
|
-
},
|
|
869
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodObject<{
|
|
870
|
+
session: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
871
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
872
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
873
|
+
id: zod463.ZodOptional<zod463.ZodString>;
|
|
874
|
+
userId: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodNumber]>, zod463.ZodTransform<string, string | number>>;
|
|
875
|
+
expiresAt: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>;
|
|
876
|
+
token: zod463.ZodString;
|
|
877
|
+
ipAddress: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodString>>;
|
|
878
|
+
userAgent: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodString>>;
|
|
879
|
+
}, zod_v4_core83.$loose>, "session">;
|
|
880
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
881
|
+
id: zod463.ZodString;
|
|
882
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
883
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
884
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
885
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
886
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
887
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
888
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
889
|
+
}, zod_v4_core83.$strip>, zod463.ZodTransform<{
|
|
890
890
|
success: true;
|
|
891
891
|
data: {
|
|
892
892
|
session: {
|
|
@@ -899,7 +899,7 @@ declare const getSessionRoute: {
|
|
|
899
899
|
id?: string | undefined;
|
|
900
900
|
ipAddress?: string | null | undefined;
|
|
901
901
|
userAgent?: string | null | undefined;
|
|
902
|
-
} &
|
|
902
|
+
} & zod463.$brand<"session">;
|
|
903
903
|
user: {
|
|
904
904
|
[x: string]: unknown;
|
|
905
905
|
id: string;
|
|
@@ -909,7 +909,7 @@ declare const getSessionRoute: {
|
|
|
909
909
|
emailVerified: boolean;
|
|
910
910
|
name?: string | undefined;
|
|
911
911
|
image?: string | null | undefined;
|
|
912
|
-
} &
|
|
912
|
+
} & zod463.$brand<"user">;
|
|
913
913
|
};
|
|
914
914
|
}, {
|
|
915
915
|
session: {
|
|
@@ -922,7 +922,7 @@ declare const getSessionRoute: {
|
|
|
922
922
|
id?: string | undefined;
|
|
923
923
|
ipAddress?: string | null | undefined;
|
|
924
924
|
userAgent?: string | null | undefined;
|
|
925
|
-
} &
|
|
925
|
+
} & zod463.$brand<"session">;
|
|
926
926
|
user: {
|
|
927
927
|
[x: string]: unknown;
|
|
928
928
|
id: string;
|
|
@@ -932,7 +932,7 @@ declare const getSessionRoute: {
|
|
|
932
932
|
emailVerified: boolean;
|
|
933
933
|
name?: string | undefined;
|
|
934
934
|
image?: string | null | undefined;
|
|
935
|
-
} &
|
|
935
|
+
} & zod463.$brand<"user">;
|
|
936
936
|
}>>, "sessionUser">;
|
|
937
937
|
};
|
|
938
938
|
};
|
|
@@ -942,11 +942,11 @@ declare const getSessionRoute: {
|
|
|
942
942
|
description: string;
|
|
943
943
|
content: {
|
|
944
944
|
"application/json": {
|
|
945
|
-
schema:
|
|
946
|
-
success:
|
|
947
|
-
code:
|
|
948
|
-
message:
|
|
949
|
-
},
|
|
945
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
946
|
+
success: zod463.ZodLiteral<false>;
|
|
947
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
948
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
949
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
950
950
|
};
|
|
951
951
|
};
|
|
952
952
|
};
|
|
@@ -955,7 +955,7 @@ declare const getSessionRoute: {
|
|
|
955
955
|
description: string;
|
|
956
956
|
content: {
|
|
957
957
|
"application/json": {
|
|
958
|
-
schema:
|
|
958
|
+
schema: zod463.ZodType<{
|
|
959
959
|
success: false;
|
|
960
960
|
} & {
|
|
961
961
|
errors: string[];
|
|
@@ -967,7 +967,7 @@ declare const getSessionRoute: {
|
|
|
967
967
|
errors: string[];
|
|
968
968
|
};
|
|
969
969
|
};
|
|
970
|
-
}, unknown,
|
|
970
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
971
971
|
success: false;
|
|
972
972
|
} & {
|
|
973
973
|
errors: string[];
|
|
@@ -988,11 +988,11 @@ declare const getSessionRoute: {
|
|
|
988
988
|
description: string;
|
|
989
989
|
content: {
|
|
990
990
|
"application/json": {
|
|
991
|
-
schema:
|
|
992
|
-
success:
|
|
993
|
-
code:
|
|
994
|
-
message:
|
|
995
|
-
},
|
|
991
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
992
|
+
success: zod463.ZodLiteral<false>;
|
|
993
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
994
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
995
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
996
996
|
};
|
|
997
997
|
};
|
|
998
998
|
};
|
|
@@ -1001,10 +1001,10 @@ declare const getSessionRoute: {
|
|
|
1001
1001
|
path: "/get-session";
|
|
1002
1002
|
method: "get";
|
|
1003
1003
|
request: {
|
|
1004
|
-
query:
|
|
1005
|
-
disableCookieCache:
|
|
1006
|
-
disableRefresh:
|
|
1007
|
-
},
|
|
1004
|
+
query: zod463.ZodObject<{
|
|
1005
|
+
disableCookieCache: zod463.ZodOptional<zod463.ZodUnion<[zod463.ZodBoolean, zod463.ZodPipe<zod463.ZodString, zod463.ZodTransform<boolean, string>>]>>;
|
|
1006
|
+
disableRefresh: zod463.ZodOptional<zod463.ZodUnion<[zod463.ZodBoolean, zod463.ZodPipe<zod463.ZodString, zod463.ZodTransform<boolean, string>>]>>;
|
|
1007
|
+
}, zod_v4_core83.$strip>;
|
|
1008
1008
|
};
|
|
1009
1009
|
getRoutingPath: () => "/get-session";
|
|
1010
1010
|
};
|
|
@@ -1014,16 +1014,16 @@ declare const listSessionsRoute: {
|
|
|
1014
1014
|
description: string;
|
|
1015
1015
|
content: {
|
|
1016
1016
|
"application/json": {
|
|
1017
|
-
schema:
|
|
1018
|
-
createdAt:
|
|
1019
|
-
updatedAt:
|
|
1020
|
-
id:
|
|
1021
|
-
userId:
|
|
1022
|
-
expiresAt:
|
|
1023
|
-
token:
|
|
1024
|
-
ipAddress:
|
|
1025
|
-
userAgent:
|
|
1026
|
-
},
|
|
1017
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodArray<zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1018
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1019
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1020
|
+
id: zod463.ZodOptional<zod463.ZodString>;
|
|
1021
|
+
userId: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodNumber]>, zod463.ZodTransform<string, string | number>>;
|
|
1022
|
+
expiresAt: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>;
|
|
1023
|
+
token: zod463.ZodString;
|
|
1024
|
+
ipAddress: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodString>>;
|
|
1025
|
+
userAgent: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodString>>;
|
|
1026
|
+
}, zod_v4_core83.$loose>, "session">>, zod463.ZodTransform<{
|
|
1027
1027
|
success: true;
|
|
1028
1028
|
data: ({
|
|
1029
1029
|
[x: string]: unknown;
|
|
@@ -1035,7 +1035,7 @@ declare const listSessionsRoute: {
|
|
|
1035
1035
|
id?: string | undefined;
|
|
1036
1036
|
ipAddress?: string | null | undefined;
|
|
1037
1037
|
userAgent?: string | null | undefined;
|
|
1038
|
-
} &
|
|
1038
|
+
} & zod463.$brand<"session">)[];
|
|
1039
1039
|
}, ({
|
|
1040
1040
|
[x: string]: unknown;
|
|
1041
1041
|
createdAt: Date;
|
|
@@ -1046,7 +1046,7 @@ declare const listSessionsRoute: {
|
|
|
1046
1046
|
id?: string | undefined;
|
|
1047
1047
|
ipAddress?: string | null | undefined;
|
|
1048
1048
|
userAgent?: string | null | undefined;
|
|
1049
|
-
} &
|
|
1049
|
+
} & zod463.$brand<"session">)[]>>, "sessionsList">;
|
|
1050
1050
|
};
|
|
1051
1051
|
};
|
|
1052
1052
|
};
|
|
@@ -1055,11 +1055,11 @@ declare const listSessionsRoute: {
|
|
|
1055
1055
|
description: string;
|
|
1056
1056
|
content: {
|
|
1057
1057
|
"application/json": {
|
|
1058
|
-
schema:
|
|
1059
|
-
success:
|
|
1060
|
-
code:
|
|
1061
|
-
message:
|
|
1062
|
-
},
|
|
1058
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1059
|
+
success: zod463.ZodLiteral<false>;
|
|
1060
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1061
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1062
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1063
1063
|
};
|
|
1064
1064
|
};
|
|
1065
1065
|
};
|
|
@@ -1091,7 +1091,7 @@ declare const listSessionsRoute: {
|
|
|
1091
1091
|
image?: string | null;
|
|
1092
1092
|
};
|
|
1093
1093
|
};
|
|
1094
|
-
}>, string, {}>, next:
|
|
1094
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & TypedResponse<{
|
|
1095
1095
|
success: false;
|
|
1096
1096
|
code?: string | undefined;
|
|
1097
1097
|
message?: string | undefined;
|
|
@@ -1104,10 +1104,10 @@ declare const revokeSessionRoute: {
|
|
|
1104
1104
|
description: string;
|
|
1105
1105
|
content: {
|
|
1106
1106
|
"application/json": {
|
|
1107
|
-
schema:
|
|
1108
|
-
success:
|
|
1109
|
-
message:
|
|
1110
|
-
},
|
|
1107
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1108
|
+
success: zod463.ZodLiteral<true>;
|
|
1109
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1110
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1111
1111
|
};
|
|
1112
1112
|
};
|
|
1113
1113
|
};
|
|
@@ -1116,7 +1116,7 @@ declare const revokeSessionRoute: {
|
|
|
1116
1116
|
description: string;
|
|
1117
1117
|
content: {
|
|
1118
1118
|
"application/json": {
|
|
1119
|
-
schema:
|
|
1119
|
+
schema: zod463.ZodType<{
|
|
1120
1120
|
success: false;
|
|
1121
1121
|
} & {
|
|
1122
1122
|
errors: string[];
|
|
@@ -1125,7 +1125,7 @@ declare const revokeSessionRoute: {
|
|
|
1125
1125
|
errors: string[];
|
|
1126
1126
|
};
|
|
1127
1127
|
};
|
|
1128
|
-
}, unknown,
|
|
1128
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1129
1129
|
success: false;
|
|
1130
1130
|
} & {
|
|
1131
1131
|
errors: string[];
|
|
@@ -1143,11 +1143,11 @@ declare const revokeSessionRoute: {
|
|
|
1143
1143
|
description: string;
|
|
1144
1144
|
content: {
|
|
1145
1145
|
"application/json": {
|
|
1146
|
-
schema:
|
|
1147
|
-
success:
|
|
1148
|
-
code:
|
|
1149
|
-
message:
|
|
1150
|
-
},
|
|
1146
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1147
|
+
success: zod463.ZodLiteral<false>;
|
|
1148
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1149
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1150
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1151
1151
|
};
|
|
1152
1152
|
};
|
|
1153
1153
|
};
|
|
@@ -1156,11 +1156,11 @@ declare const revokeSessionRoute: {
|
|
|
1156
1156
|
description: string;
|
|
1157
1157
|
content: {
|
|
1158
1158
|
"application/json": {
|
|
1159
|
-
schema:
|
|
1160
|
-
success:
|
|
1161
|
-
code:
|
|
1162
|
-
message:
|
|
1163
|
-
},
|
|
1159
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1160
|
+
success: zod463.ZodLiteral<false>;
|
|
1161
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1162
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1163
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1164
1164
|
};
|
|
1165
1165
|
};
|
|
1166
1166
|
};
|
|
@@ -1169,11 +1169,11 @@ declare const revokeSessionRoute: {
|
|
|
1169
1169
|
description: string;
|
|
1170
1170
|
content: {
|
|
1171
1171
|
"application/json": {
|
|
1172
|
-
schema:
|
|
1173
|
-
success:
|
|
1174
|
-
code:
|
|
1175
|
-
message:
|
|
1176
|
-
},
|
|
1172
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1173
|
+
success: zod463.ZodLiteral<false>;
|
|
1174
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1175
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1176
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1177
1177
|
};
|
|
1178
1178
|
};
|
|
1179
1179
|
};
|
|
@@ -1186,7 +1186,7 @@ declare const revokeSessionRoute: {
|
|
|
1186
1186
|
session: Session;
|
|
1187
1187
|
user: User;
|
|
1188
1188
|
};
|
|
1189
|
-
}>, string, {}>, next:
|
|
1189
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & TypedResponse<{
|
|
1190
1190
|
success: false;
|
|
1191
1191
|
code?: string | undefined;
|
|
1192
1192
|
message?: string | undefined;
|
|
@@ -1196,9 +1196,9 @@ declare const revokeSessionRoute: {
|
|
|
1196
1196
|
description?: string;
|
|
1197
1197
|
content: {
|
|
1198
1198
|
"application/json": {
|
|
1199
|
-
schema:
|
|
1200
|
-
token:
|
|
1201
|
-
},
|
|
1199
|
+
schema: zod463.ZodObject<{
|
|
1200
|
+
token: zod463.ZodString;
|
|
1201
|
+
}, zod_v4_core83.$strip>;
|
|
1202
1202
|
};
|
|
1203
1203
|
};
|
|
1204
1204
|
required: true;
|
|
@@ -1212,10 +1212,10 @@ declare const revokeSessionsRoute: {
|
|
|
1212
1212
|
description: string;
|
|
1213
1213
|
content: {
|
|
1214
1214
|
"application/json": {
|
|
1215
|
-
schema:
|
|
1216
|
-
success:
|
|
1217
|
-
message:
|
|
1218
|
-
},
|
|
1215
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1216
|
+
success: zod463.ZodLiteral<true>;
|
|
1217
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1218
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1219
1219
|
};
|
|
1220
1220
|
};
|
|
1221
1221
|
};
|
|
@@ -1224,11 +1224,11 @@ declare const revokeSessionsRoute: {
|
|
|
1224
1224
|
description: string;
|
|
1225
1225
|
content: {
|
|
1226
1226
|
"application/json": {
|
|
1227
|
-
schema:
|
|
1228
|
-
success:
|
|
1229
|
-
code:
|
|
1230
|
-
message:
|
|
1231
|
-
},
|
|
1227
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1228
|
+
success: zod463.ZodLiteral<false>;
|
|
1229
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1230
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1231
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1232
1232
|
};
|
|
1233
1233
|
};
|
|
1234
1234
|
};
|
|
@@ -1241,7 +1241,7 @@ declare const revokeSessionsRoute: {
|
|
|
1241
1241
|
session: Session;
|
|
1242
1242
|
user: User;
|
|
1243
1243
|
};
|
|
1244
|
-
}>, string, {}>, next:
|
|
1244
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & TypedResponse<{
|
|
1245
1245
|
success: false;
|
|
1246
1246
|
code?: string | undefined;
|
|
1247
1247
|
message?: string | undefined;
|
|
@@ -1254,10 +1254,10 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1254
1254
|
description: string;
|
|
1255
1255
|
content: {
|
|
1256
1256
|
"application/json": {
|
|
1257
|
-
schema:
|
|
1258
|
-
success:
|
|
1259
|
-
message:
|
|
1260
|
-
},
|
|
1257
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1258
|
+
success: zod463.ZodLiteral<true>;
|
|
1259
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1260
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1261
1261
|
};
|
|
1262
1262
|
};
|
|
1263
1263
|
};
|
|
@@ -1270,7 +1270,7 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1270
1270
|
session: Session;
|
|
1271
1271
|
user: User;
|
|
1272
1272
|
};
|
|
1273
|
-
}>, string, {}>, next:
|
|
1273
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & TypedResponse<{
|
|
1274
1274
|
success: false;
|
|
1275
1275
|
code?: string | undefined;
|
|
1276
1276
|
message?: string | undefined;
|
|
@@ -1285,10 +1285,10 @@ declare const signOutRoute: {
|
|
|
1285
1285
|
description: string;
|
|
1286
1286
|
content: {
|
|
1287
1287
|
"application/json": {
|
|
1288
|
-
schema:
|
|
1289
|
-
success:
|
|
1290
|
-
message:
|
|
1291
|
-
},
|
|
1288
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1289
|
+
success: zod463.ZodLiteral<true>;
|
|
1290
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1291
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1292
1292
|
};
|
|
1293
1293
|
};
|
|
1294
1294
|
};
|
|
@@ -1297,11 +1297,11 @@ declare const signOutRoute: {
|
|
|
1297
1297
|
description: string;
|
|
1298
1298
|
content: {
|
|
1299
1299
|
"application/json": {
|
|
1300
|
-
schema:
|
|
1301
|
-
success:
|
|
1302
|
-
code:
|
|
1303
|
-
message:
|
|
1304
|
-
},
|
|
1300
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1301
|
+
success: zod463.ZodLiteral<false>;
|
|
1302
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1303
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1304
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1305
1305
|
};
|
|
1306
1306
|
};
|
|
1307
1307
|
};
|
|
@@ -1319,10 +1319,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1319
1319
|
description: string;
|
|
1320
1320
|
content: {
|
|
1321
1321
|
"application/json": {
|
|
1322
|
-
schema:
|
|
1323
|
-
success:
|
|
1324
|
-
message:
|
|
1325
|
-
},
|
|
1322
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1323
|
+
success: zod463.ZodLiteral<true>;
|
|
1324
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1325
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1326
1326
|
};
|
|
1327
1327
|
};
|
|
1328
1328
|
};
|
|
@@ -1331,11 +1331,11 @@ declare const requestPasswordResetRoute: {
|
|
|
1331
1331
|
description: string;
|
|
1332
1332
|
content: {
|
|
1333
1333
|
"application/json": {
|
|
1334
|
-
schema:
|
|
1335
|
-
success:
|
|
1336
|
-
code:
|
|
1337
|
-
message:
|
|
1338
|
-
},
|
|
1334
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1335
|
+
success: zod463.ZodLiteral<false>;
|
|
1336
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1337
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1338
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1339
1339
|
};
|
|
1340
1340
|
};
|
|
1341
1341
|
};
|
|
@@ -1344,7 +1344,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1344
1344
|
description: string;
|
|
1345
1345
|
content: {
|
|
1346
1346
|
"application/json": {
|
|
1347
|
-
schema:
|
|
1347
|
+
schema: zod463.ZodType<{
|
|
1348
1348
|
success: false;
|
|
1349
1349
|
} & {
|
|
1350
1350
|
errors: string[];
|
|
@@ -1356,7 +1356,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1356
1356
|
errors: string[];
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
|
-
}, unknown,
|
|
1359
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1360
1360
|
success: false;
|
|
1361
1361
|
} & {
|
|
1362
1362
|
errors: string[];
|
|
@@ -1381,10 +1381,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1381
1381
|
description?: string;
|
|
1382
1382
|
content: {
|
|
1383
1383
|
"application/json": {
|
|
1384
|
-
schema:
|
|
1385
|
-
email:
|
|
1386
|
-
redirectTo:
|
|
1387
|
-
},
|
|
1384
|
+
schema: zod463.ZodObject<{
|
|
1385
|
+
email: zod463.ZodEmail;
|
|
1386
|
+
redirectTo: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
1387
|
+
}, zod_v4_core83.$strip>;
|
|
1388
1388
|
};
|
|
1389
1389
|
};
|
|
1390
1390
|
required: true;
|
|
@@ -1398,7 +1398,7 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1398
1398
|
description: string;
|
|
1399
1399
|
content: {
|
|
1400
1400
|
"application/json": {
|
|
1401
|
-
schema:
|
|
1401
|
+
schema: zod463.ZodType<unknown, unknown, zod_v4_core83.$ZodTypeInternals<unknown, unknown>>;
|
|
1402
1402
|
};
|
|
1403
1403
|
};
|
|
1404
1404
|
};
|
|
@@ -1410,15 +1410,15 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1410
1410
|
operationId: "requestPasswordResetCallback";
|
|
1411
1411
|
path: "/reset-password/:token";
|
|
1412
1412
|
method: "get";
|
|
1413
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1413
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono110.Next) => Promise<void | Response>];
|
|
1414
1414
|
request: {
|
|
1415
|
-
params:
|
|
1416
|
-
token:
|
|
1417
|
-
},
|
|
1415
|
+
params: zod463.ZodObject<{
|
|
1416
|
+
token: zod463.ZodString;
|
|
1417
|
+
}, zod_v4_core83.$strip>;
|
|
1418
1418
|
} & {
|
|
1419
|
-
query:
|
|
1420
|
-
callbackURL:
|
|
1421
|
-
},
|
|
1419
|
+
query: zod463.ZodObject<{
|
|
1420
|
+
callbackURL: zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string, string>, zod463.ZodURL>, zod463.ZodTransform<string, string>>;
|
|
1421
|
+
}, zod_v4_core83.$strip>;
|
|
1422
1422
|
};
|
|
1423
1423
|
getRoutingPath: () => "/reset-password/:token";
|
|
1424
1424
|
};
|
|
@@ -1428,10 +1428,10 @@ declare const resetPasswordRoute: {
|
|
|
1428
1428
|
description: string;
|
|
1429
1429
|
content: {
|
|
1430
1430
|
"application/json": {
|
|
1431
|
-
schema:
|
|
1432
|
-
success:
|
|
1433
|
-
message:
|
|
1434
|
-
},
|
|
1431
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1432
|
+
success: zod463.ZodLiteral<true>;
|
|
1433
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1434
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1435
1435
|
};
|
|
1436
1436
|
};
|
|
1437
1437
|
};
|
|
@@ -1440,11 +1440,11 @@ declare const resetPasswordRoute: {
|
|
|
1440
1440
|
description: string;
|
|
1441
1441
|
content: {
|
|
1442
1442
|
"application/json": {
|
|
1443
|
-
schema:
|
|
1444
|
-
success:
|
|
1445
|
-
code:
|
|
1446
|
-
message:
|
|
1447
|
-
},
|
|
1443
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1444
|
+
success: zod463.ZodLiteral<false>;
|
|
1445
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1446
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1447
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1448
1448
|
};
|
|
1449
1449
|
};
|
|
1450
1450
|
};
|
|
@@ -1453,7 +1453,7 @@ declare const resetPasswordRoute: {
|
|
|
1453
1453
|
description: string;
|
|
1454
1454
|
content: {
|
|
1455
1455
|
"application/json": {
|
|
1456
|
-
schema:
|
|
1456
|
+
schema: zod463.ZodType<{
|
|
1457
1457
|
success: false;
|
|
1458
1458
|
} & {
|
|
1459
1459
|
errors: string[];
|
|
@@ -1465,7 +1465,7 @@ declare const resetPasswordRoute: {
|
|
|
1465
1465
|
errors: string[];
|
|
1466
1466
|
};
|
|
1467
1467
|
};
|
|
1468
|
-
}, unknown,
|
|
1468
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1469
1469
|
success: false;
|
|
1470
1470
|
} & {
|
|
1471
1471
|
errors: string[];
|
|
@@ -1490,18 +1490,18 @@ declare const resetPasswordRoute: {
|
|
|
1490
1490
|
description?: string;
|
|
1491
1491
|
content: {
|
|
1492
1492
|
"application/json": {
|
|
1493
|
-
schema:
|
|
1494
|
-
newPassword:
|
|
1495
|
-
token:
|
|
1496
|
-
},
|
|
1493
|
+
schema: zod463.ZodObject<{
|
|
1494
|
+
newPassword: zod463.ZodString;
|
|
1495
|
+
token: zod463.ZodOptional<zod463.ZodString>;
|
|
1496
|
+
}, zod_v4_core83.$strip>;
|
|
1497
1497
|
};
|
|
1498
1498
|
};
|
|
1499
1499
|
required: true;
|
|
1500
1500
|
};
|
|
1501
1501
|
} & {
|
|
1502
|
-
query:
|
|
1503
|
-
token:
|
|
1504
|
-
},
|
|
1502
|
+
query: zod463.ZodObject<{
|
|
1503
|
+
token: zod463.ZodOptional<zod463.ZodString>;
|
|
1504
|
+
}, zod_v4_core83.$strip>;
|
|
1505
1505
|
};
|
|
1506
1506
|
getRoutingPath: () => "/reset-password";
|
|
1507
1507
|
};
|
|
@@ -1513,10 +1513,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
1513
1513
|
description: string;
|
|
1514
1514
|
content: {
|
|
1515
1515
|
"application/json": {
|
|
1516
|
-
schema:
|
|
1517
|
-
success:
|
|
1518
|
-
message:
|
|
1519
|
-
},
|
|
1516
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1517
|
+
success: zod463.ZodLiteral<true>;
|
|
1518
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1519
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1520
1520
|
};
|
|
1521
1521
|
};
|
|
1522
1522
|
};
|
|
@@ -1525,11 +1525,11 @@ declare const sendVerificationEmailRoute: {
|
|
|
1525
1525
|
description: string;
|
|
1526
1526
|
content: {
|
|
1527
1527
|
"application/json": {
|
|
1528
|
-
schema:
|
|
1529
|
-
success:
|
|
1530
|
-
code:
|
|
1531
|
-
message:
|
|
1532
|
-
},
|
|
1528
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1529
|
+
success: zod463.ZodLiteral<false>;
|
|
1530
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1531
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1532
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1533
1533
|
};
|
|
1534
1534
|
};
|
|
1535
1535
|
};
|
|
@@ -1538,7 +1538,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
1538
1538
|
description: string;
|
|
1539
1539
|
content: {
|
|
1540
1540
|
"application/json": {
|
|
1541
|
-
schema:
|
|
1541
|
+
schema: zod463.ZodType<{
|
|
1542
1542
|
success: false;
|
|
1543
1543
|
} & {
|
|
1544
1544
|
errors: string[];
|
|
@@ -1550,7 +1550,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
1550
1550
|
errors: string[];
|
|
1551
1551
|
};
|
|
1552
1552
|
};
|
|
1553
|
-
}, unknown,
|
|
1553
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1554
1554
|
success: false;
|
|
1555
1555
|
} & {
|
|
1556
1556
|
errors: string[];
|
|
@@ -1575,10 +1575,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
1575
1575
|
description?: string;
|
|
1576
1576
|
content: {
|
|
1577
1577
|
"application/json": {
|
|
1578
|
-
schema:
|
|
1579
|
-
email:
|
|
1580
|
-
callbackURL:
|
|
1581
|
-
},
|
|
1578
|
+
schema: zod463.ZodObject<{
|
|
1579
|
+
email: zod463.ZodEmail;
|
|
1580
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
1581
|
+
}, zod_v4_core83.$strip>;
|
|
1582
1582
|
};
|
|
1583
1583
|
};
|
|
1584
1584
|
required: true;
|
|
@@ -1592,23 +1592,23 @@ declare const verifyEmailRoute: {
|
|
|
1592
1592
|
description: string;
|
|
1593
1593
|
content: {
|
|
1594
1594
|
"application/json": {
|
|
1595
|
-
schema:
|
|
1596
|
-
success:
|
|
1597
|
-
token:
|
|
1598
|
-
user:
|
|
1599
|
-
id:
|
|
1600
|
-
createdAt:
|
|
1601
|
-
updatedAt:
|
|
1602
|
-
email:
|
|
1603
|
-
emailVerified:
|
|
1604
|
-
name:
|
|
1605
|
-
image:
|
|
1606
|
-
},
|
|
1607
|
-
},
|
|
1608
|
-
success:
|
|
1609
|
-
token:
|
|
1610
|
-
user:
|
|
1611
|
-
},
|
|
1595
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
1596
|
+
success: zod463.ZodLiteral<true>;
|
|
1597
|
+
token: zod463.ZodDefault<zod463.ZodNullable<zod463.ZodString>>;
|
|
1598
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1599
|
+
id: zod463.ZodString;
|
|
1600
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1601
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1602
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
1603
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
1604
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
1605
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1606
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
1607
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
1608
|
+
success: zod463.ZodLiteral<false>;
|
|
1609
|
+
token: zod463.ZodDefault<zod463.ZodNull>;
|
|
1610
|
+
user: zod463.ZodDefault<zod463.ZodNull>;
|
|
1611
|
+
}, zod_v4_core83.$strip>], "success">, zod463.ZodTransform<{
|
|
1612
1612
|
success: true;
|
|
1613
1613
|
data: {
|
|
1614
1614
|
success: true;
|
|
@@ -1622,7 +1622,7 @@ declare const verifyEmailRoute: {
|
|
|
1622
1622
|
emailVerified: boolean;
|
|
1623
1623
|
name?: string | undefined;
|
|
1624
1624
|
image?: string | null | undefined;
|
|
1625
|
-
} &
|
|
1625
|
+
} & zod463.$brand<"user">;
|
|
1626
1626
|
} | {
|
|
1627
1627
|
success: false;
|
|
1628
1628
|
token: null;
|
|
@@ -1640,7 +1640,7 @@ declare const verifyEmailRoute: {
|
|
|
1640
1640
|
emailVerified: boolean;
|
|
1641
1641
|
name?: string | undefined;
|
|
1642
1642
|
image?: string | null | undefined;
|
|
1643
|
-
} &
|
|
1643
|
+
} & zod463.$brand<"user">;
|
|
1644
1644
|
} | {
|
|
1645
1645
|
success: false;
|
|
1646
1646
|
token: null;
|
|
@@ -1654,11 +1654,11 @@ declare const verifyEmailRoute: {
|
|
|
1654
1654
|
description: string;
|
|
1655
1655
|
content: {
|
|
1656
1656
|
"application/json": {
|
|
1657
|
-
schema:
|
|
1658
|
-
success:
|
|
1659
|
-
code:
|
|
1660
|
-
message:
|
|
1661
|
-
},
|
|
1657
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1658
|
+
success: zod463.ZodLiteral<false>;
|
|
1659
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1660
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1661
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1662
1662
|
};
|
|
1663
1663
|
};
|
|
1664
1664
|
};
|
|
@@ -1667,11 +1667,11 @@ declare const verifyEmailRoute: {
|
|
|
1667
1667
|
description: string;
|
|
1668
1668
|
content: {
|
|
1669
1669
|
"application/json": {
|
|
1670
|
-
schema:
|
|
1671
|
-
success:
|
|
1672
|
-
code:
|
|
1673
|
-
message:
|
|
1674
|
-
},
|
|
1670
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1671
|
+
success: zod463.ZodLiteral<false>;
|
|
1672
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1673
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1674
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1675
1675
|
};
|
|
1676
1676
|
};
|
|
1677
1677
|
};
|
|
@@ -1684,7 +1684,7 @@ declare const verifyEmailRoute: {
|
|
|
1684
1684
|
description: string;
|
|
1685
1685
|
content: {
|
|
1686
1686
|
"application/json": {
|
|
1687
|
-
schema:
|
|
1687
|
+
schema: zod463.ZodType<{
|
|
1688
1688
|
success: false;
|
|
1689
1689
|
} & {
|
|
1690
1690
|
errors: string[];
|
|
@@ -1696,7 +1696,7 @@ declare const verifyEmailRoute: {
|
|
|
1696
1696
|
errors: string[];
|
|
1697
1697
|
};
|
|
1698
1698
|
};
|
|
1699
|
-
}, unknown,
|
|
1699
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1700
1700
|
success: false;
|
|
1701
1701
|
} & {
|
|
1702
1702
|
errors: string[];
|
|
@@ -1716,21 +1716,21 @@ declare const verifyEmailRoute: {
|
|
|
1716
1716
|
operationId: "verifyEmail";
|
|
1717
1717
|
path: "/verify-email";
|
|
1718
1718
|
method: "get";
|
|
1719
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1719
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono110.Next) => Promise<void | Response>, (ctx: Context<ContextVars<{
|
|
1720
1720
|
token: {
|
|
1721
1721
|
email: string;
|
|
1722
1722
|
updateTo?: string | undefined;
|
|
1723
1723
|
};
|
|
1724
|
-
}>, string, {}>, next:
|
|
1724
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types87.JSONRespondReturn<{
|
|
1725
1725
|
success: false;
|
|
1726
1726
|
code: string;
|
|
1727
1727
|
message: string;
|
|
1728
1728
|
}, 400 | 401>>];
|
|
1729
1729
|
request: {
|
|
1730
|
-
query:
|
|
1731
|
-
token:
|
|
1732
|
-
callbackURL:
|
|
1733
|
-
},
|
|
1730
|
+
query: zod463.ZodObject<{
|
|
1731
|
+
token: zod463.ZodString;
|
|
1732
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
1733
|
+
}, zod_v4_core83.$strip>;
|
|
1734
1734
|
};
|
|
1735
1735
|
getRoutingPath: () => "/verify-email";
|
|
1736
1736
|
};
|
|
@@ -1742,10 +1742,10 @@ declare const updateUserRoute: {
|
|
|
1742
1742
|
description: string;
|
|
1743
1743
|
content: {
|
|
1744
1744
|
"application/json": {
|
|
1745
|
-
schema:
|
|
1746
|
-
success:
|
|
1747
|
-
message:
|
|
1748
|
-
},
|
|
1745
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1746
|
+
success: zod463.ZodLiteral<true>;
|
|
1747
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1748
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
1749
1749
|
};
|
|
1750
1750
|
};
|
|
1751
1751
|
};
|
|
@@ -1754,7 +1754,7 @@ declare const updateUserRoute: {
|
|
|
1754
1754
|
description: string;
|
|
1755
1755
|
content: {
|
|
1756
1756
|
"application/json": {
|
|
1757
|
-
schema:
|
|
1757
|
+
schema: zod463.ZodType<{
|
|
1758
1758
|
success: false;
|
|
1759
1759
|
} & {
|
|
1760
1760
|
errors: string[];
|
|
@@ -1769,7 +1769,7 @@ declare const updateUserRoute: {
|
|
|
1769
1769
|
errors: string[];
|
|
1770
1770
|
};
|
|
1771
1771
|
};
|
|
1772
|
-
}, unknown,
|
|
1772
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1773
1773
|
success: false;
|
|
1774
1774
|
} & {
|
|
1775
1775
|
errors: string[];
|
|
@@ -1793,11 +1793,11 @@ declare const updateUserRoute: {
|
|
|
1793
1793
|
description: string;
|
|
1794
1794
|
content: {
|
|
1795
1795
|
"application/json": {
|
|
1796
|
-
schema:
|
|
1797
|
-
success:
|
|
1798
|
-
code:
|
|
1799
|
-
message:
|
|
1800
|
-
},
|
|
1796
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1797
|
+
success: zod463.ZodLiteral<false>;
|
|
1798
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1799
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1800
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1801
1801
|
};
|
|
1802
1802
|
};
|
|
1803
1803
|
};
|
|
@@ -1805,7 +1805,7 @@ declare const updateUserRoute: {
|
|
|
1805
1805
|
operationId: "updateUser";
|
|
1806
1806
|
path: "/update-user";
|
|
1807
1807
|
method: "post";
|
|
1808
|
-
middleware: [(ctx:
|
|
1808
|
+
middleware: [(ctx: hono110.Context<ContextVars<object & {
|
|
1809
1809
|
session: {
|
|
1810
1810
|
session: {
|
|
1811
1811
|
[x: string]: unknown;
|
|
@@ -1829,7 +1829,7 @@ declare const updateUserRoute: {
|
|
|
1829
1829
|
image?: string | null;
|
|
1830
1830
|
};
|
|
1831
1831
|
};
|
|
1832
|
-
}>, string, {}>, next:
|
|
1832
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
1833
1833
|
success: false;
|
|
1834
1834
|
code?: string | undefined;
|
|
1835
1835
|
message?: string | undefined;
|
|
@@ -1839,10 +1839,10 @@ declare const updateUserRoute: {
|
|
|
1839
1839
|
description?: string;
|
|
1840
1840
|
content: {
|
|
1841
1841
|
"application/json": {
|
|
1842
|
-
schema:
|
|
1843
|
-
name:
|
|
1844
|
-
image:
|
|
1845
|
-
},
|
|
1842
|
+
schema: zod463.ZodObject<{
|
|
1843
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
1844
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1845
|
+
}, zod_v4_core83.$loose>;
|
|
1846
1846
|
};
|
|
1847
1847
|
};
|
|
1848
1848
|
required: true;
|
|
@@ -1856,29 +1856,29 @@ declare const changePasswordRoute: {
|
|
|
1856
1856
|
description: string;
|
|
1857
1857
|
content: {
|
|
1858
1858
|
"application/json": {
|
|
1859
|
-
schema:
|
|
1860
|
-
success:
|
|
1861
|
-
token:
|
|
1862
|
-
user:
|
|
1863
|
-
id:
|
|
1864
|
-
createdAt:
|
|
1865
|
-
updatedAt:
|
|
1866
|
-
email:
|
|
1867
|
-
emailVerified:
|
|
1868
|
-
name:
|
|
1869
|
-
image:
|
|
1870
|
-
},
|
|
1871
|
-
},
|
|
1872
|
-
success:
|
|
1873
|
-
token:
|
|
1874
|
-
user:
|
|
1875
|
-
},
|
|
1876
|
-
redirect:
|
|
1877
|
-
url:
|
|
1878
|
-
},
|
|
1879
|
-
redirect:
|
|
1880
|
-
url:
|
|
1881
|
-
},
|
|
1859
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodIntersection<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
1860
|
+
success: zod463.ZodLiteral<true>;
|
|
1861
|
+
token: zod463.ZodDefault<zod463.ZodNullable<zod463.ZodString>>;
|
|
1862
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1863
|
+
id: zod463.ZodString;
|
|
1864
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1865
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
1866
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
1867
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
1868
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
1869
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1870
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
1871
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
1872
|
+
success: zod463.ZodLiteral<false>;
|
|
1873
|
+
token: zod463.ZodDefault<zod463.ZodNull>;
|
|
1874
|
+
user: zod463.ZodDefault<zod463.ZodNull>;
|
|
1875
|
+
}, zod_v4_core83.$strip>], "success">, zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
1876
|
+
redirect: zod463.ZodLiteral<false>;
|
|
1877
|
+
url: zod463.ZodDefault<zod463.ZodNull>;
|
|
1878
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
1879
|
+
redirect: zod463.ZodLiteral<true>;
|
|
1880
|
+
url: zod463.ZodURL;
|
|
1881
|
+
}, zod_v4_core83.$strip>], "redirect">>, zod463.ZodTransform<{
|
|
1882
1882
|
success: true;
|
|
1883
1883
|
data: ({
|
|
1884
1884
|
success: true;
|
|
@@ -1892,7 +1892,7 @@ declare const changePasswordRoute: {
|
|
|
1892
1892
|
emailVerified: boolean;
|
|
1893
1893
|
name?: string | undefined;
|
|
1894
1894
|
image?: string | null | undefined;
|
|
1895
|
-
} &
|
|
1895
|
+
} & zod463.$brand<"user">;
|
|
1896
1896
|
} | {
|
|
1897
1897
|
success: false;
|
|
1898
1898
|
token: null;
|
|
@@ -1916,7 +1916,7 @@ declare const changePasswordRoute: {
|
|
|
1916
1916
|
emailVerified: boolean;
|
|
1917
1917
|
name?: string | undefined;
|
|
1918
1918
|
image?: string | null | undefined;
|
|
1919
|
-
} &
|
|
1919
|
+
} & zod463.$brand<"user">;
|
|
1920
1920
|
} | {
|
|
1921
1921
|
success: false;
|
|
1922
1922
|
token: null;
|
|
@@ -1936,11 +1936,11 @@ declare const changePasswordRoute: {
|
|
|
1936
1936
|
description: string;
|
|
1937
1937
|
content: {
|
|
1938
1938
|
"application/json": {
|
|
1939
|
-
schema:
|
|
1940
|
-
success:
|
|
1941
|
-
code:
|
|
1942
|
-
message:
|
|
1943
|
-
},
|
|
1939
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1940
|
+
success: zod463.ZodLiteral<false>;
|
|
1941
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1942
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1943
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1944
1944
|
};
|
|
1945
1945
|
};
|
|
1946
1946
|
};
|
|
@@ -1949,11 +1949,11 @@ declare const changePasswordRoute: {
|
|
|
1949
1949
|
description: string;
|
|
1950
1950
|
content: {
|
|
1951
1951
|
"application/json": {
|
|
1952
|
-
schema:
|
|
1953
|
-
success:
|
|
1954
|
-
code:
|
|
1955
|
-
message:
|
|
1956
|
-
},
|
|
1952
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
1953
|
+
success: zod463.ZodLiteral<false>;
|
|
1954
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
1955
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
1956
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
1957
1957
|
};
|
|
1958
1958
|
};
|
|
1959
1959
|
};
|
|
@@ -1962,7 +1962,7 @@ declare const changePasswordRoute: {
|
|
|
1962
1962
|
description: string;
|
|
1963
1963
|
content: {
|
|
1964
1964
|
"application/json": {
|
|
1965
|
-
schema:
|
|
1965
|
+
schema: zod463.ZodType<{
|
|
1966
1966
|
success: false;
|
|
1967
1967
|
} & {
|
|
1968
1968
|
errors: string[];
|
|
@@ -1977,7 +1977,7 @@ declare const changePasswordRoute: {
|
|
|
1977
1977
|
errors: string[];
|
|
1978
1978
|
};
|
|
1979
1979
|
};
|
|
1980
|
-
}, unknown,
|
|
1980
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
1981
1981
|
success: false;
|
|
1982
1982
|
} & {
|
|
1983
1983
|
errors: string[];
|
|
@@ -2001,11 +2001,11 @@ declare const changePasswordRoute: {
|
|
|
2001
2001
|
description: string;
|
|
2002
2002
|
content: {
|
|
2003
2003
|
"application/json": {
|
|
2004
|
-
schema:
|
|
2005
|
-
success:
|
|
2006
|
-
code:
|
|
2007
|
-
message:
|
|
2008
|
-
},
|
|
2004
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2005
|
+
success: zod463.ZodLiteral<false>;
|
|
2006
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2007
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2008
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2009
2009
|
};
|
|
2010
2010
|
};
|
|
2011
2011
|
};
|
|
@@ -2013,12 +2013,12 @@ declare const changePasswordRoute: {
|
|
|
2013
2013
|
operationId: "changePassword";
|
|
2014
2014
|
path: "/change-password";
|
|
2015
2015
|
method: "post";
|
|
2016
|
-
middleware: [(ctx:
|
|
2016
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
2017
2017
|
session: {
|
|
2018
2018
|
session: _faire_auth_core_db16.Session;
|
|
2019
2019
|
user: User;
|
|
2020
2020
|
};
|
|
2021
|
-
}>, string, {}>, next:
|
|
2021
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2022
2022
|
success: false;
|
|
2023
2023
|
code?: string | undefined;
|
|
2024
2024
|
message?: string | undefined;
|
|
@@ -2028,11 +2028,11 @@ declare const changePasswordRoute: {
|
|
|
2028
2028
|
description?: string;
|
|
2029
2029
|
content: {
|
|
2030
2030
|
"application/json": {
|
|
2031
|
-
schema:
|
|
2032
|
-
newPassword:
|
|
2033
|
-
currentPassword:
|
|
2034
|
-
revokeOtherSessions:
|
|
2035
|
-
},
|
|
2031
|
+
schema: zod463.ZodObject<{
|
|
2032
|
+
newPassword: zod463.ZodString;
|
|
2033
|
+
currentPassword: zod463.ZodString;
|
|
2034
|
+
revokeOtherSessions: zod463.ZodOptional<zod463.ZodBoolean>;
|
|
2035
|
+
}, zod_v4_core83.$strip>;
|
|
2036
2036
|
};
|
|
2037
2037
|
};
|
|
2038
2038
|
required: true;
|
|
@@ -2046,10 +2046,10 @@ declare const setPasswordRoute: {
|
|
|
2046
2046
|
description: string;
|
|
2047
2047
|
content: {
|
|
2048
2048
|
"application/json": {
|
|
2049
|
-
schema:
|
|
2050
|
-
success:
|
|
2051
|
-
message:
|
|
2052
|
-
},
|
|
2049
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2050
|
+
success: zod463.ZodLiteral<true>;
|
|
2051
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2052
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
2053
2053
|
};
|
|
2054
2054
|
};
|
|
2055
2055
|
};
|
|
@@ -2058,11 +2058,11 @@ declare const setPasswordRoute: {
|
|
|
2058
2058
|
description: string;
|
|
2059
2059
|
content: {
|
|
2060
2060
|
"application/json": {
|
|
2061
|
-
schema:
|
|
2062
|
-
success:
|
|
2063
|
-
code:
|
|
2064
|
-
message:
|
|
2065
|
-
},
|
|
2061
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2062
|
+
success: zod463.ZodLiteral<false>;
|
|
2063
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2064
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2065
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2066
2066
|
};
|
|
2067
2067
|
};
|
|
2068
2068
|
};
|
|
@@ -2071,7 +2071,7 @@ declare const setPasswordRoute: {
|
|
|
2071
2071
|
description: string;
|
|
2072
2072
|
content: {
|
|
2073
2073
|
"application/json": {
|
|
2074
|
-
schema:
|
|
2074
|
+
schema: zod463.ZodType<{
|
|
2075
2075
|
success: false;
|
|
2076
2076
|
} & {
|
|
2077
2077
|
errors: string[];
|
|
@@ -2080,7 +2080,7 @@ declare const setPasswordRoute: {
|
|
|
2080
2080
|
errors: string[];
|
|
2081
2081
|
};
|
|
2082
2082
|
};
|
|
2083
|
-
}, unknown,
|
|
2083
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2084
2084
|
success: false;
|
|
2085
2085
|
} & {
|
|
2086
2086
|
errors: string[];
|
|
@@ -2099,12 +2099,12 @@ declare const setPasswordRoute: {
|
|
|
2099
2099
|
method: "post";
|
|
2100
2100
|
hide: true;
|
|
2101
2101
|
SERVER_ONLY: true;
|
|
2102
|
-
middleware: [(ctx:
|
|
2102
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
2103
2103
|
session: {
|
|
2104
2104
|
session: _faire_auth_core_db16.Session;
|
|
2105
2105
|
user: User;
|
|
2106
2106
|
};
|
|
2107
|
-
}>, string, {}>, next:
|
|
2107
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2108
2108
|
success: false;
|
|
2109
2109
|
code?: string | undefined;
|
|
2110
2110
|
message?: string | undefined;
|
|
@@ -2114,9 +2114,9 @@ declare const setPasswordRoute: {
|
|
|
2114
2114
|
description?: string;
|
|
2115
2115
|
content: {
|
|
2116
2116
|
"application/json": {
|
|
2117
|
-
schema:
|
|
2118
|
-
newPassword:
|
|
2119
|
-
},
|
|
2117
|
+
schema: zod463.ZodObject<{
|
|
2118
|
+
newPassword: zod463.ZodString;
|
|
2119
|
+
}, zod_v4_core83.$strip>;
|
|
2120
2120
|
};
|
|
2121
2121
|
};
|
|
2122
2122
|
required: true;
|
|
@@ -2130,10 +2130,10 @@ declare const deleteUserRoute: {
|
|
|
2130
2130
|
description: string;
|
|
2131
2131
|
content: {
|
|
2132
2132
|
"application/json": {
|
|
2133
|
-
schema:
|
|
2134
|
-
success:
|
|
2135
|
-
message:
|
|
2136
|
-
},
|
|
2133
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2134
|
+
success: zod463.ZodLiteral<true>;
|
|
2135
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2136
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
2137
2137
|
};
|
|
2138
2138
|
};
|
|
2139
2139
|
};
|
|
@@ -2146,11 +2146,11 @@ declare const deleteUserRoute: {
|
|
|
2146
2146
|
description: string;
|
|
2147
2147
|
content: {
|
|
2148
2148
|
"application/json": {
|
|
2149
|
-
schema:
|
|
2150
|
-
success:
|
|
2151
|
-
code:
|
|
2152
|
-
message:
|
|
2153
|
-
},
|
|
2149
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2150
|
+
success: zod463.ZodLiteral<false>;
|
|
2151
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2152
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2153
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2154
2154
|
};
|
|
2155
2155
|
};
|
|
2156
2156
|
};
|
|
@@ -2159,11 +2159,11 @@ declare const deleteUserRoute: {
|
|
|
2159
2159
|
description: string;
|
|
2160
2160
|
content: {
|
|
2161
2161
|
"application/json": {
|
|
2162
|
-
schema:
|
|
2163
|
-
success:
|
|
2164
|
-
code:
|
|
2165
|
-
message:
|
|
2166
|
-
},
|
|
2162
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2163
|
+
success: zod463.ZodLiteral<false>;
|
|
2164
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2165
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2166
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2167
2167
|
};
|
|
2168
2168
|
};
|
|
2169
2169
|
};
|
|
@@ -2172,7 +2172,7 @@ declare const deleteUserRoute: {
|
|
|
2172
2172
|
description: string;
|
|
2173
2173
|
content: {
|
|
2174
2174
|
"application/json": {
|
|
2175
|
-
schema:
|
|
2175
|
+
schema: zod463.ZodType<{
|
|
2176
2176
|
success: false;
|
|
2177
2177
|
} & {
|
|
2178
2178
|
errors: string[];
|
|
@@ -2187,7 +2187,7 @@ declare const deleteUserRoute: {
|
|
|
2187
2187
|
errors: string[];
|
|
2188
2188
|
};
|
|
2189
2189
|
};
|
|
2190
|
-
}, unknown,
|
|
2190
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2191
2191
|
success: false;
|
|
2192
2192
|
} & {
|
|
2193
2193
|
errors: string[];
|
|
@@ -2210,12 +2210,12 @@ declare const deleteUserRoute: {
|
|
|
2210
2210
|
operationId: "deleteUser";
|
|
2211
2211
|
path: "/delete-user";
|
|
2212
2212
|
method: "post";
|
|
2213
|
-
middleware: [(ctx:
|
|
2213
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
2214
2214
|
session: {
|
|
2215
2215
|
session: _faire_auth_core_db16.Session;
|
|
2216
2216
|
user: User;
|
|
2217
2217
|
};
|
|
2218
|
-
}>, string, {}>, next:
|
|
2218
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2219
2219
|
success: false;
|
|
2220
2220
|
code?: string | undefined;
|
|
2221
2221
|
message?: string | undefined;
|
|
@@ -2225,11 +2225,11 @@ declare const deleteUserRoute: {
|
|
|
2225
2225
|
description?: string;
|
|
2226
2226
|
content: {
|
|
2227
2227
|
"application/json": {
|
|
2228
|
-
schema:
|
|
2229
|
-
callbackURL:
|
|
2230
|
-
password:
|
|
2231
|
-
token:
|
|
2232
|
-
},
|
|
2228
|
+
schema: zod463.ZodObject<{
|
|
2229
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
2230
|
+
password: zod463.ZodOptional<zod463.ZodString>;
|
|
2231
|
+
token: zod463.ZodOptional<zod463.ZodString>;
|
|
2232
|
+
}, zod_v4_core83.$strip>;
|
|
2233
2233
|
};
|
|
2234
2234
|
};
|
|
2235
2235
|
required: true;
|
|
@@ -2243,10 +2243,10 @@ declare const deleteUserCallbackRoute: {
|
|
|
2243
2243
|
description: string;
|
|
2244
2244
|
content: {
|
|
2245
2245
|
"application/json": {
|
|
2246
|
-
schema:
|
|
2247
|
-
success:
|
|
2248
|
-
message:
|
|
2249
|
-
},
|
|
2246
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2247
|
+
success: zod463.ZodLiteral<true>;
|
|
2248
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2249
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
2250
2250
|
};
|
|
2251
2251
|
};
|
|
2252
2252
|
};
|
|
@@ -2259,11 +2259,11 @@ declare const deleteUserCallbackRoute: {
|
|
|
2259
2259
|
description: string;
|
|
2260
2260
|
content: {
|
|
2261
2261
|
"application/json": {
|
|
2262
|
-
schema:
|
|
2263
|
-
success:
|
|
2264
|
-
code:
|
|
2265
|
-
message:
|
|
2266
|
-
},
|
|
2262
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2263
|
+
success: zod463.ZodLiteral<false>;
|
|
2264
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2265
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2266
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2267
2267
|
};
|
|
2268
2268
|
};
|
|
2269
2269
|
};
|
|
@@ -2272,7 +2272,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2272
2272
|
description: string;
|
|
2273
2273
|
content: {
|
|
2274
2274
|
"application/json": {
|
|
2275
|
-
schema:
|
|
2275
|
+
schema: zod463.ZodType<{
|
|
2276
2276
|
success: false;
|
|
2277
2277
|
} & {
|
|
2278
2278
|
errors: string[];
|
|
@@ -2284,7 +2284,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2284
2284
|
errors: string[];
|
|
2285
2285
|
};
|
|
2286
2286
|
};
|
|
2287
|
-
}, unknown,
|
|
2287
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2288
2288
|
success: false;
|
|
2289
2289
|
} & {
|
|
2290
2290
|
errors: string[];
|
|
@@ -2304,7 +2304,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2304
2304
|
operationId: "deleteUserCallback";
|
|
2305
2305
|
path: "/delete-user/callback";
|
|
2306
2306
|
method: "get";
|
|
2307
|
-
middleware: [(ctx:
|
|
2307
|
+
middleware: [(ctx: hono110.Context<ContextVars<object>, string, {}>, next: hono110.Next) => Promise<void | Response>, (ctx: hono110.Context<ContextVars<object & {
|
|
2308
2308
|
session: {
|
|
2309
2309
|
session: {
|
|
2310
2310
|
[x: string]: unknown;
|
|
@@ -2328,16 +2328,16 @@ declare const deleteUserCallbackRoute: {
|
|
|
2328
2328
|
image?: string | null;
|
|
2329
2329
|
};
|
|
2330
2330
|
};
|
|
2331
|
-
}>, string, {}>, next:
|
|
2331
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2332
2332
|
success: false;
|
|
2333
2333
|
code?: string | undefined;
|
|
2334
2334
|
message?: string | undefined;
|
|
2335
2335
|
}, 401>)>];
|
|
2336
2336
|
request: {
|
|
2337
|
-
query:
|
|
2338
|
-
token:
|
|
2339
|
-
callbackURL:
|
|
2340
|
-
},
|
|
2337
|
+
query: zod463.ZodObject<{
|
|
2338
|
+
token: zod463.ZodString;
|
|
2339
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
2340
|
+
}, zod_v4_core83.$strip>;
|
|
2341
2341
|
};
|
|
2342
2342
|
getRoutingPath: () => "/delete-user/callback";
|
|
2343
2343
|
};
|
|
@@ -2347,10 +2347,10 @@ declare const changeEmailRoute: {
|
|
|
2347
2347
|
description: string;
|
|
2348
2348
|
content: {
|
|
2349
2349
|
"application/json": {
|
|
2350
|
-
schema:
|
|
2351
|
-
success:
|
|
2352
|
-
message:
|
|
2353
|
-
},
|
|
2350
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2351
|
+
success: zod463.ZodLiteral<true>;
|
|
2352
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2353
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
2354
2354
|
};
|
|
2355
2355
|
};
|
|
2356
2356
|
};
|
|
@@ -2359,11 +2359,11 @@ declare const changeEmailRoute: {
|
|
|
2359
2359
|
description: string;
|
|
2360
2360
|
content: {
|
|
2361
2361
|
"application/json": {
|
|
2362
|
-
schema:
|
|
2363
|
-
success:
|
|
2364
|
-
code:
|
|
2365
|
-
message:
|
|
2366
|
-
},
|
|
2362
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2363
|
+
success: zod463.ZodLiteral<false>;
|
|
2364
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2365
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2366
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2367
2367
|
};
|
|
2368
2368
|
};
|
|
2369
2369
|
};
|
|
@@ -2372,7 +2372,7 @@ declare const changeEmailRoute: {
|
|
|
2372
2372
|
description: string;
|
|
2373
2373
|
content: {
|
|
2374
2374
|
"application/json": {
|
|
2375
|
-
schema:
|
|
2375
|
+
schema: zod463.ZodType<{
|
|
2376
2376
|
success: false;
|
|
2377
2377
|
} & {
|
|
2378
2378
|
errors: string[];
|
|
@@ -2384,7 +2384,7 @@ declare const changeEmailRoute: {
|
|
|
2384
2384
|
errors: string[];
|
|
2385
2385
|
};
|
|
2386
2386
|
};
|
|
2387
|
-
}, unknown,
|
|
2387
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2388
2388
|
success: false;
|
|
2389
2389
|
} & {
|
|
2390
2390
|
errors: string[];
|
|
@@ -2404,12 +2404,12 @@ declare const changeEmailRoute: {
|
|
|
2404
2404
|
operationId: "changeEmail";
|
|
2405
2405
|
path: "/change-email";
|
|
2406
2406
|
method: "post";
|
|
2407
|
-
middleware: [(ctx:
|
|
2407
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
2408
2408
|
session: {
|
|
2409
2409
|
session: _faire_auth_core_db16.Session;
|
|
2410
2410
|
user: User;
|
|
2411
2411
|
};
|
|
2412
|
-
}>, string, {}>, next:
|
|
2412
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2413
2413
|
success: false;
|
|
2414
2414
|
code?: string | undefined;
|
|
2415
2415
|
message?: string | undefined;
|
|
@@ -2419,10 +2419,10 @@ declare const changeEmailRoute: {
|
|
|
2419
2419
|
description?: string;
|
|
2420
2420
|
content: {
|
|
2421
2421
|
"application/json": {
|
|
2422
|
-
schema:
|
|
2423
|
-
newEmail:
|
|
2424
|
-
callbackURL:
|
|
2425
|
-
},
|
|
2422
|
+
schema: zod463.ZodObject<{
|
|
2423
|
+
newEmail: zod463.ZodEmail;
|
|
2424
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
2425
|
+
}, zod_v4_core83.$strip>;
|
|
2426
2426
|
};
|
|
2427
2427
|
};
|
|
2428
2428
|
required: true;
|
|
@@ -2438,7 +2438,7 @@ declare const errorRoute: {
|
|
|
2438
2438
|
description: string;
|
|
2439
2439
|
content: {
|
|
2440
2440
|
"text/html": {
|
|
2441
|
-
schema:
|
|
2441
|
+
schema: zod463.ZodString;
|
|
2442
2442
|
};
|
|
2443
2443
|
};
|
|
2444
2444
|
};
|
|
@@ -2447,7 +2447,7 @@ declare const errorRoute: {
|
|
|
2447
2447
|
description: string;
|
|
2448
2448
|
content: {
|
|
2449
2449
|
"application/json": {
|
|
2450
|
-
schema:
|
|
2450
|
+
schema: zod463.ZodType<{
|
|
2451
2451
|
success: false;
|
|
2452
2452
|
} & {
|
|
2453
2453
|
errors: string[];
|
|
@@ -2459,7 +2459,7 @@ declare const errorRoute: {
|
|
|
2459
2459
|
errors: string[];
|
|
2460
2460
|
};
|
|
2461
2461
|
};
|
|
2462
|
-
}, unknown,
|
|
2462
|
+
}, unknown, zod463.core.$ZodTypeInternals<{
|
|
2463
2463
|
success: false;
|
|
2464
2464
|
} & {
|
|
2465
2465
|
errors: string[];
|
|
@@ -2482,10 +2482,10 @@ declare const errorRoute: {
|
|
|
2482
2482
|
hide: true;
|
|
2483
2483
|
isAction: false;
|
|
2484
2484
|
request: {
|
|
2485
|
-
query:
|
|
2486
|
-
error:
|
|
2487
|
-
error_description:
|
|
2488
|
-
},
|
|
2485
|
+
query: zod463.ZodObject<{
|
|
2486
|
+
error: zod463.ZodOptional<zod463.ZodString>;
|
|
2487
|
+
error_description: zod463.ZodOptional<zod463.ZodString>;
|
|
2488
|
+
}, zod463.core.$strip>;
|
|
2489
2489
|
};
|
|
2490
2490
|
getRoutingPath: () => "/error";
|
|
2491
2491
|
};
|
|
@@ -2497,10 +2497,10 @@ declare const okRoute: {
|
|
|
2497
2497
|
description: string;
|
|
2498
2498
|
content: {
|
|
2499
2499
|
"application/json": {
|
|
2500
|
-
schema:
|
|
2501
|
-
success:
|
|
2502
|
-
message:
|
|
2503
|
-
},
|
|
2500
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2501
|
+
success: zod463.ZodLiteral<true>;
|
|
2502
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2503
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
2504
2504
|
};
|
|
2505
2505
|
};
|
|
2506
2506
|
};
|
|
@@ -2520,29 +2520,29 @@ declare const signUpEmailRoute: {
|
|
|
2520
2520
|
description: string;
|
|
2521
2521
|
content: {
|
|
2522
2522
|
"application/json": {
|
|
2523
|
-
schema:
|
|
2524
|
-
success:
|
|
2525
|
-
token:
|
|
2526
|
-
user:
|
|
2527
|
-
id:
|
|
2528
|
-
createdAt:
|
|
2529
|
-
updatedAt:
|
|
2530
|
-
email:
|
|
2531
|
-
emailVerified:
|
|
2532
|
-
name:
|
|
2533
|
-
image:
|
|
2534
|
-
},
|
|
2535
|
-
},
|
|
2536
|
-
success:
|
|
2537
|
-
token:
|
|
2538
|
-
user:
|
|
2539
|
-
},
|
|
2540
|
-
redirect:
|
|
2541
|
-
url:
|
|
2542
|
-
},
|
|
2543
|
-
redirect:
|
|
2544
|
-
url:
|
|
2545
|
-
},
|
|
2523
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodIntersection<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
2524
|
+
success: zod463.ZodLiteral<true>;
|
|
2525
|
+
token: zod463.ZodDefault<zod463.ZodNullable<zod463.ZodString>>;
|
|
2526
|
+
user: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2527
|
+
id: zod463.ZodString;
|
|
2528
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
2529
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
2530
|
+
email: zod463.ZodPipe<zod463.ZodEmail, zod463.ZodTransform<string, string>>;
|
|
2531
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
2532
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
2533
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2534
|
+
}, zod_v4_core83.$loose>, "user">;
|
|
2535
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
2536
|
+
success: zod463.ZodLiteral<false>;
|
|
2537
|
+
token: zod463.ZodDefault<zod463.ZodNull>;
|
|
2538
|
+
user: zod463.ZodDefault<zod463.ZodNull>;
|
|
2539
|
+
}, zod_v4_core83.$strip>], "success">, zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
2540
|
+
redirect: zod463.ZodLiteral<false>;
|
|
2541
|
+
url: zod463.ZodDefault<zod463.ZodNull>;
|
|
2542
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
2543
|
+
redirect: zod463.ZodLiteral<true>;
|
|
2544
|
+
url: zod463.ZodURL;
|
|
2545
|
+
}, zod_v4_core83.$strip>], "redirect">>, zod463.ZodTransform<{
|
|
2546
2546
|
success: true;
|
|
2547
2547
|
data: ({
|
|
2548
2548
|
success: true;
|
|
@@ -2556,7 +2556,7 @@ declare const signUpEmailRoute: {
|
|
|
2556
2556
|
emailVerified: boolean;
|
|
2557
2557
|
name?: string | undefined;
|
|
2558
2558
|
image?: string | null | undefined;
|
|
2559
|
-
} &
|
|
2559
|
+
} & zod463.$brand<"user">;
|
|
2560
2560
|
} | {
|
|
2561
2561
|
success: false;
|
|
2562
2562
|
token: null;
|
|
@@ -2580,7 +2580,7 @@ declare const signUpEmailRoute: {
|
|
|
2580
2580
|
emailVerified: boolean;
|
|
2581
2581
|
name?: string | undefined;
|
|
2582
2582
|
image?: string | null | undefined;
|
|
2583
|
-
} &
|
|
2583
|
+
} & zod463.$brand<"user">;
|
|
2584
2584
|
} | {
|
|
2585
2585
|
success: false;
|
|
2586
2586
|
token: null;
|
|
@@ -2600,11 +2600,11 @@ declare const signUpEmailRoute: {
|
|
|
2600
2600
|
description: string;
|
|
2601
2601
|
content: {
|
|
2602
2602
|
"application/json": {
|
|
2603
|
-
schema:
|
|
2604
|
-
success:
|
|
2605
|
-
code:
|
|
2606
|
-
message:
|
|
2607
|
-
},
|
|
2603
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2604
|
+
success: zod463.ZodLiteral<false>;
|
|
2605
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2606
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2607
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2608
2608
|
};
|
|
2609
2609
|
};
|
|
2610
2610
|
};
|
|
@@ -2613,7 +2613,7 @@ declare const signUpEmailRoute: {
|
|
|
2613
2613
|
description: string;
|
|
2614
2614
|
content: {
|
|
2615
2615
|
"application/json": {
|
|
2616
|
-
schema:
|
|
2616
|
+
schema: zod463.ZodType<{
|
|
2617
2617
|
success: false;
|
|
2618
2618
|
} & {
|
|
2619
2619
|
errors: string[];
|
|
@@ -2640,7 +2640,7 @@ declare const signUpEmailRoute: {
|
|
|
2640
2640
|
errors: string[];
|
|
2641
2641
|
};
|
|
2642
2642
|
};
|
|
2643
|
-
}, unknown,
|
|
2643
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2644
2644
|
success: false;
|
|
2645
2645
|
} & {
|
|
2646
2646
|
errors: string[];
|
|
@@ -2680,14 +2680,14 @@ declare const signUpEmailRoute: {
|
|
|
2680
2680
|
description?: string;
|
|
2681
2681
|
content: {
|
|
2682
2682
|
"application/json": {
|
|
2683
|
-
schema:
|
|
2684
|
-
name:
|
|
2685
|
-
email:
|
|
2686
|
-
password:
|
|
2687
|
-
image:
|
|
2688
|
-
callbackURL:
|
|
2689
|
-
rememberMe:
|
|
2690
|
-
},
|
|
2683
|
+
schema: zod463.ZodObject<{
|
|
2684
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
2685
|
+
email: zod463.ZodEmail;
|
|
2686
|
+
password: zod463.ZodString;
|
|
2687
|
+
image: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodURL>>;
|
|
2688
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
2689
|
+
rememberMe: zod463.ZodDefault<zod463.ZodBoolean>;
|
|
2690
|
+
}, zod_v4_core83.$loose>;
|
|
2691
2691
|
};
|
|
2692
2692
|
};
|
|
2693
2693
|
required: true;
|
|
@@ -2703,14 +2703,14 @@ declare const listAccountsRoute: {
|
|
|
2703
2703
|
description: string;
|
|
2704
2704
|
content: {
|
|
2705
2705
|
"application/json": {
|
|
2706
|
-
schema:
|
|
2707
|
-
id:
|
|
2708
|
-
createdAt:
|
|
2709
|
-
updatedAt:
|
|
2710
|
-
providerId:
|
|
2711
|
-
accountId:
|
|
2712
|
-
scopes:
|
|
2713
|
-
},
|
|
2706
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodArray<zod463.ZodObject<{
|
|
2707
|
+
id: zod463.ZodString;
|
|
2708
|
+
createdAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
2709
|
+
updatedAt: zod463.ZodDefault<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
2710
|
+
providerId: zod463.ZodString;
|
|
2711
|
+
accountId: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodNumber]>, zod463.ZodTransform<string, string | number>>;
|
|
2712
|
+
scopes: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodArray<zod463.ZodString>]>, zod463.ZodTransform<string[], string | string[]>>;
|
|
2713
|
+
}, zod_v4_core83.$loose>>, zod463.ZodTransform<{
|
|
2714
2714
|
success: true;
|
|
2715
2715
|
data: {
|
|
2716
2716
|
[x: string]: unknown;
|
|
@@ -2737,7 +2737,7 @@ declare const listAccountsRoute: {
|
|
|
2737
2737
|
operationId: "listAccounts";
|
|
2738
2738
|
path: "/list-accounts";
|
|
2739
2739
|
method: "get";
|
|
2740
|
-
middleware: [(ctx:
|
|
2740
|
+
middleware: [(ctx: hono110.Context<ContextVars<object & {
|
|
2741
2741
|
session: {
|
|
2742
2742
|
session: {
|
|
2743
2743
|
[x: string]: unknown;
|
|
@@ -2761,7 +2761,7 @@ declare const listAccountsRoute: {
|
|
|
2761
2761
|
image?: string | null;
|
|
2762
2762
|
};
|
|
2763
2763
|
};
|
|
2764
|
-
}>, string, {}>, next:
|
|
2764
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2765
2765
|
success: false;
|
|
2766
2766
|
code?: string | undefined;
|
|
2767
2767
|
message?: string | undefined;
|
|
@@ -2774,13 +2774,13 @@ declare const linkAccountRoute: {
|
|
|
2774
2774
|
description: string;
|
|
2775
2775
|
content: {
|
|
2776
2776
|
"application/json": {
|
|
2777
|
-
schema:
|
|
2778
|
-
redirect:
|
|
2779
|
-
url:
|
|
2780
|
-
},
|
|
2781
|
-
redirect:
|
|
2782
|
-
url:
|
|
2783
|
-
},
|
|
2777
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodDiscriminatedUnion<[zod463.ZodObject<{
|
|
2778
|
+
redirect: zod463.ZodLiteral<false>;
|
|
2779
|
+
url: zod463.ZodDefault<zod463.ZodNull>;
|
|
2780
|
+
}, zod_v4_core83.$strip>, zod463.ZodObject<{
|
|
2781
|
+
redirect: zod463.ZodLiteral<true>;
|
|
2782
|
+
url: zod463.ZodURL;
|
|
2783
|
+
}, zod_v4_core83.$strip>], "redirect">, zod463.ZodTransform<{
|
|
2784
2784
|
success: true;
|
|
2785
2785
|
data: {
|
|
2786
2786
|
redirect: false;
|
|
@@ -2804,11 +2804,11 @@ declare const linkAccountRoute: {
|
|
|
2804
2804
|
description: string;
|
|
2805
2805
|
content: {
|
|
2806
2806
|
"application/json": {
|
|
2807
|
-
schema:
|
|
2808
|
-
success:
|
|
2809
|
-
code:
|
|
2810
|
-
message:
|
|
2811
|
-
},
|
|
2807
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2808
|
+
success: zod463.ZodLiteral<false>;
|
|
2809
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2810
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2811
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2812
2812
|
};
|
|
2813
2813
|
};
|
|
2814
2814
|
};
|
|
@@ -2817,11 +2817,11 @@ declare const linkAccountRoute: {
|
|
|
2817
2817
|
description: string;
|
|
2818
2818
|
content: {
|
|
2819
2819
|
"application/json": {
|
|
2820
|
-
schema:
|
|
2821
|
-
success:
|
|
2822
|
-
code:
|
|
2823
|
-
message:
|
|
2824
|
-
},
|
|
2820
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2821
|
+
success: zod463.ZodLiteral<false>;
|
|
2822
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2823
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2824
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2825
2825
|
};
|
|
2826
2826
|
};
|
|
2827
2827
|
};
|
|
@@ -2830,11 +2830,11 @@ declare const linkAccountRoute: {
|
|
|
2830
2830
|
description: string;
|
|
2831
2831
|
content: {
|
|
2832
2832
|
"application/json": {
|
|
2833
|
-
schema:
|
|
2834
|
-
success:
|
|
2835
|
-
code:
|
|
2836
|
-
message:
|
|
2837
|
-
},
|
|
2833
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
2834
|
+
success: zod463.ZodLiteral<false>;
|
|
2835
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
2836
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
2837
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
2838
2838
|
};
|
|
2839
2839
|
};
|
|
2840
2840
|
};
|
|
@@ -2843,7 +2843,7 @@ declare const linkAccountRoute: {
|
|
|
2843
2843
|
description: string;
|
|
2844
2844
|
content: {
|
|
2845
2845
|
"application/json": {
|
|
2846
|
-
schema:
|
|
2846
|
+
schema: zod463.ZodType<{
|
|
2847
2847
|
success: false;
|
|
2848
2848
|
} & {
|
|
2849
2849
|
errors: string[];
|
|
@@ -2893,7 +2893,7 @@ declare const linkAccountRoute: {
|
|
|
2893
2893
|
errors: string[];
|
|
2894
2894
|
};
|
|
2895
2895
|
};
|
|
2896
|
-
}, unknown,
|
|
2896
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
2897
2897
|
success: false;
|
|
2898
2898
|
} & {
|
|
2899
2899
|
errors: string[];
|
|
@@ -2951,7 +2951,7 @@ declare const linkAccountRoute: {
|
|
|
2951
2951
|
operationId: "linkAccount";
|
|
2952
2952
|
path: "/link-social";
|
|
2953
2953
|
method: "post";
|
|
2954
|
-
middleware: [(ctx:
|
|
2954
|
+
middleware: [(ctx: hono110.Context<ContextVars<object & {
|
|
2955
2955
|
session: {
|
|
2956
2956
|
session: {
|
|
2957
2957
|
[x: string]: unknown;
|
|
@@ -2975,7 +2975,7 @@ declare const linkAccountRoute: {
|
|
|
2975
2975
|
image?: string | null;
|
|
2976
2976
|
};
|
|
2977
2977
|
};
|
|
2978
|
-
}>, string, {}>, next:
|
|
2978
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
2979
2979
|
success: false;
|
|
2980
2980
|
code?: string | undefined;
|
|
2981
2981
|
message?: string | undefined;
|
|
@@ -2985,19 +2985,19 @@ declare const linkAccountRoute: {
|
|
|
2985
2985
|
description?: string;
|
|
2986
2986
|
content: {
|
|
2987
2987
|
"application/json": {
|
|
2988
|
-
schema:
|
|
2989
|
-
callbackURL:
|
|
2990
|
-
provider:
|
|
2991
|
-
idToken:
|
|
2992
|
-
token:
|
|
2993
|
-
nonce:
|
|
2994
|
-
accessToken:
|
|
2995
|
-
refreshToken:
|
|
2996
|
-
scopes:
|
|
2997
|
-
},
|
|
2998
|
-
scopes:
|
|
2999
|
-
errorCallbackURL:
|
|
3000
|
-
},
|
|
2988
|
+
schema: zod463.ZodObject<{
|
|
2989
|
+
callbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
2990
|
+
provider: zod463.ZodType<_faire_auth_core_social_providers37.SocialProvider, _faire_auth_core_social_providers37.SocialProvider, zod_v4_core83.$ZodTypeInternals<_faire_auth_core_social_providers37.SocialProvider, _faire_auth_core_social_providers37.SocialProvider>>;
|
|
2991
|
+
idToken: zod463.ZodOptional<zod463.ZodObject<{
|
|
2992
|
+
token: zod463.ZodString;
|
|
2993
|
+
nonce: zod463.ZodOptional<zod463.ZodString>;
|
|
2994
|
+
accessToken: zod463.ZodOptional<zod463.ZodString>;
|
|
2995
|
+
refreshToken: zod463.ZodOptional<zod463.ZodString>;
|
|
2996
|
+
scopes: zod463.ZodOptional<zod463.ZodArray<zod463.ZodString>>;
|
|
2997
|
+
}, zod_v4_core83.$strip>>;
|
|
2998
|
+
scopes: zod463.ZodOptional<zod463.ZodArray<zod463.ZodString>>;
|
|
2999
|
+
errorCallbackURL: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>;
|
|
3000
|
+
}, zod_v4_core83.$strip>;
|
|
3001
3001
|
};
|
|
3002
3002
|
};
|
|
3003
3003
|
required: true;
|
|
@@ -3011,10 +3011,10 @@ declare const unlinkAccountRoute: {
|
|
|
3011
3011
|
description: string;
|
|
3012
3012
|
content: {
|
|
3013
3013
|
"application/json": {
|
|
3014
|
-
schema:
|
|
3015
|
-
success:
|
|
3016
|
-
message:
|
|
3017
|
-
},
|
|
3014
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3015
|
+
success: zod463.ZodLiteral<true>;
|
|
3016
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3017
|
+
}, zod_v4_core83.$strip>, "success">;
|
|
3018
3018
|
};
|
|
3019
3019
|
};
|
|
3020
3020
|
};
|
|
@@ -3023,11 +3023,11 @@ declare const unlinkAccountRoute: {
|
|
|
3023
3023
|
description: string;
|
|
3024
3024
|
content: {
|
|
3025
3025
|
"application/json": {
|
|
3026
|
-
schema:
|
|
3027
|
-
success:
|
|
3028
|
-
code:
|
|
3029
|
-
message:
|
|
3030
|
-
},
|
|
3026
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3027
|
+
success: zod463.ZodLiteral<false>;
|
|
3028
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
3029
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3030
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
3031
3031
|
};
|
|
3032
3032
|
};
|
|
3033
3033
|
};
|
|
@@ -3036,7 +3036,7 @@ declare const unlinkAccountRoute: {
|
|
|
3036
3036
|
description: string;
|
|
3037
3037
|
content: {
|
|
3038
3038
|
"application/json": {
|
|
3039
|
-
schema:
|
|
3039
|
+
schema: zod463.ZodType<{
|
|
3040
3040
|
success: false;
|
|
3041
3041
|
} & {
|
|
3042
3042
|
errors: string[];
|
|
@@ -3048,7 +3048,7 @@ declare const unlinkAccountRoute: {
|
|
|
3048
3048
|
errors: string[];
|
|
3049
3049
|
};
|
|
3050
3050
|
};
|
|
3051
|
-
}, unknown,
|
|
3051
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
3052
3052
|
success: false;
|
|
3053
3053
|
} & {
|
|
3054
3054
|
errors: string[];
|
|
@@ -3068,16 +3068,16 @@ declare const unlinkAccountRoute: {
|
|
|
3068
3068
|
operationId: "unlinkAccount";
|
|
3069
3069
|
path: "/unlink-account";
|
|
3070
3070
|
method: "post";
|
|
3071
|
-
middleware: [(ctx:
|
|
3071
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
3072
3072
|
session: {
|
|
3073
3073
|
session: _faire_auth_core_db16.Session;
|
|
3074
3074
|
user: _faire_auth_core_db16.User;
|
|
3075
3075
|
};
|
|
3076
|
-
}>, string, {}>, next:
|
|
3076
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
3077
3077
|
success: false;
|
|
3078
3078
|
code?: string | undefined;
|
|
3079
3079
|
message?: string | undefined;
|
|
3080
|
-
}, 401>) |
|
|
3080
|
+
}, 401>) | _faire_auth_core_types87.JSONRespondReturn<{
|
|
3081
3081
|
success: false;
|
|
3082
3082
|
code?: string | undefined;
|
|
3083
3083
|
message?: string | undefined;
|
|
@@ -3087,10 +3087,10 @@ declare const unlinkAccountRoute: {
|
|
|
3087
3087
|
description?: string;
|
|
3088
3088
|
content: {
|
|
3089
3089
|
"application/json": {
|
|
3090
|
-
schema:
|
|
3091
|
-
providerId:
|
|
3092
|
-
accountId:
|
|
3093
|
-
},
|
|
3090
|
+
schema: zod463.ZodObject<{
|
|
3091
|
+
providerId: zod463.ZodString;
|
|
3092
|
+
accountId: zod463.ZodOptional<zod463.ZodString>;
|
|
3093
|
+
}, zod_v4_core83.$strip>;
|
|
3094
3094
|
};
|
|
3095
3095
|
};
|
|
3096
3096
|
required: true;
|
|
@@ -3104,15 +3104,15 @@ declare const getAccessTokenRoute: {
|
|
|
3104
3104
|
description: string;
|
|
3105
3105
|
content: {
|
|
3106
3106
|
"application/json": {
|
|
3107
|
-
schema:
|
|
3108
|
-
tokenType:
|
|
3109
|
-
accessToken:
|
|
3110
|
-
refreshToken:
|
|
3111
|
-
accessTokenExpiresAt:
|
|
3112
|
-
refreshTokenExpiresAt:
|
|
3113
|
-
scopes:
|
|
3114
|
-
idToken:
|
|
3115
|
-
},
|
|
3107
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodObject<{
|
|
3108
|
+
tokenType: zod463.ZodOptional<zod463.ZodString>;
|
|
3109
|
+
accessToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3110
|
+
refreshToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3111
|
+
accessTokenExpiresAt: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
3112
|
+
refreshTokenExpiresAt: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
3113
|
+
scopes: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodArray<zod463.ZodString>]>, zod463.ZodTransform<string[], string | string[]>>>;
|
|
3114
|
+
idToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3115
|
+
}, zod_v4_core83.$strip>, zod463.ZodTransform<{
|
|
3116
3116
|
success: true;
|
|
3117
3117
|
data: {
|
|
3118
3118
|
tokenType?: string | undefined;
|
|
@@ -3140,11 +3140,11 @@ declare const getAccessTokenRoute: {
|
|
|
3140
3140
|
description: string;
|
|
3141
3141
|
content: {
|
|
3142
3142
|
"application/json": {
|
|
3143
|
-
schema:
|
|
3144
|
-
success:
|
|
3145
|
-
code:
|
|
3146
|
-
message:
|
|
3147
|
-
},
|
|
3143
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3144
|
+
success: zod463.ZodLiteral<false>;
|
|
3145
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
3146
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3147
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
3148
3148
|
};
|
|
3149
3149
|
};
|
|
3150
3150
|
};
|
|
@@ -3153,7 +3153,7 @@ declare const getAccessTokenRoute: {
|
|
|
3153
3153
|
description: string;
|
|
3154
3154
|
content: {
|
|
3155
3155
|
"application/json": {
|
|
3156
|
-
schema:
|
|
3156
|
+
schema: zod463.ZodType<{
|
|
3157
3157
|
success: false;
|
|
3158
3158
|
} & {
|
|
3159
3159
|
errors: string[];
|
|
@@ -3168,7 +3168,7 @@ declare const getAccessTokenRoute: {
|
|
|
3168
3168
|
errors: string[];
|
|
3169
3169
|
};
|
|
3170
3170
|
};
|
|
3171
|
-
}, unknown,
|
|
3171
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
3172
3172
|
success: false;
|
|
3173
3173
|
} & {
|
|
3174
3174
|
errors: string[];
|
|
@@ -3191,12 +3191,12 @@ declare const getAccessTokenRoute: {
|
|
|
3191
3191
|
operationId: "getAccessToken";
|
|
3192
3192
|
path: "/get-access-token";
|
|
3193
3193
|
method: "post";
|
|
3194
|
-
middleware: [(ctx:
|
|
3194
|
+
middleware: [(ctx: hono110.Context<ContextVars<{
|
|
3195
3195
|
session?: {
|
|
3196
3196
|
session: _faire_auth_core_db16.Session;
|
|
3197
3197
|
user: _faire_auth_core_db16.User;
|
|
3198
3198
|
};
|
|
3199
|
-
}>, string, {}>, next:
|
|
3199
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
3200
3200
|
success: false;
|
|
3201
3201
|
code?: string | undefined;
|
|
3202
3202
|
message?: string | undefined;
|
|
@@ -3206,11 +3206,11 @@ declare const getAccessTokenRoute: {
|
|
|
3206
3206
|
description?: string;
|
|
3207
3207
|
content: {
|
|
3208
3208
|
"application/json": {
|
|
3209
|
-
schema:
|
|
3210
|
-
providerId:
|
|
3211
|
-
accountId:
|
|
3212
|
-
userId:
|
|
3213
|
-
},
|
|
3209
|
+
schema: zod463.ZodObject<{
|
|
3210
|
+
providerId: zod463.ZodString;
|
|
3211
|
+
accountId: zod463.ZodOptional<zod463.ZodString>;
|
|
3212
|
+
userId: zod463.ZodOptional<zod463.ZodString>;
|
|
3213
|
+
}, zod_v4_core83.$strip>;
|
|
3214
3214
|
};
|
|
3215
3215
|
};
|
|
3216
3216
|
required: true;
|
|
@@ -3224,15 +3224,15 @@ declare const refreshAccessTokenRoute: {
|
|
|
3224
3224
|
description: string;
|
|
3225
3225
|
content: {
|
|
3226
3226
|
"application/json": {
|
|
3227
|
-
schema:
|
|
3228
|
-
tokenType:
|
|
3229
|
-
accessToken:
|
|
3230
|
-
refreshToken:
|
|
3231
|
-
accessTokenExpiresAt:
|
|
3232
|
-
refreshTokenExpiresAt:
|
|
3233
|
-
scopes:
|
|
3234
|
-
idToken:
|
|
3235
|
-
},
|
|
3227
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodObject<{
|
|
3228
|
+
tokenType: zod463.ZodOptional<zod463.ZodString>;
|
|
3229
|
+
accessToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3230
|
+
refreshToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3231
|
+
accessTokenExpiresAt: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
3232
|
+
refreshTokenExpiresAt: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodDate, zod463.ZodISODateTime]>, zod463.ZodTransform<Date, string | Date>>>;
|
|
3233
|
+
scopes: zod463.ZodOptional<zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodArray<zod463.ZodString>]>, zod463.ZodTransform<string[], string | string[]>>>;
|
|
3234
|
+
idToken: zod463.ZodOptional<zod463.ZodString>;
|
|
3235
|
+
}, zod_v4_core83.$strip>, zod463.ZodTransform<{
|
|
3236
3236
|
success: true;
|
|
3237
3237
|
data: {
|
|
3238
3238
|
tokenType?: string | undefined;
|
|
@@ -3260,11 +3260,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3260
3260
|
description: string;
|
|
3261
3261
|
content: {
|
|
3262
3262
|
"application/json": {
|
|
3263
|
-
schema:
|
|
3264
|
-
success:
|
|
3265
|
-
code:
|
|
3266
|
-
message:
|
|
3267
|
-
},
|
|
3263
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3264
|
+
success: zod463.ZodLiteral<false>;
|
|
3265
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
3266
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3267
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
3268
3268
|
};
|
|
3269
3269
|
};
|
|
3270
3270
|
};
|
|
@@ -3273,7 +3273,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3273
3273
|
description: string;
|
|
3274
3274
|
content: {
|
|
3275
3275
|
"application/json": {
|
|
3276
|
-
schema:
|
|
3276
|
+
schema: zod463.ZodType<{
|
|
3277
3277
|
success: false;
|
|
3278
3278
|
} & {
|
|
3279
3279
|
errors: string[];
|
|
@@ -3288,7 +3288,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3288
3288
|
errors: string[];
|
|
3289
3289
|
};
|
|
3290
3290
|
};
|
|
3291
|
-
}, unknown,
|
|
3291
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
3292
3292
|
success: false;
|
|
3293
3293
|
} & {
|
|
3294
3294
|
errors: string[];
|
|
@@ -3311,7 +3311,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3311
3311
|
operationId: "refreshAccessToken";
|
|
3312
3312
|
path: "/refresh-token";
|
|
3313
3313
|
method: "post";
|
|
3314
|
-
middleware: [(ctx:
|
|
3314
|
+
middleware: [(ctx: hono110.Context<ContextVars<object & {
|
|
3315
3315
|
session: {
|
|
3316
3316
|
session: {
|
|
3317
3317
|
[x: string]: unknown;
|
|
@@ -3335,7 +3335,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3335
3335
|
image?: string | null;
|
|
3336
3336
|
};
|
|
3337
3337
|
};
|
|
3338
|
-
}>, string, {}>, next:
|
|
3338
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
3339
3339
|
success: false;
|
|
3340
3340
|
code?: string | undefined;
|
|
3341
3341
|
message?: string | undefined;
|
|
@@ -3345,11 +3345,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3345
3345
|
description?: string;
|
|
3346
3346
|
content: {
|
|
3347
3347
|
"application/json": {
|
|
3348
|
-
schema:
|
|
3349
|
-
providerId:
|
|
3350
|
-
accountId:
|
|
3351
|
-
userId:
|
|
3352
|
-
},
|
|
3348
|
+
schema: zod463.ZodObject<{
|
|
3349
|
+
providerId: zod463.ZodString;
|
|
3350
|
+
accountId: zod463.ZodOptional<zod463.ZodString>;
|
|
3351
|
+
userId: zod463.ZodOptional<zod463.ZodString>;
|
|
3352
|
+
}, zod_v4_core83.$strip>;
|
|
3353
3353
|
};
|
|
3354
3354
|
};
|
|
3355
3355
|
required: true;
|
|
@@ -3363,16 +3363,16 @@ declare const getAccountInfoRoute: {
|
|
|
3363
3363
|
description: string;
|
|
3364
3364
|
content: {
|
|
3365
3365
|
"application/json": {
|
|
3366
|
-
schema:
|
|
3367
|
-
user:
|
|
3368
|
-
name:
|
|
3369
|
-
image:
|
|
3370
|
-
emailVerified:
|
|
3371
|
-
id:
|
|
3372
|
-
email:
|
|
3373
|
-
},
|
|
3374
|
-
data:
|
|
3375
|
-
},
|
|
3366
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodPipe<zod463.ZodObject<{
|
|
3367
|
+
user: zod463.ZodObject<{
|
|
3368
|
+
name: zod463.ZodOptional<zod463.ZodString>;
|
|
3369
|
+
image: zod463.ZodNullable<zod463.ZodOptional<zod463.ZodPipe<zod463.ZodPipe<zod463.ZodTransform<string | undefined, string | undefined>, zod463.ZodOptional<zod463.ZodURL>>, zod463.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3370
|
+
emailVerified: zod463.ZodDefault<zod463.ZodCoercedBoolean<unknown>>;
|
|
3371
|
+
id: zod463.ZodPipe<zod463.ZodUnion<[zod463.ZodString, zod463.ZodNumber]>, zod463.ZodTransform<string, string | number>>;
|
|
3372
|
+
email: zod463.ZodOptional<zod463.ZodNullable<zod463.ZodEmail>>;
|
|
3373
|
+
}, zod_v4_core83.$loose>;
|
|
3374
|
+
data: zod463.ZodRecord<zod463.ZodString, zod463.ZodAny>;
|
|
3375
|
+
}, zod_v4_core83.$strip>, zod463.ZodTransform<{
|
|
3376
3376
|
success: true;
|
|
3377
3377
|
data: {
|
|
3378
3378
|
user: {
|
|
@@ -3404,11 +3404,11 @@ declare const getAccountInfoRoute: {
|
|
|
3404
3404
|
description: string;
|
|
3405
3405
|
content: {
|
|
3406
3406
|
"application/json": {
|
|
3407
|
-
schema:
|
|
3408
|
-
success:
|
|
3409
|
-
code:
|
|
3410
|
-
message:
|
|
3411
|
-
},
|
|
3407
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3408
|
+
success: zod463.ZodLiteral<false>;
|
|
3409
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
3410
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3411
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
3412
3412
|
};
|
|
3413
3413
|
};
|
|
3414
3414
|
};
|
|
@@ -3417,7 +3417,7 @@ declare const getAccountInfoRoute: {
|
|
|
3417
3417
|
description: string;
|
|
3418
3418
|
content: {
|
|
3419
3419
|
"application/json": {
|
|
3420
|
-
schema:
|
|
3420
|
+
schema: zod463.ZodType<{
|
|
3421
3421
|
success: false;
|
|
3422
3422
|
} & {
|
|
3423
3423
|
errors: string[];
|
|
@@ -3426,7 +3426,7 @@ declare const getAccountInfoRoute: {
|
|
|
3426
3426
|
errors: string[];
|
|
3427
3427
|
};
|
|
3428
3428
|
};
|
|
3429
|
-
}, unknown,
|
|
3429
|
+
}, unknown, zod_v4_core83.$ZodTypeInternals<{
|
|
3430
3430
|
success: false;
|
|
3431
3431
|
} & {
|
|
3432
3432
|
errors: string[];
|
|
@@ -3444,11 +3444,11 @@ declare const getAccountInfoRoute: {
|
|
|
3444
3444
|
description: string;
|
|
3445
3445
|
content: {
|
|
3446
3446
|
"application/json": {
|
|
3447
|
-
schema:
|
|
3448
|
-
success:
|
|
3449
|
-
code:
|
|
3450
|
-
message:
|
|
3451
|
-
},
|
|
3447
|
+
schema: zod_v4_core83.$ZodBranded<zod463.ZodObject<{
|
|
3448
|
+
success: zod463.ZodLiteral<false>;
|
|
3449
|
+
code: zod463.ZodOptional<zod463.ZodString>;
|
|
3450
|
+
message: zod463.ZodOptional<zod463.ZodString>;
|
|
3451
|
+
}, zod_v4_core83.$strip>, "error">;
|
|
3452
3452
|
};
|
|
3453
3453
|
};
|
|
3454
3454
|
};
|
|
@@ -3456,7 +3456,7 @@ declare const getAccountInfoRoute: {
|
|
|
3456
3456
|
operationId: "getAccountInfo";
|
|
3457
3457
|
path: "/account-info";
|
|
3458
3458
|
method: "post";
|
|
3459
|
-
middleware: [(ctx:
|
|
3459
|
+
middleware: [(ctx: hono110.Context<ContextVars<object & {
|
|
3460
3460
|
session: {
|
|
3461
3461
|
session: {
|
|
3462
3462
|
[x: string]: unknown;
|
|
@@ -3480,7 +3480,7 @@ declare const getAccountInfoRoute: {
|
|
|
3480
3480
|
image?: string | null;
|
|
3481
3481
|
};
|
|
3482
3482
|
};
|
|
3483
|
-
}>, string, {}>, next:
|
|
3483
|
+
}>, string, {}>, next: hono110.Next) => Promise<void | (Response & hono110.TypedResponse<{
|
|
3484
3484
|
success: false;
|
|
3485
3485
|
code?: string | undefined;
|
|
3486
3486
|
message?: string | undefined;
|
|
@@ -3490,9 +3490,9 @@ declare const getAccountInfoRoute: {
|
|
|
3490
3490
|
description?: string;
|
|
3491
3491
|
content: {
|
|
3492
3492
|
"application/json": {
|
|
3493
|
-
schema:
|
|
3494
|
-
accountId:
|
|
3495
|
-
},
|
|
3493
|
+
schema: zod463.ZodObject<{
|
|
3494
|
+
accountId: zod463.ZodString;
|
|
3495
|
+
}, zod_v4_core83.$strip>;
|
|
3496
3496
|
};
|
|
3497
3497
|
};
|
|
3498
3498
|
required: true;
|
|
@@ -3713,7 +3713,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3713
3713
|
json: {
|
|
3714
3714
|
newPassword: string;
|
|
3715
3715
|
};
|
|
3716
|
-
}, ctx?:
|
|
3716
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3717
3717
|
headers: Headers;
|
|
3718
3718
|
response: {
|
|
3719
3719
|
success: false;
|
|
@@ -3760,7 +3760,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3760
3760
|
newEmail: string;
|
|
3761
3761
|
callbackURL?: string | undefined;
|
|
3762
3762
|
};
|
|
3763
|
-
}, ctx?:
|
|
3763
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3764
3764
|
headers: Headers;
|
|
3765
3765
|
response: {
|
|
3766
3766
|
success: false;
|
|
@@ -3814,7 +3814,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3814
3814
|
currentPassword: string;
|
|
3815
3815
|
revokeOtherSessions?: boolean | undefined;
|
|
3816
3816
|
};
|
|
3817
|
-
}, ctx?:
|
|
3817
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3818
3818
|
headers: Headers;
|
|
3819
3819
|
response: {
|
|
3820
3820
|
success: false;
|
|
@@ -3958,7 +3958,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
3958
3958
|
password?: string | undefined;
|
|
3959
3959
|
token?: string | undefined;
|
|
3960
3960
|
};
|
|
3961
|
-
}, ctx?:
|
|
3961
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
3962
3962
|
headers: Headers;
|
|
3963
3963
|
response: Response | {
|
|
3964
3964
|
success: false;
|
|
@@ -4017,7 +4017,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4017
4017
|
token: string;
|
|
4018
4018
|
callbackURL?: string | undefined;
|
|
4019
4019
|
};
|
|
4020
|
-
}, ctx?:
|
|
4020
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4021
4021
|
headers: Headers;
|
|
4022
4022
|
response: Response | {
|
|
4023
4023
|
success: false;
|
|
@@ -4070,7 +4070,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4070
4070
|
error?: string | undefined;
|
|
4071
4071
|
error_description?: string | undefined;
|
|
4072
4072
|
};
|
|
4073
|
-
}, ctx?:
|
|
4073
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4074
4074
|
headers: Headers;
|
|
4075
4075
|
response: string | {
|
|
4076
4076
|
success: false;
|
|
@@ -4102,7 +4102,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4102
4102
|
accountId?: string | undefined;
|
|
4103
4103
|
userId?: string | undefined;
|
|
4104
4104
|
};
|
|
4105
|
-
}, ctx?:
|
|
4105
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4106
4106
|
headers: Headers;
|
|
4107
4107
|
response: {
|
|
4108
4108
|
success: false;
|
|
@@ -4176,7 +4176,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4176
4176
|
json: {
|
|
4177
4177
|
accountId: string;
|
|
4178
4178
|
};
|
|
4179
|
-
}, ctx?:
|
|
4179
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4180
4180
|
headers: Headers;
|
|
4181
4181
|
response: {
|
|
4182
4182
|
success: false;
|
|
@@ -4247,7 +4247,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4247
4247
|
disableCookieCache?: string | boolean | undefined;
|
|
4248
4248
|
disableRefresh?: string | boolean | undefined;
|
|
4249
4249
|
};
|
|
4250
|
-
}, ctx?:
|
|
4250
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4251
4251
|
headers: Headers;
|
|
4252
4252
|
response: {
|
|
4253
4253
|
success: false;
|
|
@@ -4333,7 +4333,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4333
4333
|
}>;
|
|
4334
4334
|
linkAccount: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
4335
4335
|
json: {
|
|
4336
|
-
provider:
|
|
4336
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
4337
4337
|
callbackURL?: string | undefined;
|
|
4338
4338
|
idToken?: {
|
|
4339
4339
|
token: string;
|
|
@@ -4345,7 +4345,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4345
4345
|
scopes?: string[] | undefined;
|
|
4346
4346
|
errorCallbackURL?: string | undefined;
|
|
4347
4347
|
};
|
|
4348
|
-
}, ctx?:
|
|
4348
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4349
4349
|
headers: Headers;
|
|
4350
4350
|
response: {
|
|
4351
4351
|
success: false;
|
|
@@ -4481,7 +4481,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4481
4481
|
} | undefined;
|
|
4482
4482
|
} | undefined;
|
|
4483
4483
|
}>;
|
|
4484
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4484
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4485
4485
|
headers: Headers;
|
|
4486
4486
|
response: {
|
|
4487
4487
|
success: false;
|
|
@@ -4515,7 +4515,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4515
4515
|
scopes: string[];
|
|
4516
4516
|
}[];
|
|
4517
4517
|
}>;
|
|
4518
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4518
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4519
4519
|
headers: Headers;
|
|
4520
4520
|
response: {
|
|
4521
4521
|
success: false;
|
|
@@ -4574,7 +4574,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4574
4574
|
state?: string | undefined;
|
|
4575
4575
|
user?: string | undefined;
|
|
4576
4576
|
};
|
|
4577
|
-
}, ctx?:
|
|
4577
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4578
4578
|
headers: Headers;
|
|
4579
4579
|
response: Response | {
|
|
4580
4580
|
success: false;
|
|
@@ -4599,7 +4599,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4599
4599
|
param: {
|
|
4600
4600
|
id: string;
|
|
4601
4601
|
};
|
|
4602
|
-
}, ctx?:
|
|
4602
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4603
4603
|
headers: Headers;
|
|
4604
4604
|
response: Response | {
|
|
4605
4605
|
success: false;
|
|
@@ -4657,7 +4657,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4657
4657
|
} | undefined;
|
|
4658
4658
|
} | undefined;
|
|
4659
4659
|
}>;
|
|
4660
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4660
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4661
4661
|
headers: Headers;
|
|
4662
4662
|
response: {
|
|
4663
4663
|
success: true;
|
|
@@ -4673,7 +4673,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4673
4673
|
accountId?: string | undefined;
|
|
4674
4674
|
userId?: string | undefined;
|
|
4675
4675
|
};
|
|
4676
|
-
}, ctx?:
|
|
4676
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4677
4677
|
headers: Headers;
|
|
4678
4678
|
response: {
|
|
4679
4679
|
success: false;
|
|
@@ -4748,7 +4748,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4748
4748
|
email: string;
|
|
4749
4749
|
redirectTo?: string | undefined;
|
|
4750
4750
|
};
|
|
4751
|
-
}, ctx?:
|
|
4751
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4752
4752
|
headers: Headers;
|
|
4753
4753
|
response: {
|
|
4754
4754
|
success: false;
|
|
@@ -4796,7 +4796,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4796
4796
|
query: {
|
|
4797
4797
|
callbackURL: string;
|
|
4798
4798
|
};
|
|
4799
|
-
}, ctx?:
|
|
4799
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4800
4800
|
headers: Headers;
|
|
4801
4801
|
response: Response;
|
|
4802
4802
|
} : Response>;
|
|
@@ -4809,7 +4809,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4809
4809
|
query: {
|
|
4810
4810
|
token?: string | undefined;
|
|
4811
4811
|
};
|
|
4812
|
-
}, ctx?:
|
|
4812
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4813
4813
|
headers: Headers;
|
|
4814
4814
|
response: {
|
|
4815
4815
|
success: false;
|
|
@@ -4849,7 +4849,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4849
4849
|
} | undefined;
|
|
4850
4850
|
} | undefined;
|
|
4851
4851
|
}>;
|
|
4852
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4852
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4853
4853
|
headers: Headers;
|
|
4854
4854
|
response: {
|
|
4855
4855
|
success: false;
|
|
@@ -4871,7 +4871,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4871
4871
|
json: {
|
|
4872
4872
|
token: string;
|
|
4873
4873
|
};
|
|
4874
|
-
}, ctx?:
|
|
4874
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4875
4875
|
headers: Headers;
|
|
4876
4876
|
response: {
|
|
4877
4877
|
success: false;
|
|
@@ -4913,7 +4913,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4913
4913
|
} | undefined;
|
|
4914
4914
|
} | undefined;
|
|
4915
4915
|
}>;
|
|
4916
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
4916
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4917
4917
|
headers: Headers;
|
|
4918
4918
|
response: {
|
|
4919
4919
|
success: false;
|
|
@@ -4944,7 +4944,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4944
4944
|
email: string;
|
|
4945
4945
|
callbackURL?: string | undefined;
|
|
4946
4946
|
};
|
|
4947
|
-
}, ctx?:
|
|
4947
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4948
4948
|
headers: Headers;
|
|
4949
4949
|
response: {
|
|
4950
4950
|
success: false;
|
|
@@ -4991,7 +4991,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4991
4991
|
callbackURL?: string | undefined;
|
|
4992
4992
|
rememberMe?: boolean | undefined;
|
|
4993
4993
|
};
|
|
4994
|
-
}, ctx?:
|
|
4994
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4995
4995
|
headers: Headers;
|
|
4996
4996
|
response: {
|
|
4997
4997
|
success: false;
|
|
@@ -5129,7 +5129,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5129
5129
|
}>;
|
|
5130
5130
|
signInSocial: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
5131
5131
|
json: {
|
|
5132
|
-
provider:
|
|
5132
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
5133
5133
|
callbackURL?: string | undefined;
|
|
5134
5134
|
newUserCallbackURL?: string | undefined;
|
|
5135
5135
|
errorCallbackURL?: string | undefined;
|
|
@@ -5145,7 +5145,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5145
5145
|
requestSignUp?: boolean | undefined;
|
|
5146
5146
|
loginHint?: string | undefined;
|
|
5147
5147
|
};
|
|
5148
|
-
}, ctx?:
|
|
5148
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5149
5149
|
headers: Headers;
|
|
5150
5150
|
response: Response | {
|
|
5151
5151
|
success: false;
|
|
@@ -5359,7 +5359,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5359
5359
|
} | undefined;
|
|
5360
5360
|
} | undefined;
|
|
5361
5361
|
}>;
|
|
5362
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5362
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5363
5363
|
headers: Headers;
|
|
5364
5364
|
response: {
|
|
5365
5365
|
success: false;
|
|
@@ -5387,7 +5387,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5387
5387
|
callbackURL?: string | undefined;
|
|
5388
5388
|
rememberMe?: boolean | undefined;
|
|
5389
5389
|
};
|
|
5390
|
-
}, ctx?:
|
|
5390
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5391
5391
|
headers: Headers;
|
|
5392
5392
|
response: {
|
|
5393
5393
|
success: false;
|
|
@@ -5546,7 +5546,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5546
5546
|
providerId: string;
|
|
5547
5547
|
accountId?: string | undefined;
|
|
5548
5548
|
};
|
|
5549
|
-
}, ctx?:
|
|
5549
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5550
5550
|
headers: Headers;
|
|
5551
5551
|
response: {
|
|
5552
5552
|
success: false;
|
|
@@ -5608,7 +5608,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5608
5608
|
name?: string | undefined;
|
|
5609
5609
|
image?: string | null | undefined;
|
|
5610
5610
|
};
|
|
5611
|
-
}, ctx?:
|
|
5611
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5612
5612
|
headers: Headers;
|
|
5613
5613
|
response: {
|
|
5614
5614
|
success: false;
|
|
@@ -5667,7 +5667,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5667
5667
|
token: string;
|
|
5668
5668
|
callbackURL?: string | undefined;
|
|
5669
5669
|
};
|
|
5670
|
-
}, ctx?:
|
|
5670
|
+
}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5671
5671
|
headers: Headers;
|
|
5672
5672
|
response: Response | {
|
|
5673
5673
|
success: false;
|
|
@@ -6429,7 +6429,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6429
6429
|
$post: {
|
|
6430
6430
|
input: {
|
|
6431
6431
|
json: {
|
|
6432
|
-
provider:
|
|
6432
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6433
6433
|
callbackURL?: string | undefined;
|
|
6434
6434
|
idToken?: {
|
|
6435
6435
|
token: string;
|
|
@@ -6452,7 +6452,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6452
6452
|
} | {
|
|
6453
6453
|
input: {
|
|
6454
6454
|
json: {
|
|
6455
|
-
provider:
|
|
6455
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6456
6456
|
callbackURL?: string | undefined;
|
|
6457
6457
|
idToken?: {
|
|
6458
6458
|
token: string;
|
|
@@ -6475,7 +6475,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6475
6475
|
} | {
|
|
6476
6476
|
input: {
|
|
6477
6477
|
json: {
|
|
6478
|
-
provider:
|
|
6478
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6479
6479
|
callbackURL?: string | undefined;
|
|
6480
6480
|
idToken?: {
|
|
6481
6481
|
token: string;
|
|
@@ -6498,7 +6498,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6498
6498
|
} | {
|
|
6499
6499
|
input: {
|
|
6500
6500
|
json: {
|
|
6501
|
-
provider:
|
|
6501
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6502
6502
|
callbackURL?: string | undefined;
|
|
6503
6503
|
idToken?: {
|
|
6504
6504
|
token: string;
|
|
@@ -6526,7 +6526,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6526
6526
|
} | {
|
|
6527
6527
|
input: {
|
|
6528
6528
|
json: {
|
|
6529
|
-
provider:
|
|
6529
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6530
6530
|
callbackURL?: string | undefined;
|
|
6531
6531
|
idToken?: {
|
|
6532
6532
|
token: string;
|
|
@@ -6549,7 +6549,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6549
6549
|
} | {
|
|
6550
6550
|
input: {
|
|
6551
6551
|
json: {
|
|
6552
|
-
provider:
|
|
6552
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
6553
6553
|
callbackURL?: string | undefined;
|
|
6554
6554
|
idToken?: {
|
|
6555
6555
|
token: string;
|
|
@@ -7436,7 +7436,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7436
7436
|
$post: {
|
|
7437
7437
|
input: {
|
|
7438
7438
|
json: {
|
|
7439
|
-
provider:
|
|
7439
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
7440
7440
|
callbackURL?: string | undefined;
|
|
7441
7441
|
newUserCallbackURL?: string | undefined;
|
|
7442
7442
|
errorCallbackURL?: string | undefined;
|
|
@@ -7459,7 +7459,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7459
7459
|
} | {
|
|
7460
7460
|
input: {
|
|
7461
7461
|
json: {
|
|
7462
|
-
provider:
|
|
7462
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
7463
7463
|
callbackURL?: string | undefined;
|
|
7464
7464
|
newUserCallbackURL?: string | undefined;
|
|
7465
7465
|
errorCallbackURL?: string | undefined;
|
|
@@ -7527,7 +7527,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7527
7527
|
} | {
|
|
7528
7528
|
input: {
|
|
7529
7529
|
json: {
|
|
7530
|
-
provider:
|
|
7530
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
7531
7531
|
callbackURL?: string | undefined;
|
|
7532
7532
|
newUserCallbackURL?: string | undefined;
|
|
7533
7533
|
errorCallbackURL?: string | undefined;
|
|
@@ -7554,7 +7554,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7554
7554
|
} | {
|
|
7555
7555
|
input: {
|
|
7556
7556
|
json: {
|
|
7557
|
-
provider:
|
|
7557
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
7558
7558
|
callbackURL?: string | undefined;
|
|
7559
7559
|
newUserCallbackURL?: string | undefined;
|
|
7560
7560
|
errorCallbackURL?: string | undefined;
|
|
@@ -7581,7 +7581,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7581
7581
|
} | {
|
|
7582
7582
|
input: {
|
|
7583
7583
|
json: {
|
|
7584
|
-
provider:
|
|
7584
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
7585
7585
|
callbackURL?: string | undefined;
|
|
7586
7586
|
newUserCallbackURL?: string | undefined;
|
|
7587
7587
|
errorCallbackURL?: string | undefined;
|
|
@@ -8088,12 +8088,12 @@ declare const createTestEndpoint: <C$1 extends AuthRouteConfig, H$1 extends (opt
|
|
|
8088
8088
|
builtSchemas?: Record<Definitions, z.ZodType>;
|
|
8089
8089
|
context?: AuthContext$1;
|
|
8090
8090
|
}) => {
|
|
8091
|
-
config:
|
|
8092
|
-
handler: RouteHandler<
|
|
8093
|
-
execute: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...args:
|
|
8091
|
+
config: _faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>;
|
|
8092
|
+
handler: RouteHandler<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>, hono110.Env extends RouteConfigToEnv<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>> ? ContextVars : RouteConfigToEnv<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>> & ContextVars>;
|
|
8093
|
+
execute: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(...args: _faire_auth_core_types87.CustomIO<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>, "in"> extends undefined ? [ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders>] : [input: _faire_auth_core_types87.CustomIO<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>, "in"> & {}, ctx?: hono110.Context<ContextVars<any>, any, {}> | _faire_auth_core_types87.ExecOpts<AsResponse, ReturnHeaders>]) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
8094
8094
|
headers: Headers;
|
|
8095
|
-
response:
|
|
8096
|
-
} :
|
|
8095
|
+
response: _faire_auth_core_types87.ExecRet<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>>;
|
|
8096
|
+
} : _faire_auth_core_types87.ExecRet<_faire_auth_core_types87.ProcessRouteConfig<C$1, FaireAuthOptions$1>>>;
|
|
8097
8097
|
};
|
|
8098
8098
|
//#endregion
|
|
8099
8099
|
//#region src/test-utils/test-database.d.ts
|
|
@@ -8169,12 +8169,12 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8169
8169
|
id: "bearer";
|
|
8170
8170
|
hooks: {
|
|
8171
8171
|
before: {
|
|
8172
|
-
matcher: (ctx:
|
|
8173
|
-
handler: (_opts:
|
|
8172
|
+
matcher: (ctx: hono110.Context<ContextVars<any>, any, {}>) => boolean;
|
|
8173
|
+
handler: (_opts: _faire_auth_core_types87.FaireAuthOptions<any>) => (ctx: hono110.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8174
8174
|
}[];
|
|
8175
8175
|
after: {
|
|
8176
|
-
matcher: (_ctx:
|
|
8177
|
-
handler: (_opts:
|
|
8176
|
+
matcher: (_ctx: hono110.Context<ContextVars<any>, any, {}>) => true;
|
|
8177
|
+
handler: (_opts: _faire_auth_core_types87.FaireAuthOptions<any>) => (ctx: hono110.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8178
8178
|
}[];
|
|
8179
8179
|
};
|
|
8180
8180
|
}[];
|
|
@@ -8215,12 +8215,12 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8215
8215
|
id: "bearer";
|
|
8216
8216
|
hooks: {
|
|
8217
8217
|
before: {
|
|
8218
|
-
matcher: (ctx:
|
|
8219
|
-
handler: (_opts:
|
|
8218
|
+
matcher: (ctx: hono110.Context<ContextVars<any>, any, {}>) => boolean;
|
|
8219
|
+
handler: (_opts: _faire_auth_core_types87.FaireAuthOptions<any>) => (ctx: hono110.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8220
8220
|
}[];
|
|
8221
8221
|
after: {
|
|
8222
|
-
matcher: (_ctx:
|
|
8223
|
-
handler: (_opts:
|
|
8222
|
+
matcher: (_ctx: hono110.Context<ContextVars<any>, any, {}>) => true;
|
|
8223
|
+
handler: (_opts: _faire_auth_core_types87.FaireAuthOptions<any>) => (ctx: hono110.Context<ContextVars<object>, string, {}>) => Promise<void>;
|
|
8224
8224
|
}[];
|
|
8225
8225
|
};
|
|
8226
8226
|
}[];
|
|
@@ -8232,7 +8232,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8232
8232
|
type: "mysql";
|
|
8233
8233
|
};
|
|
8234
8234
|
}> 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;
|
|
8235
|
-
handler: (request: Request, Env?: any, executionCtx?:
|
|
8235
|
+
handler: (request: Request, Env?: any, executionCtx?: hono110.ExecutionContext) => Promise<Response> | Response;
|
|
8236
8236
|
app: ReturnType<typeof router>["app"];
|
|
8237
8237
|
api: ReturnType<typeof router>["api"];
|
|
8238
8238
|
$context: AuthContext$1<FaireAuthOptions$1>;
|
|
@@ -8243,7 +8243,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8243
8243
|
};
|
|
8244
8244
|
$ERROR_CODES: typeof _faire_auth_core_error0.BASE_ERROR_CODES;
|
|
8245
8245
|
};
|
|
8246
|
-
client:
|
|
8246
|
+
client: _faire_auth_core_types87.UnionToIntersection<InferResolvedHooks<(C$1 extends undefined ? {} : C$1) & {
|
|
8247
8247
|
baseURL: string;
|
|
8248
8248
|
fetchOptions: {
|
|
8249
8249
|
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
@@ -8439,53 +8439,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8439
8439
|
};
|
|
8440
8440
|
})["fetchOptions"] extends {
|
|
8441
8441
|
throw: true;
|
|
8442
|
-
} ? true : false) ? T_2 extends true ?
|
|
8443
|
-
data: null;
|
|
8444
|
-
error: {
|
|
8445
|
-
success: false;
|
|
8446
|
-
code?: string | undefined | undefined;
|
|
8447
|
-
message?: string | undefined | undefined;
|
|
8448
|
-
status: 401;
|
|
8449
|
-
statusText: string;
|
|
8450
|
-
};
|
|
8451
|
-
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8452
|
-
baseURL: string;
|
|
8453
|
-
fetchOptions: {
|
|
8454
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8455
|
-
};
|
|
8456
|
-
})["fetchOptions"] extends {
|
|
8457
|
-
throw: true;
|
|
8458
|
-
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8459
|
-
baseURL: string;
|
|
8460
|
-
fetchOptions: {
|
|
8461
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8462
|
-
};
|
|
8463
|
-
})["fetchOptions"] extends {
|
|
8464
|
-
throw: true;
|
|
8465
|
-
} ? true : false) ? T_3 extends true ? never : {
|
|
8466
|
-
data: null;
|
|
8467
|
-
error: {
|
|
8468
|
-
success: false;
|
|
8469
|
-
code?: string | undefined;
|
|
8470
|
-
message?: string | undefined;
|
|
8471
|
-
status: 400;
|
|
8472
|
-
statusText: string;
|
|
8473
|
-
};
|
|
8474
|
-
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8475
|
-
baseURL: string;
|
|
8476
|
-
fetchOptions: {
|
|
8477
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8478
|
-
};
|
|
8479
|
-
})["fetchOptions"] extends {
|
|
8480
|
-
throw: true;
|
|
8481
|
-
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8482
|
-
baseURL: string;
|
|
8483
|
-
fetchOptions: {
|
|
8484
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8485
|
-
};
|
|
8486
|
-
})["fetchOptions"] extends {
|
|
8487
|
-
throw: true;
|
|
8488
|
-
} ? true : false) ? T_4 extends true ? {
|
|
8442
|
+
} ? true : false) ? T_2 extends true ? {
|
|
8489
8443
|
success: true;
|
|
8490
8444
|
data: {
|
|
8491
8445
|
success: true;
|
|
@@ -8585,14 +8539,14 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8585
8539
|
};
|
|
8586
8540
|
})["fetchOptions"] extends {
|
|
8587
8541
|
throw: true;
|
|
8588
|
-
} ? true : false) extends infer
|
|
8542
|
+
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8589
8543
|
baseURL: string;
|
|
8590
8544
|
fetchOptions: {
|
|
8591
8545
|
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8592
8546
|
};
|
|
8593
8547
|
})["fetchOptions"] extends {
|
|
8594
8548
|
throw: true;
|
|
8595
|
-
} ? true : false) ?
|
|
8549
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
8596
8550
|
data: null;
|
|
8597
8551
|
error: {
|
|
8598
8552
|
success: false;
|
|
@@ -8608,6 +8562,52 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8608
8562
|
};
|
|
8609
8563
|
})["fetchOptions"] extends {
|
|
8610
8564
|
throw: true;
|
|
8565
|
+
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8566
|
+
baseURL: string;
|
|
8567
|
+
fetchOptions: {
|
|
8568
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8569
|
+
};
|
|
8570
|
+
})["fetchOptions"] extends {
|
|
8571
|
+
throw: true;
|
|
8572
|
+
} ? true : false) ? T_4 extends true ? never : {
|
|
8573
|
+
data: null;
|
|
8574
|
+
error: {
|
|
8575
|
+
success: false;
|
|
8576
|
+
code?: string | undefined;
|
|
8577
|
+
message?: string | undefined;
|
|
8578
|
+
status: 500;
|
|
8579
|
+
statusText: string;
|
|
8580
|
+
};
|
|
8581
|
+
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8582
|
+
baseURL: string;
|
|
8583
|
+
fetchOptions: {
|
|
8584
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8585
|
+
};
|
|
8586
|
+
})["fetchOptions"] extends {
|
|
8587
|
+
throw: true;
|
|
8588
|
+
} ? true : false) extends infer T_5 ? T_5 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8589
|
+
baseURL: string;
|
|
8590
|
+
fetchOptions: {
|
|
8591
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8592
|
+
};
|
|
8593
|
+
})["fetchOptions"] extends {
|
|
8594
|
+
throw: true;
|
|
8595
|
+
} ? true : false) ? T_5 extends true ? never : {
|
|
8596
|
+
data: null;
|
|
8597
|
+
error: {
|
|
8598
|
+
success: false;
|
|
8599
|
+
code?: string | undefined | undefined;
|
|
8600
|
+
message?: string | undefined | undefined;
|
|
8601
|
+
status: 401;
|
|
8602
|
+
statusText: string;
|
|
8603
|
+
};
|
|
8604
|
+
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8605
|
+
baseURL: string;
|
|
8606
|
+
fetchOptions: {
|
|
8607
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
8608
|
+
};
|
|
8609
|
+
})["fetchOptions"] extends {
|
|
8610
|
+
throw: true;
|
|
8611
8611
|
} ? true : false) extends infer T_6 ? T_6 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
8612
8612
|
baseURL: string;
|
|
8613
8613
|
fetchOptions: {
|
|
@@ -8619,19 +8619,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8619
8619
|
data: null;
|
|
8620
8620
|
error: {
|
|
8621
8621
|
success: false;
|
|
8622
|
-
|
|
8623
|
-
|
|
8624
|
-
|
|
8625
|
-
errors: string[];
|
|
8626
|
-
} | undefined;
|
|
8627
|
-
currentPassword?: {
|
|
8628
|
-
errors: string[];
|
|
8629
|
-
} | undefined;
|
|
8630
|
-
revokeOtherSessions?: {
|
|
8631
|
-
errors: string[];
|
|
8632
|
-
} | undefined;
|
|
8633
|
-
} | undefined;
|
|
8634
|
-
status: 422;
|
|
8622
|
+
code?: string | undefined;
|
|
8623
|
+
message?: string | undefined;
|
|
8624
|
+
status: 400;
|
|
8635
8625
|
statusText: string;
|
|
8636
8626
|
};
|
|
8637
8627
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -8652,9 +8642,19 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8652
8642
|
data: null;
|
|
8653
8643
|
error: {
|
|
8654
8644
|
success: false;
|
|
8655
|
-
|
|
8656
|
-
|
|
8657
|
-
|
|
8645
|
+
errors: string[];
|
|
8646
|
+
properties?: {
|
|
8647
|
+
newPassword?: {
|
|
8648
|
+
errors: string[];
|
|
8649
|
+
} | undefined;
|
|
8650
|
+
currentPassword?: {
|
|
8651
|
+
errors: string[];
|
|
8652
|
+
} | undefined;
|
|
8653
|
+
revokeOtherSessions?: {
|
|
8654
|
+
errors: string[];
|
|
8655
|
+
} | undefined;
|
|
8656
|
+
} | undefined;
|
|
8657
|
+
status: 422;
|
|
8658
8658
|
statusText: string;
|
|
8659
8659
|
};
|
|
8660
8660
|
} : never : never)>;
|
|
@@ -8698,9 +8698,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8698
8698
|
data: null;
|
|
8699
8699
|
error: {
|
|
8700
8700
|
success: false;
|
|
8701
|
-
code?: string | undefined
|
|
8702
|
-
message?: string | undefined
|
|
8703
|
-
status:
|
|
8701
|
+
code?: string | undefined;
|
|
8702
|
+
message?: string | undefined;
|
|
8703
|
+
status: 404;
|
|
8704
8704
|
statusText: string;
|
|
8705
8705
|
};
|
|
8706
8706
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -8721,9 +8721,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8721
8721
|
data: null;
|
|
8722
8722
|
error: {
|
|
8723
8723
|
success: false;
|
|
8724
|
-
code?: string | undefined;
|
|
8725
|
-
message?: string | undefined;
|
|
8726
|
-
status:
|
|
8724
|
+
code?: string | undefined | undefined;
|
|
8725
|
+
message?: string | undefined | undefined;
|
|
8726
|
+
status: 401;
|
|
8727
8727
|
statusText: string;
|
|
8728
8728
|
};
|
|
8729
8729
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -8740,15 +8740,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8740
8740
|
};
|
|
8741
8741
|
})["fetchOptions"] extends {
|
|
8742
8742
|
throw: true;
|
|
8743
|
-
} ? true : false) ? T_4 extends true ? {
|
|
8744
|
-
|
|
8745
|
-
|
|
8746
|
-
|
|
8747
|
-
|
|
8748
|
-
success: true;
|
|
8743
|
+
} ? true : false) ? T_4 extends true ? never : {
|
|
8744
|
+
data: null;
|
|
8745
|
+
error: {
|
|
8746
|
+
success: false;
|
|
8747
|
+
code?: string | undefined;
|
|
8749
8748
|
message?: string | undefined;
|
|
8749
|
+
status: 400;
|
|
8750
|
+
statusText: string;
|
|
8750
8751
|
};
|
|
8751
|
-
error: null;
|
|
8752
8752
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8753
8753
|
baseURL: string;
|
|
8754
8754
|
fetchOptions: {
|
|
@@ -8763,15 +8763,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8763
8763
|
};
|
|
8764
8764
|
})["fetchOptions"] extends {
|
|
8765
8765
|
throw: true;
|
|
8766
|
-
} ? true : false) ? T_5 extends true ?
|
|
8767
|
-
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
|
-
|
|
8766
|
+
} ? true : false) ? T_5 extends true ? {
|
|
8767
|
+
success: true;
|
|
8768
|
+
message?: string | undefined;
|
|
8769
|
+
} : {
|
|
8770
|
+
data: {
|
|
8771
|
+
success: true;
|
|
8771
8772
|
message?: string | undefined;
|
|
8772
|
-
status: 404;
|
|
8773
|
-
statusText: string;
|
|
8774
8773
|
};
|
|
8774
|
+
error: null;
|
|
8775
8775
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8776
8776
|
baseURL: string;
|
|
8777
8777
|
fetchOptions: {
|
|
@@ -8845,9 +8845,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8845
8845
|
data: null;
|
|
8846
8846
|
error: {
|
|
8847
8847
|
success: false;
|
|
8848
|
-
code?: string | undefined
|
|
8849
|
-
message?: string | undefined
|
|
8850
|
-
status:
|
|
8848
|
+
code?: string | undefined;
|
|
8849
|
+
message?: string | undefined;
|
|
8850
|
+
status: 404;
|
|
8851
8851
|
statusText: string;
|
|
8852
8852
|
};
|
|
8853
8853
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -8864,15 +8864,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8864
8864
|
};
|
|
8865
8865
|
})["fetchOptions"] extends {
|
|
8866
8866
|
throw: true;
|
|
8867
|
-
} ? true : false) ? T_3 extends true ? {
|
|
8868
|
-
|
|
8869
|
-
|
|
8870
|
-
|
|
8871
|
-
|
|
8872
|
-
|
|
8873
|
-
|
|
8867
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
8868
|
+
data: null;
|
|
8869
|
+
error: {
|
|
8870
|
+
success: false;
|
|
8871
|
+
code?: string | undefined | undefined;
|
|
8872
|
+
message?: string | undefined | undefined;
|
|
8873
|
+
status: 401;
|
|
8874
|
+
statusText: string;
|
|
8874
8875
|
};
|
|
8875
|
-
error: null;
|
|
8876
8876
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8877
8877
|
baseURL: string;
|
|
8878
8878
|
fetchOptions: {
|
|
@@ -8887,15 +8887,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
8887
8887
|
};
|
|
8888
8888
|
})["fetchOptions"] extends {
|
|
8889
8889
|
throw: true;
|
|
8890
|
-
} ? true : false) ? T_4 extends true ?
|
|
8891
|
-
|
|
8892
|
-
|
|
8893
|
-
|
|
8894
|
-
|
|
8890
|
+
} ? true : false) ? T_4 extends true ? {
|
|
8891
|
+
success: true;
|
|
8892
|
+
message?: string | undefined;
|
|
8893
|
+
} : {
|
|
8894
|
+
data: {
|
|
8895
|
+
success: true;
|
|
8895
8896
|
message?: string | undefined;
|
|
8896
|
-
status: 404;
|
|
8897
|
-
statusText: string;
|
|
8898
8897
|
};
|
|
8898
|
+
error: null;
|
|
8899
8899
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
8900
8900
|
baseURL: string;
|
|
8901
8901
|
fetchOptions: {
|
|
@@ -9210,9 +9210,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9210
9210
|
data: null;
|
|
9211
9211
|
error: {
|
|
9212
9212
|
success: false;
|
|
9213
|
-
code?: string | undefined
|
|
9214
|
-
message?: string | undefined
|
|
9215
|
-
status:
|
|
9213
|
+
code?: string | undefined;
|
|
9214
|
+
message?: string | undefined;
|
|
9215
|
+
status: 500;
|
|
9216
9216
|
statusText: string;
|
|
9217
9217
|
};
|
|
9218
9218
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9233,9 +9233,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9233
9233
|
data: null;
|
|
9234
9234
|
error: {
|
|
9235
9235
|
success: false;
|
|
9236
|
-
code?: string | undefined;
|
|
9237
|
-
message?: string | undefined;
|
|
9238
|
-
status:
|
|
9236
|
+
code?: string | undefined | undefined;
|
|
9237
|
+
message?: string | undefined | undefined;
|
|
9238
|
+
status: 401;
|
|
9239
9239
|
statusText: string;
|
|
9240
9240
|
};
|
|
9241
9241
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9258,7 +9258,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9258
9258
|
success: false;
|
|
9259
9259
|
code?: string | undefined;
|
|
9260
9260
|
message?: string | undefined;
|
|
9261
|
-
status:
|
|
9261
|
+
status: 400;
|
|
9262
9262
|
statusText: string;
|
|
9263
9263
|
};
|
|
9264
9264
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9398,7 +9398,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9398
9398
|
success: false;
|
|
9399
9399
|
code?: string | undefined;
|
|
9400
9400
|
message?: string | undefined;
|
|
9401
|
-
status:
|
|
9401
|
+
status: 401;
|
|
9402
9402
|
statusText: string;
|
|
9403
9403
|
};
|
|
9404
9404
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9415,7 +9415,30 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9415
9415
|
};
|
|
9416
9416
|
})["fetchOptions"] extends {
|
|
9417
9417
|
throw: true;
|
|
9418
|
-
} ? true : false) ? T_3 extends true ? {
|
|
9418
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
9419
|
+
data: null;
|
|
9420
|
+
error: {
|
|
9421
|
+
success: false;
|
|
9422
|
+
code?: string | undefined;
|
|
9423
|
+
message?: string | undefined;
|
|
9424
|
+
status: 500;
|
|
9425
|
+
statusText: string;
|
|
9426
|
+
};
|
|
9427
|
+
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
9428
|
+
baseURL: string;
|
|
9429
|
+
fetchOptions: {
|
|
9430
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
9431
|
+
};
|
|
9432
|
+
})["fetchOptions"] extends {
|
|
9433
|
+
throw: true;
|
|
9434
|
+
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
9435
|
+
baseURL: string;
|
|
9436
|
+
fetchOptions: {
|
|
9437
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
9438
|
+
};
|
|
9439
|
+
})["fetchOptions"] extends {
|
|
9440
|
+
throw: true;
|
|
9441
|
+
} ? true : false) ? T_4 extends true ? {
|
|
9419
9442
|
success: true;
|
|
9420
9443
|
data: {
|
|
9421
9444
|
session: {
|
|
@@ -9475,29 +9498,6 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9475
9498
|
};
|
|
9476
9499
|
})["fetchOptions"] extends {
|
|
9477
9500
|
throw: true;
|
|
9478
|
-
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
9479
|
-
baseURL: string;
|
|
9480
|
-
fetchOptions: {
|
|
9481
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
9482
|
-
};
|
|
9483
|
-
})["fetchOptions"] extends {
|
|
9484
|
-
throw: true;
|
|
9485
|
-
} ? true : false) ? T_4 extends true ? never : {
|
|
9486
|
-
data: null;
|
|
9487
|
-
error: {
|
|
9488
|
-
success: false;
|
|
9489
|
-
code?: string | undefined;
|
|
9490
|
-
message?: string | undefined;
|
|
9491
|
-
status: 401;
|
|
9492
|
-
statusText: string;
|
|
9493
|
-
};
|
|
9494
|
-
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
9495
|
-
baseURL: string;
|
|
9496
|
-
fetchOptions: {
|
|
9497
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
9498
|
-
};
|
|
9499
|
-
})["fetchOptions"] extends {
|
|
9500
|
-
throw: true;
|
|
9501
9501
|
} ? true : false) extends infer T_5 ? T_5 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
9502
9502
|
baseURL: string;
|
|
9503
9503
|
fetchOptions: {
|
|
@@ -9542,7 +9542,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9542
9542
|
} & {
|
|
9543
9543
|
linkSocial: {
|
|
9544
9544
|
$post: <O_1 extends FetchOptions<unknown, {
|
|
9545
|
-
provider:
|
|
9545
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
9546
9546
|
callbackURL?: string | undefined;
|
|
9547
9547
|
idToken?: {
|
|
9548
9548
|
token: string;
|
|
@@ -9564,7 +9564,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9564
9564
|
};
|
|
9565
9565
|
}>>(args: {
|
|
9566
9566
|
json: {
|
|
9567
|
-
provider:
|
|
9567
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
9568
9568
|
callbackURL?: string | undefined;
|
|
9569
9569
|
idToken?: {
|
|
9570
9570
|
token: string;
|
|
@@ -9594,9 +9594,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9594
9594
|
data: null;
|
|
9595
9595
|
error: {
|
|
9596
9596
|
success: false;
|
|
9597
|
-
code?: string | undefined
|
|
9598
|
-
message?: string | undefined
|
|
9599
|
-
status:
|
|
9597
|
+
code?: string | undefined;
|
|
9598
|
+
message?: string | undefined;
|
|
9599
|
+
status: 404;
|
|
9600
9600
|
statusText: string;
|
|
9601
9601
|
};
|
|
9602
9602
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9619,7 +9619,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9619
9619
|
success: false;
|
|
9620
9620
|
code?: string | undefined;
|
|
9621
9621
|
message?: string | undefined;
|
|
9622
|
-
status:
|
|
9622
|
+
status: 401;
|
|
9623
9623
|
statusText: string;
|
|
9624
9624
|
};
|
|
9625
9625
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9640,8 +9640,8 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9640
9640
|
data: null;
|
|
9641
9641
|
error: {
|
|
9642
9642
|
success: false;
|
|
9643
|
-
code?: string | undefined;
|
|
9644
|
-
message?: string | undefined;
|
|
9643
|
+
code?: string | undefined | undefined;
|
|
9644
|
+
message?: string | undefined | undefined;
|
|
9645
9645
|
status: 401;
|
|
9646
9646
|
statusText: string;
|
|
9647
9647
|
};
|
|
@@ -9895,9 +9895,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9895
9895
|
data: null;
|
|
9896
9896
|
error: {
|
|
9897
9897
|
success: false;
|
|
9898
|
-
code?: string | undefined
|
|
9899
|
-
message?: string | undefined
|
|
9900
|
-
status:
|
|
9898
|
+
code?: string | undefined;
|
|
9899
|
+
message?: string | undefined;
|
|
9900
|
+
status: 500;
|
|
9901
9901
|
statusText: string;
|
|
9902
9902
|
};
|
|
9903
9903
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -9918,9 +9918,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
9918
9918
|
data: null;
|
|
9919
9919
|
error: {
|
|
9920
9920
|
success: false;
|
|
9921
|
-
code?: string | undefined;
|
|
9922
|
-
message?: string | undefined;
|
|
9923
|
-
status:
|
|
9921
|
+
code?: string | undefined | undefined;
|
|
9922
|
+
message?: string | undefined | undefined;
|
|
9923
|
+
status: 401;
|
|
9924
9924
|
statusText: string;
|
|
9925
9925
|
};
|
|
9926
9926
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -10721,8 +10721,8 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10721
10721
|
data: null;
|
|
10722
10722
|
error: {
|
|
10723
10723
|
success: false;
|
|
10724
|
-
code?: string | undefined
|
|
10725
|
-
message?: string | undefined
|
|
10724
|
+
code?: string | undefined;
|
|
10725
|
+
message?: string | undefined;
|
|
10726
10726
|
status: 401;
|
|
10727
10727
|
statusText: string;
|
|
10728
10728
|
};
|
|
@@ -10746,7 +10746,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10746
10746
|
success: false;
|
|
10747
10747
|
code?: string | undefined;
|
|
10748
10748
|
message?: string | undefined;
|
|
10749
|
-
status:
|
|
10749
|
+
status: 500;
|
|
10750
10750
|
statusText: string;
|
|
10751
10751
|
};
|
|
10752
10752
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -10763,15 +10763,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10763
10763
|
};
|
|
10764
10764
|
})["fetchOptions"] extends {
|
|
10765
10765
|
throw: true;
|
|
10766
|
-
} ? true : false) ? T_4 extends true ? {
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10772
|
-
|
|
10766
|
+
} ? true : false) ? T_4 extends true ? never : {
|
|
10767
|
+
data: null;
|
|
10768
|
+
error: {
|
|
10769
|
+
success: false;
|
|
10770
|
+
code?: string | undefined | undefined;
|
|
10771
|
+
message?: string | undefined | undefined;
|
|
10772
|
+
status: 401;
|
|
10773
|
+
statusText: string;
|
|
10773
10774
|
};
|
|
10774
|
-
error: null;
|
|
10775
10775
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
10776
10776
|
baseURL: string;
|
|
10777
10777
|
fetchOptions: {
|
|
@@ -10792,7 +10792,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10792
10792
|
success: false;
|
|
10793
10793
|
code?: string | undefined;
|
|
10794
10794
|
message?: string | undefined;
|
|
10795
|
-
status:
|
|
10795
|
+
status: 400;
|
|
10796
10796
|
statusText: string;
|
|
10797
10797
|
};
|
|
10798
10798
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -10809,15 +10809,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10809
10809
|
};
|
|
10810
10810
|
})["fetchOptions"] extends {
|
|
10811
10811
|
throw: true;
|
|
10812
|
-
} ? true : false) ? T_6 extends true ?
|
|
10813
|
-
|
|
10814
|
-
|
|
10815
|
-
|
|
10816
|
-
|
|
10812
|
+
} ? true : false) ? T_6 extends true ? {
|
|
10813
|
+
success: true;
|
|
10814
|
+
message?: string | undefined;
|
|
10815
|
+
} : {
|
|
10816
|
+
data: {
|
|
10817
|
+
success: true;
|
|
10817
10818
|
message?: string | undefined;
|
|
10818
|
-
status: 401;
|
|
10819
|
-
statusText: string;
|
|
10820
10819
|
};
|
|
10820
|
+
error: null;
|
|
10821
10821
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
10822
10822
|
baseURL: string;
|
|
10823
10823
|
fetchOptions: {
|
|
@@ -10876,9 +10876,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10876
10876
|
data: null;
|
|
10877
10877
|
error: {
|
|
10878
10878
|
success: false;
|
|
10879
|
-
code?: string | undefined
|
|
10880
|
-
message?: string | undefined
|
|
10881
|
-
status:
|
|
10879
|
+
code?: string | undefined;
|
|
10880
|
+
message?: string | undefined;
|
|
10881
|
+
status: 500;
|
|
10882
10882
|
statusText: string;
|
|
10883
10883
|
};
|
|
10884
10884
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -10895,15 +10895,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10895
10895
|
};
|
|
10896
10896
|
})["fetchOptions"] extends {
|
|
10897
10897
|
throw: true;
|
|
10898
|
-
} ? true : false) ? T_3 extends true ? {
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
|
-
|
|
10898
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
10899
|
+
data: null;
|
|
10900
|
+
error: {
|
|
10901
|
+
success: false;
|
|
10902
|
+
code?: string | undefined | undefined;
|
|
10903
|
+
message?: string | undefined | undefined;
|
|
10904
|
+
status: 401;
|
|
10905
|
+
statusText: string;
|
|
10905
10906
|
};
|
|
10906
|
-
error: null;
|
|
10907
10907
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
10908
10908
|
baseURL: string;
|
|
10909
10909
|
fetchOptions: {
|
|
@@ -10918,15 +10918,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
10918
10918
|
};
|
|
10919
10919
|
})["fetchOptions"] extends {
|
|
10920
10920
|
throw: true;
|
|
10921
|
-
} ? true : false) ? T_4 extends true ?
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10921
|
+
} ? true : false) ? T_4 extends true ? {
|
|
10922
|
+
success: true;
|
|
10923
|
+
message?: string | undefined;
|
|
10924
|
+
} : {
|
|
10925
|
+
data: {
|
|
10926
|
+
success: true;
|
|
10926
10927
|
message?: string | undefined;
|
|
10927
|
-
status: 500;
|
|
10928
|
-
statusText: string;
|
|
10929
10928
|
};
|
|
10929
|
+
error: null;
|
|
10930
10930
|
} : never : never)>;
|
|
10931
10931
|
$url: <const Arg extends {} | undefined = undefined>(arg?: Arg | undefined) => URL;
|
|
10932
10932
|
$path: <const Arg extends {} | undefined = undefined>(arg?: Arg | undefined) => `${Arg extends {
|
|
@@ -11106,30 +11106,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11106
11106
|
};
|
|
11107
11107
|
})["fetchOptions"] extends {
|
|
11108
11108
|
throw: true;
|
|
11109
|
-
} ? true : false) ? T_2 extends true ?
|
|
11110
|
-
data: null;
|
|
11111
|
-
error: {
|
|
11112
|
-
success: false;
|
|
11113
|
-
code?: string | undefined;
|
|
11114
|
-
message?: string | undefined;
|
|
11115
|
-
status: 400;
|
|
11116
|
-
statusText: string;
|
|
11117
|
-
};
|
|
11118
|
-
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
11119
|
-
baseURL: string;
|
|
11120
|
-
fetchOptions: {
|
|
11121
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11122
|
-
};
|
|
11123
|
-
})["fetchOptions"] extends {
|
|
11124
|
-
throw: true;
|
|
11125
|
-
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11126
|
-
baseURL: string;
|
|
11127
|
-
fetchOptions: {
|
|
11128
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11129
|
-
};
|
|
11130
|
-
})["fetchOptions"] extends {
|
|
11131
|
-
throw: true;
|
|
11132
|
-
} ? true : false) ? T_3 extends true ? {
|
|
11109
|
+
} ? true : false) ? T_2 extends true ? {
|
|
11133
11110
|
success: true;
|
|
11134
11111
|
data: {
|
|
11135
11112
|
success: true;
|
|
@@ -11229,6 +11206,29 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11229
11206
|
};
|
|
11230
11207
|
})["fetchOptions"] extends {
|
|
11231
11208
|
throw: true;
|
|
11209
|
+
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11210
|
+
baseURL: string;
|
|
11211
|
+
fetchOptions: {
|
|
11212
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11213
|
+
};
|
|
11214
|
+
})["fetchOptions"] extends {
|
|
11215
|
+
throw: true;
|
|
11216
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
11217
|
+
data: null;
|
|
11218
|
+
error: {
|
|
11219
|
+
success: false;
|
|
11220
|
+
code?: string | undefined;
|
|
11221
|
+
message?: string | undefined;
|
|
11222
|
+
status: 401;
|
|
11223
|
+
statusText: string;
|
|
11224
|
+
};
|
|
11225
|
+
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
11226
|
+
baseURL: string;
|
|
11227
|
+
fetchOptions: {
|
|
11228
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11229
|
+
};
|
|
11230
|
+
})["fetchOptions"] extends {
|
|
11231
|
+
throw: true;
|
|
11232
11232
|
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11233
11233
|
baseURL: string;
|
|
11234
11234
|
fetchOptions: {
|
|
@@ -11265,7 +11265,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11265
11265
|
success: false;
|
|
11266
11266
|
code?: string | undefined;
|
|
11267
11267
|
message?: string | undefined;
|
|
11268
|
-
status:
|
|
11268
|
+
status: 400;
|
|
11269
11269
|
statusText: string;
|
|
11270
11270
|
};
|
|
11271
11271
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -11340,7 +11340,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11340
11340
|
signIn: {
|
|
11341
11341
|
social: {
|
|
11342
11342
|
$post: <O_1 extends FetchOptions<unknown, {
|
|
11343
|
-
provider:
|
|
11343
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
11344
11344
|
callbackURL?: string | undefined;
|
|
11345
11345
|
newUserCallbackURL?: string | undefined;
|
|
11346
11346
|
errorCallbackURL?: string | undefined;
|
|
@@ -11402,7 +11402,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11402
11402
|
};
|
|
11403
11403
|
}>>(args: {
|
|
11404
11404
|
json: {
|
|
11405
|
-
provider:
|
|
11405
|
+
provider: _faire_auth_core_social_providers37.SocialProvider;
|
|
11406
11406
|
callbackURL?: string | undefined;
|
|
11407
11407
|
newUserCallbackURL?: string | undefined;
|
|
11408
11408
|
errorCallbackURL?: string | undefined;
|
|
@@ -11794,30 +11794,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11794
11794
|
};
|
|
11795
11795
|
})["fetchOptions"] extends {
|
|
11796
11796
|
throw: true;
|
|
11797
|
-
} ? true : false) ? T_2 extends true ?
|
|
11798
|
-
data: null;
|
|
11799
|
-
error: {
|
|
11800
|
-
success: false;
|
|
11801
|
-
code?: string | undefined;
|
|
11802
|
-
message?: string | undefined;
|
|
11803
|
-
status: 400;
|
|
11804
|
-
statusText: string;
|
|
11805
|
-
};
|
|
11806
|
-
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
11807
|
-
baseURL: string;
|
|
11808
|
-
fetchOptions: {
|
|
11809
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11810
|
-
};
|
|
11811
|
-
})["fetchOptions"] extends {
|
|
11812
|
-
throw: true;
|
|
11813
|
-
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11814
|
-
baseURL: string;
|
|
11815
|
-
fetchOptions: {
|
|
11816
|
-
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11817
|
-
};
|
|
11818
|
-
})["fetchOptions"] extends {
|
|
11819
|
-
throw: true;
|
|
11820
|
-
} ? true : false) ? T_3 extends true ? {
|
|
11797
|
+
} ? true : false) ? T_2 extends true ? {
|
|
11821
11798
|
success: true;
|
|
11822
11799
|
data: {
|
|
11823
11800
|
success: true;
|
|
@@ -11917,6 +11894,29 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
11917
11894
|
};
|
|
11918
11895
|
})["fetchOptions"] extends {
|
|
11919
11896
|
throw: true;
|
|
11897
|
+
} ? true : false) extends infer T_3 ? T_3 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11898
|
+
baseURL: string;
|
|
11899
|
+
fetchOptions: {
|
|
11900
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11901
|
+
};
|
|
11902
|
+
})["fetchOptions"] extends {
|
|
11903
|
+
throw: true;
|
|
11904
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
11905
|
+
data: null;
|
|
11906
|
+
error: {
|
|
11907
|
+
success: false;
|
|
11908
|
+
code?: string | undefined;
|
|
11909
|
+
message?: string | undefined;
|
|
11910
|
+
status: 400;
|
|
11911
|
+
statusText: string;
|
|
11912
|
+
};
|
|
11913
|
+
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
11914
|
+
baseURL: string;
|
|
11915
|
+
fetchOptions: {
|
|
11916
|
+
customFetchImpl: (url: Request | string | URL, init?: RequestInit) => Promise<Response>;
|
|
11917
|
+
};
|
|
11918
|
+
})["fetchOptions"] extends {
|
|
11919
|
+
throw: true;
|
|
11920
11920
|
} ? true : false) extends infer T_4 ? T_4 extends (((C$1 extends undefined ? {} : C$1) & {
|
|
11921
11921
|
baseURL: string;
|
|
11922
11922
|
fetchOptions: {
|
|
@@ -12140,9 +12140,9 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12140
12140
|
data: null;
|
|
12141
12141
|
error: {
|
|
12142
12142
|
success: false;
|
|
12143
|
-
code?: string | undefined
|
|
12144
|
-
message?: string | undefined
|
|
12145
|
-
status:
|
|
12143
|
+
code?: string | undefined;
|
|
12144
|
+
message?: string | undefined;
|
|
12145
|
+
status: 500;
|
|
12146
12146
|
statusText: string;
|
|
12147
12147
|
};
|
|
12148
12148
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -12159,15 +12159,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12159
12159
|
};
|
|
12160
12160
|
})["fetchOptions"] extends {
|
|
12161
12161
|
throw: true;
|
|
12162
|
-
} ? true : false) ? T_3 extends true ? {
|
|
12163
|
-
|
|
12164
|
-
|
|
12165
|
-
|
|
12166
|
-
|
|
12167
|
-
|
|
12168
|
-
|
|
12162
|
+
} ? true : false) ? T_3 extends true ? never : {
|
|
12163
|
+
data: null;
|
|
12164
|
+
error: {
|
|
12165
|
+
success: false;
|
|
12166
|
+
code?: string | undefined | undefined;
|
|
12167
|
+
message?: string | undefined | undefined;
|
|
12168
|
+
status: 401;
|
|
12169
|
+
statusText: string;
|
|
12169
12170
|
};
|
|
12170
|
-
error: null;
|
|
12171
12171
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
12172
12172
|
baseURL: string;
|
|
12173
12173
|
fetchOptions: {
|
|
@@ -12182,15 +12182,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12182
12182
|
};
|
|
12183
12183
|
})["fetchOptions"] extends {
|
|
12184
12184
|
throw: true;
|
|
12185
|
-
} ? true : false) ? T_4 extends true ?
|
|
12186
|
-
|
|
12187
|
-
|
|
12188
|
-
|
|
12189
|
-
|
|
12185
|
+
} ? true : false) ? T_4 extends true ? {
|
|
12186
|
+
success: true;
|
|
12187
|
+
message?: string | undefined;
|
|
12188
|
+
} : {
|
|
12189
|
+
data: {
|
|
12190
|
+
success: true;
|
|
12190
12191
|
message?: string | undefined;
|
|
12191
|
-
status: 500;
|
|
12192
|
-
statusText: string;
|
|
12193
12192
|
};
|
|
12193
|
+
error: null;
|
|
12194
12194
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
12195
12195
|
baseURL: string;
|
|
12196
12196
|
fetchOptions: {
|
|
@@ -12282,7 +12282,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12282
12282
|
success: false;
|
|
12283
12283
|
code?: string | undefined;
|
|
12284
12284
|
message?: string | undefined;
|
|
12285
|
-
status:
|
|
12285
|
+
status: 401;
|
|
12286
12286
|
statusText: string;
|
|
12287
12287
|
};
|
|
12288
12288
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -12305,7 +12305,7 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12305
12305
|
success: false;
|
|
12306
12306
|
code?: string | undefined;
|
|
12307
12307
|
message?: string | undefined;
|
|
12308
|
-
status:
|
|
12308
|
+
status: 500;
|
|
12309
12309
|
statusText: string;
|
|
12310
12310
|
};
|
|
12311
12311
|
} : never : never) | ((((C$1 extends undefined ? {} : C$1) & {
|
|
@@ -12544,15 +12544,15 @@ declare const getTestInstance: <O extends FaireAuthOptions$1, C$1 extends Client
|
|
|
12544
12544
|
retryAttempt?: number;
|
|
12545
12545
|
errorSchema?: _better_fetch_fetch0.StandardSchemaV1;
|
|
12546
12546
|
disableValidation?: boolean;
|
|
12547
|
-
catchAllError?: boolean;
|
|
12548
12547
|
defaultOutput?: _better_fetch_fetch0.StandardSchemaV1;
|
|
12549
12548
|
defaultError?: _better_fetch_fetch0.StandardSchemaV1;
|
|
12549
|
+
catchAllError?: boolean;
|
|
12550
12550
|
schema?: _better_fetch_fetch0.Schema;
|
|
12551
12551
|
customFetchImpl: any;
|
|
12552
12552
|
}, unknown, unknown, _better_fetch_fetch0.Schema>;
|
|
12553
12553
|
$store: {
|
|
12554
|
-
notify: (signal?:
|
|
12555
|
-
listen: (signal:
|
|
12554
|
+
notify: (signal?: _faire_auth_core_types87.LiteralStringUnion<"$sessionSignal">) => void;
|
|
12555
|
+
listen: (signal: _faire_auth_core_types87.LiteralStringUnion<"$sessionSignal">, listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
12556
12556
|
atoms: {
|
|
12557
12557
|
session: nanostores0.PreinitializedWritableAtom<{
|
|
12558
12558
|
data: {
|