faire-auth 1.0.0 → 1.0.1
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/{access-Crt-IJ2P.cjs → access-BZ7-AbTM.cjs} +1 -1
- package/dist/{adapter-factory-DT-_2aHJ.cjs → adapter-factory-D1I7joki.cjs} +2 -2
- package/dist/adapters/drizzle-adapter/index.cjs +5 -5
- package/dist/adapters/drizzle-adapter/index.d.cts +1 -1
- package/dist/adapters/drizzle-adapter/index.d.mts +2 -2
- package/dist/adapters/drizzle-adapter/index.mjs +3 -3
- package/dist/adapters/index.cjs +4 -4
- package/dist/adapters/index.d.cts +1 -1
- package/dist/adapters/index.d.mts +2 -2
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/kysely-adapter/index.cjs +5 -5
- package/dist/adapters/kysely-adapter/index.d.cts +1 -1
- package/dist/adapters/kysely-adapter/index.d.mts +2 -2
- package/dist/adapters/kysely-adapter/index.mjs +4 -4
- package/dist/adapters/memory-adapter/index.cjs +5 -5
- package/dist/adapters/memory-adapter/index.d.cts +1 -1
- package/dist/adapters/memory-adapter/index.d.mts +2 -2
- package/dist/adapters/memory-adapter/index.mjs +4 -4
- package/dist/adapters/mongodb-adapter/index.cjs +294 -6
- package/dist/adapters/mongodb-adapter/index.d.cts +34 -2
- package/dist/adapters/mongodb-adapter/index.d.mts +35 -3
- package/dist/adapters/mongodb-adapter/index.mjs +291 -4
- package/dist/adapters/prisma-adapter/index.cjs +5 -5
- package/dist/adapters/prisma-adapter/index.d.cts +1 -1
- package/dist/adapters/prisma-adapter/index.d.mts +2 -2
- package/dist/adapters/prisma-adapter/index.mjs +3 -3
- package/dist/adapters/test.cjs +3 -3
- package/dist/adapters/test.d.cts +1 -1
- package/dist/adapters/test.d.mts +2 -2
- package/dist/adapters/test.mjs +2 -2
- package/dist/api/index.cjs +15 -15
- package/dist/api/index.d.cts +1 -1
- package/dist/api/index.d.mts +2 -2
- package/dist/api/index.mjs +8 -8
- package/dist/api/middleware/index.cjs +8 -8
- package/dist/api/middleware/index.d.cts +3 -3
- package/dist/api/middleware/index.d.mts +4 -4
- package/dist/api/middleware/index.mjs +3 -3
- package/dist/{api-_B7qO28y.mjs → api-B4RDwBty.mjs} +7 -7
- package/dist/{api-Bm89BLgN.cjs → api-CaRC1Gio.cjs} +12 -12
- package/dist/{bearer-CHeREcGT.cjs → bearer-DDzrp5M7.cjs} +2 -2
- package/dist/{bearer-0SeEmaS4.mjs → bearer-WZcs7gxL.mjs} +1 -1
- package/dist/{bun-sqlite-dialect-wuaC2-gh.cjs → bun-sqlite-dialect-DPgTzc0w.cjs} +1 -1
- package/dist/{chunk-Ceigfy4P.mjs → chunk-BFnQceUY.mjs} +1 -13
- package/dist/{chunk-oakRccI5.cjs → chunk-fPmz2rbM.cjs} +0 -9
- package/dist/client/index.cjs +26 -7
- package/dist/client/index.d.cts +27 -4
- package/dist/client/index.d.mts +28 -5
- package/dist/client/index.mjs +25 -6
- package/dist/client/lynx/index.cjs +5 -5
- package/dist/client/lynx/index.d.cts +9 -9
- package/dist/client/lynx/index.d.mts +27 -27
- package/dist/client/lynx/index.mjs +3 -3
- package/dist/client/plugins/index.d.cts +1 -1
- package/dist/client/plugins/index.d.mts +2 -2
- package/dist/client/react/index.cjs +5 -5
- package/dist/client/react/index.d.cts +9 -9
- package/dist/client/react/index.d.mts +3 -3
- package/dist/client/react/index.mjs +3 -3
- package/dist/client/solid/index.cjs +5 -5
- package/dist/client/solid/index.d.cts +16 -16
- package/dist/client/solid/index.d.mts +17 -17
- package/dist/client/solid/index.mjs +3 -3
- package/dist/client/svelte/index.cjs +4 -4
- package/dist/client/svelte/index.d.cts +16 -16
- package/dist/client/svelte/index.d.mts +27 -27
- package/dist/client/svelte/index.mjs +3 -3
- package/dist/client/vue/index.cjs +5 -5
- package/dist/client/vue/index.d.cts +27 -27
- package/dist/client/vue/index.d.mts +28 -28
- package/dist/client/vue/index.mjs +3 -3
- package/dist/{cookies-B5xeA6i8.cjs → cookies-BTl72THv.cjs} +3 -3
- package/dist/{cookies-Ch1JfQIz.mjs → cookies-BTs1o992.mjs} +2 -2
- package/dist/crypto/index.cjs +1 -1
- package/dist/crypto/index.d.cts +2 -2
- package/dist/crypto/index.d.mts +3 -3
- package/dist/crypto/index.mjs +1 -1
- package/dist/{crypto-CyQRFtkq.mjs → crypto-DH2Aa7jN.mjs} +1 -1
- package/dist/{crypto-CcTxYH82.cjs → crypto-DpSCnrTp.cjs} +1 -1
- package/dist/db/index.cjs +10 -10
- package/dist/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +2 -2
- package/dist/db/index.mjs +6 -6
- package/dist/{db-xiJtoDgz.mjs → db-4tUsQJXd.mjs} +3 -3
- package/dist/{db-BTKyYu-_.cjs → db-ChMbb_U-.cjs} +8 -8
- package/dist/{email-verification-CWhj2qfb.mjs → email-verification-C_lBu_JY.mjs} +3 -3
- package/dist/{email-verification-C-AsfJsb.cjs → email-verification-DI_0H4JC.cjs} +5 -5
- package/dist/{hono-Cdukwu5K.cjs → hono-C14rpOEa.cjs} +1 -1
- package/dist/{hono-Covz10jU.mjs → hono-CO-zsqI-.mjs} +2 -2
- package/dist/{hono-BEq1NYVX.cjs → hono-DnW5crl1.cjs} +4 -4
- package/dist/index-BC42NdCJ.d.mts +992 -0
- package/dist/{index-B-WeOMzg.d.cts → index-BNCikaaH.d.cts} +834 -834
- package/dist/{index-Qu-iJGNr.d.mts → index-BfbDrljm.d.cts} +15 -15
- package/dist/index-BotKDRUI.d.mts +13350 -0
- package/dist/index-CL5oW5Uh.d.cts +13350 -0
- package/dist/index-ClFGA8tb.d.mts +33 -0
- package/dist/index-DCuvAh3N.d.mts +992 -0
- package/dist/{index-jlessPI0.d.mts → index-DK2ECcVe.d.mts} +382 -382
- package/dist/{index-B09P9p5_.d.cts → index-Dsua4U8w.d.cts} +6 -6
- package/dist/index-KQ5RLFjm.d.cts +33 -0
- package/dist/{index-BVHscLQl.d.cts → index-w-IdIOQJ.d.cts} +15 -15
- package/dist/{index-ppgcFe12.d.mts → index-ztVZPQdV.d.mts} +6 -6
- package/dist/index.cjs +721 -27
- package/dist/index.d.cts +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +711 -16
- package/dist/integrations/next-js.cjs +3 -3
- package/dist/integrations/next-js.d.cts +3 -3
- package/dist/integrations/next-js.d.mts +6 -6
- package/dist/integrations/next-js.mjs +2 -2
- package/dist/integrations/node.d.cts +1 -1
- package/dist/integrations/node.d.mts +2 -2
- package/dist/integrations/react-start.cjs +3 -3
- package/dist/integrations/react-start.d.cts +5 -5
- package/dist/integrations/react-start.d.mts +6 -6
- package/dist/integrations/react-start.mjs +2 -2
- package/dist/integrations/svelte-kit.cjs +3 -3
- package/dist/integrations/svelte-kit.d.cts +5 -5
- package/dist/integrations/svelte-kit.d.mts +6 -6
- package/dist/integrations/svelte-kit.mjs +2 -2
- package/dist/{ip-B5SwXaMB.cjs → ip-C17Qdq-G.cjs} +2 -2
- package/dist/{json-CcJ2HjGo.cjs → json--tl7Grvs.cjs} +1 -1
- package/dist/{kysely-adapter-DRuoT_X8.mjs → kysely-adapter-CtIdoHa8.mjs} +3 -3
- package/dist/{kysely-adapter-Bxi7sPdG.cjs → kysely-adapter-QZTx077T.cjs} +4 -4
- package/dist/{logged-DQK3C64b.cjs → logged-Dv3st5qc.cjs} +1 -1
- package/dist/{memory-adapter-BlnDIAAX.cjs → memory-adapter-17RZd5df.cjs} +2 -2
- package/dist/{memory-adapter-Db3tsJTn.mjs → memory-adapter-Dp4XdCZK.mjs} +1 -1
- package/dist/{node-sqlite-dialect-mJWC8LWQ.cjs → node-sqlite-dialect-DP11CB0y.cjs} +1 -1
- package/dist/oauth2/index.cjs +11 -11
- package/dist/oauth2/index.d.cts +1 -1
- package/dist/oauth2/index.d.mts +2 -2
- package/dist/oauth2/index.mjs +6 -6
- package/dist/{oauth2-BLeOEi7Y.cjs → oauth2-5RL4cVNS.cjs} +3 -3
- package/dist/{oauth2-B8M0lW9l.mjs → oauth2-C56wz-n9.mjs} +2 -2
- package/dist/{origin-check-id9lTnqZ.cjs → origin-check-DjLTuZQ8.cjs} +2 -2
- package/dist/{passkey-B6N20LSS.cjs → passkey-BTT-v5c-.cjs} +4 -4
- package/dist/{passkey-DJsR_GX3.mjs → passkey-CzY_W2us.mjs} +2 -2
- package/dist/plugins/access/index.cjs +1 -1
- package/dist/plugins/access/index.d.cts +1 -1
- package/dist/plugins/access/index.d.mts +1 -1
- package/dist/plugins/access/index.mjs +1 -1
- package/dist/plugins/bearer/index.cjs +4 -4
- package/dist/plugins/bearer/index.d.cts +2 -2
- package/dist/plugins/bearer/index.d.mts +3 -3
- package/dist/plugins/bearer/index.mjs +3 -3
- package/dist/plugins/index.cjs +5215 -31
- package/dist/plugins/index.d.cts +270 -270
- package/dist/plugins/index.d.mts +352 -352
- package/dist/plugins/index.mjs +5202 -19
- package/dist/plugins/passkey/index.cjs +10 -10
- package/dist/plugins/passkey/index.d.cts +2 -2
- package/dist/plugins/passkey/index.d.mts +3 -3
- package/dist/plugins/passkey/index.mjs +5 -5
- package/dist/{schema-D-qjygfE.cjs → schema-CirKflVs.cjs} +2 -2
- package/dist/{session-rH8ougDl.mjs → session-CM3rmOYF.mjs} +1 -1
- package/dist/{session-De9POJTW.cjs → session-Cwrj4GfV.cjs} +5 -5
- package/dist/social-providers/index.cjs +1 -1
- package/dist/social-providers/index.d.cts +1 -1
- package/dist/social-providers/index.d.mts +1 -1
- package/dist/social-providers/index.mjs +1 -1
- package/dist/{social-providers-DoYJhBe3.mjs → social-providers-B8RK5yqI.mjs} +1 -1
- package/dist/{social-providers-DcFNUT0S.cjs → social-providers-BmFOIIPk.cjs} +1 -1
- package/dist/{state-CqJfCIl9.mjs → state-CQghgH9I.mjs} +1 -1
- package/dist/{state--f7fwIGh.cjs → state-CvSihlVT.cjs} +2 -2
- package/dist/test-utils/bun-sqlite-dialect-BSWhhKNs.mjs +155 -0
- package/dist/test-utils/bun-sqlite-dialect-BZBvHchL.cjs +156 -0
- package/dist/test-utils/index.cjs +8927 -482
- package/dist/test-utils/index.d.cts +8637 -579
- package/dist/test-utils/index.d.mts +8636 -576
- package/dist/test-utils/index.mjs +8712 -265
- package/dist/test-utils/node-sqlite-dialect-BgJqjBOu.cjs +156 -0
- package/dist/test-utils/node-sqlite-dialect-DAQXiobH.mjs +155 -0
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.mts +2 -2
- package/dist/{url-D2yvKaM7.cjs → url-Ce7CVaQD.cjs} +1 -1
- package/dist/utils/cookies.cjs +4 -4
- package/dist/utils/cookies.d.cts +1 -1
- package/dist/utils/cookies.d.mts +2 -2
- package/dist/utils/cookies.mjs +2 -2
- package/package.json +2 -2
- package/dist/auth-Bo9PDt5j.cjs +0 -739
- package/dist/auth-Ds4AG4h4.mjs +0 -709
- package/dist/index-C2-2QDyS.d.cts +0 -35
- package/dist/index-CWAqWfoZ.d.cts +0 -27
- package/dist/index-CYSShrFx.d.mts +0 -27
- package/dist/index-to0RO38U.d.mts +0 -35
- package/dist/mongodb-adapter-C_qGQED5.mjs +0 -291
- package/dist/mongodb-adapter-C_qfK87x.cjs +0 -297
- package/dist/plugins-C1lm2Wj3.cjs +0 -5254
- package/dist/plugins-Dai1QkRU.mjs +0 -5199
- package/dist/vanilla-Bu2PmFzE.cjs +0 -30
- package/dist/vanilla-TfHqeiC7.mjs +0 -25
- /package/dist/{access-B5bBI4uT.mjs → access-D0DRqUKC.mjs} +0 -0
- /package/dist/{adapter-factory-BXei1QRX.mjs → adapter-factory-lKIOf2OR.mjs} +0 -0
- /package/dist/{bun-sqlite-dialect-CfkBo2v5.mjs → bun-sqlite-dialect-6NqeV3px.mjs} +0 -0
- /package/dist/{defu-B0Svx_x4.cjs → defu-BmOYq4PU.cjs} +0 -0
- /package/dist/{defu-SZkpHhbR.mjs → defu-D9ZTXqlo.mjs} +0 -0
- /package/dist/{hono-DuE14mmj.d.mts → hono-D0VqxVy1.d.mts} +0 -0
- /package/dist/{index-B5_0QTLg.d.mts → index-BDhhaE6Y.d.cts} +0 -0
- /package/dist/{index-B7SKyR_a.d.cts → index-CF9iq55a.d.mts} +0 -0
- /package/dist/{index-CTwrVluH.d.mts → index-CRt_fppq.d.mts} +0 -0
- /package/dist/{index-cs4Sh0En.d.cts → index-CdLyn7qP.d.cts} +0 -0
- /package/dist/{node-sqlite-dialect-BfBzyOAg.mjs → node-sqlite-dialect-w4DAg0PH.mjs} +0 -0
- /package/dist/{parser-CeAer-RM.mjs → parser-B25ylT5u.mjs} +0 -0
- /package/dist/{parser-CdncAl9i.cjs → parser-B_wxvaAr.cjs} +0 -0
|
@@ -2,31 +2,31 @@ import { n as __reExport, t as __export } from "./chunk-ByHyuO1b.cjs";
|
|
|
2
2
|
import { t as ContextVars } from "./hono-DOM31WQz.cjs";
|
|
3
3
|
import { DBAdapter, DBAdapter as DBAdapter$1, DBAdapterInstance, DBAdapterInstance as DBAdapterInstance$1, DBAdapterSchemaCreation, DBAdapterSchemaCreation as DBAdapterSchemaCreation$1, DBTransactionAdapter, DBTransactionAdapter as DBTransactionAdapter$1, Where, Where as Where$1 } from "@faire-auth/core/db/adapter";
|
|
4
4
|
import { ENV as ENV$1, InternalLogger, LogHandlerParams, LogLevel, Logger, createLogger, logger } from "@faire-auth/core/env";
|
|
5
|
-
import * as
|
|
5
|
+
import * as _faire_auth_core_types75 from "@faire-auth/core/types";
|
|
6
6
|
import { AnyHono, AuthContext, AuthRouteConfig, BasePath, BuildSchema, ConvertPathType, CustomIO, DTOTransformer, DefaultHook, DocPathFromOptions, ExK, Expand, FaireAuthOptions, FaireAuthPlugin, FaireAuthRateLimitOptions, FieldAttribute, FromFn, InferFieldsFromOptions, InferFieldsFromPlugins, InferFieldsInputClient, InferFieldsOutput, InferInput, InternalAdapter, LiteralString, LiteralStringUnion, MinRouteConfig, OmitId, Prettify, ProcessRouteConfig, RouteConfigToEnv, RouteConfigToMiddleware, RouteConfigToRequest, RouteHandler, RouteHook, StripEmptyObjects, UnionToIntersection, execHelper } from "@faire-auth/core/types";
|
|
7
|
-
import * as
|
|
7
|
+
import * as hono100 from "hono";
|
|
8
8
|
import { Context, Env, ExecutionContext, Hono, HonoRequest, MiddlewareHandler, Schema, TypedResponse } from "hono";
|
|
9
|
-
import * as
|
|
9
|
+
import * as _faire_auth_core_db18 from "@faire-auth/core/db";
|
|
10
10
|
import { Account, AccountInput, DBFieldAttribute, DBFieldAttributeConfig, DBFieldType, FaireAuthDBSchema, FaireAuthPluginDBSchema, Session, SessionInput, StrictSession, StrictUser, User, UserInput, VerificationInput } from "@faire-auth/core/db";
|
|
11
11
|
import * as hono_utils_types0 from "hono/utils/types";
|
|
12
12
|
import { HasRequiredKeys } from "hono/utils/types";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _faire_auth_core_social_providers33 from "@faire-auth/core/social-providers";
|
|
14
14
|
import * as _faire_auth_core_factory0 from "@faire-auth/core/factory";
|
|
15
15
|
import { OpenAPIHono, OpenAPIHono as OpenAPIHono$1 } from "@faire-auth/core/factory";
|
|
16
16
|
import { APIError, BASE_ERROR_CODES, FaireAuthError, MissingDependencyError } from "@faire-auth/core/error";
|
|
17
17
|
import { generateId, generateRandomString } from "@faire-auth/core/crypto";
|
|
18
|
-
import * as
|
|
18
|
+
import * as zod675 from "zod";
|
|
19
19
|
import { z } from "zod";
|
|
20
20
|
import { Definitions, Routes, SCHEMAS } from "@faire-auth/core/static";
|
|
21
|
-
import * as
|
|
21
|
+
import * as _better_fetch_fetch49 from "@better-fetch/fetch";
|
|
22
22
|
import { BetterFetch, BetterFetchError, BetterFetchOption, BetterFetchPlugin, CreateFetchOption, Methods, Schema as Schema$1, SchemaConfig, StandardSchemaV1 } from "@better-fetch/fetch";
|
|
23
23
|
import { ExtractSchema } from "hono/types";
|
|
24
|
-
import * as
|
|
24
|
+
import * as nanostores11 from "nanostores";
|
|
25
25
|
import { Atom, WritableAtom } from "nanostores";
|
|
26
26
|
import { ClientRequest, ClientResponse } from "hono/client";
|
|
27
27
|
import { ClientErrorStatusCode, ServerErrorStatusCode, SuccessStatusCode } from "hono/utils/http-status";
|
|
28
28
|
import { HonoRequest as HonoRequest$1 } from "hono/request";
|
|
29
|
-
import * as
|
|
29
|
+
import * as zod_v4_core237 from "zod/v4/core";
|
|
30
30
|
|
|
31
31
|
//#region src/types/adapter.d.ts
|
|
32
32
|
/**
|
|
@@ -96,11 +96,11 @@ declare const createFieldAttribute: <T$1 extends DBFieldType, C$1 extends DBFiel
|
|
|
96
96
|
required?: boolean;
|
|
97
97
|
returned?: boolean;
|
|
98
98
|
input?: boolean;
|
|
99
|
-
defaultValue?:
|
|
100
|
-
onUpdate?: () =>
|
|
99
|
+
defaultValue?: _faire_auth_core_db18.DBPrimitive | (() => _faire_auth_core_db18.DBPrimitive);
|
|
100
|
+
onUpdate?: () => _faire_auth_core_db18.DBPrimitive;
|
|
101
101
|
transform?: {
|
|
102
|
-
input?: (value:
|
|
103
|
-
output?: (value:
|
|
102
|
+
input?: (value: _faire_auth_core_db18.DBPrimitive) => _faire_auth_core_db18.DBPrimitive | Promise<_faire_auth_core_db18.DBPrimitive>;
|
|
103
|
+
output?: (value: _faire_auth_core_db18.DBPrimitive) => _faire_auth_core_db18.DBPrimitive | Promise<_faire_auth_core_db18.DBPrimitive>;
|
|
104
104
|
};
|
|
105
105
|
references?: {
|
|
106
106
|
model: string;
|
|
@@ -110,8 +110,8 @@ declare const createFieldAttribute: <T$1 extends DBFieldType, C$1 extends DBFiel
|
|
|
110
110
|
unique?: boolean;
|
|
111
111
|
bigint?: boolean;
|
|
112
112
|
validator?: {
|
|
113
|
-
input?:
|
|
114
|
-
output?:
|
|
113
|
+
input?: zod675.ZodType;
|
|
114
|
+
output?: zod675.ZodType;
|
|
115
115
|
};
|
|
116
116
|
fieldName?: string | undefined;
|
|
117
117
|
sortable?: boolean;
|
|
@@ -281,23 +281,23 @@ declare function toZodSchema<Fields$1 extends Record<string, DBFieldAttribute |
|
|
|
281
281
|
* If true, then any fields that have `input: false` will be removed from the schema to prevent user input.
|
|
282
282
|
*/
|
|
283
283
|
isClientSide: IsClientSide;
|
|
284
|
-
}):
|
|
284
|
+
}): zod675.ZodObject<RemoveNeverProps<{ [key in keyof Fields$1]: FieldAttributeToSchema<Fields$1[key], IsClientSide> }>, zod675.core.$strip>;
|
|
285
285
|
type FieldAttributeToSchema<Field$1 extends DBFieldAttribute | Record<string, never>, isClientSide$1 extends boolean = false> = Field$1 extends {
|
|
286
286
|
type: any;
|
|
287
287
|
} ? GetInput<isClientSide$1, Field$1, GetRequired<Field$1, GetType<Field$1>>> : Record<string, never>;
|
|
288
288
|
type GetType<F extends DBFieldAttribute> = F extends {
|
|
289
289
|
type: "string";
|
|
290
|
-
} ?
|
|
290
|
+
} ? zod675.ZodString : F extends {
|
|
291
291
|
type: "number";
|
|
292
|
-
} ?
|
|
292
|
+
} ? zod675.ZodNumber : F extends {
|
|
293
293
|
type: "boolean";
|
|
294
|
-
} ?
|
|
294
|
+
} ? zod675.ZodBoolean : F extends {
|
|
295
295
|
type: "date";
|
|
296
|
-
} ?
|
|
297
|
-
type GetRequired<F extends DBFieldAttribute, Schema$2 extends
|
|
296
|
+
} ? zod675.ZodDate : zod675.ZodAny;
|
|
297
|
+
type GetRequired<F extends DBFieldAttribute, Schema$2 extends zod675.core.SomeType> = F extends {
|
|
298
298
|
required: true;
|
|
299
|
-
} ? Schema$2 :
|
|
300
|
-
type GetInput<isClientSide$1 extends boolean, Field$1 extends DBFieldAttribute, Schema$2 extends
|
|
299
|
+
} ? Schema$2 : zod675.ZodOptional<Schema$2>;
|
|
300
|
+
type GetInput<isClientSide$1 extends boolean, Field$1 extends DBFieldAttribute, Schema$2 extends zod675.core.SomeType> = Field$1 extends {
|
|
301
301
|
input: false;
|
|
302
302
|
} ? isClientSide$1 extends true ? never : Schema$2 : Schema$2;
|
|
303
303
|
type RemoveNeverProps<T$1> = { [K in keyof T$1 as [T$1[K]] extends [never] ? never : K]: T$1[K] };
|
|
@@ -595,22 +595,22 @@ type Client<S$2, BasePath$1 extends string, COpts extends ClientOptions> = Union
|
|
|
595
595
|
//#endregion
|
|
596
596
|
//#region src/client/vanilla.d.ts
|
|
597
597
|
type InferResolvedHooks<O extends ClientOptions> = O["plugins"] extends (infer Plugin)[] ? Plugin extends FaireAuthClientPlugin ? Plugin["getAtoms"] extends ((fetch: any) => infer Atoms) ? Atoms extends Record<string, any> ? { [key in keyof Atoms as IsSignal<key> extends true ? never : key extends string ? `use${Capitalize<key>}` : never]: Atoms[key] } : {} : {} : {} : {};
|
|
598
|
-
declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option extends ClientOptions>(options: Option) => UnionToIntersection<InferResolvedHooks<Option>> & (App extends Hono<any, infer S extends
|
|
598
|
+
declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option extends ClientOptions>(options: Option) => UnionToIntersection<InferResolvedHooks<Option>> & (App extends Hono<any, infer S extends hono100.Schema, infer P extends string> ? Client<S, P, Option> : never) & InferActions<Option> & {
|
|
599
599
|
useSession: Atom<{
|
|
600
|
-
data: (App extends Hono<any, infer S_1 extends
|
|
600
|
+
data: (App extends Hono<any, infer S_1 extends hono100.Schema, infer P_1 extends string> ? (S_1[`${P_1}/get-session`]["$get"]["output"] & {
|
|
601
601
|
success: true;
|
|
602
602
|
})["data"] : never) | null;
|
|
603
603
|
error: BetterFetchError | null;
|
|
604
604
|
isPending: boolean;
|
|
605
605
|
}>;
|
|
606
|
-
$fetch:
|
|
607
|
-
plugins: (
|
|
606
|
+
$fetch: _better_fetch_fetch49.BetterFetch<{
|
|
607
|
+
plugins: (_better_fetch_fetch49.BetterFetchPlugin | {
|
|
608
608
|
id: string;
|
|
609
609
|
name: string;
|
|
610
610
|
hooks: {};
|
|
611
611
|
})[];
|
|
612
612
|
method: string;
|
|
613
|
-
output?:
|
|
613
|
+
output?: _better_fetch_fetch49.StandardSchemaV1 | typeof Blob | typeof File;
|
|
614
614
|
query?: any;
|
|
615
615
|
baseURL: string;
|
|
616
616
|
headers?: HeadersInit & (HeadersInit | {
|
|
@@ -644,42 +644,42 @@ declare const createAuthClient: <App extends AnyHono = DefaultApp>() => <Option
|
|
|
644
644
|
referrer?: string;
|
|
645
645
|
referrerPolicy?: ReferrerPolicy;
|
|
646
646
|
signal?: AbortSignal | null;
|
|
647
|
-
onRetry?: (response:
|
|
647
|
+
onRetry?: (response: _better_fetch_fetch49.ResponseContext) => Promise<void> | void;
|
|
648
648
|
hookOptions?: {
|
|
649
649
|
cloneResponse?: boolean;
|
|
650
650
|
};
|
|
651
651
|
timeout?: number;
|
|
652
652
|
duplex?: "full" | "half";
|
|
653
653
|
jsonParser: (text: string) => Promise<any> | any;
|
|
654
|
-
retry?:
|
|
654
|
+
retry?: _better_fetch_fetch49.RetryOptions;
|
|
655
655
|
retryAttempt?: number;
|
|
656
|
-
errorSchema?:
|
|
656
|
+
errorSchema?: _better_fetch_fetch49.StandardSchemaV1;
|
|
657
657
|
disableValidation?: boolean;
|
|
658
|
+
defaultOutput?: _better_fetch_fetch49.StandardSchemaV1;
|
|
659
|
+
defaultError?: _better_fetch_fetch49.StandardSchemaV1;
|
|
658
660
|
catchAllError?: boolean;
|
|
659
|
-
|
|
660
|
-
defaultError?: _better_fetch_fetch61.StandardSchemaV1;
|
|
661
|
-
schema?: _better_fetch_fetch61.Schema;
|
|
661
|
+
schema?: _better_fetch_fetch49.Schema;
|
|
662
662
|
customFetchImpl: any;
|
|
663
|
-
}, unknown, unknown,
|
|
663
|
+
}, unknown, unknown, _better_fetch_fetch49.Schema>;
|
|
664
664
|
$store: {
|
|
665
|
-
notify: (signal?:
|
|
666
|
-
listen: (signal:
|
|
665
|
+
notify: (signal?: _faire_auth_core_types75.LiteralStringUnion<"$sessionSignal">) => void;
|
|
666
|
+
listen: (signal: _faire_auth_core_types75.LiteralStringUnion<"$sessionSignal">, listener: (value: boolean, oldValue?: boolean | undefined) => void) => void;
|
|
667
667
|
atoms: {
|
|
668
|
-
session:
|
|
668
|
+
session: nanostores11.PreinitializedWritableAtom<{
|
|
669
669
|
data: {
|
|
670
|
-
user:
|
|
671
|
-
session:
|
|
670
|
+
user: _faire_auth_core_db18.User;
|
|
671
|
+
session: _faire_auth_core_db18.Session;
|
|
672
672
|
} | null;
|
|
673
673
|
error: BetterFetchError | null;
|
|
674
674
|
isPending: boolean;
|
|
675
675
|
isRefetching: boolean;
|
|
676
676
|
refetch: () => void;
|
|
677
677
|
}> & object;
|
|
678
|
-
$sessionSignal:
|
|
679
|
-
} & Record<string,
|
|
678
|
+
$sessionSignal: nanostores11.PreinitializedWritableAtom<boolean> & object;
|
|
679
|
+
} & Record<string, nanostores11.WritableAtom<any>>;
|
|
680
680
|
};
|
|
681
681
|
$Infer: {
|
|
682
|
-
Session: NonNullable<App extends Hono<any, infer S_1 extends
|
|
682
|
+
Session: NonNullable<App extends Hono<any, infer S_1 extends hono100.Schema, infer P_1 extends string> ? (S_1[`${P_1}/get-session`]["$get"]["output"] & {
|
|
683
683
|
success: true;
|
|
684
684
|
})["data"] : never>;
|
|
685
685
|
};
|
|
@@ -693,29 +693,29 @@ declare const signInSocialRoute: {
|
|
|
693
693
|
description: string;
|
|
694
694
|
content: {
|
|
695
695
|
"application/json": {
|
|
696
|
-
schema:
|
|
697
|
-
success:
|
|
698
|
-
token:
|
|
699
|
-
user:
|
|
700
|
-
id:
|
|
701
|
-
createdAt:
|
|
702
|
-
updatedAt:
|
|
703
|
-
email:
|
|
704
|
-
emailVerified:
|
|
705
|
-
name:
|
|
706
|
-
image:
|
|
707
|
-
},
|
|
708
|
-
},
|
|
709
|
-
success:
|
|
710
|
-
token:
|
|
711
|
-
user:
|
|
712
|
-
},
|
|
713
|
-
redirect:
|
|
714
|
-
url:
|
|
715
|
-
},
|
|
716
|
-
redirect:
|
|
717
|
-
url:
|
|
718
|
-
},
|
|
696
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
697
|
+
success: zod675.ZodLiteral<true>;
|
|
698
|
+
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
699
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
700
|
+
id: zod675.ZodString;
|
|
701
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
702
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
703
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
704
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
705
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
706
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
707
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
708
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
709
|
+
success: zod675.ZodLiteral<false>;
|
|
710
|
+
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
711
|
+
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
712
|
+
}, zod_v4_core237.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
713
|
+
redirect: zod675.ZodLiteral<false>;
|
|
714
|
+
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
715
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
716
|
+
redirect: zod675.ZodLiteral<true>;
|
|
717
|
+
url: zod675.ZodURL;
|
|
718
|
+
}, zod_v4_core237.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
719
719
|
success: true;
|
|
720
720
|
data: ({
|
|
721
721
|
success: true;
|
|
@@ -729,7 +729,7 @@ declare const signInSocialRoute: {
|
|
|
729
729
|
emailVerified: boolean;
|
|
730
730
|
name?: string | undefined;
|
|
731
731
|
image?: string | null | undefined;
|
|
732
|
-
} &
|
|
732
|
+
} & zod675.$brand<"user">;
|
|
733
733
|
} | {
|
|
734
734
|
success: false;
|
|
735
735
|
token: null;
|
|
@@ -753,7 +753,7 @@ declare const signInSocialRoute: {
|
|
|
753
753
|
emailVerified: boolean;
|
|
754
754
|
name?: string | undefined;
|
|
755
755
|
image?: string | null | undefined;
|
|
756
|
-
} &
|
|
756
|
+
} & zod675.$brand<"user">;
|
|
757
757
|
} | {
|
|
758
758
|
success: false;
|
|
759
759
|
token: null;
|
|
@@ -777,11 +777,11 @@ declare const signInSocialRoute: {
|
|
|
777
777
|
description: string;
|
|
778
778
|
content: {
|
|
779
779
|
"application/json": {
|
|
780
|
-
schema:
|
|
781
|
-
success:
|
|
782
|
-
code:
|
|
783
|
-
message:
|
|
784
|
-
},
|
|
780
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
781
|
+
success: zod675.ZodLiteral<false>;
|
|
782
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
783
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
784
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
785
785
|
};
|
|
786
786
|
};
|
|
787
787
|
};
|
|
@@ -790,11 +790,11 @@ declare const signInSocialRoute: {
|
|
|
790
790
|
description: string;
|
|
791
791
|
content: {
|
|
792
792
|
"application/json": {
|
|
793
|
-
schema:
|
|
794
|
-
success:
|
|
795
|
-
code:
|
|
796
|
-
message:
|
|
797
|
-
},
|
|
793
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
794
|
+
success: zod675.ZodLiteral<false>;
|
|
795
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
796
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
797
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
798
798
|
};
|
|
799
799
|
};
|
|
800
800
|
};
|
|
@@ -803,7 +803,7 @@ declare const signInSocialRoute: {
|
|
|
803
803
|
description: string;
|
|
804
804
|
content: {
|
|
805
805
|
"application/json": {
|
|
806
|
-
schema:
|
|
806
|
+
schema: zod675.ZodType<{
|
|
807
807
|
success: false;
|
|
808
808
|
} & {
|
|
809
809
|
errors: string[];
|
|
@@ -860,7 +860,7 @@ declare const signInSocialRoute: {
|
|
|
860
860
|
errors: string[];
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
|
-
}, unknown,
|
|
863
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
864
864
|
success: false;
|
|
865
865
|
} & {
|
|
866
866
|
errors: string[];
|
|
@@ -930,23 +930,23 @@ declare const signInSocialRoute: {
|
|
|
930
930
|
description?: string;
|
|
931
931
|
content: {
|
|
932
932
|
"application/json": {
|
|
933
|
-
schema:
|
|
934
|
-
callbackURL:
|
|
935
|
-
newUserCallbackURL:
|
|
936
|
-
errorCallbackURL:
|
|
937
|
-
provider:
|
|
938
|
-
disableRedirect:
|
|
939
|
-
idToken:
|
|
940
|
-
token:
|
|
941
|
-
nonce:
|
|
942
|
-
accessToken:
|
|
943
|
-
refreshToken:
|
|
944
|
-
expiresAt:
|
|
945
|
-
},
|
|
946
|
-
scopes:
|
|
947
|
-
requestSignUp:
|
|
948
|
-
loginHint:
|
|
949
|
-
},
|
|
933
|
+
schema: zod675.ZodObject<{
|
|
934
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
935
|
+
newUserCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
936
|
+
errorCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
937
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers33.SocialProvider, _faire_auth_core_social_providers33.SocialProvider, zod_v4_core237.$ZodTypeInternals<_faire_auth_core_social_providers33.SocialProvider, _faire_auth_core_social_providers33.SocialProvider>>;
|
|
938
|
+
disableRedirect: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
939
|
+
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
940
|
+
token: zod675.ZodString;
|
|
941
|
+
nonce: zod675.ZodOptional<zod675.ZodString>;
|
|
942
|
+
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
943
|
+
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
944
|
+
expiresAt: zod675.ZodOptional<zod675.ZodNumber>;
|
|
945
|
+
}, zod_v4_core237.$strip>>;
|
|
946
|
+
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
947
|
+
requestSignUp: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
948
|
+
loginHint: zod675.ZodOptional<zod675.ZodString>;
|
|
949
|
+
}, zod_v4_core237.$strip>;
|
|
950
950
|
};
|
|
951
951
|
};
|
|
952
952
|
required: true;
|
|
@@ -960,29 +960,29 @@ declare const signInEmailRoute: {
|
|
|
960
960
|
description: string;
|
|
961
961
|
content: {
|
|
962
962
|
"application/json": {
|
|
963
|
-
schema:
|
|
964
|
-
success:
|
|
965
|
-
token:
|
|
966
|
-
user:
|
|
967
|
-
id:
|
|
968
|
-
createdAt:
|
|
969
|
-
updatedAt:
|
|
970
|
-
email:
|
|
971
|
-
emailVerified:
|
|
972
|
-
name:
|
|
973
|
-
image:
|
|
974
|
-
},
|
|
975
|
-
},
|
|
976
|
-
success:
|
|
977
|
-
token:
|
|
978
|
-
user:
|
|
979
|
-
},
|
|
980
|
-
redirect:
|
|
981
|
-
url:
|
|
982
|
-
},
|
|
983
|
-
redirect:
|
|
984
|
-
url:
|
|
985
|
-
},
|
|
963
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
964
|
+
success: zod675.ZodLiteral<true>;
|
|
965
|
+
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
966
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
967
|
+
id: zod675.ZodString;
|
|
968
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
969
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
970
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
971
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
972
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
973
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
974
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
975
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
976
|
+
success: zod675.ZodLiteral<false>;
|
|
977
|
+
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
978
|
+
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
979
|
+
}, zod_v4_core237.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
980
|
+
redirect: zod675.ZodLiteral<false>;
|
|
981
|
+
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
982
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
983
|
+
redirect: zod675.ZodLiteral<true>;
|
|
984
|
+
url: zod675.ZodURL;
|
|
985
|
+
}, zod_v4_core237.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
986
986
|
success: true;
|
|
987
987
|
data: ({
|
|
988
988
|
success: true;
|
|
@@ -996,7 +996,7 @@ declare const signInEmailRoute: {
|
|
|
996
996
|
emailVerified: boolean;
|
|
997
997
|
name?: string | undefined;
|
|
998
998
|
image?: string | null | undefined;
|
|
999
|
-
} &
|
|
999
|
+
} & zod675.$brand<"user">;
|
|
1000
1000
|
} | {
|
|
1001
1001
|
success: false;
|
|
1002
1002
|
token: null;
|
|
@@ -1020,7 +1020,7 @@ declare const signInEmailRoute: {
|
|
|
1020
1020
|
emailVerified: boolean;
|
|
1021
1021
|
name?: string | undefined;
|
|
1022
1022
|
image?: string | null | undefined;
|
|
1023
|
-
} &
|
|
1023
|
+
} & zod675.$brand<"user">;
|
|
1024
1024
|
} | {
|
|
1025
1025
|
success: false;
|
|
1026
1026
|
token: null;
|
|
@@ -1040,11 +1040,11 @@ declare const signInEmailRoute: {
|
|
|
1040
1040
|
description: string;
|
|
1041
1041
|
content: {
|
|
1042
1042
|
"application/json": {
|
|
1043
|
-
schema:
|
|
1044
|
-
success:
|
|
1045
|
-
code:
|
|
1046
|
-
message:
|
|
1047
|
-
},
|
|
1043
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1044
|
+
success: zod675.ZodLiteral<false>;
|
|
1045
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1046
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1047
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1048
1048
|
};
|
|
1049
1049
|
};
|
|
1050
1050
|
};
|
|
@@ -1053,11 +1053,11 @@ declare const signInEmailRoute: {
|
|
|
1053
1053
|
description: string;
|
|
1054
1054
|
content: {
|
|
1055
1055
|
"application/json": {
|
|
1056
|
-
schema:
|
|
1057
|
-
success:
|
|
1058
|
-
code:
|
|
1059
|
-
message:
|
|
1060
|
-
},
|
|
1056
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1057
|
+
success: zod675.ZodLiteral<false>;
|
|
1058
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1059
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1060
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1061
1061
|
};
|
|
1062
1062
|
};
|
|
1063
1063
|
};
|
|
@@ -1066,11 +1066,11 @@ declare const signInEmailRoute: {
|
|
|
1066
1066
|
description: string;
|
|
1067
1067
|
content: {
|
|
1068
1068
|
"application/json": {
|
|
1069
|
-
schema:
|
|
1070
|
-
success:
|
|
1071
|
-
code:
|
|
1072
|
-
message:
|
|
1073
|
-
},
|
|
1069
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1070
|
+
success: zod675.ZodLiteral<false>;
|
|
1071
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1072
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1073
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1074
1074
|
};
|
|
1075
1075
|
};
|
|
1076
1076
|
};
|
|
@@ -1079,7 +1079,7 @@ declare const signInEmailRoute: {
|
|
|
1079
1079
|
description: string;
|
|
1080
1080
|
content: {
|
|
1081
1081
|
"application/json": {
|
|
1082
|
-
schema:
|
|
1082
|
+
schema: zod675.ZodType<{
|
|
1083
1083
|
success: false;
|
|
1084
1084
|
} & {
|
|
1085
1085
|
errors: string[];
|
|
@@ -1097,7 +1097,7 @@ declare const signInEmailRoute: {
|
|
|
1097
1097
|
errors: string[];
|
|
1098
1098
|
};
|
|
1099
1099
|
};
|
|
1100
|
-
}, unknown,
|
|
1100
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
1101
1101
|
success: false;
|
|
1102
1102
|
} & {
|
|
1103
1103
|
errors: string[];
|
|
@@ -1124,11 +1124,11 @@ declare const signInEmailRoute: {
|
|
|
1124
1124
|
description: string;
|
|
1125
1125
|
content: {
|
|
1126
1126
|
"application/json": {
|
|
1127
|
-
schema:
|
|
1128
|
-
success:
|
|
1129
|
-
code:
|
|
1130
|
-
message:
|
|
1131
|
-
},
|
|
1127
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1128
|
+
success: zod675.ZodLiteral<false>;
|
|
1129
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1130
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1131
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1132
1132
|
};
|
|
1133
1133
|
};
|
|
1134
1134
|
};
|
|
@@ -1141,12 +1141,12 @@ declare const signInEmailRoute: {
|
|
|
1141
1141
|
description?: string;
|
|
1142
1142
|
content: {
|
|
1143
1143
|
"application/json": {
|
|
1144
|
-
schema:
|
|
1145
|
-
email:
|
|
1146
|
-
password:
|
|
1147
|
-
callbackURL:
|
|
1148
|
-
rememberMe:
|
|
1149
|
-
},
|
|
1144
|
+
schema: zod675.ZodObject<{
|
|
1145
|
+
email: zod675.ZodEmail;
|
|
1146
|
+
password: zod675.ZodString;
|
|
1147
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
1148
|
+
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
1149
|
+
}, zod_v4_core237.$strip>;
|
|
1150
1150
|
};
|
|
1151
1151
|
};
|
|
1152
1152
|
required: true;
|
|
@@ -1162,7 +1162,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1162
1162
|
description: string;
|
|
1163
1163
|
content: {
|
|
1164
1164
|
"application/json": {
|
|
1165
|
-
schema:
|
|
1165
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core237.$ZodTypeInternals<unknown, unknown>>;
|
|
1166
1166
|
};
|
|
1167
1167
|
};
|
|
1168
1168
|
};
|
|
@@ -1175,11 +1175,11 @@ declare const getOAuthCallbackRoute: {
|
|
|
1175
1175
|
description: string;
|
|
1176
1176
|
content: {
|
|
1177
1177
|
"application/json": {
|
|
1178
|
-
schema:
|
|
1179
|
-
success:
|
|
1180
|
-
code:
|
|
1181
|
-
message:
|
|
1182
|
-
},
|
|
1178
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1179
|
+
success: zod675.ZodLiteral<false>;
|
|
1180
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1181
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1182
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1183
1183
|
};
|
|
1184
1184
|
};
|
|
1185
1185
|
};
|
|
@@ -1189,18 +1189,18 @@ declare const getOAuthCallbackRoute: {
|
|
|
1189
1189
|
method: "get";
|
|
1190
1190
|
isAction: false;
|
|
1191
1191
|
request: {
|
|
1192
|
-
params:
|
|
1193
|
-
id:
|
|
1194
|
-
},
|
|
1195
|
-
} & {
|
|
1196
|
-
query:
|
|
1197
|
-
code:
|
|
1198
|
-
error:
|
|
1199
|
-
device_id:
|
|
1200
|
-
error_description:
|
|
1201
|
-
state:
|
|
1202
|
-
user:
|
|
1203
|
-
},
|
|
1192
|
+
params: zod675.ZodObject<{
|
|
1193
|
+
id: zod675.ZodString;
|
|
1194
|
+
}, zod_v4_core237.$strip>;
|
|
1195
|
+
} & {
|
|
1196
|
+
query: zod675.ZodObject<{
|
|
1197
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1198
|
+
error: zod675.ZodOptional<zod675.ZodString>;
|
|
1199
|
+
device_id: zod675.ZodOptional<zod675.ZodString>;
|
|
1200
|
+
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1201
|
+
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1202
|
+
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1203
|
+
}, zod_v4_core237.$strip>;
|
|
1204
1204
|
};
|
|
1205
1205
|
getRoutingPath: () => "/callback/:id";
|
|
1206
1206
|
};
|
|
@@ -1210,7 +1210,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1210
1210
|
description: string;
|
|
1211
1211
|
content: {
|
|
1212
1212
|
"application/json": {
|
|
1213
|
-
schema:
|
|
1213
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core237.$ZodTypeInternals<unknown, unknown>>;
|
|
1214
1214
|
};
|
|
1215
1215
|
};
|
|
1216
1216
|
};
|
|
@@ -1223,11 +1223,11 @@ declare const postOAuthCallbackRoute: {
|
|
|
1223
1223
|
description: string;
|
|
1224
1224
|
content: {
|
|
1225
1225
|
"application/json": {
|
|
1226
|
-
schema:
|
|
1227
|
-
success:
|
|
1228
|
-
code:
|
|
1229
|
-
message:
|
|
1230
|
-
},
|
|
1226
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1227
|
+
success: zod675.ZodLiteral<false>;
|
|
1228
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1229
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1230
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1231
1231
|
};
|
|
1232
1232
|
};
|
|
1233
1233
|
};
|
|
@@ -1236,7 +1236,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1236
1236
|
description: string;
|
|
1237
1237
|
content: {
|
|
1238
1238
|
"application/json": {
|
|
1239
|
-
schema:
|
|
1239
|
+
schema: zod675.ZodType<{
|
|
1240
1240
|
success: false;
|
|
1241
1241
|
} & {
|
|
1242
1242
|
errors: string[];
|
|
@@ -1260,7 +1260,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1260
1260
|
errors: string[];
|
|
1261
1261
|
};
|
|
1262
1262
|
};
|
|
1263
|
-
}, unknown,
|
|
1263
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
1264
1264
|
success: false;
|
|
1265
1265
|
} & {
|
|
1266
1266
|
errors: string[];
|
|
@@ -1298,22 +1298,22 @@ declare const postOAuthCallbackRoute: {
|
|
|
1298
1298
|
description?: string;
|
|
1299
1299
|
content: {
|
|
1300
1300
|
"application/json": {
|
|
1301
|
-
schema:
|
|
1302
|
-
code:
|
|
1303
|
-
error:
|
|
1304
|
-
device_id:
|
|
1305
|
-
error_description:
|
|
1306
|
-
state:
|
|
1307
|
-
user:
|
|
1308
|
-
},
|
|
1301
|
+
schema: zod675.ZodOptional<zod675.ZodObject<{
|
|
1302
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1303
|
+
error: zod675.ZodOptional<zod675.ZodString>;
|
|
1304
|
+
device_id: zod675.ZodOptional<zod675.ZodString>;
|
|
1305
|
+
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1306
|
+
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1307
|
+
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1308
|
+
}, zod_v4_core237.$strip>>;
|
|
1309
1309
|
};
|
|
1310
1310
|
};
|
|
1311
1311
|
required: true;
|
|
1312
1312
|
};
|
|
1313
1313
|
} & {
|
|
1314
|
-
params:
|
|
1315
|
-
id:
|
|
1316
|
-
},
|
|
1314
|
+
params: zod675.ZodObject<{
|
|
1315
|
+
id: zod675.ZodString;
|
|
1316
|
+
}, zod_v4_core237.$strip>;
|
|
1317
1317
|
};
|
|
1318
1318
|
getRoutingPath: () => "/callback/:id";
|
|
1319
1319
|
};
|
|
@@ -1325,27 +1325,27 @@ declare const getSessionRoute: {
|
|
|
1325
1325
|
description: string;
|
|
1326
1326
|
content: {
|
|
1327
1327
|
"application/json": {
|
|
1328
|
-
schema:
|
|
1329
|
-
session:
|
|
1330
|
-
createdAt:
|
|
1331
|
-
updatedAt:
|
|
1332
|
-
id:
|
|
1333
|
-
userId:
|
|
1334
|
-
expiresAt:
|
|
1335
|
-
token:
|
|
1336
|
-
ipAddress:
|
|
1337
|
-
userAgent:
|
|
1338
|
-
},
|
|
1339
|
-
user:
|
|
1340
|
-
id:
|
|
1341
|
-
createdAt:
|
|
1342
|
-
updatedAt:
|
|
1343
|
-
email:
|
|
1344
|
-
emailVerified:
|
|
1345
|
-
name:
|
|
1346
|
-
image:
|
|
1347
|
-
},
|
|
1348
|
-
},
|
|
1328
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
1329
|
+
session: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1330
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1331
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1332
|
+
id: zod675.ZodOptional<zod675.ZodString>;
|
|
1333
|
+
userId: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
1334
|
+
expiresAt: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>;
|
|
1335
|
+
token: zod675.ZodString;
|
|
1336
|
+
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1337
|
+
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1338
|
+
}, zod_v4_core237.$loose>, "session">;
|
|
1339
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1340
|
+
id: zod675.ZodString;
|
|
1341
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1342
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1343
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
1344
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
1345
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
1346
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
1347
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
1348
|
+
}, zod_v4_core237.$strip>, zod675.ZodTransform<{
|
|
1349
1349
|
success: true;
|
|
1350
1350
|
data: {
|
|
1351
1351
|
session: {
|
|
@@ -1358,7 +1358,7 @@ declare const getSessionRoute: {
|
|
|
1358
1358
|
id?: string | undefined;
|
|
1359
1359
|
ipAddress?: string | null | undefined;
|
|
1360
1360
|
userAgent?: string | null | undefined;
|
|
1361
|
-
} &
|
|
1361
|
+
} & zod675.$brand<"session">;
|
|
1362
1362
|
user: {
|
|
1363
1363
|
[x: string]: unknown;
|
|
1364
1364
|
id: string;
|
|
@@ -1368,7 +1368,7 @@ declare const getSessionRoute: {
|
|
|
1368
1368
|
emailVerified: boolean;
|
|
1369
1369
|
name?: string | undefined;
|
|
1370
1370
|
image?: string | null | undefined;
|
|
1371
|
-
} &
|
|
1371
|
+
} & zod675.$brand<"user">;
|
|
1372
1372
|
};
|
|
1373
1373
|
}, {
|
|
1374
1374
|
session: {
|
|
@@ -1381,7 +1381,7 @@ declare const getSessionRoute: {
|
|
|
1381
1381
|
id?: string | undefined;
|
|
1382
1382
|
ipAddress?: string | null | undefined;
|
|
1383
1383
|
userAgent?: string | null | undefined;
|
|
1384
|
-
} &
|
|
1384
|
+
} & zod675.$brand<"session">;
|
|
1385
1385
|
user: {
|
|
1386
1386
|
[x: string]: unknown;
|
|
1387
1387
|
id: string;
|
|
@@ -1391,7 +1391,7 @@ declare const getSessionRoute: {
|
|
|
1391
1391
|
emailVerified: boolean;
|
|
1392
1392
|
name?: string | undefined;
|
|
1393
1393
|
image?: string | null | undefined;
|
|
1394
|
-
} &
|
|
1394
|
+
} & zod675.$brand<"user">;
|
|
1395
1395
|
}>>, "sessionUser">;
|
|
1396
1396
|
};
|
|
1397
1397
|
};
|
|
@@ -1401,11 +1401,11 @@ declare const getSessionRoute: {
|
|
|
1401
1401
|
description: string;
|
|
1402
1402
|
content: {
|
|
1403
1403
|
"application/json": {
|
|
1404
|
-
schema:
|
|
1405
|
-
success:
|
|
1406
|
-
code:
|
|
1407
|
-
message:
|
|
1408
|
-
},
|
|
1404
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1405
|
+
success: zod675.ZodLiteral<false>;
|
|
1406
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1407
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1408
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
1411
|
};
|
|
@@ -1414,7 +1414,7 @@ declare const getSessionRoute: {
|
|
|
1414
1414
|
description: string;
|
|
1415
1415
|
content: {
|
|
1416
1416
|
"application/json": {
|
|
1417
|
-
schema:
|
|
1417
|
+
schema: zod675.ZodType<{
|
|
1418
1418
|
success: false;
|
|
1419
1419
|
} & {
|
|
1420
1420
|
errors: string[];
|
|
@@ -1426,7 +1426,7 @@ declare const getSessionRoute: {
|
|
|
1426
1426
|
errors: string[];
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
|
-
}, unknown,
|
|
1429
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
1430
1430
|
success: false;
|
|
1431
1431
|
} & {
|
|
1432
1432
|
errors: string[];
|
|
@@ -1447,11 +1447,11 @@ declare const getSessionRoute: {
|
|
|
1447
1447
|
description: string;
|
|
1448
1448
|
content: {
|
|
1449
1449
|
"application/json": {
|
|
1450
|
-
schema:
|
|
1451
|
-
success:
|
|
1452
|
-
code:
|
|
1453
|
-
message:
|
|
1454
|
-
},
|
|
1450
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1451
|
+
success: zod675.ZodLiteral<false>;
|
|
1452
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1453
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1454
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1455
1455
|
};
|
|
1456
1456
|
};
|
|
1457
1457
|
};
|
|
@@ -1460,10 +1460,10 @@ declare const getSessionRoute: {
|
|
|
1460
1460
|
path: "/get-session";
|
|
1461
1461
|
method: "get";
|
|
1462
1462
|
request: {
|
|
1463
|
-
query:
|
|
1464
|
-
disableCookieCache:
|
|
1465
|
-
disableRefresh:
|
|
1466
|
-
},
|
|
1463
|
+
query: zod675.ZodObject<{
|
|
1464
|
+
disableCookieCache: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1465
|
+
disableRefresh: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1466
|
+
}, zod_v4_core237.$strip>;
|
|
1467
1467
|
};
|
|
1468
1468
|
getRoutingPath: () => "/get-session";
|
|
1469
1469
|
};
|
|
@@ -1491,7 +1491,7 @@ declare const sessionMiddleware: <V extends object>() => (ctx: Context<ContextVa
|
|
|
1491
1491
|
session: Session;
|
|
1492
1492
|
user: User;
|
|
1493
1493
|
};
|
|
1494
|
-
}>, string, {}>, next:
|
|
1494
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1495
1495
|
success: false;
|
|
1496
1496
|
code?: string | undefined;
|
|
1497
1497
|
message?: string | undefined;
|
|
@@ -1506,7 +1506,7 @@ declare const sensitiveSessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1506
1506
|
session: Session;
|
|
1507
1507
|
user: User;
|
|
1508
1508
|
};
|
|
1509
|
-
}>, string, {}>, next:
|
|
1509
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1510
1510
|
success: false;
|
|
1511
1511
|
code?: string | undefined;
|
|
1512
1512
|
message?: string | undefined;
|
|
@@ -1520,7 +1520,7 @@ declare const requestOnlySessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1520
1520
|
session: Session;
|
|
1521
1521
|
user: User;
|
|
1522
1522
|
};
|
|
1523
|
-
}>, string, {}>, next:
|
|
1523
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1524
1524
|
success: false;
|
|
1525
1525
|
code?: string | undefined;
|
|
1526
1526
|
message?: string | undefined;
|
|
@@ -1537,11 +1537,11 @@ declare const freshSessionMiddleware: (ctx: Context<ContextVars<{
|
|
|
1537
1537
|
session: Session;
|
|
1538
1538
|
user: User;
|
|
1539
1539
|
};
|
|
1540
|
-
}>, string, {}>, next:
|
|
1540
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1541
1541
|
success: false;
|
|
1542
1542
|
code?: string | undefined;
|
|
1543
1543
|
message?: string | undefined;
|
|
1544
|
-
}, 401>) |
|
|
1544
|
+
}, 401>) | _faire_auth_core_types75.JSONRespondReturn<{
|
|
1545
1545
|
success: false;
|
|
1546
1546
|
code?: string | undefined;
|
|
1547
1547
|
message?: string | undefined;
|
|
@@ -1552,16 +1552,16 @@ declare const listSessionsRoute: {
|
|
|
1552
1552
|
description: string;
|
|
1553
1553
|
content: {
|
|
1554
1554
|
"application/json": {
|
|
1555
|
-
schema:
|
|
1556
|
-
createdAt:
|
|
1557
|
-
updatedAt:
|
|
1558
|
-
id:
|
|
1559
|
-
userId:
|
|
1560
|
-
expiresAt:
|
|
1561
|
-
token:
|
|
1562
|
-
ipAddress:
|
|
1563
|
-
userAgent:
|
|
1564
|
-
},
|
|
1555
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1556
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1557
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1558
|
+
id: zod675.ZodOptional<zod675.ZodString>;
|
|
1559
|
+
userId: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
1560
|
+
expiresAt: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>;
|
|
1561
|
+
token: zod675.ZodString;
|
|
1562
|
+
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1563
|
+
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1564
|
+
}, zod_v4_core237.$loose>, "session">>, zod675.ZodTransform<{
|
|
1565
1565
|
success: true;
|
|
1566
1566
|
data: ({
|
|
1567
1567
|
[x: string]: unknown;
|
|
@@ -1573,7 +1573,7 @@ declare const listSessionsRoute: {
|
|
|
1573
1573
|
id?: string | undefined;
|
|
1574
1574
|
ipAddress?: string | null | undefined;
|
|
1575
1575
|
userAgent?: string | null | undefined;
|
|
1576
|
-
} &
|
|
1576
|
+
} & zod675.$brand<"session">)[];
|
|
1577
1577
|
}, ({
|
|
1578
1578
|
[x: string]: unknown;
|
|
1579
1579
|
createdAt: Date;
|
|
@@ -1584,7 +1584,7 @@ declare const listSessionsRoute: {
|
|
|
1584
1584
|
id?: string | undefined;
|
|
1585
1585
|
ipAddress?: string | null | undefined;
|
|
1586
1586
|
userAgent?: string | null | undefined;
|
|
1587
|
-
} &
|
|
1587
|
+
} & zod675.$brand<"session">)[]>>, "sessionsList">;
|
|
1588
1588
|
};
|
|
1589
1589
|
};
|
|
1590
1590
|
};
|
|
@@ -1593,11 +1593,11 @@ declare const listSessionsRoute: {
|
|
|
1593
1593
|
description: string;
|
|
1594
1594
|
content: {
|
|
1595
1595
|
"application/json": {
|
|
1596
|
-
schema:
|
|
1597
|
-
success:
|
|
1598
|
-
code:
|
|
1599
|
-
message:
|
|
1600
|
-
},
|
|
1596
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1597
|
+
success: zod675.ZodLiteral<false>;
|
|
1598
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1599
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1600
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1601
1601
|
};
|
|
1602
1602
|
};
|
|
1603
1603
|
};
|
|
@@ -1629,7 +1629,7 @@ declare const listSessionsRoute: {
|
|
|
1629
1629
|
image?: string | null;
|
|
1630
1630
|
};
|
|
1631
1631
|
};
|
|
1632
|
-
}>, string, {}>, next:
|
|
1632
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1633
1633
|
success: false;
|
|
1634
1634
|
code?: string | undefined;
|
|
1635
1635
|
message?: string | undefined;
|
|
@@ -1642,10 +1642,10 @@ declare const revokeSessionRoute: {
|
|
|
1642
1642
|
description: string;
|
|
1643
1643
|
content: {
|
|
1644
1644
|
"application/json": {
|
|
1645
|
-
schema:
|
|
1646
|
-
success:
|
|
1647
|
-
message:
|
|
1648
|
-
},
|
|
1645
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1646
|
+
success: zod675.ZodLiteral<true>;
|
|
1647
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1648
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1649
1649
|
};
|
|
1650
1650
|
};
|
|
1651
1651
|
};
|
|
@@ -1654,7 +1654,7 @@ declare const revokeSessionRoute: {
|
|
|
1654
1654
|
description: string;
|
|
1655
1655
|
content: {
|
|
1656
1656
|
"application/json": {
|
|
1657
|
-
schema:
|
|
1657
|
+
schema: zod675.ZodType<{
|
|
1658
1658
|
success: false;
|
|
1659
1659
|
} & {
|
|
1660
1660
|
errors: string[];
|
|
@@ -1663,7 +1663,7 @@ declare const revokeSessionRoute: {
|
|
|
1663
1663
|
errors: string[];
|
|
1664
1664
|
};
|
|
1665
1665
|
};
|
|
1666
|
-
}, unknown,
|
|
1666
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
1667
1667
|
success: false;
|
|
1668
1668
|
} & {
|
|
1669
1669
|
errors: string[];
|
|
@@ -1681,11 +1681,11 @@ declare const revokeSessionRoute: {
|
|
|
1681
1681
|
description: string;
|
|
1682
1682
|
content: {
|
|
1683
1683
|
"application/json": {
|
|
1684
|
-
schema:
|
|
1685
|
-
success:
|
|
1686
|
-
code:
|
|
1687
|
-
message:
|
|
1688
|
-
},
|
|
1684
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1685
|
+
success: zod675.ZodLiteral<false>;
|
|
1686
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1687
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1688
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1689
1689
|
};
|
|
1690
1690
|
};
|
|
1691
1691
|
};
|
|
@@ -1694,11 +1694,11 @@ declare const revokeSessionRoute: {
|
|
|
1694
1694
|
description: string;
|
|
1695
1695
|
content: {
|
|
1696
1696
|
"application/json": {
|
|
1697
|
-
schema:
|
|
1698
|
-
success:
|
|
1699
|
-
code:
|
|
1700
|
-
message:
|
|
1701
|
-
},
|
|
1697
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1698
|
+
success: zod675.ZodLiteral<false>;
|
|
1699
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1700
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1701
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1702
1702
|
};
|
|
1703
1703
|
};
|
|
1704
1704
|
};
|
|
@@ -1707,11 +1707,11 @@ declare const revokeSessionRoute: {
|
|
|
1707
1707
|
description: string;
|
|
1708
1708
|
content: {
|
|
1709
1709
|
"application/json": {
|
|
1710
|
-
schema:
|
|
1711
|
-
success:
|
|
1712
|
-
code:
|
|
1713
|
-
message:
|
|
1714
|
-
},
|
|
1710
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1711
|
+
success: zod675.ZodLiteral<false>;
|
|
1712
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1713
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1714
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1715
1715
|
};
|
|
1716
1716
|
};
|
|
1717
1717
|
};
|
|
@@ -1724,7 +1724,7 @@ declare const revokeSessionRoute: {
|
|
|
1724
1724
|
session: Session;
|
|
1725
1725
|
user: User;
|
|
1726
1726
|
};
|
|
1727
|
-
}>, string, {}>, next:
|
|
1727
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1728
1728
|
success: false;
|
|
1729
1729
|
code?: string | undefined;
|
|
1730
1730
|
message?: string | undefined;
|
|
@@ -1734,9 +1734,9 @@ declare const revokeSessionRoute: {
|
|
|
1734
1734
|
description?: string;
|
|
1735
1735
|
content: {
|
|
1736
1736
|
"application/json": {
|
|
1737
|
-
schema:
|
|
1738
|
-
token:
|
|
1739
|
-
},
|
|
1737
|
+
schema: zod675.ZodObject<{
|
|
1738
|
+
token: zod675.ZodString;
|
|
1739
|
+
}, zod_v4_core237.$strip>;
|
|
1740
1740
|
};
|
|
1741
1741
|
};
|
|
1742
1742
|
required: true;
|
|
@@ -1750,10 +1750,10 @@ declare const revokeSessionsRoute: {
|
|
|
1750
1750
|
description: string;
|
|
1751
1751
|
content: {
|
|
1752
1752
|
"application/json": {
|
|
1753
|
-
schema:
|
|
1754
|
-
success:
|
|
1755
|
-
message:
|
|
1756
|
-
},
|
|
1753
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1754
|
+
success: zod675.ZodLiteral<true>;
|
|
1755
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1756
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1757
1757
|
};
|
|
1758
1758
|
};
|
|
1759
1759
|
};
|
|
@@ -1762,11 +1762,11 @@ declare const revokeSessionsRoute: {
|
|
|
1762
1762
|
description: string;
|
|
1763
1763
|
content: {
|
|
1764
1764
|
"application/json": {
|
|
1765
|
-
schema:
|
|
1766
|
-
success:
|
|
1767
|
-
code:
|
|
1768
|
-
message:
|
|
1769
|
-
},
|
|
1765
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1766
|
+
success: zod675.ZodLiteral<false>;
|
|
1767
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1768
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1769
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1770
1770
|
};
|
|
1771
1771
|
};
|
|
1772
1772
|
};
|
|
@@ -1779,7 +1779,7 @@ declare const revokeSessionsRoute: {
|
|
|
1779
1779
|
session: Session;
|
|
1780
1780
|
user: User;
|
|
1781
1781
|
};
|
|
1782
|
-
}>, string, {}>, next:
|
|
1782
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1783
1783
|
success: false;
|
|
1784
1784
|
code?: string | undefined;
|
|
1785
1785
|
message?: string | undefined;
|
|
@@ -1792,10 +1792,10 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1792
1792
|
description: string;
|
|
1793
1793
|
content: {
|
|
1794
1794
|
"application/json": {
|
|
1795
|
-
schema:
|
|
1796
|
-
success:
|
|
1797
|
-
message:
|
|
1798
|
-
},
|
|
1795
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1796
|
+
success: zod675.ZodLiteral<true>;
|
|
1797
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1798
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1799
1799
|
};
|
|
1800
1800
|
};
|
|
1801
1801
|
};
|
|
@@ -1808,7 +1808,7 @@ declare const revokeOtherSessionsRoute: {
|
|
|
1808
1808
|
session: Session;
|
|
1809
1809
|
user: User;
|
|
1810
1810
|
};
|
|
1811
|
-
}>, string, {}>, next:
|
|
1811
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & TypedResponse<{
|
|
1812
1812
|
success: false;
|
|
1813
1813
|
code?: string | undefined;
|
|
1814
1814
|
message?: string | undefined;
|
|
@@ -1823,10 +1823,10 @@ declare const signOutRoute: {
|
|
|
1823
1823
|
description: string;
|
|
1824
1824
|
content: {
|
|
1825
1825
|
"application/json": {
|
|
1826
|
-
schema:
|
|
1827
|
-
success:
|
|
1828
|
-
message:
|
|
1829
|
-
},
|
|
1826
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1827
|
+
success: zod675.ZodLiteral<true>;
|
|
1828
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1829
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1830
1830
|
};
|
|
1831
1831
|
};
|
|
1832
1832
|
};
|
|
@@ -1835,11 +1835,11 @@ declare const signOutRoute: {
|
|
|
1835
1835
|
description: string;
|
|
1836
1836
|
content: {
|
|
1837
1837
|
"application/json": {
|
|
1838
|
-
schema:
|
|
1839
|
-
success:
|
|
1840
|
-
code:
|
|
1841
|
-
message:
|
|
1842
|
-
},
|
|
1838
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1839
|
+
success: zod675.ZodLiteral<false>;
|
|
1840
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1841
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1842
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1843
1843
|
};
|
|
1844
1844
|
};
|
|
1845
1845
|
};
|
|
@@ -1857,10 +1857,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1857
1857
|
description: string;
|
|
1858
1858
|
content: {
|
|
1859
1859
|
"application/json": {
|
|
1860
|
-
schema:
|
|
1861
|
-
success:
|
|
1862
|
-
message:
|
|
1863
|
-
},
|
|
1860
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1861
|
+
success: zod675.ZodLiteral<true>;
|
|
1862
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1863
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1864
1864
|
};
|
|
1865
1865
|
};
|
|
1866
1866
|
};
|
|
@@ -1869,11 +1869,11 @@ declare const requestPasswordResetRoute: {
|
|
|
1869
1869
|
description: string;
|
|
1870
1870
|
content: {
|
|
1871
1871
|
"application/json": {
|
|
1872
|
-
schema:
|
|
1873
|
-
success:
|
|
1874
|
-
code:
|
|
1875
|
-
message:
|
|
1876
|
-
},
|
|
1872
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1873
|
+
success: zod675.ZodLiteral<false>;
|
|
1874
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1875
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1876
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1877
1877
|
};
|
|
1878
1878
|
};
|
|
1879
1879
|
};
|
|
@@ -1882,7 +1882,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1882
1882
|
description: string;
|
|
1883
1883
|
content: {
|
|
1884
1884
|
"application/json": {
|
|
1885
|
-
schema:
|
|
1885
|
+
schema: zod675.ZodType<{
|
|
1886
1886
|
success: false;
|
|
1887
1887
|
} & {
|
|
1888
1888
|
errors: string[];
|
|
@@ -1894,7 +1894,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1894
1894
|
errors: string[];
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
1897
|
-
}, unknown,
|
|
1897
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
1898
1898
|
success: false;
|
|
1899
1899
|
} & {
|
|
1900
1900
|
errors: string[];
|
|
@@ -1919,10 +1919,10 @@ declare const requestPasswordResetRoute: {
|
|
|
1919
1919
|
description?: string;
|
|
1920
1920
|
content: {
|
|
1921
1921
|
"application/json": {
|
|
1922
|
-
schema:
|
|
1923
|
-
email:
|
|
1924
|
-
redirectTo:
|
|
1925
|
-
},
|
|
1922
|
+
schema: zod675.ZodObject<{
|
|
1923
|
+
email: zod675.ZodEmail;
|
|
1924
|
+
redirectTo: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
1925
|
+
}, zod_v4_core237.$strip>;
|
|
1926
1926
|
};
|
|
1927
1927
|
};
|
|
1928
1928
|
required: true;
|
|
@@ -1936,7 +1936,7 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1936
1936
|
description: string;
|
|
1937
1937
|
content: {
|
|
1938
1938
|
"application/json": {
|
|
1939
|
-
schema:
|
|
1939
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core237.$ZodTypeInternals<unknown, unknown>>;
|
|
1940
1940
|
};
|
|
1941
1941
|
};
|
|
1942
1942
|
};
|
|
@@ -1948,15 +1948,15 @@ declare const requestPasswordResetCallbackRoute: {
|
|
|
1948
1948
|
operationId: "requestPasswordResetCallback";
|
|
1949
1949
|
path: "/reset-password/:token";
|
|
1950
1950
|
method: "get";
|
|
1951
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
1951
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono100.Next) => Promise<void | Response>];
|
|
1952
1952
|
request: {
|
|
1953
|
-
params:
|
|
1954
|
-
token:
|
|
1955
|
-
},
|
|
1953
|
+
params: zod675.ZodObject<{
|
|
1954
|
+
token: zod675.ZodString;
|
|
1955
|
+
}, zod_v4_core237.$strip>;
|
|
1956
1956
|
} & {
|
|
1957
|
-
query:
|
|
1958
|
-
callbackURL:
|
|
1959
|
-
},
|
|
1957
|
+
query: zod675.ZodObject<{
|
|
1958
|
+
callbackURL: zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string, string>, zod675.ZodURL>, zod675.ZodTransform<string, string>>;
|
|
1959
|
+
}, zod_v4_core237.$strip>;
|
|
1960
1960
|
};
|
|
1961
1961
|
getRoutingPath: () => "/reset-password/:token";
|
|
1962
1962
|
};
|
|
@@ -1966,10 +1966,10 @@ declare const resetPasswordRoute: {
|
|
|
1966
1966
|
description: string;
|
|
1967
1967
|
content: {
|
|
1968
1968
|
"application/json": {
|
|
1969
|
-
schema:
|
|
1970
|
-
success:
|
|
1971
|
-
message:
|
|
1972
|
-
},
|
|
1969
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1970
|
+
success: zod675.ZodLiteral<true>;
|
|
1971
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1972
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
1973
1973
|
};
|
|
1974
1974
|
};
|
|
1975
1975
|
};
|
|
@@ -1978,11 +1978,11 @@ declare const resetPasswordRoute: {
|
|
|
1978
1978
|
description: string;
|
|
1979
1979
|
content: {
|
|
1980
1980
|
"application/json": {
|
|
1981
|
-
schema:
|
|
1982
|
-
success:
|
|
1983
|
-
code:
|
|
1984
|
-
message:
|
|
1985
|
-
},
|
|
1981
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
1982
|
+
success: zod675.ZodLiteral<false>;
|
|
1983
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1984
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1985
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
1986
1986
|
};
|
|
1987
1987
|
};
|
|
1988
1988
|
};
|
|
@@ -1991,7 +1991,7 @@ declare const resetPasswordRoute: {
|
|
|
1991
1991
|
description: string;
|
|
1992
1992
|
content: {
|
|
1993
1993
|
"application/json": {
|
|
1994
|
-
schema:
|
|
1994
|
+
schema: zod675.ZodType<{
|
|
1995
1995
|
success: false;
|
|
1996
1996
|
} & {
|
|
1997
1997
|
errors: string[];
|
|
@@ -2003,7 +2003,7 @@ declare const resetPasswordRoute: {
|
|
|
2003
2003
|
errors: string[];
|
|
2004
2004
|
};
|
|
2005
2005
|
};
|
|
2006
|
-
}, unknown,
|
|
2006
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2007
2007
|
success: false;
|
|
2008
2008
|
} & {
|
|
2009
2009
|
errors: string[];
|
|
@@ -2028,18 +2028,18 @@ declare const resetPasswordRoute: {
|
|
|
2028
2028
|
description?: string;
|
|
2029
2029
|
content: {
|
|
2030
2030
|
"application/json": {
|
|
2031
|
-
schema:
|
|
2032
|
-
newPassword:
|
|
2033
|
-
token:
|
|
2034
|
-
},
|
|
2031
|
+
schema: zod675.ZodObject<{
|
|
2032
|
+
newPassword: zod675.ZodString;
|
|
2033
|
+
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2034
|
+
}, zod_v4_core237.$strip>;
|
|
2035
2035
|
};
|
|
2036
2036
|
};
|
|
2037
2037
|
required: true;
|
|
2038
2038
|
};
|
|
2039
2039
|
} & {
|
|
2040
|
-
query:
|
|
2041
|
-
token:
|
|
2042
|
-
},
|
|
2040
|
+
query: zod675.ZodObject<{
|
|
2041
|
+
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2042
|
+
}, zod_v4_core237.$strip>;
|
|
2043
2043
|
};
|
|
2044
2044
|
getRoutingPath: () => "/reset-password";
|
|
2045
2045
|
};
|
|
@@ -2051,10 +2051,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
2051
2051
|
description: string;
|
|
2052
2052
|
content: {
|
|
2053
2053
|
"application/json": {
|
|
2054
|
-
schema:
|
|
2055
|
-
success:
|
|
2056
|
-
message:
|
|
2057
|
-
},
|
|
2054
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2055
|
+
success: zod675.ZodLiteral<true>;
|
|
2056
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2057
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2058
2058
|
};
|
|
2059
2059
|
};
|
|
2060
2060
|
};
|
|
@@ -2063,11 +2063,11 @@ declare const sendVerificationEmailRoute: {
|
|
|
2063
2063
|
description: string;
|
|
2064
2064
|
content: {
|
|
2065
2065
|
"application/json": {
|
|
2066
|
-
schema:
|
|
2067
|
-
success:
|
|
2068
|
-
code:
|
|
2069
|
-
message:
|
|
2070
|
-
},
|
|
2066
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2067
|
+
success: zod675.ZodLiteral<false>;
|
|
2068
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2069
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2070
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2071
2071
|
};
|
|
2072
2072
|
};
|
|
2073
2073
|
};
|
|
@@ -2076,7 +2076,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2076
2076
|
description: string;
|
|
2077
2077
|
content: {
|
|
2078
2078
|
"application/json": {
|
|
2079
|
-
schema:
|
|
2079
|
+
schema: zod675.ZodType<{
|
|
2080
2080
|
success: false;
|
|
2081
2081
|
} & {
|
|
2082
2082
|
errors: string[];
|
|
@@ -2088,7 +2088,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2088
2088
|
errors: string[];
|
|
2089
2089
|
};
|
|
2090
2090
|
};
|
|
2091
|
-
}, unknown,
|
|
2091
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2092
2092
|
success: false;
|
|
2093
2093
|
} & {
|
|
2094
2094
|
errors: string[];
|
|
@@ -2113,10 +2113,10 @@ declare const sendVerificationEmailRoute: {
|
|
|
2113
2113
|
description?: string;
|
|
2114
2114
|
content: {
|
|
2115
2115
|
"application/json": {
|
|
2116
|
-
schema:
|
|
2117
|
-
email:
|
|
2118
|
-
callbackURL:
|
|
2119
|
-
},
|
|
2116
|
+
schema: zod675.ZodObject<{
|
|
2117
|
+
email: zod675.ZodEmail;
|
|
2118
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2119
|
+
}, zod_v4_core237.$strip>;
|
|
2120
2120
|
};
|
|
2121
2121
|
};
|
|
2122
2122
|
required: true;
|
|
@@ -2130,23 +2130,23 @@ declare const verifyEmailRoute: {
|
|
|
2130
2130
|
description: string;
|
|
2131
2131
|
content: {
|
|
2132
2132
|
"application/json": {
|
|
2133
|
-
schema:
|
|
2134
|
-
success:
|
|
2135
|
-
token:
|
|
2136
|
-
user:
|
|
2137
|
-
id:
|
|
2138
|
-
createdAt:
|
|
2139
|
-
updatedAt:
|
|
2140
|
-
email:
|
|
2141
|
-
emailVerified:
|
|
2142
|
-
name:
|
|
2143
|
-
image:
|
|
2144
|
-
},
|
|
2145
|
-
},
|
|
2146
|
-
success:
|
|
2147
|
-
token:
|
|
2148
|
-
user:
|
|
2149
|
-
},
|
|
2133
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2134
|
+
success: zod675.ZodLiteral<true>;
|
|
2135
|
+
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2136
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2137
|
+
id: zod675.ZodString;
|
|
2138
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2139
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2140
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
2141
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2142
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2143
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2144
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
2145
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
2146
|
+
success: zod675.ZodLiteral<false>;
|
|
2147
|
+
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2148
|
+
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2149
|
+
}, zod_v4_core237.$strip>], "success">, zod675.ZodTransform<{
|
|
2150
2150
|
success: true;
|
|
2151
2151
|
data: {
|
|
2152
2152
|
success: true;
|
|
@@ -2160,7 +2160,7 @@ declare const verifyEmailRoute: {
|
|
|
2160
2160
|
emailVerified: boolean;
|
|
2161
2161
|
name?: string | undefined;
|
|
2162
2162
|
image?: string | null | undefined;
|
|
2163
|
-
} &
|
|
2163
|
+
} & zod675.$brand<"user">;
|
|
2164
2164
|
} | {
|
|
2165
2165
|
success: false;
|
|
2166
2166
|
token: null;
|
|
@@ -2178,7 +2178,7 @@ declare const verifyEmailRoute: {
|
|
|
2178
2178
|
emailVerified: boolean;
|
|
2179
2179
|
name?: string | undefined;
|
|
2180
2180
|
image?: string | null | undefined;
|
|
2181
|
-
} &
|
|
2181
|
+
} & zod675.$brand<"user">;
|
|
2182
2182
|
} | {
|
|
2183
2183
|
success: false;
|
|
2184
2184
|
token: null;
|
|
@@ -2192,11 +2192,11 @@ declare const verifyEmailRoute: {
|
|
|
2192
2192
|
description: string;
|
|
2193
2193
|
content: {
|
|
2194
2194
|
"application/json": {
|
|
2195
|
-
schema:
|
|
2196
|
-
success:
|
|
2197
|
-
code:
|
|
2198
|
-
message:
|
|
2199
|
-
},
|
|
2195
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2196
|
+
success: zod675.ZodLiteral<false>;
|
|
2197
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2198
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2199
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2200
2200
|
};
|
|
2201
2201
|
};
|
|
2202
2202
|
};
|
|
@@ -2205,11 +2205,11 @@ declare const verifyEmailRoute: {
|
|
|
2205
2205
|
description: string;
|
|
2206
2206
|
content: {
|
|
2207
2207
|
"application/json": {
|
|
2208
|
-
schema:
|
|
2209
|
-
success:
|
|
2210
|
-
code:
|
|
2211
|
-
message:
|
|
2212
|
-
},
|
|
2208
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2209
|
+
success: zod675.ZodLiteral<false>;
|
|
2210
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2211
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2212
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2213
2213
|
};
|
|
2214
2214
|
};
|
|
2215
2215
|
};
|
|
@@ -2222,7 +2222,7 @@ declare const verifyEmailRoute: {
|
|
|
2222
2222
|
description: string;
|
|
2223
2223
|
content: {
|
|
2224
2224
|
"application/json": {
|
|
2225
|
-
schema:
|
|
2225
|
+
schema: zod675.ZodType<{
|
|
2226
2226
|
success: false;
|
|
2227
2227
|
} & {
|
|
2228
2228
|
errors: string[];
|
|
@@ -2234,7 +2234,7 @@ declare const verifyEmailRoute: {
|
|
|
2234
2234
|
errors: string[];
|
|
2235
2235
|
};
|
|
2236
2236
|
};
|
|
2237
|
-
}, unknown,
|
|
2237
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2238
2238
|
success: false;
|
|
2239
2239
|
} & {
|
|
2240
2240
|
errors: string[];
|
|
@@ -2254,21 +2254,21 @@ declare const verifyEmailRoute: {
|
|
|
2254
2254
|
operationId: "verifyEmail";
|
|
2255
2255
|
path: "/verify-email";
|
|
2256
2256
|
method: "get";
|
|
2257
|
-
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next:
|
|
2257
|
+
middleware: [(ctx: Context<ContextVars<object>, string, {}>, next: hono100.Next) => Promise<void | Response>, (ctx: Context<ContextVars<{
|
|
2258
2258
|
token: {
|
|
2259
2259
|
email: string;
|
|
2260
2260
|
updateTo?: string | undefined;
|
|
2261
2261
|
};
|
|
2262
|
-
}>, string, {}>, next:
|
|
2262
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types75.JSONRespondReturn<{
|
|
2263
2263
|
success: false;
|
|
2264
2264
|
code: string;
|
|
2265
2265
|
message: string;
|
|
2266
2266
|
}, 400 | 401>>];
|
|
2267
2267
|
request: {
|
|
2268
|
-
query:
|
|
2269
|
-
token:
|
|
2270
|
-
callbackURL:
|
|
2271
|
-
},
|
|
2268
|
+
query: zod675.ZodObject<{
|
|
2269
|
+
token: zod675.ZodString;
|
|
2270
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2271
|
+
}, zod_v4_core237.$strip>;
|
|
2272
2272
|
};
|
|
2273
2273
|
getRoutingPath: () => "/verify-email";
|
|
2274
2274
|
};
|
|
@@ -2280,10 +2280,10 @@ declare const updateUserRoute: {
|
|
|
2280
2280
|
description: string;
|
|
2281
2281
|
content: {
|
|
2282
2282
|
"application/json": {
|
|
2283
|
-
schema:
|
|
2284
|
-
success:
|
|
2285
|
-
message:
|
|
2286
|
-
},
|
|
2283
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2284
|
+
success: zod675.ZodLiteral<true>;
|
|
2285
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2286
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2287
2287
|
};
|
|
2288
2288
|
};
|
|
2289
2289
|
};
|
|
@@ -2292,7 +2292,7 @@ declare const updateUserRoute: {
|
|
|
2292
2292
|
description: string;
|
|
2293
2293
|
content: {
|
|
2294
2294
|
"application/json": {
|
|
2295
|
-
schema:
|
|
2295
|
+
schema: zod675.ZodType<{
|
|
2296
2296
|
success: false;
|
|
2297
2297
|
} & {
|
|
2298
2298
|
errors: string[];
|
|
@@ -2307,7 +2307,7 @@ declare const updateUserRoute: {
|
|
|
2307
2307
|
errors: string[];
|
|
2308
2308
|
};
|
|
2309
2309
|
};
|
|
2310
|
-
}, unknown,
|
|
2310
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2311
2311
|
success: false;
|
|
2312
2312
|
} & {
|
|
2313
2313
|
errors: string[];
|
|
@@ -2331,11 +2331,11 @@ declare const updateUserRoute: {
|
|
|
2331
2331
|
description: string;
|
|
2332
2332
|
content: {
|
|
2333
2333
|
"application/json": {
|
|
2334
|
-
schema:
|
|
2335
|
-
success:
|
|
2336
|
-
code:
|
|
2337
|
-
message:
|
|
2338
|
-
},
|
|
2334
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2335
|
+
success: zod675.ZodLiteral<false>;
|
|
2336
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2337
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2338
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2339
2339
|
};
|
|
2340
2340
|
};
|
|
2341
2341
|
};
|
|
@@ -2343,7 +2343,7 @@ declare const updateUserRoute: {
|
|
|
2343
2343
|
operationId: "updateUser";
|
|
2344
2344
|
path: "/update-user";
|
|
2345
2345
|
method: "post";
|
|
2346
|
-
middleware: [(ctx:
|
|
2346
|
+
middleware: [(ctx: hono100.Context<ContextVars<object & {
|
|
2347
2347
|
session: {
|
|
2348
2348
|
session: {
|
|
2349
2349
|
[x: string]: unknown;
|
|
@@ -2367,7 +2367,7 @@ declare const updateUserRoute: {
|
|
|
2367
2367
|
image?: string | null;
|
|
2368
2368
|
};
|
|
2369
2369
|
};
|
|
2370
|
-
}>, string, {}>, next:
|
|
2370
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2371
2371
|
success: false;
|
|
2372
2372
|
code?: string | undefined;
|
|
2373
2373
|
message?: string | undefined;
|
|
@@ -2377,10 +2377,10 @@ declare const updateUserRoute: {
|
|
|
2377
2377
|
description?: string;
|
|
2378
2378
|
content: {
|
|
2379
2379
|
"application/json": {
|
|
2380
|
-
schema:
|
|
2381
|
-
name:
|
|
2382
|
-
image:
|
|
2383
|
-
},
|
|
2380
|
+
schema: zod675.ZodObject<{
|
|
2381
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2382
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2383
|
+
}, zod_v4_core237.$loose>;
|
|
2384
2384
|
};
|
|
2385
2385
|
};
|
|
2386
2386
|
required: true;
|
|
@@ -2394,29 +2394,29 @@ declare const changePasswordRoute: {
|
|
|
2394
2394
|
description: string;
|
|
2395
2395
|
content: {
|
|
2396
2396
|
"application/json": {
|
|
2397
|
-
schema:
|
|
2398
|
-
success:
|
|
2399
|
-
token:
|
|
2400
|
-
user:
|
|
2401
|
-
id:
|
|
2402
|
-
createdAt:
|
|
2403
|
-
updatedAt:
|
|
2404
|
-
email:
|
|
2405
|
-
emailVerified:
|
|
2406
|
-
name:
|
|
2407
|
-
image:
|
|
2408
|
-
},
|
|
2409
|
-
},
|
|
2410
|
-
success:
|
|
2411
|
-
token:
|
|
2412
|
-
user:
|
|
2413
|
-
},
|
|
2414
|
-
redirect:
|
|
2415
|
-
url:
|
|
2416
|
-
},
|
|
2417
|
-
redirect:
|
|
2418
|
-
url:
|
|
2419
|
-
},
|
|
2397
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2398
|
+
success: zod675.ZodLiteral<true>;
|
|
2399
|
+
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2400
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2401
|
+
id: zod675.ZodString;
|
|
2402
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2403
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2404
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
2405
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2406
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2407
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
2408
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
2409
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
2410
|
+
success: zod675.ZodLiteral<false>;
|
|
2411
|
+
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2412
|
+
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2413
|
+
}, zod_v4_core237.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2414
|
+
redirect: zod675.ZodLiteral<false>;
|
|
2415
|
+
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
2416
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
2417
|
+
redirect: zod675.ZodLiteral<true>;
|
|
2418
|
+
url: zod675.ZodURL;
|
|
2419
|
+
}, zod_v4_core237.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
2420
2420
|
success: true;
|
|
2421
2421
|
data: ({
|
|
2422
2422
|
success: true;
|
|
@@ -2430,7 +2430,7 @@ declare const changePasswordRoute: {
|
|
|
2430
2430
|
emailVerified: boolean;
|
|
2431
2431
|
name?: string | undefined;
|
|
2432
2432
|
image?: string | null | undefined;
|
|
2433
|
-
} &
|
|
2433
|
+
} & zod675.$brand<"user">;
|
|
2434
2434
|
} | {
|
|
2435
2435
|
success: false;
|
|
2436
2436
|
token: null;
|
|
@@ -2454,7 +2454,7 @@ declare const changePasswordRoute: {
|
|
|
2454
2454
|
emailVerified: boolean;
|
|
2455
2455
|
name?: string | undefined;
|
|
2456
2456
|
image?: string | null | undefined;
|
|
2457
|
-
} &
|
|
2457
|
+
} & zod675.$brand<"user">;
|
|
2458
2458
|
} | {
|
|
2459
2459
|
success: false;
|
|
2460
2460
|
token: null;
|
|
@@ -2474,11 +2474,11 @@ declare const changePasswordRoute: {
|
|
|
2474
2474
|
description: string;
|
|
2475
2475
|
content: {
|
|
2476
2476
|
"application/json": {
|
|
2477
|
-
schema:
|
|
2478
|
-
success:
|
|
2479
|
-
code:
|
|
2480
|
-
message:
|
|
2481
|
-
},
|
|
2477
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2478
|
+
success: zod675.ZodLiteral<false>;
|
|
2479
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2480
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2481
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2482
2482
|
};
|
|
2483
2483
|
};
|
|
2484
2484
|
};
|
|
@@ -2487,11 +2487,11 @@ declare const changePasswordRoute: {
|
|
|
2487
2487
|
description: string;
|
|
2488
2488
|
content: {
|
|
2489
2489
|
"application/json": {
|
|
2490
|
-
schema:
|
|
2491
|
-
success:
|
|
2492
|
-
code:
|
|
2493
|
-
message:
|
|
2494
|
-
},
|
|
2490
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2491
|
+
success: zod675.ZodLiteral<false>;
|
|
2492
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2493
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2494
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
2497
2497
|
};
|
|
@@ -2500,7 +2500,7 @@ declare const changePasswordRoute: {
|
|
|
2500
2500
|
description: string;
|
|
2501
2501
|
content: {
|
|
2502
2502
|
"application/json": {
|
|
2503
|
-
schema:
|
|
2503
|
+
schema: zod675.ZodType<{
|
|
2504
2504
|
success: false;
|
|
2505
2505
|
} & {
|
|
2506
2506
|
errors: string[];
|
|
@@ -2515,7 +2515,7 @@ declare const changePasswordRoute: {
|
|
|
2515
2515
|
errors: string[];
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
|
-
}, unknown,
|
|
2518
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2519
2519
|
success: false;
|
|
2520
2520
|
} & {
|
|
2521
2521
|
errors: string[];
|
|
@@ -2539,11 +2539,11 @@ declare const changePasswordRoute: {
|
|
|
2539
2539
|
description: string;
|
|
2540
2540
|
content: {
|
|
2541
2541
|
"application/json": {
|
|
2542
|
-
schema:
|
|
2543
|
-
success:
|
|
2544
|
-
code:
|
|
2545
|
-
message:
|
|
2546
|
-
},
|
|
2542
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2543
|
+
success: zod675.ZodLiteral<false>;
|
|
2544
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2545
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2546
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2547
2547
|
};
|
|
2548
2548
|
};
|
|
2549
2549
|
};
|
|
@@ -2551,12 +2551,12 @@ declare const changePasswordRoute: {
|
|
|
2551
2551
|
operationId: "changePassword";
|
|
2552
2552
|
path: "/change-password";
|
|
2553
2553
|
method: "post";
|
|
2554
|
-
middleware: [(ctx:
|
|
2554
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
2555
2555
|
session: {
|
|
2556
|
-
session:
|
|
2556
|
+
session: _faire_auth_core_db18.Session;
|
|
2557
2557
|
user: User;
|
|
2558
2558
|
};
|
|
2559
|
-
}>, string, {}>, next:
|
|
2559
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2560
2560
|
success: false;
|
|
2561
2561
|
code?: string | undefined;
|
|
2562
2562
|
message?: string | undefined;
|
|
@@ -2566,11 +2566,11 @@ declare const changePasswordRoute: {
|
|
|
2566
2566
|
description?: string;
|
|
2567
2567
|
content: {
|
|
2568
2568
|
"application/json": {
|
|
2569
|
-
schema:
|
|
2570
|
-
newPassword:
|
|
2571
|
-
currentPassword:
|
|
2572
|
-
revokeOtherSessions:
|
|
2573
|
-
},
|
|
2569
|
+
schema: zod675.ZodObject<{
|
|
2570
|
+
newPassword: zod675.ZodString;
|
|
2571
|
+
currentPassword: zod675.ZodString;
|
|
2572
|
+
revokeOtherSessions: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
2573
|
+
}, zod_v4_core237.$strip>;
|
|
2574
2574
|
};
|
|
2575
2575
|
};
|
|
2576
2576
|
required: true;
|
|
@@ -2584,10 +2584,10 @@ declare const setPasswordRoute: {
|
|
|
2584
2584
|
description: string;
|
|
2585
2585
|
content: {
|
|
2586
2586
|
"application/json": {
|
|
2587
|
-
schema:
|
|
2588
|
-
success:
|
|
2589
|
-
message:
|
|
2590
|
-
},
|
|
2587
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2588
|
+
success: zod675.ZodLiteral<true>;
|
|
2589
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2590
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2591
2591
|
};
|
|
2592
2592
|
};
|
|
2593
2593
|
};
|
|
@@ -2596,11 +2596,11 @@ declare const setPasswordRoute: {
|
|
|
2596
2596
|
description: string;
|
|
2597
2597
|
content: {
|
|
2598
2598
|
"application/json": {
|
|
2599
|
-
schema:
|
|
2600
|
-
success:
|
|
2601
|
-
code:
|
|
2602
|
-
message:
|
|
2603
|
-
},
|
|
2599
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2600
|
+
success: zod675.ZodLiteral<false>;
|
|
2601
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2602
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2603
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2604
2604
|
};
|
|
2605
2605
|
};
|
|
2606
2606
|
};
|
|
@@ -2609,7 +2609,7 @@ declare const setPasswordRoute: {
|
|
|
2609
2609
|
description: string;
|
|
2610
2610
|
content: {
|
|
2611
2611
|
"application/json": {
|
|
2612
|
-
schema:
|
|
2612
|
+
schema: zod675.ZodType<{
|
|
2613
2613
|
success: false;
|
|
2614
2614
|
} & {
|
|
2615
2615
|
errors: string[];
|
|
@@ -2618,7 +2618,7 @@ declare const setPasswordRoute: {
|
|
|
2618
2618
|
errors: string[];
|
|
2619
2619
|
};
|
|
2620
2620
|
};
|
|
2621
|
-
}, unknown,
|
|
2621
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2622
2622
|
success: false;
|
|
2623
2623
|
} & {
|
|
2624
2624
|
errors: string[];
|
|
@@ -2637,12 +2637,12 @@ declare const setPasswordRoute: {
|
|
|
2637
2637
|
method: "post";
|
|
2638
2638
|
hide: true;
|
|
2639
2639
|
SERVER_ONLY: true;
|
|
2640
|
-
middleware: [(ctx:
|
|
2640
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
2641
2641
|
session: {
|
|
2642
|
-
session:
|
|
2642
|
+
session: _faire_auth_core_db18.Session;
|
|
2643
2643
|
user: User;
|
|
2644
2644
|
};
|
|
2645
|
-
}>, string, {}>, next:
|
|
2645
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2646
2646
|
success: false;
|
|
2647
2647
|
code?: string | undefined;
|
|
2648
2648
|
message?: string | undefined;
|
|
@@ -2652,9 +2652,9 @@ declare const setPasswordRoute: {
|
|
|
2652
2652
|
description?: string;
|
|
2653
2653
|
content: {
|
|
2654
2654
|
"application/json": {
|
|
2655
|
-
schema:
|
|
2656
|
-
newPassword:
|
|
2657
|
-
},
|
|
2655
|
+
schema: zod675.ZodObject<{
|
|
2656
|
+
newPassword: zod675.ZodString;
|
|
2657
|
+
}, zod_v4_core237.$strip>;
|
|
2658
2658
|
};
|
|
2659
2659
|
};
|
|
2660
2660
|
required: true;
|
|
@@ -2668,10 +2668,10 @@ declare const deleteUserRoute: {
|
|
|
2668
2668
|
description: string;
|
|
2669
2669
|
content: {
|
|
2670
2670
|
"application/json": {
|
|
2671
|
-
schema:
|
|
2672
|
-
success:
|
|
2673
|
-
message:
|
|
2674
|
-
},
|
|
2671
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2672
|
+
success: zod675.ZodLiteral<true>;
|
|
2673
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2674
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2675
2675
|
};
|
|
2676
2676
|
};
|
|
2677
2677
|
};
|
|
@@ -2684,11 +2684,11 @@ declare const deleteUserRoute: {
|
|
|
2684
2684
|
description: string;
|
|
2685
2685
|
content: {
|
|
2686
2686
|
"application/json": {
|
|
2687
|
-
schema:
|
|
2688
|
-
success:
|
|
2689
|
-
code:
|
|
2690
|
-
message:
|
|
2691
|
-
},
|
|
2687
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2688
|
+
success: zod675.ZodLiteral<false>;
|
|
2689
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2690
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2691
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2692
2692
|
};
|
|
2693
2693
|
};
|
|
2694
2694
|
};
|
|
@@ -2697,11 +2697,11 @@ declare const deleteUserRoute: {
|
|
|
2697
2697
|
description: string;
|
|
2698
2698
|
content: {
|
|
2699
2699
|
"application/json": {
|
|
2700
|
-
schema:
|
|
2701
|
-
success:
|
|
2702
|
-
code:
|
|
2703
|
-
message:
|
|
2704
|
-
},
|
|
2700
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2701
|
+
success: zod675.ZodLiteral<false>;
|
|
2702
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2703
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2704
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2705
2705
|
};
|
|
2706
2706
|
};
|
|
2707
2707
|
};
|
|
@@ -2710,7 +2710,7 @@ declare const deleteUserRoute: {
|
|
|
2710
2710
|
description: string;
|
|
2711
2711
|
content: {
|
|
2712
2712
|
"application/json": {
|
|
2713
|
-
schema:
|
|
2713
|
+
schema: zod675.ZodType<{
|
|
2714
2714
|
success: false;
|
|
2715
2715
|
} & {
|
|
2716
2716
|
errors: string[];
|
|
@@ -2725,7 +2725,7 @@ declare const deleteUserRoute: {
|
|
|
2725
2725
|
errors: string[];
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
2728
|
-
}, unknown,
|
|
2728
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2729
2729
|
success: false;
|
|
2730
2730
|
} & {
|
|
2731
2731
|
errors: string[];
|
|
@@ -2748,12 +2748,12 @@ declare const deleteUserRoute: {
|
|
|
2748
2748
|
operationId: "deleteUser";
|
|
2749
2749
|
path: "/delete-user";
|
|
2750
2750
|
method: "post";
|
|
2751
|
-
middleware: [(ctx:
|
|
2751
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
2752
2752
|
session: {
|
|
2753
|
-
session:
|
|
2753
|
+
session: _faire_auth_core_db18.Session;
|
|
2754
2754
|
user: User;
|
|
2755
2755
|
};
|
|
2756
|
-
}>, string, {}>, next:
|
|
2756
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2757
2757
|
success: false;
|
|
2758
2758
|
code?: string | undefined;
|
|
2759
2759
|
message?: string | undefined;
|
|
@@ -2763,11 +2763,11 @@ declare const deleteUserRoute: {
|
|
|
2763
2763
|
description?: string;
|
|
2764
2764
|
content: {
|
|
2765
2765
|
"application/json": {
|
|
2766
|
-
schema:
|
|
2767
|
-
callbackURL:
|
|
2768
|
-
password:
|
|
2769
|
-
token:
|
|
2770
|
-
},
|
|
2766
|
+
schema: zod675.ZodObject<{
|
|
2767
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2768
|
+
password: zod675.ZodOptional<zod675.ZodString>;
|
|
2769
|
+
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2770
|
+
}, zod_v4_core237.$strip>;
|
|
2771
2771
|
};
|
|
2772
2772
|
};
|
|
2773
2773
|
required: true;
|
|
@@ -2781,10 +2781,10 @@ declare const deleteUserCallbackRoute: {
|
|
|
2781
2781
|
description: string;
|
|
2782
2782
|
content: {
|
|
2783
2783
|
"application/json": {
|
|
2784
|
-
schema:
|
|
2785
|
-
success:
|
|
2786
|
-
message:
|
|
2787
|
-
},
|
|
2784
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2785
|
+
success: zod675.ZodLiteral<true>;
|
|
2786
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2787
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2788
2788
|
};
|
|
2789
2789
|
};
|
|
2790
2790
|
};
|
|
@@ -2797,11 +2797,11 @@ declare const deleteUserCallbackRoute: {
|
|
|
2797
2797
|
description: string;
|
|
2798
2798
|
content: {
|
|
2799
2799
|
"application/json": {
|
|
2800
|
-
schema:
|
|
2801
|
-
success:
|
|
2802
|
-
code:
|
|
2803
|
-
message:
|
|
2804
|
-
},
|
|
2800
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2801
|
+
success: zod675.ZodLiteral<false>;
|
|
2802
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2803
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2804
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2805
2805
|
};
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
@@ -2810,7 +2810,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2810
2810
|
description: string;
|
|
2811
2811
|
content: {
|
|
2812
2812
|
"application/json": {
|
|
2813
|
-
schema:
|
|
2813
|
+
schema: zod675.ZodType<{
|
|
2814
2814
|
success: false;
|
|
2815
2815
|
} & {
|
|
2816
2816
|
errors: string[];
|
|
@@ -2822,7 +2822,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2822
2822
|
errors: string[];
|
|
2823
2823
|
};
|
|
2824
2824
|
};
|
|
2825
|
-
}, unknown,
|
|
2825
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2826
2826
|
success: false;
|
|
2827
2827
|
} & {
|
|
2828
2828
|
errors: string[];
|
|
@@ -2842,7 +2842,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2842
2842
|
operationId: "deleteUserCallback";
|
|
2843
2843
|
path: "/delete-user/callback";
|
|
2844
2844
|
method: "get";
|
|
2845
|
-
middleware: [(ctx:
|
|
2845
|
+
middleware: [(ctx: hono100.Context<ContextVars<object>, string, {}>, next: hono100.Next) => Promise<void | Response>, (ctx: hono100.Context<ContextVars<object & {
|
|
2846
2846
|
session: {
|
|
2847
2847
|
session: {
|
|
2848
2848
|
[x: string]: unknown;
|
|
@@ -2866,16 +2866,16 @@ declare const deleteUserCallbackRoute: {
|
|
|
2866
2866
|
image?: string | null;
|
|
2867
2867
|
};
|
|
2868
2868
|
};
|
|
2869
|
-
}>, string, {}>, next:
|
|
2869
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2870
2870
|
success: false;
|
|
2871
2871
|
code?: string | undefined;
|
|
2872
2872
|
message?: string | undefined;
|
|
2873
2873
|
}, 401>)>];
|
|
2874
2874
|
request: {
|
|
2875
|
-
query:
|
|
2876
|
-
token:
|
|
2877
|
-
callbackURL:
|
|
2878
|
-
},
|
|
2875
|
+
query: zod675.ZodObject<{
|
|
2876
|
+
token: zod675.ZodString;
|
|
2877
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2878
|
+
}, zod_v4_core237.$strip>;
|
|
2879
2879
|
};
|
|
2880
2880
|
getRoutingPath: () => "/delete-user/callback";
|
|
2881
2881
|
};
|
|
@@ -2885,10 +2885,10 @@ declare const changeEmailRoute: {
|
|
|
2885
2885
|
description: string;
|
|
2886
2886
|
content: {
|
|
2887
2887
|
"application/json": {
|
|
2888
|
-
schema:
|
|
2889
|
-
success:
|
|
2890
|
-
message:
|
|
2891
|
-
},
|
|
2888
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2889
|
+
success: zod675.ZodLiteral<true>;
|
|
2890
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2891
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
2892
2892
|
};
|
|
2893
2893
|
};
|
|
2894
2894
|
};
|
|
@@ -2897,11 +2897,11 @@ declare const changeEmailRoute: {
|
|
|
2897
2897
|
description: string;
|
|
2898
2898
|
content: {
|
|
2899
2899
|
"application/json": {
|
|
2900
|
-
schema:
|
|
2901
|
-
success:
|
|
2902
|
-
code:
|
|
2903
|
-
message:
|
|
2904
|
-
},
|
|
2900
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
2901
|
+
success: zod675.ZodLiteral<false>;
|
|
2902
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2903
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2904
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
2905
2905
|
};
|
|
2906
2906
|
};
|
|
2907
2907
|
};
|
|
@@ -2910,7 +2910,7 @@ declare const changeEmailRoute: {
|
|
|
2910
2910
|
description: string;
|
|
2911
2911
|
content: {
|
|
2912
2912
|
"application/json": {
|
|
2913
|
-
schema:
|
|
2913
|
+
schema: zod675.ZodType<{
|
|
2914
2914
|
success: false;
|
|
2915
2915
|
} & {
|
|
2916
2916
|
errors: string[];
|
|
@@ -2922,7 +2922,7 @@ declare const changeEmailRoute: {
|
|
|
2922
2922
|
errors: string[];
|
|
2923
2923
|
};
|
|
2924
2924
|
};
|
|
2925
|
-
}, unknown,
|
|
2925
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
2926
2926
|
success: false;
|
|
2927
2927
|
} & {
|
|
2928
2928
|
errors: string[];
|
|
@@ -2942,12 +2942,12 @@ declare const changeEmailRoute: {
|
|
|
2942
2942
|
operationId: "changeEmail";
|
|
2943
2943
|
path: "/change-email";
|
|
2944
2944
|
method: "post";
|
|
2945
|
-
middleware: [(ctx:
|
|
2945
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
2946
2946
|
session: {
|
|
2947
|
-
session:
|
|
2947
|
+
session: _faire_auth_core_db18.Session;
|
|
2948
2948
|
user: User;
|
|
2949
2949
|
};
|
|
2950
|
-
}>, string, {}>, next:
|
|
2950
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
2951
2951
|
success: false;
|
|
2952
2952
|
code?: string | undefined;
|
|
2953
2953
|
message?: string | undefined;
|
|
@@ -2957,10 +2957,10 @@ declare const changeEmailRoute: {
|
|
|
2957
2957
|
description?: string;
|
|
2958
2958
|
content: {
|
|
2959
2959
|
"application/json": {
|
|
2960
|
-
schema:
|
|
2961
|
-
newEmail:
|
|
2962
|
-
callbackURL:
|
|
2963
|
-
},
|
|
2960
|
+
schema: zod675.ZodObject<{
|
|
2961
|
+
newEmail: zod675.ZodEmail;
|
|
2962
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
2963
|
+
}, zod_v4_core237.$strip>;
|
|
2964
2964
|
};
|
|
2965
2965
|
};
|
|
2966
2966
|
required: true;
|
|
@@ -2976,7 +2976,7 @@ declare const errorRoute: {
|
|
|
2976
2976
|
description: string;
|
|
2977
2977
|
content: {
|
|
2978
2978
|
"text/html": {
|
|
2979
|
-
schema:
|
|
2979
|
+
schema: zod675.ZodString;
|
|
2980
2980
|
};
|
|
2981
2981
|
};
|
|
2982
2982
|
};
|
|
@@ -2985,7 +2985,7 @@ declare const errorRoute: {
|
|
|
2985
2985
|
description: string;
|
|
2986
2986
|
content: {
|
|
2987
2987
|
"application/json": {
|
|
2988
|
-
schema:
|
|
2988
|
+
schema: zod675.ZodType<{
|
|
2989
2989
|
success: false;
|
|
2990
2990
|
} & {
|
|
2991
2991
|
errors: string[];
|
|
@@ -2997,7 +2997,7 @@ declare const errorRoute: {
|
|
|
2997
2997
|
errors: string[];
|
|
2998
2998
|
};
|
|
2999
2999
|
};
|
|
3000
|
-
}, unknown,
|
|
3000
|
+
}, unknown, zod675.core.$ZodTypeInternals<{
|
|
3001
3001
|
success: false;
|
|
3002
3002
|
} & {
|
|
3003
3003
|
errors: string[];
|
|
@@ -3020,10 +3020,10 @@ declare const errorRoute: {
|
|
|
3020
3020
|
hide: true;
|
|
3021
3021
|
isAction: false;
|
|
3022
3022
|
request: {
|
|
3023
|
-
query:
|
|
3024
|
-
error:
|
|
3025
|
-
error_description:
|
|
3026
|
-
},
|
|
3023
|
+
query: zod675.ZodObject<{
|
|
3024
|
+
error: zod675.ZodOptional<zod675.ZodString>;
|
|
3025
|
+
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
3026
|
+
}, zod675.core.$strip>;
|
|
3027
3027
|
};
|
|
3028
3028
|
getRoutingPath: () => "/error";
|
|
3029
3029
|
};
|
|
@@ -3035,10 +3035,10 @@ declare const okRoute: {
|
|
|
3035
3035
|
description: string;
|
|
3036
3036
|
content: {
|
|
3037
3037
|
"application/json": {
|
|
3038
|
-
schema:
|
|
3039
|
-
success:
|
|
3040
|
-
message:
|
|
3041
|
-
},
|
|
3038
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3039
|
+
success: zod675.ZodLiteral<true>;
|
|
3040
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3041
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
3042
3042
|
};
|
|
3043
3043
|
};
|
|
3044
3044
|
};
|
|
@@ -3058,29 +3058,29 @@ declare const signUpEmailRoute: {
|
|
|
3058
3058
|
description: string;
|
|
3059
3059
|
content: {
|
|
3060
3060
|
"application/json": {
|
|
3061
|
-
schema:
|
|
3062
|
-
success:
|
|
3063
|
-
token:
|
|
3064
|
-
user:
|
|
3065
|
-
id:
|
|
3066
|
-
createdAt:
|
|
3067
|
-
updatedAt:
|
|
3068
|
-
email:
|
|
3069
|
-
emailVerified:
|
|
3070
|
-
name:
|
|
3071
|
-
image:
|
|
3072
|
-
},
|
|
3073
|
-
},
|
|
3074
|
-
success:
|
|
3075
|
-
token:
|
|
3076
|
-
user:
|
|
3077
|
-
},
|
|
3078
|
-
redirect:
|
|
3079
|
-
url:
|
|
3080
|
-
},
|
|
3081
|
-
redirect:
|
|
3082
|
-
url:
|
|
3083
|
-
},
|
|
3061
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3062
|
+
success: zod675.ZodLiteral<true>;
|
|
3063
|
+
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
3064
|
+
user: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3065
|
+
id: zod675.ZodString;
|
|
3066
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3067
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3068
|
+
email: zod675.ZodPipe<zod675.ZodEmail, zod675.ZodTransform<string, string>>;
|
|
3069
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3070
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3071
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3072
|
+
}, zod_v4_core237.$loose>, "user">;
|
|
3073
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
3074
|
+
success: zod675.ZodLiteral<false>;
|
|
3075
|
+
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
3076
|
+
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
3077
|
+
}, zod_v4_core237.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3078
|
+
redirect: zod675.ZodLiteral<false>;
|
|
3079
|
+
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3080
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
3081
|
+
redirect: zod675.ZodLiteral<true>;
|
|
3082
|
+
url: zod675.ZodURL;
|
|
3083
|
+
}, zod_v4_core237.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
3084
3084
|
success: true;
|
|
3085
3085
|
data: ({
|
|
3086
3086
|
success: true;
|
|
@@ -3094,7 +3094,7 @@ declare const signUpEmailRoute: {
|
|
|
3094
3094
|
emailVerified: boolean;
|
|
3095
3095
|
name?: string | undefined;
|
|
3096
3096
|
image?: string | null | undefined;
|
|
3097
|
-
} &
|
|
3097
|
+
} & zod675.$brand<"user">;
|
|
3098
3098
|
} | {
|
|
3099
3099
|
success: false;
|
|
3100
3100
|
token: null;
|
|
@@ -3118,7 +3118,7 @@ declare const signUpEmailRoute: {
|
|
|
3118
3118
|
emailVerified: boolean;
|
|
3119
3119
|
name?: string | undefined;
|
|
3120
3120
|
image?: string | null | undefined;
|
|
3121
|
-
} &
|
|
3121
|
+
} & zod675.$brand<"user">;
|
|
3122
3122
|
} | {
|
|
3123
3123
|
success: false;
|
|
3124
3124
|
token: null;
|
|
@@ -3138,11 +3138,11 @@ declare const signUpEmailRoute: {
|
|
|
3138
3138
|
description: string;
|
|
3139
3139
|
content: {
|
|
3140
3140
|
"application/json": {
|
|
3141
|
-
schema:
|
|
3142
|
-
success:
|
|
3143
|
-
code:
|
|
3144
|
-
message:
|
|
3145
|
-
},
|
|
3141
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3142
|
+
success: zod675.ZodLiteral<false>;
|
|
3143
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3144
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3145
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3146
3146
|
};
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
@@ -3151,7 +3151,7 @@ declare const signUpEmailRoute: {
|
|
|
3151
3151
|
description: string;
|
|
3152
3152
|
content: {
|
|
3153
3153
|
"application/json": {
|
|
3154
|
-
schema:
|
|
3154
|
+
schema: zod675.ZodType<{
|
|
3155
3155
|
success: false;
|
|
3156
3156
|
} & {
|
|
3157
3157
|
errors: string[];
|
|
@@ -3178,7 +3178,7 @@ declare const signUpEmailRoute: {
|
|
|
3178
3178
|
errors: string[];
|
|
3179
3179
|
};
|
|
3180
3180
|
};
|
|
3181
|
-
}, unknown,
|
|
3181
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3182
3182
|
success: false;
|
|
3183
3183
|
} & {
|
|
3184
3184
|
errors: string[];
|
|
@@ -3218,14 +3218,14 @@ declare const signUpEmailRoute: {
|
|
|
3218
3218
|
description?: string;
|
|
3219
3219
|
content: {
|
|
3220
3220
|
"application/json": {
|
|
3221
|
-
schema:
|
|
3222
|
-
name:
|
|
3223
|
-
email:
|
|
3224
|
-
password:
|
|
3225
|
-
image:
|
|
3226
|
-
callbackURL:
|
|
3227
|
-
rememberMe:
|
|
3228
|
-
},
|
|
3221
|
+
schema: zod675.ZodObject<{
|
|
3222
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3223
|
+
email: zod675.ZodEmail;
|
|
3224
|
+
password: zod675.ZodString;
|
|
3225
|
+
image: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodURL>>;
|
|
3226
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3227
|
+
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
3228
|
+
}, zod_v4_core237.$loose>;
|
|
3229
3229
|
};
|
|
3230
3230
|
};
|
|
3231
3231
|
required: true;
|
|
@@ -3241,14 +3241,14 @@ declare const listAccountsRoute: {
|
|
|
3241
3241
|
description: string;
|
|
3242
3242
|
content: {
|
|
3243
3243
|
"application/json": {
|
|
3244
|
-
schema:
|
|
3245
|
-
id:
|
|
3246
|
-
createdAt:
|
|
3247
|
-
updatedAt:
|
|
3248
|
-
providerId:
|
|
3249
|
-
accountId:
|
|
3250
|
-
scopes:
|
|
3251
|
-
},
|
|
3244
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod675.ZodObject<{
|
|
3245
|
+
id: zod675.ZodString;
|
|
3246
|
+
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3247
|
+
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3248
|
+
providerId: zod675.ZodString;
|
|
3249
|
+
accountId: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3250
|
+
scopes: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>;
|
|
3251
|
+
}, zod_v4_core237.$loose>>, zod675.ZodTransform<{
|
|
3252
3252
|
success: true;
|
|
3253
3253
|
data: {
|
|
3254
3254
|
[x: string]: unknown;
|
|
@@ -3275,7 +3275,7 @@ declare const listAccountsRoute: {
|
|
|
3275
3275
|
operationId: "listAccounts";
|
|
3276
3276
|
path: "/list-accounts";
|
|
3277
3277
|
method: "get";
|
|
3278
|
-
middleware: [(ctx:
|
|
3278
|
+
middleware: [(ctx: hono100.Context<ContextVars<object & {
|
|
3279
3279
|
session: {
|
|
3280
3280
|
session: {
|
|
3281
3281
|
[x: string]: unknown;
|
|
@@ -3299,7 +3299,7 @@ declare const listAccountsRoute: {
|
|
|
3299
3299
|
image?: string | null;
|
|
3300
3300
|
};
|
|
3301
3301
|
};
|
|
3302
|
-
}>, string, {}>, next:
|
|
3302
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
3303
3303
|
success: false;
|
|
3304
3304
|
code?: string | undefined;
|
|
3305
3305
|
message?: string | undefined;
|
|
@@ -3312,13 +3312,13 @@ declare const linkAccountRoute: {
|
|
|
3312
3312
|
description: string;
|
|
3313
3313
|
content: {
|
|
3314
3314
|
"application/json": {
|
|
3315
|
-
schema:
|
|
3316
|
-
redirect:
|
|
3317
|
-
url:
|
|
3318
|
-
},
|
|
3319
|
-
redirect:
|
|
3320
|
-
url:
|
|
3321
|
-
},
|
|
3315
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3316
|
+
redirect: zod675.ZodLiteral<false>;
|
|
3317
|
+
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3318
|
+
}, zod_v4_core237.$strip>, zod675.ZodObject<{
|
|
3319
|
+
redirect: zod675.ZodLiteral<true>;
|
|
3320
|
+
url: zod675.ZodURL;
|
|
3321
|
+
}, zod_v4_core237.$strip>], "redirect">, zod675.ZodTransform<{
|
|
3322
3322
|
success: true;
|
|
3323
3323
|
data: {
|
|
3324
3324
|
redirect: false;
|
|
@@ -3342,11 +3342,11 @@ declare const linkAccountRoute: {
|
|
|
3342
3342
|
description: string;
|
|
3343
3343
|
content: {
|
|
3344
3344
|
"application/json": {
|
|
3345
|
-
schema:
|
|
3346
|
-
success:
|
|
3347
|
-
code:
|
|
3348
|
-
message:
|
|
3349
|
-
},
|
|
3345
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3346
|
+
success: zod675.ZodLiteral<false>;
|
|
3347
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3348
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3349
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3350
3350
|
};
|
|
3351
3351
|
};
|
|
3352
3352
|
};
|
|
@@ -3355,11 +3355,11 @@ declare const linkAccountRoute: {
|
|
|
3355
3355
|
description: string;
|
|
3356
3356
|
content: {
|
|
3357
3357
|
"application/json": {
|
|
3358
|
-
schema:
|
|
3359
|
-
success:
|
|
3360
|
-
code:
|
|
3361
|
-
message:
|
|
3362
|
-
},
|
|
3358
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3359
|
+
success: zod675.ZodLiteral<false>;
|
|
3360
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3361
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3362
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3363
3363
|
};
|
|
3364
3364
|
};
|
|
3365
3365
|
};
|
|
@@ -3368,11 +3368,11 @@ declare const linkAccountRoute: {
|
|
|
3368
3368
|
description: string;
|
|
3369
3369
|
content: {
|
|
3370
3370
|
"application/json": {
|
|
3371
|
-
schema:
|
|
3372
|
-
success:
|
|
3373
|
-
code:
|
|
3374
|
-
message:
|
|
3375
|
-
},
|
|
3371
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3372
|
+
success: zod675.ZodLiteral<false>;
|
|
3373
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3374
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3375
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
3378
|
};
|
|
@@ -3381,7 +3381,7 @@ declare const linkAccountRoute: {
|
|
|
3381
3381
|
description: string;
|
|
3382
3382
|
content: {
|
|
3383
3383
|
"application/json": {
|
|
3384
|
-
schema:
|
|
3384
|
+
schema: zod675.ZodType<{
|
|
3385
3385
|
success: false;
|
|
3386
3386
|
} & {
|
|
3387
3387
|
errors: string[];
|
|
@@ -3431,7 +3431,7 @@ declare const linkAccountRoute: {
|
|
|
3431
3431
|
errors: string[];
|
|
3432
3432
|
};
|
|
3433
3433
|
};
|
|
3434
|
-
}, unknown,
|
|
3434
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3435
3435
|
success: false;
|
|
3436
3436
|
} & {
|
|
3437
3437
|
errors: string[];
|
|
@@ -3489,7 +3489,7 @@ declare const linkAccountRoute: {
|
|
|
3489
3489
|
operationId: "linkAccount";
|
|
3490
3490
|
path: "/link-social";
|
|
3491
3491
|
method: "post";
|
|
3492
|
-
middleware: [(ctx:
|
|
3492
|
+
middleware: [(ctx: hono100.Context<ContextVars<object & {
|
|
3493
3493
|
session: {
|
|
3494
3494
|
session: {
|
|
3495
3495
|
[x: string]: unknown;
|
|
@@ -3513,7 +3513,7 @@ declare const linkAccountRoute: {
|
|
|
3513
3513
|
image?: string | null;
|
|
3514
3514
|
};
|
|
3515
3515
|
};
|
|
3516
|
-
}>, string, {}>, next:
|
|
3516
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
3517
3517
|
success: false;
|
|
3518
3518
|
code?: string | undefined;
|
|
3519
3519
|
message?: string | undefined;
|
|
@@ -3523,19 +3523,19 @@ declare const linkAccountRoute: {
|
|
|
3523
3523
|
description?: string;
|
|
3524
3524
|
content: {
|
|
3525
3525
|
"application/json": {
|
|
3526
|
-
schema:
|
|
3527
|
-
callbackURL:
|
|
3528
|
-
provider:
|
|
3529
|
-
idToken:
|
|
3530
|
-
token:
|
|
3531
|
-
nonce:
|
|
3532
|
-
accessToken:
|
|
3533
|
-
refreshToken:
|
|
3534
|
-
scopes:
|
|
3535
|
-
},
|
|
3536
|
-
scopes:
|
|
3537
|
-
errorCallbackURL:
|
|
3538
|
-
},
|
|
3526
|
+
schema: zod675.ZodObject<{
|
|
3527
|
+
callbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3528
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers33.SocialProvider, _faire_auth_core_social_providers33.SocialProvider, zod_v4_core237.$ZodTypeInternals<_faire_auth_core_social_providers33.SocialProvider, _faire_auth_core_social_providers33.SocialProvider>>;
|
|
3529
|
+
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
3530
|
+
token: zod675.ZodString;
|
|
3531
|
+
nonce: zod675.ZodOptional<zod675.ZodString>;
|
|
3532
|
+
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3533
|
+
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3534
|
+
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3535
|
+
}, zod_v4_core237.$strip>>;
|
|
3536
|
+
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3537
|
+
errorCallbackURL: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>;
|
|
3538
|
+
}, zod_v4_core237.$strip>;
|
|
3539
3539
|
};
|
|
3540
3540
|
};
|
|
3541
3541
|
required: true;
|
|
@@ -3549,10 +3549,10 @@ declare const unlinkAccountRoute: {
|
|
|
3549
3549
|
description: string;
|
|
3550
3550
|
content: {
|
|
3551
3551
|
"application/json": {
|
|
3552
|
-
schema:
|
|
3553
|
-
success:
|
|
3554
|
-
message:
|
|
3555
|
-
},
|
|
3552
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3553
|
+
success: zod675.ZodLiteral<true>;
|
|
3554
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3555
|
+
}, zod_v4_core237.$strip>, "success">;
|
|
3556
3556
|
};
|
|
3557
3557
|
};
|
|
3558
3558
|
};
|
|
@@ -3561,11 +3561,11 @@ declare const unlinkAccountRoute: {
|
|
|
3561
3561
|
description: string;
|
|
3562
3562
|
content: {
|
|
3563
3563
|
"application/json": {
|
|
3564
|
-
schema:
|
|
3565
|
-
success:
|
|
3566
|
-
code:
|
|
3567
|
-
message:
|
|
3568
|
-
},
|
|
3564
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3565
|
+
success: zod675.ZodLiteral<false>;
|
|
3566
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3567
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3568
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3569
3569
|
};
|
|
3570
3570
|
};
|
|
3571
3571
|
};
|
|
@@ -3574,7 +3574,7 @@ declare const unlinkAccountRoute: {
|
|
|
3574
3574
|
description: string;
|
|
3575
3575
|
content: {
|
|
3576
3576
|
"application/json": {
|
|
3577
|
-
schema:
|
|
3577
|
+
schema: zod675.ZodType<{
|
|
3578
3578
|
success: false;
|
|
3579
3579
|
} & {
|
|
3580
3580
|
errors: string[];
|
|
@@ -3586,7 +3586,7 @@ declare const unlinkAccountRoute: {
|
|
|
3586
3586
|
errors: string[];
|
|
3587
3587
|
};
|
|
3588
3588
|
};
|
|
3589
|
-
}, unknown,
|
|
3589
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3590
3590
|
success: false;
|
|
3591
3591
|
} & {
|
|
3592
3592
|
errors: string[];
|
|
@@ -3606,16 +3606,16 @@ declare const unlinkAccountRoute: {
|
|
|
3606
3606
|
operationId: "unlinkAccount";
|
|
3607
3607
|
path: "/unlink-account";
|
|
3608
3608
|
method: "post";
|
|
3609
|
-
middleware: [(ctx:
|
|
3609
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
3610
3610
|
session: {
|
|
3611
|
-
session:
|
|
3612
|
-
user:
|
|
3611
|
+
session: _faire_auth_core_db18.Session;
|
|
3612
|
+
user: _faire_auth_core_db18.User;
|
|
3613
3613
|
};
|
|
3614
|
-
}>, string, {}>, next:
|
|
3614
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
3615
3615
|
success: false;
|
|
3616
3616
|
code?: string | undefined;
|
|
3617
3617
|
message?: string | undefined;
|
|
3618
|
-
}, 401>) |
|
|
3618
|
+
}, 401>) | _faire_auth_core_types75.JSONRespondReturn<{
|
|
3619
3619
|
success: false;
|
|
3620
3620
|
code?: string | undefined;
|
|
3621
3621
|
message?: string | undefined;
|
|
@@ -3625,10 +3625,10 @@ declare const unlinkAccountRoute: {
|
|
|
3625
3625
|
description?: string;
|
|
3626
3626
|
content: {
|
|
3627
3627
|
"application/json": {
|
|
3628
|
-
schema:
|
|
3629
|
-
providerId:
|
|
3630
|
-
accountId:
|
|
3631
|
-
},
|
|
3628
|
+
schema: zod675.ZodObject<{
|
|
3629
|
+
providerId: zod675.ZodString;
|
|
3630
|
+
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3631
|
+
}, zod_v4_core237.$strip>;
|
|
3632
3632
|
};
|
|
3633
3633
|
};
|
|
3634
3634
|
required: true;
|
|
@@ -3642,15 +3642,15 @@ declare const getAccessTokenRoute: {
|
|
|
3642
3642
|
description: string;
|
|
3643
3643
|
content: {
|
|
3644
3644
|
"application/json": {
|
|
3645
|
-
schema:
|
|
3646
|
-
tokenType:
|
|
3647
|
-
accessToken:
|
|
3648
|
-
refreshToken:
|
|
3649
|
-
accessTokenExpiresAt:
|
|
3650
|
-
refreshTokenExpiresAt:
|
|
3651
|
-
scopes:
|
|
3652
|
-
idToken:
|
|
3653
|
-
},
|
|
3645
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3646
|
+
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3647
|
+
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3648
|
+
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3649
|
+
accessTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3650
|
+
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3651
|
+
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3652
|
+
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3653
|
+
}, zod_v4_core237.$strip>, zod675.ZodTransform<{
|
|
3654
3654
|
success: true;
|
|
3655
3655
|
data: {
|
|
3656
3656
|
tokenType?: string | undefined;
|
|
@@ -3678,11 +3678,11 @@ declare const getAccessTokenRoute: {
|
|
|
3678
3678
|
description: string;
|
|
3679
3679
|
content: {
|
|
3680
3680
|
"application/json": {
|
|
3681
|
-
schema:
|
|
3682
|
-
success:
|
|
3683
|
-
code:
|
|
3684
|
-
message:
|
|
3685
|
-
},
|
|
3681
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3682
|
+
success: zod675.ZodLiteral<false>;
|
|
3683
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3684
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3685
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3686
3686
|
};
|
|
3687
3687
|
};
|
|
3688
3688
|
};
|
|
@@ -3691,7 +3691,7 @@ declare const getAccessTokenRoute: {
|
|
|
3691
3691
|
description: string;
|
|
3692
3692
|
content: {
|
|
3693
3693
|
"application/json": {
|
|
3694
|
-
schema:
|
|
3694
|
+
schema: zod675.ZodType<{
|
|
3695
3695
|
success: false;
|
|
3696
3696
|
} & {
|
|
3697
3697
|
errors: string[];
|
|
@@ -3706,7 +3706,7 @@ declare const getAccessTokenRoute: {
|
|
|
3706
3706
|
errors: string[];
|
|
3707
3707
|
};
|
|
3708
3708
|
};
|
|
3709
|
-
}, unknown,
|
|
3709
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3710
3710
|
success: false;
|
|
3711
3711
|
} & {
|
|
3712
3712
|
errors: string[];
|
|
@@ -3729,12 +3729,12 @@ declare const getAccessTokenRoute: {
|
|
|
3729
3729
|
operationId: "getAccessToken";
|
|
3730
3730
|
path: "/get-access-token";
|
|
3731
3731
|
method: "post";
|
|
3732
|
-
middleware: [(ctx:
|
|
3732
|
+
middleware: [(ctx: hono100.Context<ContextVars<{
|
|
3733
3733
|
session?: {
|
|
3734
|
-
session:
|
|
3735
|
-
user:
|
|
3734
|
+
session: _faire_auth_core_db18.Session;
|
|
3735
|
+
user: _faire_auth_core_db18.User;
|
|
3736
3736
|
};
|
|
3737
|
-
}>, string, {}>, next:
|
|
3737
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
3738
3738
|
success: false;
|
|
3739
3739
|
code?: string | undefined;
|
|
3740
3740
|
message?: string | undefined;
|
|
@@ -3744,11 +3744,11 @@ declare const getAccessTokenRoute: {
|
|
|
3744
3744
|
description?: string;
|
|
3745
3745
|
content: {
|
|
3746
3746
|
"application/json": {
|
|
3747
|
-
schema:
|
|
3748
|
-
providerId:
|
|
3749
|
-
accountId:
|
|
3750
|
-
userId:
|
|
3751
|
-
},
|
|
3747
|
+
schema: zod675.ZodObject<{
|
|
3748
|
+
providerId: zod675.ZodString;
|
|
3749
|
+
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3750
|
+
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3751
|
+
}, zod_v4_core237.$strip>;
|
|
3752
3752
|
};
|
|
3753
3753
|
};
|
|
3754
3754
|
required: true;
|
|
@@ -3762,15 +3762,15 @@ declare const refreshAccessTokenRoute: {
|
|
|
3762
3762
|
description: string;
|
|
3763
3763
|
content: {
|
|
3764
3764
|
"application/json": {
|
|
3765
|
-
schema:
|
|
3766
|
-
tokenType:
|
|
3767
|
-
accessToken:
|
|
3768
|
-
refreshToken:
|
|
3769
|
-
accessTokenExpiresAt:
|
|
3770
|
-
refreshTokenExpiresAt:
|
|
3771
|
-
scopes:
|
|
3772
|
-
idToken:
|
|
3773
|
-
},
|
|
3765
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3766
|
+
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3767
|
+
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3768
|
+
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3769
|
+
accessTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3770
|
+
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3771
|
+
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3772
|
+
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3773
|
+
}, zod_v4_core237.$strip>, zod675.ZodTransform<{
|
|
3774
3774
|
success: true;
|
|
3775
3775
|
data: {
|
|
3776
3776
|
tokenType?: string | undefined;
|
|
@@ -3798,11 +3798,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3798
3798
|
description: string;
|
|
3799
3799
|
content: {
|
|
3800
3800
|
"application/json": {
|
|
3801
|
-
schema:
|
|
3802
|
-
success:
|
|
3803
|
-
code:
|
|
3804
|
-
message:
|
|
3805
|
-
},
|
|
3801
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3802
|
+
success: zod675.ZodLiteral<false>;
|
|
3803
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3804
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3805
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3806
3806
|
};
|
|
3807
3807
|
};
|
|
3808
3808
|
};
|
|
@@ -3811,7 +3811,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3811
3811
|
description: string;
|
|
3812
3812
|
content: {
|
|
3813
3813
|
"application/json": {
|
|
3814
|
-
schema:
|
|
3814
|
+
schema: zod675.ZodType<{
|
|
3815
3815
|
success: false;
|
|
3816
3816
|
} & {
|
|
3817
3817
|
errors: string[];
|
|
@@ -3826,7 +3826,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3826
3826
|
errors: string[];
|
|
3827
3827
|
};
|
|
3828
3828
|
};
|
|
3829
|
-
}, unknown,
|
|
3829
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3830
3830
|
success: false;
|
|
3831
3831
|
} & {
|
|
3832
3832
|
errors: string[];
|
|
@@ -3849,7 +3849,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3849
3849
|
operationId: "refreshAccessToken";
|
|
3850
3850
|
path: "/refresh-token";
|
|
3851
3851
|
method: "post";
|
|
3852
|
-
middleware: [(ctx:
|
|
3852
|
+
middleware: [(ctx: hono100.Context<ContextVars<object & {
|
|
3853
3853
|
session: {
|
|
3854
3854
|
session: {
|
|
3855
3855
|
[x: string]: unknown;
|
|
@@ -3873,7 +3873,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3873
3873
|
image?: string | null;
|
|
3874
3874
|
};
|
|
3875
3875
|
};
|
|
3876
|
-
}>, string, {}>, next:
|
|
3876
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
3877
3877
|
success: false;
|
|
3878
3878
|
code?: string | undefined;
|
|
3879
3879
|
message?: string | undefined;
|
|
@@ -3883,11 +3883,11 @@ declare const refreshAccessTokenRoute: {
|
|
|
3883
3883
|
description?: string;
|
|
3884
3884
|
content: {
|
|
3885
3885
|
"application/json": {
|
|
3886
|
-
schema:
|
|
3887
|
-
providerId:
|
|
3888
|
-
accountId:
|
|
3889
|
-
userId:
|
|
3890
|
-
},
|
|
3886
|
+
schema: zod675.ZodObject<{
|
|
3887
|
+
providerId: zod675.ZodString;
|
|
3888
|
+
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3889
|
+
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3890
|
+
}, zod_v4_core237.$strip>;
|
|
3891
3891
|
};
|
|
3892
3892
|
};
|
|
3893
3893
|
required: true;
|
|
@@ -3901,16 +3901,16 @@ declare const getAccountInfoRoute: {
|
|
|
3901
3901
|
description: string;
|
|
3902
3902
|
content: {
|
|
3903
3903
|
"application/json": {
|
|
3904
|
-
schema:
|
|
3905
|
-
user:
|
|
3906
|
-
name:
|
|
3907
|
-
image:
|
|
3908
|
-
emailVerified:
|
|
3909
|
-
id:
|
|
3910
|
-
email:
|
|
3911
|
-
},
|
|
3912
|
-
data:
|
|
3913
|
-
},
|
|
3904
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3905
|
+
user: zod675.ZodObject<{
|
|
3906
|
+
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3907
|
+
image: zod675.ZodNullable<zod675.ZodOptional<zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string | undefined, string | undefined>, zod675.ZodOptional<zod675.ZodURL>>, zod675.ZodTransform<string | undefined, string | undefined>>>>;
|
|
3908
|
+
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3909
|
+
id: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3910
|
+
email: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodEmail>>;
|
|
3911
|
+
}, zod_v4_core237.$loose>;
|
|
3912
|
+
data: zod675.ZodRecord<zod675.ZodString, zod675.ZodAny>;
|
|
3913
|
+
}, zod_v4_core237.$strip>, zod675.ZodTransform<{
|
|
3914
3914
|
success: true;
|
|
3915
3915
|
data: {
|
|
3916
3916
|
user: {
|
|
@@ -3942,11 +3942,11 @@ declare const getAccountInfoRoute: {
|
|
|
3942
3942
|
description: string;
|
|
3943
3943
|
content: {
|
|
3944
3944
|
"application/json": {
|
|
3945
|
-
schema:
|
|
3946
|
-
success:
|
|
3947
|
-
code:
|
|
3948
|
-
message:
|
|
3949
|
-
},
|
|
3945
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3946
|
+
success: zod675.ZodLiteral<false>;
|
|
3947
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3948
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3949
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3950
3950
|
};
|
|
3951
3951
|
};
|
|
3952
3952
|
};
|
|
@@ -3955,7 +3955,7 @@ declare const getAccountInfoRoute: {
|
|
|
3955
3955
|
description: string;
|
|
3956
3956
|
content: {
|
|
3957
3957
|
"application/json": {
|
|
3958
|
-
schema:
|
|
3958
|
+
schema: zod675.ZodType<{
|
|
3959
3959
|
success: false;
|
|
3960
3960
|
} & {
|
|
3961
3961
|
errors: string[];
|
|
@@ -3964,7 +3964,7 @@ declare const getAccountInfoRoute: {
|
|
|
3964
3964
|
errors: string[];
|
|
3965
3965
|
};
|
|
3966
3966
|
};
|
|
3967
|
-
}, unknown,
|
|
3967
|
+
}, unknown, zod_v4_core237.$ZodTypeInternals<{
|
|
3968
3968
|
success: false;
|
|
3969
3969
|
} & {
|
|
3970
3970
|
errors: string[];
|
|
@@ -3982,11 +3982,11 @@ declare const getAccountInfoRoute: {
|
|
|
3982
3982
|
description: string;
|
|
3983
3983
|
content: {
|
|
3984
3984
|
"application/json": {
|
|
3985
|
-
schema:
|
|
3986
|
-
success:
|
|
3987
|
-
code:
|
|
3988
|
-
message:
|
|
3989
|
-
},
|
|
3985
|
+
schema: zod_v4_core237.$ZodBranded<zod675.ZodObject<{
|
|
3986
|
+
success: zod675.ZodLiteral<false>;
|
|
3987
|
+
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3988
|
+
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3989
|
+
}, zod_v4_core237.$strip>, "error">;
|
|
3990
3990
|
};
|
|
3991
3991
|
};
|
|
3992
3992
|
};
|
|
@@ -3994,7 +3994,7 @@ declare const getAccountInfoRoute: {
|
|
|
3994
3994
|
operationId: "getAccountInfo";
|
|
3995
3995
|
path: "/account-info";
|
|
3996
3996
|
method: "post";
|
|
3997
|
-
middleware: [(ctx:
|
|
3997
|
+
middleware: [(ctx: hono100.Context<ContextVars<object & {
|
|
3998
3998
|
session: {
|
|
3999
3999
|
session: {
|
|
4000
4000
|
[x: string]: unknown;
|
|
@@ -4018,7 +4018,7 @@ declare const getAccountInfoRoute: {
|
|
|
4018
4018
|
image?: string | null;
|
|
4019
4019
|
};
|
|
4020
4020
|
};
|
|
4021
|
-
}>, string, {}>, next:
|
|
4021
|
+
}>, string, {}>, next: hono100.Next) => Promise<void | (Response & hono100.TypedResponse<{
|
|
4022
4022
|
success: false;
|
|
4023
4023
|
code?: string | undefined;
|
|
4024
4024
|
message?: string | undefined;
|
|
@@ -4028,9 +4028,9 @@ declare const getAccountInfoRoute: {
|
|
|
4028
4028
|
description?: string;
|
|
4029
4029
|
content: {
|
|
4030
4030
|
"application/json": {
|
|
4031
|
-
schema:
|
|
4032
|
-
accountId:
|
|
4033
|
-
},
|
|
4031
|
+
schema: zod675.ZodObject<{
|
|
4032
|
+
accountId: zod675.ZodString;
|
|
4033
|
+
}, zod_v4_core237.$strip>;
|
|
4034
4034
|
};
|
|
4035
4035
|
};
|
|
4036
4036
|
required: true;
|
|
@@ -4285,18 +4285,18 @@ declare const generateState: <V extends object>(ctx: Context<ContextVars<V>, str
|
|
|
4285
4285
|
state: string;
|
|
4286
4286
|
codeVerifier: string;
|
|
4287
4287
|
}>;
|
|
4288
|
-
declare const parsingSchema:
|
|
4289
|
-
callbackURL:
|
|
4290
|
-
codeVerifier:
|
|
4291
|
-
errorURL:
|
|
4292
|
-
newUserURL:
|
|
4293
|
-
expiresAt:
|
|
4294
|
-
link:
|
|
4295
|
-
email:
|
|
4296
|
-
userId:
|
|
4297
|
-
},
|
|
4298
|
-
requestSignUp:
|
|
4299
|
-
},
|
|
4288
|
+
declare const parsingSchema: zod675.ZodObject<{
|
|
4289
|
+
callbackURL: zod675.ZodString;
|
|
4290
|
+
codeVerifier: zod675.ZodString;
|
|
4291
|
+
errorURL: zod675.ZodOptional<zod675.ZodString>;
|
|
4292
|
+
newUserURL: zod675.ZodOptional<zod675.ZodString>;
|
|
4293
|
+
expiresAt: zod675.ZodNumber;
|
|
4294
|
+
link: zod675.ZodOptional<zod675.ZodObject<{
|
|
4295
|
+
email: zod675.ZodEmail;
|
|
4296
|
+
userId: zod675.ZodCoercedString<unknown>;
|
|
4297
|
+
}, zod675.core.$strip>>;
|
|
4298
|
+
requestSignUp: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
4299
|
+
}, zod675.core.$strip>;
|
|
4300
4300
|
declare const parseState: <V extends object>(ctx: Context<ContextVars<V>, string, {
|
|
4301
4301
|
out: {
|
|
4302
4302
|
query: {
|
|
@@ -4308,7 +4308,7 @@ declare const parseState: <V extends object>(ctx: Context<ContextVars<V>, string
|
|
|
4308
4308
|
};
|
|
4309
4309
|
}>, options: Pick<FaireAuthOptions$1, "onAPIError">) => Promise<{
|
|
4310
4310
|
type: "success";
|
|
4311
|
-
data:
|
|
4311
|
+
data: zod675.output<typeof parsingSchema>;
|
|
4312
4312
|
} | {
|
|
4313
4313
|
type: "redirect";
|
|
4314
4314
|
response: Response & TypedResponse<undefined, 302, "redirect">;
|
|
@@ -4397,7 +4397,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4397
4397
|
modelName: string | undefined;
|
|
4398
4398
|
fields: Partial<Record<"createdAt" | "updatedAt" | "email" | "emailVerified" | "name" | "image", string>> | undefined;
|
|
4399
4399
|
additionalFields: {
|
|
4400
|
-
[key: string]:
|
|
4400
|
+
[key: string]: _faire_auth_core_db18.DBFieldAttribute;
|
|
4401
4401
|
} | undefined;
|
|
4402
4402
|
changeEmail: {
|
|
4403
4403
|
enabled: boolean | undefined;
|
|
@@ -4407,12 +4407,12 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4407
4407
|
verification: {
|
|
4408
4408
|
modelName: string | undefined;
|
|
4409
4409
|
disableCleanup: boolean | undefined;
|
|
4410
|
-
fields: Partial<Record<"createdAt" | "updatedAt" | "
|
|
4410
|
+
fields: Partial<Record<"createdAt" | "updatedAt" | "value" | "expiresAt" | "identifier", string>> | undefined;
|
|
4411
4411
|
};
|
|
4412
4412
|
session: {
|
|
4413
4413
|
modelName: string | undefined;
|
|
4414
4414
|
additionalFields: {
|
|
4415
|
-
[key: string]:
|
|
4415
|
+
[key: string]: _faire_auth_core_db18.DBFieldAttribute;
|
|
4416
4416
|
} | undefined;
|
|
4417
4417
|
cookieCache: {
|
|
4418
4418
|
enabled: boolean | undefined;
|
|
@@ -4433,7 +4433,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4433
4433
|
updateAccountOnSignIn: boolean | undefined;
|
|
4434
4434
|
accountLinking: {
|
|
4435
4435
|
enabled: boolean | undefined;
|
|
4436
|
-
trustedProviders:
|
|
4436
|
+
trustedProviders: _faire_auth_core_types75.LiteralStringUnion<"apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "github" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "notion" | "kakao" | "naver" | "line" | "paypal" | "email-password">[] | undefined;
|
|
4437
4437
|
updateUserInfoOnLink: boolean | undefined;
|
|
4438
4438
|
allowUnlinkingAll: boolean | undefined;
|
|
4439
4439
|
};
|
|
@@ -4453,7 +4453,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
4453
4453
|
};
|
|
4454
4454
|
database: {
|
|
4455
4455
|
useNumberId: boolean;
|
|
4456
|
-
generateId: false |
|
|
4456
|
+
generateId: false | _faire_auth_core_types75.GenerateIdFn | undefined;
|
|
4457
4457
|
defaultFindManyLimit: number | undefined;
|
|
4458
4458
|
};
|
|
4459
4459
|
useSecureCookies: boolean | undefined;
|
|
@@ -4541,7 +4541,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4541
4541
|
json: {
|
|
4542
4542
|
newPassword: string;
|
|
4543
4543
|
};
|
|
4544
|
-
}, ctx?:
|
|
4544
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4545
4545
|
headers: Headers;
|
|
4546
4546
|
response: {
|
|
4547
4547
|
success: false;
|
|
@@ -4588,7 +4588,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4588
4588
|
newEmail: string;
|
|
4589
4589
|
callbackURL?: string | undefined;
|
|
4590
4590
|
};
|
|
4591
|
-
}, ctx?:
|
|
4591
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4592
4592
|
headers: Headers;
|
|
4593
4593
|
response: {
|
|
4594
4594
|
success: false;
|
|
@@ -4642,7 +4642,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4642
4642
|
currentPassword: string;
|
|
4643
4643
|
revokeOtherSessions?: boolean | undefined;
|
|
4644
4644
|
};
|
|
4645
|
-
}, ctx?:
|
|
4645
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4646
4646
|
headers: Headers;
|
|
4647
4647
|
response: {
|
|
4648
4648
|
success: false;
|
|
@@ -4786,7 +4786,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4786
4786
|
password?: string | undefined;
|
|
4787
4787
|
token?: string | undefined;
|
|
4788
4788
|
};
|
|
4789
|
-
}, ctx?:
|
|
4789
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4790
4790
|
headers: Headers;
|
|
4791
4791
|
response: Response | {
|
|
4792
4792
|
success: false;
|
|
@@ -4845,7 +4845,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4845
4845
|
token: string;
|
|
4846
4846
|
callbackURL?: string | undefined;
|
|
4847
4847
|
};
|
|
4848
|
-
}, ctx?:
|
|
4848
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4849
4849
|
headers: Headers;
|
|
4850
4850
|
response: Response | {
|
|
4851
4851
|
success: false;
|
|
@@ -4898,7 +4898,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4898
4898
|
error?: string | undefined;
|
|
4899
4899
|
error_description?: string | undefined;
|
|
4900
4900
|
};
|
|
4901
|
-
}, ctx?:
|
|
4901
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4902
4902
|
headers: Headers;
|
|
4903
4903
|
response: string | {
|
|
4904
4904
|
success: false;
|
|
@@ -4930,7 +4930,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
4930
4930
|
accountId?: string | undefined;
|
|
4931
4931
|
userId?: string | undefined;
|
|
4932
4932
|
};
|
|
4933
|
-
}, ctx?:
|
|
4933
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
4934
4934
|
headers: Headers;
|
|
4935
4935
|
response: {
|
|
4936
4936
|
success: false;
|
|
@@ -5004,7 +5004,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5004
5004
|
json: {
|
|
5005
5005
|
accountId: string;
|
|
5006
5006
|
};
|
|
5007
|
-
}, ctx?:
|
|
5007
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5008
5008
|
headers: Headers;
|
|
5009
5009
|
response: {
|
|
5010
5010
|
success: false;
|
|
@@ -5075,7 +5075,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5075
5075
|
disableCookieCache?: string | boolean | undefined;
|
|
5076
5076
|
disableRefresh?: string | boolean | undefined;
|
|
5077
5077
|
};
|
|
5078
|
-
}, ctx?:
|
|
5078
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5079
5079
|
headers: Headers;
|
|
5080
5080
|
response: {
|
|
5081
5081
|
success: false;
|
|
@@ -5161,7 +5161,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5161
5161
|
}>;
|
|
5162
5162
|
linkAccount: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
5163
5163
|
json: {
|
|
5164
|
-
provider:
|
|
5164
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
5165
5165
|
callbackURL?: string | undefined;
|
|
5166
5166
|
idToken?: {
|
|
5167
5167
|
token: string;
|
|
@@ -5173,7 +5173,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5173
5173
|
scopes?: string[] | undefined;
|
|
5174
5174
|
errorCallbackURL?: string | undefined;
|
|
5175
5175
|
};
|
|
5176
|
-
}, ctx?:
|
|
5176
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5177
5177
|
headers: Headers;
|
|
5178
5178
|
response: {
|
|
5179
5179
|
success: false;
|
|
@@ -5309,7 +5309,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5309
5309
|
} | undefined;
|
|
5310
5310
|
} | undefined;
|
|
5311
5311
|
}>;
|
|
5312
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5312
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5313
5313
|
headers: Headers;
|
|
5314
5314
|
response: {
|
|
5315
5315
|
success: false;
|
|
@@ -5343,7 +5343,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5343
5343
|
scopes: string[];
|
|
5344
5344
|
}[];
|
|
5345
5345
|
}>;
|
|
5346
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5346
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5347
5347
|
headers: Headers;
|
|
5348
5348
|
response: {
|
|
5349
5349
|
success: false;
|
|
@@ -5402,7 +5402,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5402
5402
|
state?: string | undefined;
|
|
5403
5403
|
user?: string | undefined;
|
|
5404
5404
|
};
|
|
5405
|
-
}, ctx?:
|
|
5405
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5406
5406
|
headers: Headers;
|
|
5407
5407
|
response: Response | {
|
|
5408
5408
|
success: false;
|
|
@@ -5427,7 +5427,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5427
5427
|
param: {
|
|
5428
5428
|
id: string;
|
|
5429
5429
|
};
|
|
5430
|
-
}, ctx?:
|
|
5430
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5431
5431
|
headers: Headers;
|
|
5432
5432
|
response: Response | {
|
|
5433
5433
|
success: false;
|
|
@@ -5485,7 +5485,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5485
5485
|
} | undefined;
|
|
5486
5486
|
} | undefined;
|
|
5487
5487
|
}>;
|
|
5488
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5488
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5489
5489
|
headers: Headers;
|
|
5490
5490
|
response: {
|
|
5491
5491
|
success: true;
|
|
@@ -5501,7 +5501,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5501
5501
|
accountId?: string | undefined;
|
|
5502
5502
|
userId?: string | undefined;
|
|
5503
5503
|
};
|
|
5504
|
-
}, ctx?:
|
|
5504
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5505
5505
|
headers: Headers;
|
|
5506
5506
|
response: {
|
|
5507
5507
|
success: false;
|
|
@@ -5576,7 +5576,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5576
5576
|
email: string;
|
|
5577
5577
|
redirectTo?: string | undefined;
|
|
5578
5578
|
};
|
|
5579
|
-
}, ctx?:
|
|
5579
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5580
5580
|
headers: Headers;
|
|
5581
5581
|
response: {
|
|
5582
5582
|
success: false;
|
|
@@ -5624,7 +5624,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5624
5624
|
query: {
|
|
5625
5625
|
callbackURL: string;
|
|
5626
5626
|
};
|
|
5627
|
-
}, ctx?:
|
|
5627
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5628
5628
|
headers: Headers;
|
|
5629
5629
|
response: Response;
|
|
5630
5630
|
} : Response>;
|
|
@@ -5637,7 +5637,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5637
5637
|
query: {
|
|
5638
5638
|
token?: string | undefined;
|
|
5639
5639
|
};
|
|
5640
|
-
}, ctx?:
|
|
5640
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5641
5641
|
headers: Headers;
|
|
5642
5642
|
response: {
|
|
5643
5643
|
success: false;
|
|
@@ -5677,7 +5677,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5677
5677
|
} | undefined;
|
|
5678
5678
|
} | undefined;
|
|
5679
5679
|
}>;
|
|
5680
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5680
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5681
5681
|
headers: Headers;
|
|
5682
5682
|
response: {
|
|
5683
5683
|
success: false;
|
|
@@ -5699,7 +5699,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5699
5699
|
json: {
|
|
5700
5700
|
token: string;
|
|
5701
5701
|
};
|
|
5702
|
-
}, ctx?:
|
|
5702
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5703
5703
|
headers: Headers;
|
|
5704
5704
|
response: {
|
|
5705
5705
|
success: false;
|
|
@@ -5741,7 +5741,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5741
5741
|
} | undefined;
|
|
5742
5742
|
} | undefined;
|
|
5743
5743
|
}>;
|
|
5744
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
5744
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5745
5745
|
headers: Headers;
|
|
5746
5746
|
response: {
|
|
5747
5747
|
success: false;
|
|
@@ -5772,7 +5772,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5772
5772
|
email: string;
|
|
5773
5773
|
callbackURL?: string | undefined;
|
|
5774
5774
|
};
|
|
5775
|
-
}, ctx?:
|
|
5775
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5776
5776
|
headers: Headers;
|
|
5777
5777
|
response: {
|
|
5778
5778
|
success: false;
|
|
@@ -5819,7 +5819,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5819
5819
|
callbackURL?: string | undefined;
|
|
5820
5820
|
rememberMe?: boolean | undefined;
|
|
5821
5821
|
};
|
|
5822
|
-
}, ctx?:
|
|
5822
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5823
5823
|
headers: Headers;
|
|
5824
5824
|
response: {
|
|
5825
5825
|
success: false;
|
|
@@ -5957,7 +5957,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5957
5957
|
}>;
|
|
5958
5958
|
signInSocial: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
5959
5959
|
json: {
|
|
5960
|
-
provider:
|
|
5960
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
5961
5961
|
callbackURL?: string | undefined;
|
|
5962
5962
|
newUserCallbackURL?: string | undefined;
|
|
5963
5963
|
errorCallbackURL?: string | undefined;
|
|
@@ -5973,7 +5973,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
5973
5973
|
requestSignUp?: boolean | undefined;
|
|
5974
5974
|
loginHint?: string | undefined;
|
|
5975
5975
|
};
|
|
5976
|
-
}, ctx?:
|
|
5976
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
5977
5977
|
headers: Headers;
|
|
5978
5978
|
response: Response | {
|
|
5979
5979
|
success: false;
|
|
@@ -6187,7 +6187,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6187
6187
|
} | undefined;
|
|
6188
6188
|
} | undefined;
|
|
6189
6189
|
}>;
|
|
6190
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
6190
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6191
6191
|
headers: Headers;
|
|
6192
6192
|
response: {
|
|
6193
6193
|
success: false;
|
|
@@ -6215,7 +6215,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6215
6215
|
callbackURL?: string | undefined;
|
|
6216
6216
|
rememberMe?: boolean | undefined;
|
|
6217
6217
|
};
|
|
6218
|
-
}, ctx?:
|
|
6218
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6219
6219
|
headers: Headers;
|
|
6220
6220
|
response: {
|
|
6221
6221
|
success: false;
|
|
@@ -6374,7 +6374,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6374
6374
|
providerId: string;
|
|
6375
6375
|
accountId?: string | undefined;
|
|
6376
6376
|
};
|
|
6377
|
-
}, ctx?:
|
|
6377
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6378
6378
|
headers: Headers;
|
|
6379
6379
|
response: {
|
|
6380
6380
|
success: false;
|
|
@@ -6436,7 +6436,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6436
6436
|
name?: string | undefined;
|
|
6437
6437
|
image?: string | null | undefined;
|
|
6438
6438
|
};
|
|
6439
|
-
}, ctx?:
|
|
6439
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6440
6440
|
headers: Headers;
|
|
6441
6441
|
response: {
|
|
6442
6442
|
success: false;
|
|
@@ -6495,7 +6495,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
6495
6495
|
token: string;
|
|
6496
6496
|
callbackURL?: string | undefined;
|
|
6497
6497
|
};
|
|
6498
|
-
}, ctx?:
|
|
6498
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
6499
6499
|
headers: Headers;
|
|
6500
6500
|
response: Response | {
|
|
6501
6501
|
success: false;
|
|
@@ -7257,7 +7257,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7257
7257
|
$post: {
|
|
7258
7258
|
input: {
|
|
7259
7259
|
json: {
|
|
7260
|
-
provider:
|
|
7260
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7261
7261
|
callbackURL?: string | undefined;
|
|
7262
7262
|
idToken?: {
|
|
7263
7263
|
token: string;
|
|
@@ -7280,7 +7280,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7280
7280
|
} | {
|
|
7281
7281
|
input: {
|
|
7282
7282
|
json: {
|
|
7283
|
-
provider:
|
|
7283
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7284
7284
|
callbackURL?: string | undefined;
|
|
7285
7285
|
idToken?: {
|
|
7286
7286
|
token: string;
|
|
@@ -7303,7 +7303,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7303
7303
|
} | {
|
|
7304
7304
|
input: {
|
|
7305
7305
|
json: {
|
|
7306
|
-
provider:
|
|
7306
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7307
7307
|
callbackURL?: string | undefined;
|
|
7308
7308
|
idToken?: {
|
|
7309
7309
|
token: string;
|
|
@@ -7326,7 +7326,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7326
7326
|
} | {
|
|
7327
7327
|
input: {
|
|
7328
7328
|
json: {
|
|
7329
|
-
provider:
|
|
7329
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7330
7330
|
callbackURL?: string | undefined;
|
|
7331
7331
|
idToken?: {
|
|
7332
7332
|
token: string;
|
|
@@ -7354,7 +7354,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7354
7354
|
} | {
|
|
7355
7355
|
input: {
|
|
7356
7356
|
json: {
|
|
7357
|
-
provider:
|
|
7357
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7358
7358
|
callbackURL?: string | undefined;
|
|
7359
7359
|
idToken?: {
|
|
7360
7360
|
token: string;
|
|
@@ -7377,7 +7377,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
7377
7377
|
} | {
|
|
7378
7378
|
input: {
|
|
7379
7379
|
json: {
|
|
7380
|
-
provider:
|
|
7380
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
7381
7381
|
callbackURL?: string | undefined;
|
|
7382
7382
|
idToken?: {
|
|
7383
7383
|
token: string;
|
|
@@ -8264,7 +8264,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8264
8264
|
$post: {
|
|
8265
8265
|
input: {
|
|
8266
8266
|
json: {
|
|
8267
|
-
provider:
|
|
8267
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
8268
8268
|
callbackURL?: string | undefined;
|
|
8269
8269
|
newUserCallbackURL?: string | undefined;
|
|
8270
8270
|
errorCallbackURL?: string | undefined;
|
|
@@ -8287,7 +8287,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8287
8287
|
} | {
|
|
8288
8288
|
input: {
|
|
8289
8289
|
json: {
|
|
8290
|
-
provider:
|
|
8290
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
8291
8291
|
callbackURL?: string | undefined;
|
|
8292
8292
|
newUserCallbackURL?: string | undefined;
|
|
8293
8293
|
errorCallbackURL?: string | undefined;
|
|
@@ -8355,7 +8355,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8355
8355
|
} | {
|
|
8356
8356
|
input: {
|
|
8357
8357
|
json: {
|
|
8358
|
-
provider:
|
|
8358
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
8359
8359
|
callbackURL?: string | undefined;
|
|
8360
8360
|
newUserCallbackURL?: string | undefined;
|
|
8361
8361
|
errorCallbackURL?: string | undefined;
|
|
@@ -8382,7 +8382,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8382
8382
|
} | {
|
|
8383
8383
|
input: {
|
|
8384
8384
|
json: {
|
|
8385
|
-
provider:
|
|
8385
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
8386
8386
|
callbackURL?: string | undefined;
|
|
8387
8387
|
newUserCallbackURL?: string | undefined;
|
|
8388
8388
|
errorCallbackURL?: string | undefined;
|
|
@@ -8409,7 +8409,7 @@ declare const router: <O extends FaireAuthOptions$1>(context: AuthContext$1, opt
|
|
|
8409
8409
|
} | {
|
|
8410
8410
|
input: {
|
|
8411
8411
|
json: {
|
|
8412
|
-
provider:
|
|
8412
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
8413
8413
|
callbackURL?: string | undefined;
|
|
8414
8414
|
newUserCallbackURL?: string | undefined;
|
|
8415
8415
|
errorCallbackURL?: string | undefined;
|
|
@@ -9599,7 +9599,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9599
9599
|
$post: {
|
|
9600
9600
|
input: {
|
|
9601
9601
|
json: {
|
|
9602
|
-
provider:
|
|
9602
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9603
9603
|
callbackURL?: string | undefined;
|
|
9604
9604
|
idToken?: {
|
|
9605
9605
|
token: string;
|
|
@@ -9622,7 +9622,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9622
9622
|
} | {
|
|
9623
9623
|
input: {
|
|
9624
9624
|
json: {
|
|
9625
|
-
provider:
|
|
9625
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9626
9626
|
callbackURL?: string | undefined;
|
|
9627
9627
|
idToken?: {
|
|
9628
9628
|
token: string;
|
|
@@ -9645,7 +9645,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9645
9645
|
} | {
|
|
9646
9646
|
input: {
|
|
9647
9647
|
json: {
|
|
9648
|
-
provider:
|
|
9648
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9649
9649
|
callbackURL?: string | undefined;
|
|
9650
9650
|
idToken?: {
|
|
9651
9651
|
token: string;
|
|
@@ -9668,7 +9668,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9668
9668
|
} | {
|
|
9669
9669
|
input: {
|
|
9670
9670
|
json: {
|
|
9671
|
-
provider:
|
|
9671
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9672
9672
|
callbackURL?: string | undefined;
|
|
9673
9673
|
idToken?: {
|
|
9674
9674
|
token: string;
|
|
@@ -9696,7 +9696,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9696
9696
|
} | {
|
|
9697
9697
|
input: {
|
|
9698
9698
|
json: {
|
|
9699
|
-
provider:
|
|
9699
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9700
9700
|
callbackURL?: string | undefined;
|
|
9701
9701
|
idToken?: {
|
|
9702
9702
|
token: string;
|
|
@@ -9719,7 +9719,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
9719
9719
|
} | {
|
|
9720
9720
|
input: {
|
|
9721
9721
|
json: {
|
|
9722
|
-
provider:
|
|
9722
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
9723
9723
|
callbackURL?: string | undefined;
|
|
9724
9724
|
idToken?: {
|
|
9725
9725
|
token: string;
|
|
@@ -10606,7 +10606,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10606
10606
|
$post: {
|
|
10607
10607
|
input: {
|
|
10608
10608
|
json: {
|
|
10609
|
-
provider:
|
|
10609
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
10610
10610
|
callbackURL?: string | undefined;
|
|
10611
10611
|
newUserCallbackURL?: string | undefined;
|
|
10612
10612
|
errorCallbackURL?: string | undefined;
|
|
@@ -10629,7 +10629,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10629
10629
|
} | {
|
|
10630
10630
|
input: {
|
|
10631
10631
|
json: {
|
|
10632
|
-
provider:
|
|
10632
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
10633
10633
|
callbackURL?: string | undefined;
|
|
10634
10634
|
newUserCallbackURL?: string | undefined;
|
|
10635
10635
|
errorCallbackURL?: string | undefined;
|
|
@@ -10697,7 +10697,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10697
10697
|
} | {
|
|
10698
10698
|
input: {
|
|
10699
10699
|
json: {
|
|
10700
|
-
provider:
|
|
10700
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
10701
10701
|
callbackURL?: string | undefined;
|
|
10702
10702
|
newUserCallbackURL?: string | undefined;
|
|
10703
10703
|
errorCallbackURL?: string | undefined;
|
|
@@ -10724,7 +10724,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10724
10724
|
} | {
|
|
10725
10725
|
input: {
|
|
10726
10726
|
json: {
|
|
10727
|
-
provider:
|
|
10727
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
10728
10728
|
callbackURL?: string | undefined;
|
|
10729
10729
|
newUserCallbackURL?: string | undefined;
|
|
10730
10730
|
errorCallbackURL?: string | undefined;
|
|
@@ -10751,7 +10751,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
10751
10751
|
} | {
|
|
10752
10752
|
input: {
|
|
10753
10753
|
json: {
|
|
10754
|
-
provider:
|
|
10754
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
10755
10755
|
callbackURL?: string | undefined;
|
|
10756
10756
|
newUserCallbackURL?: string | undefined;
|
|
10757
10757
|
errorCallbackURL?: string | undefined;
|
|
@@ -11250,7 +11250,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11250
11250
|
json: {
|
|
11251
11251
|
newPassword: string;
|
|
11252
11252
|
};
|
|
11253
|
-
}, ctx?:
|
|
11253
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11254
11254
|
headers: Headers;
|
|
11255
11255
|
response: {
|
|
11256
11256
|
success: false;
|
|
@@ -11297,7 +11297,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11297
11297
|
newEmail: string;
|
|
11298
11298
|
callbackURL?: string | undefined;
|
|
11299
11299
|
};
|
|
11300
|
-
}, ctx?:
|
|
11300
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11301
11301
|
headers: Headers;
|
|
11302
11302
|
response: {
|
|
11303
11303
|
success: false;
|
|
@@ -11351,7 +11351,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11351
11351
|
currentPassword: string;
|
|
11352
11352
|
revokeOtherSessions?: boolean | undefined;
|
|
11353
11353
|
};
|
|
11354
|
-
}, ctx?:
|
|
11354
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11355
11355
|
headers: Headers;
|
|
11356
11356
|
response: {
|
|
11357
11357
|
success: false;
|
|
@@ -11495,7 +11495,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11495
11495
|
password?: string | undefined;
|
|
11496
11496
|
token?: string | undefined;
|
|
11497
11497
|
};
|
|
11498
|
-
}, ctx?:
|
|
11498
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11499
11499
|
headers: Headers;
|
|
11500
11500
|
response: Response | {
|
|
11501
11501
|
success: false;
|
|
@@ -11554,7 +11554,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11554
11554
|
token: string;
|
|
11555
11555
|
callbackURL?: string | undefined;
|
|
11556
11556
|
};
|
|
11557
|
-
}, ctx?:
|
|
11557
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11558
11558
|
headers: Headers;
|
|
11559
11559
|
response: Response | {
|
|
11560
11560
|
success: false;
|
|
@@ -11607,7 +11607,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11607
11607
|
error?: string | undefined;
|
|
11608
11608
|
error_description?: string | undefined;
|
|
11609
11609
|
};
|
|
11610
|
-
}, ctx?:
|
|
11610
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11611
11611
|
headers: Headers;
|
|
11612
11612
|
response: string | {
|
|
11613
11613
|
success: false;
|
|
@@ -11639,7 +11639,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11639
11639
|
accountId?: string | undefined;
|
|
11640
11640
|
userId?: string | undefined;
|
|
11641
11641
|
};
|
|
11642
|
-
}, ctx?:
|
|
11642
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11643
11643
|
headers: Headers;
|
|
11644
11644
|
response: {
|
|
11645
11645
|
success: false;
|
|
@@ -11713,7 +11713,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11713
11713
|
json: {
|
|
11714
11714
|
accountId: string;
|
|
11715
11715
|
};
|
|
11716
|
-
}, ctx?:
|
|
11716
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11717
11717
|
headers: Headers;
|
|
11718
11718
|
response: {
|
|
11719
11719
|
success: false;
|
|
@@ -11784,7 +11784,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11784
11784
|
disableCookieCache?: string | boolean | undefined;
|
|
11785
11785
|
disableRefresh?: string | boolean | undefined;
|
|
11786
11786
|
};
|
|
11787
|
-
}, ctx?:
|
|
11787
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11788
11788
|
headers: Headers;
|
|
11789
11789
|
response: {
|
|
11790
11790
|
success: false;
|
|
@@ -11870,7 +11870,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11870
11870
|
}>;
|
|
11871
11871
|
linkAccount: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
11872
11872
|
json: {
|
|
11873
|
-
provider:
|
|
11873
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
11874
11874
|
callbackURL?: string | undefined;
|
|
11875
11875
|
idToken?: {
|
|
11876
11876
|
token: string;
|
|
@@ -11882,7 +11882,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
11882
11882
|
scopes?: string[] | undefined;
|
|
11883
11883
|
errorCallbackURL?: string | undefined;
|
|
11884
11884
|
};
|
|
11885
|
-
}, ctx?:
|
|
11885
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
11886
11886
|
headers: Headers;
|
|
11887
11887
|
response: {
|
|
11888
11888
|
success: false;
|
|
@@ -12018,7 +12018,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12018
12018
|
} | undefined;
|
|
12019
12019
|
} | undefined;
|
|
12020
12020
|
}>;
|
|
12021
|
-
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12021
|
+
listAccounts: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12022
12022
|
headers: Headers;
|
|
12023
12023
|
response: {
|
|
12024
12024
|
success: false;
|
|
@@ -12052,7 +12052,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12052
12052
|
scopes: string[];
|
|
12053
12053
|
}[];
|
|
12054
12054
|
}>;
|
|
12055
|
-
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12055
|
+
listSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12056
12056
|
headers: Headers;
|
|
12057
12057
|
response: {
|
|
12058
12058
|
success: false;
|
|
@@ -12111,7 +12111,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12111
12111
|
state?: string | undefined;
|
|
12112
12112
|
user?: string | undefined;
|
|
12113
12113
|
};
|
|
12114
|
-
}, ctx?:
|
|
12114
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12115
12115
|
headers: Headers;
|
|
12116
12116
|
response: Response | {
|
|
12117
12117
|
success: false;
|
|
@@ -12136,7 +12136,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12136
12136
|
param: {
|
|
12137
12137
|
id: string;
|
|
12138
12138
|
};
|
|
12139
|
-
}, ctx?:
|
|
12139
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12140
12140
|
headers: Headers;
|
|
12141
12141
|
response: Response | {
|
|
12142
12142
|
success: false;
|
|
@@ -12194,7 +12194,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12194
12194
|
} | undefined;
|
|
12195
12195
|
} | undefined;
|
|
12196
12196
|
}>;
|
|
12197
|
-
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12197
|
+
ok: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12198
12198
|
headers: Headers;
|
|
12199
12199
|
response: {
|
|
12200
12200
|
success: true;
|
|
@@ -12210,7 +12210,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12210
12210
|
accountId?: string | undefined;
|
|
12211
12211
|
userId?: string | undefined;
|
|
12212
12212
|
};
|
|
12213
|
-
}, ctx?:
|
|
12213
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12214
12214
|
headers: Headers;
|
|
12215
12215
|
response: {
|
|
12216
12216
|
success: false;
|
|
@@ -12285,7 +12285,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12285
12285
|
email: string;
|
|
12286
12286
|
redirectTo?: string | undefined;
|
|
12287
12287
|
};
|
|
12288
|
-
}, ctx?:
|
|
12288
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12289
12289
|
headers: Headers;
|
|
12290
12290
|
response: {
|
|
12291
12291
|
success: false;
|
|
@@ -12333,7 +12333,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12333
12333
|
query: {
|
|
12334
12334
|
callbackURL: string;
|
|
12335
12335
|
};
|
|
12336
|
-
}, ctx?:
|
|
12336
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12337
12337
|
headers: Headers;
|
|
12338
12338
|
response: Response;
|
|
12339
12339
|
} : Response>;
|
|
@@ -12346,7 +12346,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12346
12346
|
query: {
|
|
12347
12347
|
token?: string | undefined;
|
|
12348
12348
|
};
|
|
12349
|
-
}, ctx?:
|
|
12349
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12350
12350
|
headers: Headers;
|
|
12351
12351
|
response: {
|
|
12352
12352
|
success: false;
|
|
@@ -12386,7 +12386,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12386
12386
|
} | undefined;
|
|
12387
12387
|
} | undefined;
|
|
12388
12388
|
}>;
|
|
12389
|
-
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12389
|
+
revokeOtherSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12390
12390
|
headers: Headers;
|
|
12391
12391
|
response: {
|
|
12392
12392
|
success: false;
|
|
@@ -12408,7 +12408,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12408
12408
|
json: {
|
|
12409
12409
|
token: string;
|
|
12410
12410
|
};
|
|
12411
|
-
}, ctx?:
|
|
12411
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12412
12412
|
headers: Headers;
|
|
12413
12413
|
response: {
|
|
12414
12414
|
success: false;
|
|
@@ -12450,7 +12450,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12450
12450
|
} | undefined;
|
|
12451
12451
|
} | undefined;
|
|
12452
12452
|
}>;
|
|
12453
|
-
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12453
|
+
revokeSessions: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12454
12454
|
headers: Headers;
|
|
12455
12455
|
response: {
|
|
12456
12456
|
success: false;
|
|
@@ -12481,7 +12481,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12481
12481
|
email: string;
|
|
12482
12482
|
callbackURL?: string | undefined;
|
|
12483
12483
|
};
|
|
12484
|
-
}, ctx?:
|
|
12484
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12485
12485
|
headers: Headers;
|
|
12486
12486
|
response: {
|
|
12487
12487
|
success: false;
|
|
@@ -12528,7 +12528,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12528
12528
|
callbackURL?: string | undefined;
|
|
12529
12529
|
rememberMe?: boolean | undefined;
|
|
12530
12530
|
};
|
|
12531
|
-
}, ctx?:
|
|
12531
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12532
12532
|
headers: Headers;
|
|
12533
12533
|
response: {
|
|
12534
12534
|
success: false;
|
|
@@ -12666,7 +12666,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12666
12666
|
}>;
|
|
12667
12667
|
signInSocial: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(input: {
|
|
12668
12668
|
json: {
|
|
12669
|
-
provider:
|
|
12669
|
+
provider: _faire_auth_core_social_providers33.SocialProvider;
|
|
12670
12670
|
callbackURL?: string | undefined;
|
|
12671
12671
|
newUserCallbackURL?: string | undefined;
|
|
12672
12672
|
errorCallbackURL?: string | undefined;
|
|
@@ -12682,7 +12682,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12682
12682
|
requestSignUp?: boolean | undefined;
|
|
12683
12683
|
loginHint?: string | undefined;
|
|
12684
12684
|
};
|
|
12685
|
-
}, ctx?:
|
|
12685
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12686
12686
|
headers: Headers;
|
|
12687
12687
|
response: Response | {
|
|
12688
12688
|
success: false;
|
|
@@ -12896,7 +12896,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12896
12896
|
} | undefined;
|
|
12897
12897
|
} | undefined;
|
|
12898
12898
|
}>;
|
|
12899
|
-
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?:
|
|
12899
|
+
signOut: <AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12900
12900
|
headers: Headers;
|
|
12901
12901
|
response: {
|
|
12902
12902
|
success: false;
|
|
@@ -12924,7 +12924,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
12924
12924
|
callbackURL?: string | undefined;
|
|
12925
12925
|
rememberMe?: boolean | undefined;
|
|
12926
12926
|
};
|
|
12927
|
-
}, ctx?:
|
|
12927
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
12928
12928
|
headers: Headers;
|
|
12929
12929
|
response: {
|
|
12930
12930
|
success: false;
|
|
@@ -13083,7 +13083,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13083
13083
|
providerId: string;
|
|
13084
13084
|
accountId?: string | undefined;
|
|
13085
13085
|
};
|
|
13086
|
-
}, ctx?:
|
|
13086
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13087
13087
|
headers: Headers;
|
|
13088
13088
|
response: {
|
|
13089
13089
|
success: false;
|
|
@@ -13145,7 +13145,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13145
13145
|
name?: string | undefined;
|
|
13146
13146
|
image?: string | null | undefined;
|
|
13147
13147
|
};
|
|
13148
|
-
}, ctx?:
|
|
13148
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13149
13149
|
headers: Headers;
|
|
13150
13150
|
response: {
|
|
13151
13151
|
success: false;
|
|
@@ -13204,7 +13204,7 @@ declare const faireAuth: <Options extends FaireAuthOptions$1>(options: Options &
|
|
|
13204
13204
|
token: string;
|
|
13205
13205
|
callbackURL?: string | undefined;
|
|
13206
13206
|
};
|
|
13207
|
-
}, ctx?:
|
|
13207
|
+
}, ctx?: hono100.Context<ContextVars<any>, any, {}> | _faire_auth_core_types75.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13208
13208
|
headers: Headers;
|
|
13209
13209
|
response: Response | {
|
|
13210
13210
|
success: false;
|