faire-auth 1.0.0 → 1.0.2
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 +15 -15
- 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 +26 -26
- package/dist/client/react/index.d.mts +16 -16
- 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 +11 -11
- package/dist/client/svelte/index.d.mts +16 -16
- 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-BVHscLQl.d.cts → index-4PEF72Mq.d.cts} +20 -20
- package/dist/{index-B-WeOMzg.d.cts → index-BCzB3uDD.d.cts} +833 -833
- package/dist/{index-B09P9p5_.d.cts → index-Bw8dyZTc.d.cts} +6 -6
- package/dist/{index-Qu-iJGNr.d.mts → index-C0b8eC8h.d.mts} +16 -16
- package/dist/{index-jlessPI0.d.mts → index-CrmLTEj8.d.mts} +382 -382
- package/dist/index-Dfgobqa-.d.mts +33 -0
- 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 +5 -5
- 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 +5 -5
- 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 +351 -351
- package/dist/plugins/index.d.mts +268 -268
- 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 +8395 -337
- package/dist/test-utils/index.d.mts +8394 -334
- 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-ppgcFe12.d.mts +0 -33
- 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
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import { t as ContextVars } from "./hono-
|
|
1
|
+
import { n as __reExport, t as __export } from "./chunk-BFnQceUY.mjs";
|
|
2
|
+
import { t as ContextVars } from "./hono-D0VqxVy1.mjs";
|
|
3
3
|
import { ENV as ENV$1, InternalLogger, LogHandlerParams, LogLevel, Logger, createLogger as createLogger$1, logger as logger$1 } from "@faire-auth/core/env";
|
|
4
4
|
import { APIError as APIError$1, BASE_ERROR_CODES, FaireAuthError as FaireAuthError$1, MissingDependencyError } from "@faire-auth/core/error";
|
|
5
5
|
import * as _faire_auth_core_factory0 from "@faire-auth/core/factory";
|
|
6
6
|
import { OpenAPIHono, OpenAPIHono as OpenAPIHono$1 } from "@faire-auth/core/factory";
|
|
7
7
|
import { Definitions, Routes, SCHEMAS } from "@faire-auth/core/static";
|
|
8
|
-
import * as
|
|
8
|
+
import * as hono101 from "hono";
|
|
9
9
|
import { Context, Env, ExecutionContext, Hono, HonoRequest, MiddlewareHandler, Schema, TypedResponse } from "hono";
|
|
10
10
|
import { generateId, generateRandomString } from "@faire-auth/core/crypto";
|
|
11
11
|
import * as zod675 from "zod";
|
|
12
12
|
import { z } from "zod";
|
|
13
|
-
import * as
|
|
13
|
+
import * as _faire_auth_core_db18 from "@faire-auth/core/db";
|
|
14
14
|
import { Account, AccountInput, DBFieldAttribute, DBFieldAttributeConfig, DBFieldType, FaireAuthDBSchema, FaireAuthPluginDBSchema, Session, SessionInput, StrictSession, StrictUser, User, UserInput, VerificationInput } from "@faire-auth/core/db";
|
|
15
|
-
import * as
|
|
16
|
-
import * as
|
|
15
|
+
import * as _faire_auth_core_social_providers25 from "@faire-auth/core/social-providers";
|
|
16
|
+
import * as _better_fetch_fetch49 from "@better-fetch/fetch";
|
|
17
17
|
import { BetterFetch, BetterFetchError, BetterFetchOption, BetterFetchPlugin, CreateFetchOption, Methods, Schema as Schema$1, SchemaConfig, StandardSchemaV1 } from "@better-fetch/fetch";
|
|
18
18
|
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";
|
|
19
|
-
import * as
|
|
19
|
+
import * as nanostores11 from "nanostores";
|
|
20
20
|
import { Atom, WritableAtom } from "nanostores";
|
|
21
|
-
import * as
|
|
21
|
+
import * as _faire_auth_core_types51 from "@faire-auth/core/types";
|
|
22
22
|
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";
|
|
23
23
|
import * as hono_utils_types0 from "hono/utils/types";
|
|
24
24
|
import { HasRequiredKeys } from "hono/utils/types";
|
|
@@ -26,7 +26,7 @@ import { ExtractSchema } from "hono/types";
|
|
|
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_core153 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;
|
|
@@ -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 hono101.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 hono101.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
658
|
catchAllError?: boolean;
|
|
659
|
-
defaultOutput?:
|
|
660
|
-
defaultError?:
|
|
661
|
-
schema?:
|
|
659
|
+
defaultOutput?: _better_fetch_fetch49.StandardSchemaV1;
|
|
660
|
+
defaultError?: _better_fetch_fetch49.StandardSchemaV1;
|
|
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_types51.LiteralStringUnion<"$sessionSignal">) => void;
|
|
666
|
+
listen: (signal: _faire_auth_core_types51.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 hono101.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,10 +693,10 @@ declare const signInSocialRoute: {
|
|
|
693
693
|
description: string;
|
|
694
694
|
content: {
|
|
695
695
|
"application/json": {
|
|
696
|
-
schema:
|
|
696
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
697
697
|
success: zod675.ZodLiteral<true>;
|
|
698
698
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
699
|
-
user:
|
|
699
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
700
700
|
id: zod675.ZodString;
|
|
701
701
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
702
702
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -704,18 +704,18 @@ declare const signInSocialRoute: {
|
|
|
704
704
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
705
705
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
706
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
|
-
},
|
|
708
|
-
},
|
|
707
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
708
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
709
709
|
success: zod675.ZodLiteral<false>;
|
|
710
710
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
711
711
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
712
|
-
},
|
|
712
|
+
}, zod_v4_core153.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
713
713
|
redirect: zod675.ZodLiteral<false>;
|
|
714
714
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
715
|
-
},
|
|
715
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
716
716
|
redirect: zod675.ZodLiteral<true>;
|
|
717
717
|
url: zod675.ZodURL;
|
|
718
|
-
},
|
|
718
|
+
}, zod_v4_core153.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
719
719
|
success: true;
|
|
720
720
|
data: ({
|
|
721
721
|
success: true;
|
|
@@ -777,11 +777,11 @@ declare const signInSocialRoute: {
|
|
|
777
777
|
description: string;
|
|
778
778
|
content: {
|
|
779
779
|
"application/json": {
|
|
780
|
-
schema:
|
|
780
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
781
781
|
success: zod675.ZodLiteral<false>;
|
|
782
782
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
783
783
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
784
|
-
},
|
|
784
|
+
}, zod_v4_core153.$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:
|
|
793
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
794
794
|
success: zod675.ZodLiteral<false>;
|
|
795
795
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
796
796
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
797
|
-
},
|
|
797
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
798
798
|
};
|
|
799
799
|
};
|
|
800
800
|
};
|
|
@@ -860,7 +860,7 @@ declare const signInSocialRoute: {
|
|
|
860
860
|
errors: string[];
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
|
-
}, unknown,
|
|
863
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
864
864
|
success: false;
|
|
865
865
|
} & {
|
|
866
866
|
errors: string[];
|
|
@@ -934,7 +934,7 @@ declare const signInSocialRoute: {
|
|
|
934
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
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
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<
|
|
937
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider, zod_v4_core153.$ZodTypeInternals<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider>>;
|
|
938
938
|
disableRedirect: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
939
939
|
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
940
940
|
token: zod675.ZodString;
|
|
@@ -942,11 +942,11 @@ declare const signInSocialRoute: {
|
|
|
942
942
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
943
943
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
944
944
|
expiresAt: zod675.ZodOptional<zod675.ZodNumber>;
|
|
945
|
-
},
|
|
945
|
+
}, zod_v4_core153.$strip>>;
|
|
946
946
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
947
947
|
requestSignUp: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
948
948
|
loginHint: zod675.ZodOptional<zod675.ZodString>;
|
|
949
|
-
},
|
|
949
|
+
}, zod_v4_core153.$strip>;
|
|
950
950
|
};
|
|
951
951
|
};
|
|
952
952
|
required: true;
|
|
@@ -960,10 +960,10 @@ declare const signInEmailRoute: {
|
|
|
960
960
|
description: string;
|
|
961
961
|
content: {
|
|
962
962
|
"application/json": {
|
|
963
|
-
schema:
|
|
963
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
964
964
|
success: zod675.ZodLiteral<true>;
|
|
965
965
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
966
|
-
user:
|
|
966
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
967
967
|
id: zod675.ZodString;
|
|
968
968
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
969
969
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -971,18 +971,18 @@ declare const signInEmailRoute: {
|
|
|
971
971
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
972
972
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
973
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
|
-
},
|
|
975
|
-
},
|
|
974
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
975
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
976
976
|
success: zod675.ZodLiteral<false>;
|
|
977
977
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
978
978
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
979
|
-
},
|
|
979
|
+
}, zod_v4_core153.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
980
980
|
redirect: zod675.ZodLiteral<false>;
|
|
981
981
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
982
|
-
},
|
|
982
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
983
983
|
redirect: zod675.ZodLiteral<true>;
|
|
984
984
|
url: zod675.ZodURL;
|
|
985
|
-
},
|
|
985
|
+
}, zod_v4_core153.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
986
986
|
success: true;
|
|
987
987
|
data: ({
|
|
988
988
|
success: true;
|
|
@@ -1040,11 +1040,11 @@ declare const signInEmailRoute: {
|
|
|
1040
1040
|
description: string;
|
|
1041
1041
|
content: {
|
|
1042
1042
|
"application/json": {
|
|
1043
|
-
schema:
|
|
1043
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1044
1044
|
success: zod675.ZodLiteral<false>;
|
|
1045
1045
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1046
1046
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1047
|
-
},
|
|
1047
|
+
}, zod_v4_core153.$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:
|
|
1056
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1057
1057
|
success: zod675.ZodLiteral<false>;
|
|
1058
1058
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1059
1059
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1060
|
-
},
|
|
1060
|
+
}, zod_v4_core153.$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:
|
|
1069
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1070
1070
|
success: zod675.ZodLiteral<false>;
|
|
1071
1071
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1072
1072
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1073
|
-
},
|
|
1073
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1074
1074
|
};
|
|
1075
1075
|
};
|
|
1076
1076
|
};
|
|
@@ -1097,7 +1097,7 @@ declare const signInEmailRoute: {
|
|
|
1097
1097
|
errors: string[];
|
|
1098
1098
|
};
|
|
1099
1099
|
};
|
|
1100
|
-
}, unknown,
|
|
1100
|
+
}, unknown, zod_v4_core153.$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:
|
|
1127
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1128
1128
|
success: zod675.ZodLiteral<false>;
|
|
1129
1129
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1130
1130
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1131
|
-
},
|
|
1131
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1132
1132
|
};
|
|
1133
1133
|
};
|
|
1134
1134
|
};
|
|
@@ -1146,7 +1146,7 @@ declare const signInEmailRoute: {
|
|
|
1146
1146
|
password: zod675.ZodString;
|
|
1147
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
1148
|
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
1149
|
-
},
|
|
1149
|
+
}, zod_v4_core153.$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: zod675.ZodType<unknown, unknown,
|
|
1165
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core153.$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:
|
|
1178
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1179
1179
|
success: zod675.ZodLiteral<false>;
|
|
1180
1180
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1181
1181
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1182
|
-
},
|
|
1182
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1183
1183
|
};
|
|
1184
1184
|
};
|
|
1185
1185
|
};
|
|
@@ -1191,7 +1191,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1191
1191
|
request: {
|
|
1192
1192
|
params: zod675.ZodObject<{
|
|
1193
1193
|
id: zod675.ZodString;
|
|
1194
|
-
},
|
|
1194
|
+
}, zod_v4_core153.$strip>;
|
|
1195
1195
|
} & {
|
|
1196
1196
|
query: zod675.ZodObject<{
|
|
1197
1197
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1200,7 +1200,7 @@ declare const getOAuthCallbackRoute: {
|
|
|
1200
1200
|
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1201
1201
|
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1202
1202
|
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1203
|
-
},
|
|
1203
|
+
}, zod_v4_core153.$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: zod675.ZodType<unknown, unknown,
|
|
1213
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core153.$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:
|
|
1226
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1227
1227
|
success: zod675.ZodLiteral<false>;
|
|
1228
1228
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1229
1229
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1230
|
-
},
|
|
1230
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1231
1231
|
};
|
|
1232
1232
|
};
|
|
1233
1233
|
};
|
|
@@ -1260,7 +1260,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1260
1260
|
errors: string[];
|
|
1261
1261
|
};
|
|
1262
1262
|
};
|
|
1263
|
-
}, unknown,
|
|
1263
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
1264
1264
|
success: false;
|
|
1265
1265
|
} & {
|
|
1266
1266
|
errors: string[];
|
|
@@ -1305,7 +1305,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1305
1305
|
error_description: zod675.ZodOptional<zod675.ZodString>;
|
|
1306
1306
|
state: zod675.ZodOptional<zod675.ZodString>;
|
|
1307
1307
|
user: zod675.ZodOptional<zod675.ZodString>;
|
|
1308
|
-
},
|
|
1308
|
+
}, zod_v4_core153.$strip>>;
|
|
1309
1309
|
};
|
|
1310
1310
|
};
|
|
1311
1311
|
required: true;
|
|
@@ -1313,7 +1313,7 @@ declare const postOAuthCallbackRoute: {
|
|
|
1313
1313
|
} & {
|
|
1314
1314
|
params: zod675.ZodObject<{
|
|
1315
1315
|
id: zod675.ZodString;
|
|
1316
|
-
},
|
|
1316
|
+
}, zod_v4_core153.$strip>;
|
|
1317
1317
|
};
|
|
1318
1318
|
getRoutingPath: () => "/callback/:id";
|
|
1319
1319
|
};
|
|
@@ -1325,8 +1325,8 @@ declare const getSessionRoute: {
|
|
|
1325
1325
|
description: string;
|
|
1326
1326
|
content: {
|
|
1327
1327
|
"application/json": {
|
|
1328
|
-
schema:
|
|
1329
|
-
session:
|
|
1328
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
1329
|
+
session: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1330
1330
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1331
1331
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1332
1332
|
id: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1335,8 +1335,8 @@ declare const getSessionRoute: {
|
|
|
1335
1335
|
token: zod675.ZodString;
|
|
1336
1336
|
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1337
1337
|
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1338
|
-
},
|
|
1339
|
-
user:
|
|
1338
|
+
}, zod_v4_core153.$loose>, "session">;
|
|
1339
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1340
1340
|
id: zod675.ZodString;
|
|
1341
1341
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1342
1342
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -1344,8 +1344,8 @@ declare const getSessionRoute: {
|
|
|
1344
1344
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
1345
1345
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
1346
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
|
-
},
|
|
1348
|
-
},
|
|
1347
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
1348
|
+
}, zod_v4_core153.$strip>, zod675.ZodTransform<{
|
|
1349
1349
|
success: true;
|
|
1350
1350
|
data: {
|
|
1351
1351
|
session: {
|
|
@@ -1401,11 +1401,11 @@ declare const getSessionRoute: {
|
|
|
1401
1401
|
description: string;
|
|
1402
1402
|
content: {
|
|
1403
1403
|
"application/json": {
|
|
1404
|
-
schema:
|
|
1404
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1405
1405
|
success: zod675.ZodLiteral<false>;
|
|
1406
1406
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1407
1407
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1408
|
-
},
|
|
1408
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1409
1409
|
};
|
|
1410
1410
|
};
|
|
1411
1411
|
};
|
|
@@ -1426,7 +1426,7 @@ declare const getSessionRoute: {
|
|
|
1426
1426
|
errors: string[];
|
|
1427
1427
|
};
|
|
1428
1428
|
};
|
|
1429
|
-
}, unknown,
|
|
1429
|
+
}, unknown, zod_v4_core153.$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:
|
|
1450
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1451
1451
|
success: zod675.ZodLiteral<false>;
|
|
1452
1452
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1453
1453
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1454
|
-
},
|
|
1454
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1455
1455
|
};
|
|
1456
1456
|
};
|
|
1457
1457
|
};
|
|
@@ -1463,7 +1463,7 @@ declare const getSessionRoute: {
|
|
|
1463
1463
|
query: zod675.ZodObject<{
|
|
1464
1464
|
disableCookieCache: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1465
1465
|
disableRefresh: zod675.ZodOptional<zod675.ZodUnion<[zod675.ZodBoolean, zod675.ZodPipe<zod675.ZodString, zod675.ZodTransform<boolean, string>>]>>;
|
|
1466
|
-
},
|
|
1466
|
+
}, zod_v4_core153.$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: hono101.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: hono101.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: hono101.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: hono101.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_types51.JSONRespondReturn<{
|
|
1545
1545
|
success: false;
|
|
1546
1546
|
code?: string | undefined;
|
|
1547
1547
|
message?: string | undefined;
|
|
@@ -1552,7 +1552,7 @@ declare const listSessionsRoute: {
|
|
|
1552
1552
|
description: string;
|
|
1553
1553
|
content: {
|
|
1554
1554
|
"application/json": {
|
|
1555
|
-
schema:
|
|
1555
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1556
1556
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1557
1557
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
1558
1558
|
id: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -1561,7 +1561,7 @@ declare const listSessionsRoute: {
|
|
|
1561
1561
|
token: zod675.ZodString;
|
|
1562
1562
|
ipAddress: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1563
1563
|
userAgent: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodString>>;
|
|
1564
|
-
},
|
|
1564
|
+
}, zod_v4_core153.$loose>, "session">>, zod675.ZodTransform<{
|
|
1565
1565
|
success: true;
|
|
1566
1566
|
data: ({
|
|
1567
1567
|
[x: string]: unknown;
|
|
@@ -1593,11 +1593,11 @@ declare const listSessionsRoute: {
|
|
|
1593
1593
|
description: string;
|
|
1594
1594
|
content: {
|
|
1595
1595
|
"application/json": {
|
|
1596
|
-
schema:
|
|
1596
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1597
1597
|
success: zod675.ZodLiteral<false>;
|
|
1598
1598
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1599
1599
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1600
|
-
},
|
|
1600
|
+
}, zod_v4_core153.$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: hono101.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:
|
|
1645
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1646
1646
|
success: zod675.ZodLiteral<true>;
|
|
1647
1647
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1648
|
-
},
|
|
1648
|
+
}, zod_v4_core153.$strip>, "success">;
|
|
1649
1649
|
};
|
|
1650
1650
|
};
|
|
1651
1651
|
};
|
|
@@ -1663,7 +1663,7 @@ declare const revokeSessionRoute: {
|
|
|
1663
1663
|
errors: string[];
|
|
1664
1664
|
};
|
|
1665
1665
|
};
|
|
1666
|
-
}, unknown,
|
|
1666
|
+
}, unknown, zod_v4_core153.$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:
|
|
1684
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1685
1685
|
success: zod675.ZodLiteral<false>;
|
|
1686
1686
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1687
1687
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1688
|
-
},
|
|
1688
|
+
}, zod_v4_core153.$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:
|
|
1697
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1698
1698
|
success: zod675.ZodLiteral<false>;
|
|
1699
1699
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1700
1700
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1701
|
-
},
|
|
1701
|
+
}, zod_v4_core153.$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:
|
|
1710
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1711
1711
|
success: zod675.ZodLiteral<false>;
|
|
1712
1712
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1713
1713
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1714
|
-
},
|
|
1714
|
+
}, zod_v4_core153.$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: hono101.Next) => Promise<void | (Response & TypedResponse<{
|
|
1728
1728
|
success: false;
|
|
1729
1729
|
code?: string | undefined;
|
|
1730
1730
|
message?: string | undefined;
|
|
@@ -1736,7 +1736,7 @@ declare const revokeSessionRoute: {
|
|
|
1736
1736
|
"application/json": {
|
|
1737
1737
|
schema: zod675.ZodObject<{
|
|
1738
1738
|
token: zod675.ZodString;
|
|
1739
|
-
},
|
|
1739
|
+
}, zod_v4_core153.$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:
|
|
1753
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1754
1754
|
success: zod675.ZodLiteral<true>;
|
|
1755
1755
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1756
|
-
},
|
|
1756
|
+
}, zod_v4_core153.$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:
|
|
1765
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1766
1766
|
success: zod675.ZodLiteral<false>;
|
|
1767
1767
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1768
1768
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1769
|
-
},
|
|
1769
|
+
}, zod_v4_core153.$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: hono101.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:
|
|
1795
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1796
1796
|
success: zod675.ZodLiteral<true>;
|
|
1797
1797
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1798
|
-
},
|
|
1798
|
+
}, zod_v4_core153.$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: hono101.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:
|
|
1826
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1827
1827
|
success: zod675.ZodLiteral<true>;
|
|
1828
1828
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1829
|
-
},
|
|
1829
|
+
}, zod_v4_core153.$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:
|
|
1838
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1839
1839
|
success: zod675.ZodLiteral<false>;
|
|
1840
1840
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1841
1841
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1842
|
-
},
|
|
1842
|
+
}, zod_v4_core153.$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:
|
|
1860
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1861
1861
|
success: zod675.ZodLiteral<true>;
|
|
1862
1862
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1863
|
-
},
|
|
1863
|
+
}, zod_v4_core153.$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:
|
|
1872
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1873
1873
|
success: zod675.ZodLiteral<false>;
|
|
1874
1874
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1875
1875
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1876
|
-
},
|
|
1876
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1877
1877
|
};
|
|
1878
1878
|
};
|
|
1879
1879
|
};
|
|
@@ -1894,7 +1894,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1894
1894
|
errors: string[];
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
1897
|
-
}, unknown,
|
|
1897
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
1898
1898
|
success: false;
|
|
1899
1899
|
} & {
|
|
1900
1900
|
errors: string[];
|
|
@@ -1922,7 +1922,7 @@ declare const requestPasswordResetRoute: {
|
|
|
1922
1922
|
schema: zod675.ZodObject<{
|
|
1923
1923
|
email: zod675.ZodEmail;
|
|
1924
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
|
-
},
|
|
1925
|
+
}, zod_v4_core153.$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: zod675.ZodType<unknown, unknown,
|
|
1939
|
+
schema: zod675.ZodType<unknown, unknown, zod_v4_core153.$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: hono101.Next) => Promise<void | Response>];
|
|
1952
1952
|
request: {
|
|
1953
1953
|
params: zod675.ZodObject<{
|
|
1954
1954
|
token: zod675.ZodString;
|
|
1955
|
-
},
|
|
1955
|
+
}, zod_v4_core153.$strip>;
|
|
1956
1956
|
} & {
|
|
1957
1957
|
query: zod675.ZodObject<{
|
|
1958
1958
|
callbackURL: zod675.ZodPipe<zod675.ZodPipe<zod675.ZodTransform<string, string>, zod675.ZodURL>, zod675.ZodTransform<string, string>>;
|
|
1959
|
-
},
|
|
1959
|
+
}, zod_v4_core153.$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:
|
|
1969
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1970
1970
|
success: zod675.ZodLiteral<true>;
|
|
1971
1971
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1972
|
-
},
|
|
1972
|
+
}, zod_v4_core153.$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:
|
|
1981
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
1982
1982
|
success: zod675.ZodLiteral<false>;
|
|
1983
1983
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
1984
1984
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
1985
|
-
},
|
|
1985
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
1986
1986
|
};
|
|
1987
1987
|
};
|
|
1988
1988
|
};
|
|
@@ -2003,7 +2003,7 @@ declare const resetPasswordRoute: {
|
|
|
2003
2003
|
errors: string[];
|
|
2004
2004
|
};
|
|
2005
2005
|
};
|
|
2006
|
-
}, unknown,
|
|
2006
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
2007
2007
|
success: false;
|
|
2008
2008
|
} & {
|
|
2009
2009
|
errors: string[];
|
|
@@ -2031,7 +2031,7 @@ declare const resetPasswordRoute: {
|
|
|
2031
2031
|
schema: zod675.ZodObject<{
|
|
2032
2032
|
newPassword: zod675.ZodString;
|
|
2033
2033
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2034
|
-
},
|
|
2034
|
+
}, zod_v4_core153.$strip>;
|
|
2035
2035
|
};
|
|
2036
2036
|
};
|
|
2037
2037
|
required: true;
|
|
@@ -2039,7 +2039,7 @@ declare const resetPasswordRoute: {
|
|
|
2039
2039
|
} & {
|
|
2040
2040
|
query: zod675.ZodObject<{
|
|
2041
2041
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2042
|
-
},
|
|
2042
|
+
}, zod_v4_core153.$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:
|
|
2054
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2055
2055
|
success: zod675.ZodLiteral<true>;
|
|
2056
2056
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2057
|
-
},
|
|
2057
|
+
}, zod_v4_core153.$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:
|
|
2066
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2067
2067
|
success: zod675.ZodLiteral<false>;
|
|
2068
2068
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2069
2069
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2070
|
-
},
|
|
2070
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2071
2071
|
};
|
|
2072
2072
|
};
|
|
2073
2073
|
};
|
|
@@ -2088,7 +2088,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2088
2088
|
errors: string[];
|
|
2089
2089
|
};
|
|
2090
2090
|
};
|
|
2091
|
-
}, unknown,
|
|
2091
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
2092
2092
|
success: false;
|
|
2093
2093
|
} & {
|
|
2094
2094
|
errors: string[];
|
|
@@ -2116,7 +2116,7 @@ declare const sendVerificationEmailRoute: {
|
|
|
2116
2116
|
schema: zod675.ZodObject<{
|
|
2117
2117
|
email: zod675.ZodEmail;
|
|
2118
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
|
-
},
|
|
2119
|
+
}, zod_v4_core153.$strip>;
|
|
2120
2120
|
};
|
|
2121
2121
|
};
|
|
2122
2122
|
required: true;
|
|
@@ -2130,10 +2130,10 @@ declare const verifyEmailRoute: {
|
|
|
2130
2130
|
description: string;
|
|
2131
2131
|
content: {
|
|
2132
2132
|
"application/json": {
|
|
2133
|
-
schema:
|
|
2133
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2134
2134
|
success: zod675.ZodLiteral<true>;
|
|
2135
2135
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2136
|
-
user:
|
|
2136
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2137
2137
|
id: zod675.ZodString;
|
|
2138
2138
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2139
2139
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -2141,12 +2141,12 @@ declare const verifyEmailRoute: {
|
|
|
2141
2141
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2142
2142
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2143
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
|
-
},
|
|
2145
|
-
},
|
|
2144
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
2145
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
2146
2146
|
success: zod675.ZodLiteral<false>;
|
|
2147
2147
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2148
2148
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2149
|
-
},
|
|
2149
|
+
}, zod_v4_core153.$strip>], "success">, zod675.ZodTransform<{
|
|
2150
2150
|
success: true;
|
|
2151
2151
|
data: {
|
|
2152
2152
|
success: true;
|
|
@@ -2192,11 +2192,11 @@ declare const verifyEmailRoute: {
|
|
|
2192
2192
|
description: string;
|
|
2193
2193
|
content: {
|
|
2194
2194
|
"application/json": {
|
|
2195
|
-
schema:
|
|
2195
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2196
2196
|
success: zod675.ZodLiteral<false>;
|
|
2197
2197
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2198
2198
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2199
|
-
},
|
|
2199
|
+
}, zod_v4_core153.$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:
|
|
2208
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2209
2209
|
success: zod675.ZodLiteral<false>;
|
|
2210
2210
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2211
2211
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2212
|
-
},
|
|
2212
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2213
2213
|
};
|
|
2214
2214
|
};
|
|
2215
2215
|
};
|
|
@@ -2234,7 +2234,7 @@ declare const verifyEmailRoute: {
|
|
|
2234
2234
|
errors: string[];
|
|
2235
2235
|
};
|
|
2236
2236
|
};
|
|
2237
|
-
}, unknown,
|
|
2237
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
2238
2238
|
success: false;
|
|
2239
2239
|
} & {
|
|
2240
2240
|
errors: string[];
|
|
@@ -2254,12 +2254,12 @@ 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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<undefined, 302, "redirect">) | _faire_auth_core_types51.JSONRespondReturn<{
|
|
2263
2263
|
success: false;
|
|
2264
2264
|
code: string;
|
|
2265
2265
|
message: string;
|
|
@@ -2268,7 +2268,7 @@ declare const verifyEmailRoute: {
|
|
|
2268
2268
|
query: zod675.ZodObject<{
|
|
2269
2269
|
token: zod675.ZodString;
|
|
2270
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
|
-
},
|
|
2271
|
+
}, zod_v4_core153.$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:
|
|
2283
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2284
2284
|
success: zod675.ZodLiteral<true>;
|
|
2285
2285
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2286
|
-
},
|
|
2286
|
+
}, zod_v4_core153.$strip>, "success">;
|
|
2287
2287
|
};
|
|
2288
2288
|
};
|
|
2289
2289
|
};
|
|
@@ -2307,7 +2307,7 @@ declare const updateUserRoute: {
|
|
|
2307
2307
|
errors: string[];
|
|
2308
2308
|
};
|
|
2309
2309
|
};
|
|
2310
|
-
}, unknown,
|
|
2310
|
+
}, unknown, zod_v4_core153.$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:
|
|
2334
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2335
2335
|
success: zod675.ZodLiteral<false>;
|
|
2336
2336
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2337
2337
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2338
|
-
},
|
|
2338
|
+
}, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2371
2371
|
success: false;
|
|
2372
2372
|
code?: string | undefined;
|
|
2373
2373
|
message?: string | undefined;
|
|
@@ -2380,7 +2380,7 @@ declare const updateUserRoute: {
|
|
|
2380
2380
|
schema: zod675.ZodObject<{
|
|
2381
2381
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2382
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
|
-
},
|
|
2383
|
+
}, zod_v4_core153.$loose>;
|
|
2384
2384
|
};
|
|
2385
2385
|
};
|
|
2386
2386
|
required: true;
|
|
@@ -2394,10 +2394,10 @@ declare const changePasswordRoute: {
|
|
|
2394
2394
|
description: string;
|
|
2395
2395
|
content: {
|
|
2396
2396
|
"application/json": {
|
|
2397
|
-
schema:
|
|
2397
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2398
2398
|
success: zod675.ZodLiteral<true>;
|
|
2399
2399
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
2400
|
-
user:
|
|
2400
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2401
2401
|
id: zod675.ZodString;
|
|
2402
2402
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
2403
2403
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -2405,18 +2405,18 @@ declare const changePasswordRoute: {
|
|
|
2405
2405
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
2406
2406
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
2407
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
|
-
},
|
|
2409
|
-
},
|
|
2408
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
2409
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
2410
2410
|
success: zod675.ZodLiteral<false>;
|
|
2411
2411
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
2412
2412
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
2413
|
-
},
|
|
2413
|
+
}, zod_v4_core153.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
2414
2414
|
redirect: zod675.ZodLiteral<false>;
|
|
2415
2415
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
2416
|
-
},
|
|
2416
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
2417
2417
|
redirect: zod675.ZodLiteral<true>;
|
|
2418
2418
|
url: zod675.ZodURL;
|
|
2419
|
-
},
|
|
2419
|
+
}, zod_v4_core153.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
2420
2420
|
success: true;
|
|
2421
2421
|
data: ({
|
|
2422
2422
|
success: true;
|
|
@@ -2474,11 +2474,11 @@ declare const changePasswordRoute: {
|
|
|
2474
2474
|
description: string;
|
|
2475
2475
|
content: {
|
|
2476
2476
|
"application/json": {
|
|
2477
|
-
schema:
|
|
2477
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2478
2478
|
success: zod675.ZodLiteral<false>;
|
|
2479
2479
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2480
2480
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2481
|
-
},
|
|
2481
|
+
}, zod_v4_core153.$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:
|
|
2490
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2491
2491
|
success: zod675.ZodLiteral<false>;
|
|
2492
2492
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2493
2493
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2494
|
-
},
|
|
2494
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2495
2495
|
};
|
|
2496
2496
|
};
|
|
2497
2497
|
};
|
|
@@ -2515,7 +2515,7 @@ declare const changePasswordRoute: {
|
|
|
2515
2515
|
errors: string[];
|
|
2516
2516
|
};
|
|
2517
2517
|
};
|
|
2518
|
-
}, unknown,
|
|
2518
|
+
}, unknown, zod_v4_core153.$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:
|
|
2542
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2543
2543
|
success: zod675.ZodLiteral<false>;
|
|
2544
2544
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2545
2545
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2546
|
-
},
|
|
2546
|
+
}, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2560
2560
|
success: false;
|
|
2561
2561
|
code?: string | undefined;
|
|
2562
2562
|
message?: string | undefined;
|
|
@@ -2570,7 +2570,7 @@ declare const changePasswordRoute: {
|
|
|
2570
2570
|
newPassword: zod675.ZodString;
|
|
2571
2571
|
currentPassword: zod675.ZodString;
|
|
2572
2572
|
revokeOtherSessions: zod675.ZodOptional<zod675.ZodBoolean>;
|
|
2573
|
-
},
|
|
2573
|
+
}, zod_v4_core153.$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:
|
|
2587
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2588
2588
|
success: zod675.ZodLiteral<true>;
|
|
2589
2589
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2590
|
-
},
|
|
2590
|
+
}, zod_v4_core153.$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:
|
|
2599
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2600
2600
|
success: zod675.ZodLiteral<false>;
|
|
2601
2601
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2602
2602
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2603
|
-
},
|
|
2603
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2604
2604
|
};
|
|
2605
2605
|
};
|
|
2606
2606
|
};
|
|
@@ -2618,7 +2618,7 @@ declare const setPasswordRoute: {
|
|
|
2618
2618
|
errors: string[];
|
|
2619
2619
|
};
|
|
2620
2620
|
};
|
|
2621
|
-
}, unknown,
|
|
2621
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2646
2646
|
success: false;
|
|
2647
2647
|
code?: string | undefined;
|
|
2648
2648
|
message?: string | undefined;
|
|
@@ -2654,7 +2654,7 @@ declare const setPasswordRoute: {
|
|
|
2654
2654
|
"application/json": {
|
|
2655
2655
|
schema: zod675.ZodObject<{
|
|
2656
2656
|
newPassword: zod675.ZodString;
|
|
2657
|
-
},
|
|
2657
|
+
}, zod_v4_core153.$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:
|
|
2671
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2672
2672
|
success: zod675.ZodLiteral<true>;
|
|
2673
2673
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2674
|
-
},
|
|
2674
|
+
}, zod_v4_core153.$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:
|
|
2687
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2688
2688
|
success: zod675.ZodLiteral<false>;
|
|
2689
2689
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2690
2690
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2691
|
-
},
|
|
2691
|
+
}, zod_v4_core153.$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:
|
|
2700
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2701
2701
|
success: zod675.ZodLiteral<false>;
|
|
2702
2702
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2703
2703
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2704
|
-
},
|
|
2704
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2705
2705
|
};
|
|
2706
2706
|
};
|
|
2707
2707
|
};
|
|
@@ -2725,7 +2725,7 @@ declare const deleteUserRoute: {
|
|
|
2725
2725
|
errors: string[];
|
|
2726
2726
|
};
|
|
2727
2727
|
};
|
|
2728
|
-
}, unknown,
|
|
2728
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2757
2757
|
success: false;
|
|
2758
2758
|
code?: string | undefined;
|
|
2759
2759
|
message?: string | undefined;
|
|
@@ -2767,7 +2767,7 @@ declare const deleteUserRoute: {
|
|
|
2767
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
2768
|
password: zod675.ZodOptional<zod675.ZodString>;
|
|
2769
2769
|
token: zod675.ZodOptional<zod675.ZodString>;
|
|
2770
|
-
},
|
|
2770
|
+
}, zod_v4_core153.$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:
|
|
2784
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2785
2785
|
success: zod675.ZodLiteral<true>;
|
|
2786
2786
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2787
|
-
},
|
|
2787
|
+
}, zod_v4_core153.$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:
|
|
2800
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2801
2801
|
success: zod675.ZodLiteral<false>;
|
|
2802
2802
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2803
2803
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2804
|
-
},
|
|
2804
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2805
2805
|
};
|
|
2806
2806
|
};
|
|
2807
2807
|
};
|
|
@@ -2822,7 +2822,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2822
2822
|
errors: string[];
|
|
2823
2823
|
};
|
|
2824
2824
|
};
|
|
2825
|
-
}, unknown,
|
|
2825
|
+
}, unknown, zod_v4_core153.$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: hono101.Context<ContextVars<object>, string, {}>, next: hono101.Next) => Promise<void | Response>, (ctx: hono101.Context<ContextVars<object & {
|
|
2846
2846
|
session: {
|
|
2847
2847
|
session: {
|
|
2848
2848
|
[x: string]: unknown;
|
|
@@ -2866,7 +2866,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2866
2866
|
image?: string | null;
|
|
2867
2867
|
};
|
|
2868
2868
|
};
|
|
2869
|
-
}>, string, {}>, next:
|
|
2869
|
+
}>, string, {}>, next: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2870
2870
|
success: false;
|
|
2871
2871
|
code?: string | undefined;
|
|
2872
2872
|
message?: string | undefined;
|
|
@@ -2875,7 +2875,7 @@ declare const deleteUserCallbackRoute: {
|
|
|
2875
2875
|
query: zod675.ZodObject<{
|
|
2876
2876
|
token: zod675.ZodString;
|
|
2877
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
|
-
},
|
|
2878
|
+
}, zod_v4_core153.$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:
|
|
2888
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2889
2889
|
success: zod675.ZodLiteral<true>;
|
|
2890
2890
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2891
|
-
},
|
|
2891
|
+
}, zod_v4_core153.$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:
|
|
2900
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
2901
2901
|
success: zod675.ZodLiteral<false>;
|
|
2902
2902
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
2903
2903
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
2904
|
-
},
|
|
2904
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
2905
2905
|
};
|
|
2906
2906
|
};
|
|
2907
2907
|
};
|
|
@@ -2922,7 +2922,7 @@ declare const changeEmailRoute: {
|
|
|
2922
2922
|
errors: string[];
|
|
2923
2923
|
};
|
|
2924
2924
|
};
|
|
2925
|
-
}, unknown,
|
|
2925
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
2951
2951
|
success: false;
|
|
2952
2952
|
code?: string | undefined;
|
|
2953
2953
|
message?: string | undefined;
|
|
@@ -2960,7 +2960,7 @@ declare const changeEmailRoute: {
|
|
|
2960
2960
|
schema: zod675.ZodObject<{
|
|
2961
2961
|
newEmail: zod675.ZodEmail;
|
|
2962
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
|
-
},
|
|
2963
|
+
}, zod_v4_core153.$strip>;
|
|
2964
2964
|
};
|
|
2965
2965
|
};
|
|
2966
2966
|
required: true;
|
|
@@ -3035,10 +3035,10 @@ declare const okRoute: {
|
|
|
3035
3035
|
description: string;
|
|
3036
3036
|
content: {
|
|
3037
3037
|
"application/json": {
|
|
3038
|
-
schema:
|
|
3038
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3039
3039
|
success: zod675.ZodLiteral<true>;
|
|
3040
3040
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3041
|
-
},
|
|
3041
|
+
}, zod_v4_core153.$strip>, "success">;
|
|
3042
3042
|
};
|
|
3043
3043
|
};
|
|
3044
3044
|
};
|
|
@@ -3058,10 +3058,10 @@ declare const signUpEmailRoute: {
|
|
|
3058
3058
|
description: string;
|
|
3059
3059
|
content: {
|
|
3060
3060
|
"application/json": {
|
|
3061
|
-
schema:
|
|
3061
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodIntersection<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3062
3062
|
success: zod675.ZodLiteral<true>;
|
|
3063
3063
|
token: zod675.ZodDefault<zod675.ZodNullable<zod675.ZodString>>;
|
|
3064
|
-
user:
|
|
3064
|
+
user: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3065
3065
|
id: zod675.ZodString;
|
|
3066
3066
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3067
3067
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
@@ -3069,18 +3069,18 @@ declare const signUpEmailRoute: {
|
|
|
3069
3069
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3070
3070
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3071
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
|
-
},
|
|
3073
|
-
},
|
|
3072
|
+
}, zod_v4_core153.$loose>, "user">;
|
|
3073
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
3074
3074
|
success: zod675.ZodLiteral<false>;
|
|
3075
3075
|
token: zod675.ZodDefault<zod675.ZodNull>;
|
|
3076
3076
|
user: zod675.ZodDefault<zod675.ZodNull>;
|
|
3077
|
-
},
|
|
3077
|
+
}, zod_v4_core153.$strip>], "success">, zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3078
3078
|
redirect: zod675.ZodLiteral<false>;
|
|
3079
3079
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3080
|
-
},
|
|
3080
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
3081
3081
|
redirect: zod675.ZodLiteral<true>;
|
|
3082
3082
|
url: zod675.ZodURL;
|
|
3083
|
-
},
|
|
3083
|
+
}, zod_v4_core153.$strip>], "redirect">>, zod675.ZodTransform<{
|
|
3084
3084
|
success: true;
|
|
3085
3085
|
data: ({
|
|
3086
3086
|
success: true;
|
|
@@ -3138,11 +3138,11 @@ declare const signUpEmailRoute: {
|
|
|
3138
3138
|
description: string;
|
|
3139
3139
|
content: {
|
|
3140
3140
|
"application/json": {
|
|
3141
|
-
schema:
|
|
3141
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3142
3142
|
success: zod675.ZodLiteral<false>;
|
|
3143
3143
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3144
3144
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3145
|
-
},
|
|
3145
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3146
3146
|
};
|
|
3147
3147
|
};
|
|
3148
3148
|
};
|
|
@@ -3178,7 +3178,7 @@ declare const signUpEmailRoute: {
|
|
|
3178
3178
|
errors: string[];
|
|
3179
3179
|
};
|
|
3180
3180
|
};
|
|
3181
|
-
}, unknown,
|
|
3181
|
+
}, unknown, zod_v4_core153.$ZodTypeInternals<{
|
|
3182
3182
|
success: false;
|
|
3183
3183
|
} & {
|
|
3184
3184
|
errors: string[];
|
|
@@ -3225,7 +3225,7 @@ declare const signUpEmailRoute: {
|
|
|
3225
3225
|
image: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodURL>>;
|
|
3226
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
3227
|
rememberMe: zod675.ZodDefault<zod675.ZodBoolean>;
|
|
3228
|
-
},
|
|
3228
|
+
}, zod_v4_core153.$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:
|
|
3244
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodArray<zod675.ZodObject<{
|
|
3245
3245
|
id: zod675.ZodString;
|
|
3246
3246
|
createdAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3247
3247
|
updatedAt: zod675.ZodDefault<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3248
3248
|
providerId: zod675.ZodString;
|
|
3249
3249
|
accountId: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3250
3250
|
scopes: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>;
|
|
3251
|
-
},
|
|
3251
|
+
}, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.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:
|
|
3315
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodDiscriminatedUnion<[zod675.ZodObject<{
|
|
3316
3316
|
redirect: zod675.ZodLiteral<false>;
|
|
3317
3317
|
url: zod675.ZodDefault<zod675.ZodNull>;
|
|
3318
|
-
},
|
|
3318
|
+
}, zod_v4_core153.$strip>, zod675.ZodObject<{
|
|
3319
3319
|
redirect: zod675.ZodLiteral<true>;
|
|
3320
3320
|
url: zod675.ZodURL;
|
|
3321
|
-
},
|
|
3321
|
+
}, zod_v4_core153.$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:
|
|
3345
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3346
3346
|
success: zod675.ZodLiteral<false>;
|
|
3347
3347
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3348
3348
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3349
|
-
},
|
|
3349
|
+
}, zod_v4_core153.$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:
|
|
3358
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3359
3359
|
success: zod675.ZodLiteral<false>;
|
|
3360
3360
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3361
3361
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3362
|
-
},
|
|
3362
|
+
}, zod_v4_core153.$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:
|
|
3371
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3372
3372
|
success: zod675.ZodLiteral<false>;
|
|
3373
3373
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3374
3374
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3375
|
-
},
|
|
3375
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3376
3376
|
};
|
|
3377
3377
|
};
|
|
3378
3378
|
};
|
|
@@ -3431,7 +3431,7 @@ declare const linkAccountRoute: {
|
|
|
3431
3431
|
errors: string[];
|
|
3432
3432
|
};
|
|
3433
3433
|
};
|
|
3434
|
-
}, unknown,
|
|
3434
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
3517
3517
|
success: false;
|
|
3518
3518
|
code?: string | undefined;
|
|
3519
3519
|
message?: string | undefined;
|
|
@@ -3525,17 +3525,17 @@ declare const linkAccountRoute: {
|
|
|
3525
3525
|
"application/json": {
|
|
3526
3526
|
schema: zod675.ZodObject<{
|
|
3527
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<
|
|
3528
|
+
provider: zod675.ZodType<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider, zod_v4_core153.$ZodTypeInternals<_faire_auth_core_social_providers25.SocialProvider, _faire_auth_core_social_providers25.SocialProvider>>;
|
|
3529
3529
|
idToken: zod675.ZodOptional<zod675.ZodObject<{
|
|
3530
3530
|
token: zod675.ZodString;
|
|
3531
3531
|
nonce: zod675.ZodOptional<zod675.ZodString>;
|
|
3532
3532
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3533
3533
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3534
3534
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3535
|
-
},
|
|
3535
|
+
}, zod_v4_core153.$strip>>;
|
|
3536
3536
|
scopes: zod675.ZodOptional<zod675.ZodArray<zod675.ZodString>>;
|
|
3537
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
|
-
},
|
|
3538
|
+
}, zod_v4_core153.$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:
|
|
3552
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3553
3553
|
success: zod675.ZodLiteral<true>;
|
|
3554
3554
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3555
|
-
},
|
|
3555
|
+
}, zod_v4_core153.$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:
|
|
3564
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3565
3565
|
success: zod675.ZodLiteral<false>;
|
|
3566
3566
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3567
3567
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3568
|
-
},
|
|
3568
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3569
3569
|
};
|
|
3570
3570
|
};
|
|
3571
3571
|
};
|
|
@@ -3586,7 +3586,7 @@ declare const unlinkAccountRoute: {
|
|
|
3586
3586
|
errors: string[];
|
|
3587
3587
|
};
|
|
3588
3588
|
};
|
|
3589
|
-
}, unknown,
|
|
3589
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
3615
3615
|
success: false;
|
|
3616
3616
|
code?: string | undefined;
|
|
3617
3617
|
message?: string | undefined;
|
|
3618
|
-
}, 401>) |
|
|
3618
|
+
}, 401>) | _faire_auth_core_types51.JSONRespondReturn<{
|
|
3619
3619
|
success: false;
|
|
3620
3620
|
code?: string | undefined;
|
|
3621
3621
|
message?: string | undefined;
|
|
@@ -3628,7 +3628,7 @@ declare const unlinkAccountRoute: {
|
|
|
3628
3628
|
schema: zod675.ZodObject<{
|
|
3629
3629
|
providerId: zod675.ZodString;
|
|
3630
3630
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3631
|
-
},
|
|
3631
|
+
}, zod_v4_core153.$strip>;
|
|
3632
3632
|
};
|
|
3633
3633
|
};
|
|
3634
3634
|
required: true;
|
|
@@ -3642,7 +3642,7 @@ declare const getAccessTokenRoute: {
|
|
|
3642
3642
|
description: string;
|
|
3643
3643
|
content: {
|
|
3644
3644
|
"application/json": {
|
|
3645
|
-
schema:
|
|
3645
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3646
3646
|
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3647
3647
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3648
3648
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -3650,7 +3650,7 @@ declare const getAccessTokenRoute: {
|
|
|
3650
3650
|
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3651
3651
|
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3652
3652
|
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3653
|
-
},
|
|
3653
|
+
}, zod_v4_core153.$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:
|
|
3681
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3682
3682
|
success: zod675.ZodLiteral<false>;
|
|
3683
3683
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3684
3684
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3685
|
-
},
|
|
3685
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3686
3686
|
};
|
|
3687
3687
|
};
|
|
3688
3688
|
};
|
|
@@ -3706,7 +3706,7 @@ declare const getAccessTokenRoute: {
|
|
|
3706
3706
|
errors: string[];
|
|
3707
3707
|
};
|
|
3708
3708
|
};
|
|
3709
|
-
}, unknown,
|
|
3709
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
3738
3738
|
success: false;
|
|
3739
3739
|
code?: string | undefined;
|
|
3740
3740
|
message?: string | undefined;
|
|
@@ -3748,7 +3748,7 @@ declare const getAccessTokenRoute: {
|
|
|
3748
3748
|
providerId: zod675.ZodString;
|
|
3749
3749
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3750
3750
|
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3751
|
-
},
|
|
3751
|
+
}, zod_v4_core153.$strip>;
|
|
3752
3752
|
};
|
|
3753
3753
|
};
|
|
3754
3754
|
required: true;
|
|
@@ -3762,7 +3762,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3762
3762
|
description: string;
|
|
3763
3763
|
content: {
|
|
3764
3764
|
"application/json": {
|
|
3765
|
-
schema:
|
|
3765
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3766
3766
|
tokenType: zod675.ZodOptional<zod675.ZodString>;
|
|
3767
3767
|
accessToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3768
3768
|
refreshToken: zod675.ZodOptional<zod675.ZodString>;
|
|
@@ -3770,7 +3770,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3770
3770
|
refreshTokenExpiresAt: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodDate, zod675.ZodISODateTime]>, zod675.ZodTransform<Date, string | Date>>>;
|
|
3771
3771
|
scopes: zod675.ZodOptional<zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodArray<zod675.ZodString>]>, zod675.ZodTransform<string[], string | string[]>>>;
|
|
3772
3772
|
idToken: zod675.ZodOptional<zod675.ZodString>;
|
|
3773
|
-
},
|
|
3773
|
+
}, zod_v4_core153.$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:
|
|
3801
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3802
3802
|
success: zod675.ZodLiteral<false>;
|
|
3803
3803
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3804
3804
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3805
|
-
},
|
|
3805
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3806
3806
|
};
|
|
3807
3807
|
};
|
|
3808
3808
|
};
|
|
@@ -3826,7 +3826,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3826
3826
|
errors: string[];
|
|
3827
3827
|
};
|
|
3828
3828
|
};
|
|
3829
|
-
}, unknown,
|
|
3829
|
+
}, unknown, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
3877
3877
|
success: false;
|
|
3878
3878
|
code?: string | undefined;
|
|
3879
3879
|
message?: string | undefined;
|
|
@@ -3887,7 +3887,7 @@ declare const refreshAccessTokenRoute: {
|
|
|
3887
3887
|
providerId: zod675.ZodString;
|
|
3888
3888
|
accountId: zod675.ZodOptional<zod675.ZodString>;
|
|
3889
3889
|
userId: zod675.ZodOptional<zod675.ZodString>;
|
|
3890
|
-
},
|
|
3890
|
+
}, zod_v4_core153.$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:
|
|
3904
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodPipe<zod675.ZodObject<{
|
|
3905
3905
|
user: zod675.ZodObject<{
|
|
3906
3906
|
name: zod675.ZodOptional<zod675.ZodString>;
|
|
3907
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
3908
|
emailVerified: zod675.ZodDefault<zod675.ZodCoercedBoolean<unknown>>;
|
|
3909
3909
|
id: zod675.ZodPipe<zod675.ZodUnion<[zod675.ZodString, zod675.ZodNumber]>, zod675.ZodTransform<string, string | number>>;
|
|
3910
3910
|
email: zod675.ZodOptional<zod675.ZodNullable<zod675.ZodEmail>>;
|
|
3911
|
-
},
|
|
3911
|
+
}, zod_v4_core153.$loose>;
|
|
3912
3912
|
data: zod675.ZodRecord<zod675.ZodString, zod675.ZodAny>;
|
|
3913
|
-
},
|
|
3913
|
+
}, zod_v4_core153.$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:
|
|
3945
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3946
3946
|
success: zod675.ZodLiteral<false>;
|
|
3947
3947
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3948
3948
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3949
|
-
},
|
|
3949
|
+
}, zod_v4_core153.$strip>, "error">;
|
|
3950
3950
|
};
|
|
3951
3951
|
};
|
|
3952
3952
|
};
|
|
@@ -3964,7 +3964,7 @@ declare const getAccountInfoRoute: {
|
|
|
3964
3964
|
errors: string[];
|
|
3965
3965
|
};
|
|
3966
3966
|
};
|
|
3967
|
-
}, unknown,
|
|
3967
|
+
}, unknown, zod_v4_core153.$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:
|
|
3985
|
+
schema: zod_v4_core153.$ZodBranded<zod675.ZodObject<{
|
|
3986
3986
|
success: zod675.ZodLiteral<false>;
|
|
3987
3987
|
code: zod675.ZodOptional<zod675.ZodString>;
|
|
3988
3988
|
message: zod675.ZodOptional<zod675.ZodString>;
|
|
3989
|
-
},
|
|
3989
|
+
}, zod_v4_core153.$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: hono101.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: hono101.Next) => Promise<void | (Response & hono101.TypedResponse<{
|
|
4022
4022
|
success: false;
|
|
4023
4023
|
code?: string | undefined;
|
|
4024
4024
|
message?: string | undefined;
|
|
@@ -4030,7 +4030,7 @@ declare const getAccountInfoRoute: {
|
|
|
4030
4030
|
"application/json": {
|
|
4031
4031
|
schema: zod675.ZodObject<{
|
|
4032
4032
|
accountId: zod675.ZodString;
|
|
4033
|
-
},
|
|
4033
|
+
}, zod_v4_core153.$strip>;
|
|
4034
4034
|
};
|
|
4035
4035
|
};
|
|
4036
4036
|
required: true;
|
|
@@ -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;
|
|
@@ -4412,7 +4412,7 @@ declare function getTelemetryAuthConfig(options: FaireAuthOptions$1, context?: T
|
|
|
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_types51.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_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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_providers25.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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_providers25.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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_providers25.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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_providers25.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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_providers25.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.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?: hono101.Context<ContextVars<any>, any, {}> | _faire_auth_core_types51.ExecOpts<AsResponse, ReturnHeaders> | undefined) => Promise<AsResponse extends true ? Response : ReturnHeaders extends true ? {
|
|
13208
13208
|
headers: Headers;
|
|
13209
13209
|
response: Response | {
|
|
13210
13210
|
success: false;
|