@geekmidas/testkit 10.0.0-alpha.13 → 10.0.0-alpha.14
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/better-auth.d.cts +60 -60
- package/dist/better-auth.d.cts.map +1 -1
- package/dist/better-auth.d.mts +60 -60
- package/dist/better-auth.d.mts.map +1 -1
- package/package.json +7 -7
package/dist/better-auth.d.cts
CHANGED
|
@@ -3,7 +3,7 @@ import { Database } from "bun:sqlite";
|
|
|
3
3
|
import { DatabaseSync } from "node:sqlite";
|
|
4
4
|
import { DBAdapterDebugLogOption } from "better-auth/adapters";
|
|
5
5
|
//#endregion
|
|
6
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
6
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/database.d.mts
|
|
7
7
|
//#region src/types/database.d.ts
|
|
8
8
|
type D1Result<T> = {
|
|
9
9
|
results: T[];
|
|
@@ -25,7 +25,7 @@ interface D1Database {
|
|
|
25
25
|
exec(query: string): Promise<unknown>;
|
|
26
26
|
}
|
|
27
27
|
//#endregion
|
|
28
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
28
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/helper.d.mts
|
|
29
29
|
//#region src/types/helper.d.ts
|
|
30
30
|
type Primitive$1 = string | number | symbol | bigint | boolean | null | undefined;
|
|
31
31
|
type Awaitable<T> = T | Promise<T>;
|
|
@@ -35,7 +35,7 @@ type LiteralUnion<LiteralType, BaseType extends Primitive$1> = LiteralType | (Ba
|
|
|
35
35
|
type Prettify$2<T> = { [K in keyof T]: T[K]; } & {};
|
|
36
36
|
type UnionToIntersection$1<U> = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never;
|
|
37
37
|
//#endregion
|
|
38
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
38
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/adapter/index.d.mts
|
|
39
39
|
//#region src/db/adapter/index.d.ts
|
|
40
40
|
type DBAdapterDebugLogOption$1 = boolean | {
|
|
41
41
|
/**
|
|
@@ -4890,7 +4890,7 @@ declare namespace index_d_exports$1 {
|
|
|
4890
4890
|
export { $brand, $input, $output, BRAND, CompileOptions, GlobalMeta, INVALID, Infer, IssueData, JSONType, NEVER, $RefinementCtx as RefinementCtx, SafeExtendShape, Schema, TimePrecision, TypeOf, ZodAny, ZodArray, ZodBase64, ZodBase64URL, ZodBigInt, ZodBigIntFormat, ZodBoolean, ZodCIDRv4, ZodCIDRv6, ZodCUID, ZodCUID2, ZodCatch, ZodCodec, ZodCoercedBigInt, ZodCoercedBoolean, ZodCoercedDate, ZodCoercedNumber, ZodCoercedString, ZodCompileAsyncError, ZodCompileUnsupportedError, ZodCreditCard, ZodCustom, ZodCustomStringFormat, ZodDate, ZodDefault, ZodDiscriminatedUnion, ZodE164, ZodEmail, ZodEmoji, ZodEnum, ZodError, ZodErrorMap, ZodExactOptional, ZodFile, ZodFirstPartySchemaTypes, ZodFirstPartyTypeKind, ZodFlattenedError, ZodFloat32, ZodFloat64, ZodFormattedError, ZodFunction, ZodGUID, ZodIBAN, ZodIPv4, ZodIPv6, ZodISODate, ZodISODateTime, ZodISODuration, ZodISOTime, ZodInstanceOf, ZodInt, ZodInt32, ZodInt64, ZodIntersection, ZodIssue, ZodIssueCode, ZodJSONSchema, ZodJSONSchemaInternals, ZodJWT, ZodKSUID, ZodLazy, ZodLiteral, ZodMAC, ZodMap, ZodNaN, ZodNanoID, ZodNever, ZodNonOptional, ZodNull, ZodNullable, ZodNumber, ZodNumberFormat, ZodObject, ZodOptional, ZodPipe, ZodPrefault, ZodPreprocess, ZodPromise, ZodRawShape, ZodReadonly, ZodRealError, ZodRecord, ZodSafeParseError, ZodSafeParseResult, ZodSafeParseSuccess, ZodSchema, ZodSet, ZodStandardSchemaWithJSON, ZodString, ZodStringFormat, ZodSuccess, ZodSymbol, ZodTemplateLiteral, ZodTransform, ZodTuple, ZodType, ZodTypeAny, ZodUInt32, ZodUInt64, ZodULID, ZodURL, ZodUUID, ZodUndefined, ZodUnion, ZodUnknown, ZodVoid, ZodXID, ZodXor, _ZodBigInt, _ZodBoolean, _ZodDate, _ZodNumber, _ZodString, _ZodType, _default, _function, any, array, base64, base64url, bigint$1 as bigint, boolean$1 as boolean, _catch as catch, check, cidrv4, cidrv6, clone, codec, coerce_d_exports as coerce, compile, config, index_d_exports$2 as core, creditCard, cuid, cuid2, currencyCode, custom, date$2 as date, decode$1 as decode, decodeAsync, deepPartial, external_d_exports as default, describe, discriminatedUnion, e164, email, emoji, encode$1 as encode, encodeAsync, _endsWith as endsWith, _enum as enum, exactOptional, file, flattenError, float32, float64, formatError, fromJSONSchema, _function as function, getDiscriminatedOption, getErrorMap, globalRegistry, _gt as gt, _gte as gte, guid, hash, hex, hostname, httpUrl, iban, _includes as includes, output$1 as infer, inferFlattenedErrors, inferFormattedError, input, _instanceof as instanceof, int, int32, int64, intersection, invertCodec, ipv4, ipv6, iso_d_exports as iso, json, jwt, keyof, ksuid, lazy, _length as length, literal, index_d_exports$3 as locales, looseObject, looseRecord, _lowercase as lowercase, _lt as lt, _lte as lte, mac, map, _maxLength as maxLength, _maxSize as maxSize, memoizer, meta, _mime as mime, _minLength as minLength, _minSize as minSize, _multipleOf as multipleOf, nan, nanoid, nativeEnum, _negative as negative, never, _nonnegative as nonnegative, nonoptional, _nonpositive as nonpositive, _normalize as normalize, _null as null, nullable, nullish, number$1 as number, object, optional, output, _overwrite as overwrite, parse, parseAsync, partialRecord, pipe, _positive as positive, prefault, preprocess, prettifyError, promise, _properties as properties, _property as property, readonly, record, refine, _regex as regex, regexes_d_exports as regexes, registry, safeDecode, safeDecodeAsync, safeEncode, safeEncodeAsync, safeParse, safeParseAsync, set, setErrorMap, _size as size, _slugify as slugify, _startsWith as startsWith, strictObject, string$1 as string, stringFormat, stringbool, success, superRefine, symbol, templateLiteral, toJSONSchema, _toLowerCase as toLowerCase, _toUpperCase as toUpperCase, toZod, transform, treeifyError, _trim as trim, tuple, uint32, uint64, ulid, _undefined as undefined, union, unknown, _uppercase as uppercase, url, util_d_exports as util, uuid, uuidv4, uuidv6, uuidv7, validate, validateAsync, _void as void, withParser, xid, xor, external_d_exports as z };
|
|
4891
4891
|
}
|
|
4892
4892
|
//#endregion
|
|
4893
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4893
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema/rate-limit.d.mts
|
|
4894
4894
|
//#region src/db/schema/rate-limit.d.ts
|
|
4895
4895
|
declare const rateLimitSchema: ZodObject<{
|
|
4896
4896
|
key: ZodString;
|
|
@@ -4899,7 +4899,7 @@ declare const rateLimitSchema: ZodObject<{
|
|
|
4899
4899
|
}, $strip>;
|
|
4900
4900
|
type BaseRateLimit = output$1<typeof rateLimitSchema>;
|
|
4901
4901
|
//#endregion
|
|
4902
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4902
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema/session.d.mts
|
|
4903
4903
|
//#region src/db/schema/session.d.ts
|
|
4904
4904
|
declare const sessionSchema: ZodObject<{
|
|
4905
4905
|
id: ZodString;
|
|
@@ -4917,7 +4917,7 @@ type BaseSession = output$1<typeof sessionSchema>;
|
|
|
4917
4917
|
*/
|
|
4918
4918
|
type Session<DBOptions extends BetterAuthOptions["session"] = BetterAuthOptions["session"], Plugins extends BetterAuthOptions["plugins"] = BetterAuthOptions["plugins"]> = Prettify$2<output$1<typeof sessionSchema> & InferDBFieldsFromOptions<DBOptions> & InferDBFieldsFromPlugins<"session", Plugins>>;
|
|
4919
4919
|
//#endregion
|
|
4920
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4920
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema/user.d.mts
|
|
4921
4921
|
//#region src/db/schema/user.d.ts
|
|
4922
4922
|
declare const userSchema: ZodObject<{
|
|
4923
4923
|
id: ZodString;
|
|
@@ -4934,7 +4934,7 @@ type BaseUser = output$1<typeof userSchema>;
|
|
|
4934
4934
|
*/
|
|
4935
4935
|
type User<DBOptions extends BetterAuthOptions["user"] = BetterAuthOptions["user"], Plugins extends BetterAuthOptions["plugins"] = BetterAuthOptions["plugins"]> = Prettify$2<BaseUser & InferDBFieldsFromOptions<DBOptions> & InferDBFieldsFromPlugins<"user", Plugins>>;
|
|
4936
4936
|
//#endregion
|
|
4937
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4937
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema/verification.d.mts
|
|
4938
4938
|
//#region src/db/schema/verification.d.ts
|
|
4939
4939
|
declare const verificationSchema: ZodObject<{
|
|
4940
4940
|
id: ZodString;
|
|
@@ -4950,7 +4950,7 @@ type BaseVerification = output$1<typeof verificationSchema>;
|
|
|
4950
4950
|
*/
|
|
4951
4951
|
type Verification<DBOptions extends BetterAuthOptions["verification"] = BetterAuthOptions["verification"], Plugins extends BetterAuthOptions["plugins"] = BetterAuthOptions["plugins"]> = Prettify$2<BaseVerification & InferDBFieldsFromOptions<DBOptions> & InferDBFieldsFromPlugins<"verification", Plugins>>;
|
|
4952
4952
|
//#endregion
|
|
4953
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4953
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/env/logger.d.mts
|
|
4954
4954
|
type LogLevel = "debug" | "info" | "success" | "warn" | "error";
|
|
4955
4955
|
interface Logger {
|
|
4956
4956
|
disabled?: boolean | undefined;
|
|
@@ -4964,7 +4964,7 @@ type InternalLogger = { [K in LogLevel]: (...params: LogHandlerParams) => void;
|
|
|
4964
4964
|
};
|
|
4965
4965
|
declare const createLogger: (options?: Logger | undefined) => InternalLogger;
|
|
4966
4966
|
//#endregion
|
|
4967
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4967
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema/account.d.mts
|
|
4968
4968
|
//#region src/db/schema/account.d.ts
|
|
4969
4969
|
declare const accountSchema: ZodObject<{
|
|
4970
4970
|
id: ZodString;
|
|
@@ -4989,13 +4989,13 @@ type AccountKey = Readonly<Pick<BaseAccount, "providerId" | "accountId">>;
|
|
|
4989
4989
|
*/
|
|
4990
4990
|
type Account<DBOptions extends BetterAuthOptions["account"] = BetterAuthOptions["account"], Plugins extends BetterAuthOptions["plugins"] = BetterAuthOptions["plugins"]> = Prettify$2<BaseAccount & InferDBFieldsFromOptions<DBOptions> & InferDBFieldsFromPlugins<"account", Plugins>>;
|
|
4991
4991
|
//#endregion
|
|
4992
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4992
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/utils/error-codes.d.mts
|
|
4993
4993
|
type RawError<K extends string = string> = {
|
|
4994
4994
|
readonly code: K;
|
|
4995
4995
|
message: string;
|
|
4996
4996
|
};
|
|
4997
4997
|
//#endregion
|
|
4998
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
4998
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/error/codes.d.mts
|
|
4999
4999
|
//#region src/error/codes.d.ts
|
|
5000
5000
|
declare module "@better-auth/core" {
|
|
5001
5001
|
interface BetterAuthPluginRegistry<AuthOptions, Options> {
|
|
@@ -5197,13 +5197,13 @@ declare const APIError: new (status?: Status | "OK" | "CREATED" | "ACCEPTED" | "
|
|
|
5197
5197
|
errorStack: string | undefined;
|
|
5198
5198
|
};
|
|
5199
5199
|
//#endregion
|
|
5200
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
5200
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema-diff.d.mts
|
|
5201
5201
|
/**
|
|
5202
5202
|
* How the schema reaches the store, which decides the fix each finding names.
|
|
5203
5203
|
*/
|
|
5204
5204
|
type SchemaSource = "database" | "drizzle" | "prisma";
|
|
5205
5205
|
//#endregion
|
|
5206
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
5206
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/schema-check.d.mts
|
|
5207
5207
|
/**
|
|
5208
5208
|
* Resolves when the schema can hold what Better Auth writes. Returns nothing
|
|
5209
5209
|
* once that is known and the database schema revision is unchanged.
|
|
@@ -5798,7 +5798,7 @@ type Middleware<Options extends MiddlewareOptions = MiddlewareOptions, Handler e
|
|
|
5798
5798
|
options: Options;
|
|
5799
5799
|
};
|
|
5800
5800
|
//#endregion
|
|
5801
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
5801
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/cookie.d.mts
|
|
5802
5802
|
//#region src/types/cookie.d.ts
|
|
5803
5803
|
type BetterAuthCookie = {
|
|
5804
5804
|
name: string;
|
|
@@ -5820,7 +5820,7 @@ type CookieCachePayload = {
|
|
|
5820
5820
|
version?: string | undefined;
|
|
5821
5821
|
};
|
|
5822
5822
|
//#endregion
|
|
5823
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
5823
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/secret.d.mts
|
|
5824
5824
|
//#region src/types/secret.d.ts
|
|
5825
5825
|
interface SecretConfig {
|
|
5826
5826
|
/** Map of version number → secret value */
|
|
@@ -5831,7 +5831,7 @@ interface SecretConfig {
|
|
|
5831
5831
|
legacySecret?: string;
|
|
5832
5832
|
}
|
|
5833
5833
|
//#endregion
|
|
5834
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
5834
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/context.d.mts
|
|
5835
5835
|
//#region src/types/context.d.ts
|
|
5836
5836
|
/**
|
|
5837
5837
|
* @internal
|
|
@@ -7827,7 +7827,7 @@ declare namespace index_d_exports {
|
|
|
7827
7827
|
*/
|
|
7828
7828
|
declare const cryptoRuntime = "WebCryptoAPI";
|
|
7829
7829
|
//#endregion
|
|
7830
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
7830
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/oauth2/oauth-provider.d.mts
|
|
7831
7831
|
//#region src/oauth2/oauth-provider.d.ts
|
|
7832
7832
|
/**
|
|
7833
7833
|
* id_token verification config for a social provider.
|
|
@@ -8197,7 +8197,7 @@ type ProviderOptions<Profile extends object = object> = {
|
|
|
8197
8197
|
requireEmailVerification?: boolean | undefined;
|
|
8198
8198
|
};
|
|
8199
8199
|
//#endregion
|
|
8200
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8200
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/apple.d.mts
|
|
8201
8201
|
//#region src/social-providers/apple.d.ts
|
|
8202
8202
|
interface AppleProfile {
|
|
8203
8203
|
/**
|
|
@@ -8264,7 +8264,7 @@ interface AppleOptions extends ProviderOptions<AppleProfile> {
|
|
|
8264
8264
|
audience?: (string | string[]) | undefined;
|
|
8265
8265
|
}
|
|
8266
8266
|
//#endregion
|
|
8267
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8267
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/atlassian.d.mts
|
|
8268
8268
|
//#region src/social-providers/atlassian.d.ts
|
|
8269
8269
|
interface AtlassianProfile {
|
|
8270
8270
|
account_type?: string | undefined;
|
|
@@ -8285,7 +8285,7 @@ interface AtlassianOptions extends ProviderOptions<AtlassianProfile> {
|
|
|
8285
8285
|
clientId: string;
|
|
8286
8286
|
}
|
|
8287
8287
|
//#endregion
|
|
8288
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8288
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/cloudflare.d.mts
|
|
8289
8289
|
//#region src/social-providers/cloudflare.d.ts
|
|
8290
8290
|
/**
|
|
8291
8291
|
* The user profile returned by the Cloudflare API `/user` endpoint.
|
|
@@ -8369,7 +8369,7 @@ interface CloudflareBaseOptions extends ProviderOptions<CloudflareProfile> {
|
|
|
8369
8369
|
*/
|
|
8370
8370
|
type CloudflareOptions = CloudflareBaseOptions & CloudflareClientAuthentication;
|
|
8371
8371
|
//#endregion
|
|
8372
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8372
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/cognito.d.mts
|
|
8373
8373
|
//#region src/social-providers/cognito.d.ts
|
|
8374
8374
|
interface CognitoProfile {
|
|
8375
8375
|
sub: string;
|
|
@@ -8416,7 +8416,7 @@ interface CognitoOptions extends ProviderOptions<CognitoProfile> {
|
|
|
8416
8416
|
identityProvider?: string | undefined;
|
|
8417
8417
|
}
|
|
8418
8418
|
//#endregion
|
|
8419
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8419
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/discord.d.mts
|
|
8420
8420
|
//#region src/social-providers/discord.d.ts
|
|
8421
8421
|
interface DiscordProfile extends Record<string, any> {
|
|
8422
8422
|
/** the user's id (i.e. the numerical snowflake) */
|
|
@@ -8493,7 +8493,7 @@ interface DiscordOptions extends ProviderOptions<DiscordProfile> {
|
|
|
8493
8493
|
permissions?: number | undefined;
|
|
8494
8494
|
}
|
|
8495
8495
|
//#endregion
|
|
8496
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8496
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/facebook.d.mts
|
|
8497
8497
|
//#region src/social-providers/facebook.d.ts
|
|
8498
8498
|
interface FacebookGraphProfile {
|
|
8499
8499
|
id: string;
|
|
@@ -8530,7 +8530,7 @@ interface FacebookOptions extends ProviderOptions<FacebookProfile> {
|
|
|
8530
8530
|
configId?: string | undefined;
|
|
8531
8531
|
}
|
|
8532
8532
|
//#endregion
|
|
8533
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8533
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/figma.d.mts
|
|
8534
8534
|
//#region src/social-providers/figma.d.ts
|
|
8535
8535
|
interface FigmaProfile {
|
|
8536
8536
|
id: string;
|
|
@@ -8542,7 +8542,7 @@ interface FigmaOptions extends ProviderOptions<FigmaProfile> {
|
|
|
8542
8542
|
clientId: string;
|
|
8543
8543
|
}
|
|
8544
8544
|
//#endregion
|
|
8545
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8545
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/github.d.mts
|
|
8546
8546
|
//#region src/social-providers/github.d.ts
|
|
8547
8547
|
interface GithubProfile {
|
|
8548
8548
|
login: string;
|
|
@@ -8594,7 +8594,7 @@ interface GithubOptions extends ProviderOptions<GithubProfile> {
|
|
|
8594
8594
|
clientId: string;
|
|
8595
8595
|
}
|
|
8596
8596
|
//#endregion
|
|
8597
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8597
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/oauth2/client-assertion.d.mts
|
|
8598
8598
|
type ClientAssertionGrantType = "authorization_code" | "refresh_token" | "client_credentials";
|
|
8599
8599
|
interface ClientAssertionContext {
|
|
8600
8600
|
clientId: string;
|
|
@@ -8603,7 +8603,7 @@ interface ClientAssertionContext {
|
|
|
8603
8603
|
}
|
|
8604
8604
|
type ClientAssertionGetter = (context: ClientAssertionContext) => Awaitable<string>;
|
|
8605
8605
|
//#endregion
|
|
8606
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8606
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/microsoft-entra-id.d.mts
|
|
8607
8607
|
//#region src/social-providers/microsoft-entra-id.d.ts
|
|
8608
8608
|
/**
|
|
8609
8609
|
* @see [Microsoft Identity Platform - Optional claims reference](https://learn.microsoft.com/en-us/entra/identity-platform/optional-claims-reference)
|
|
@@ -8739,7 +8739,7 @@ interface MicrosoftOptions extends ProviderOptions<MicrosoftEntraIDProfile> {
|
|
|
8739
8739
|
disableProfilePhoto?: boolean;
|
|
8740
8740
|
}
|
|
8741
8741
|
//#endregion
|
|
8742
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8742
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/google.d.mts
|
|
8743
8743
|
//#region src/social-providers/google.d.ts
|
|
8744
8744
|
interface GoogleProfile {
|
|
8745
8745
|
aud: string;
|
|
@@ -8799,7 +8799,7 @@ interface GoogleOptions extends ProviderOptions<GoogleProfile> {
|
|
|
8799
8799
|
includeGrantedScopes?: boolean | undefined;
|
|
8800
8800
|
}
|
|
8801
8801
|
//#endregion
|
|
8802
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8802
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/huggingface.d.mts
|
|
8803
8803
|
//#region src/social-providers/huggingface.d.ts
|
|
8804
8804
|
interface HuggingFaceProfile {
|
|
8805
8805
|
sub: string;
|
|
@@ -8833,7 +8833,7 @@ interface HuggingFaceOptions extends ProviderOptions<HuggingFaceProfile> {
|
|
|
8833
8833
|
clientId: string;
|
|
8834
8834
|
}
|
|
8835
8835
|
//#endregion
|
|
8836
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8836
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/slack.d.mts
|
|
8837
8837
|
//#region src/social-providers/slack.d.ts
|
|
8838
8838
|
interface SlackProfile extends Record<string, any> {
|
|
8839
8839
|
ok: boolean;
|
|
@@ -8869,7 +8869,7 @@ interface SlackOptions extends ProviderOptions<SlackProfile> {
|
|
|
8869
8869
|
clientId: string;
|
|
8870
8870
|
}
|
|
8871
8871
|
//#endregion
|
|
8872
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8872
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/spotify.d.mts
|
|
8873
8873
|
//#region src/social-providers/spotify.d.ts
|
|
8874
8874
|
interface SpotifyProfile {
|
|
8875
8875
|
id: string;
|
|
@@ -8883,7 +8883,7 @@ interface SpotifyOptions extends ProviderOptions<SpotifyProfile> {
|
|
|
8883
8883
|
clientId: string;
|
|
8884
8884
|
}
|
|
8885
8885
|
//#endregion
|
|
8886
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8886
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/twitch.d.mts
|
|
8887
8887
|
//#region src/social-providers/twitch.d.ts
|
|
8888
8888
|
/**
|
|
8889
8889
|
* @see https://dev.twitch.tv/docs/authentication/getting-tokens-oidc/#requesting-claims
|
|
@@ -8915,7 +8915,7 @@ interface TwitchOptions extends ProviderOptions<TwitchProfile> {
|
|
|
8915
8915
|
claims?: string[] | undefined;
|
|
8916
8916
|
}
|
|
8917
8917
|
//#endregion
|
|
8918
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
8918
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/twitter.d.mts
|
|
8919
8919
|
//#region src/social-providers/twitter.d.ts
|
|
8920
8920
|
interface TwitterProfile {
|
|
8921
8921
|
data: {
|
|
@@ -8997,7 +8997,7 @@ interface TwitterOption extends ProviderOptions<TwitterProfile> {
|
|
|
8997
8997
|
clientId: string;
|
|
8998
8998
|
}
|
|
8999
8999
|
//#endregion
|
|
9000
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9000
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/dropbox.d.mts
|
|
9001
9001
|
//#region src/social-providers/dropbox.d.ts
|
|
9002
9002
|
interface DropboxProfile {
|
|
9003
9003
|
account_id: string;
|
|
@@ -9017,7 +9017,7 @@ interface DropboxOptions extends ProviderOptions<DropboxProfile> {
|
|
|
9017
9017
|
accessType?: ("offline" | "online" | "legacy") | undefined;
|
|
9018
9018
|
}
|
|
9019
9019
|
//#endregion
|
|
9020
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9020
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/kick.d.mts
|
|
9021
9021
|
//#region src/social-providers/kick.d.ts
|
|
9022
9022
|
interface KickProfile {
|
|
9023
9023
|
/**
|
|
@@ -9041,7 +9041,7 @@ interface KickOptions extends ProviderOptions<KickProfile> {
|
|
|
9041
9041
|
clientId: string;
|
|
9042
9042
|
}
|
|
9043
9043
|
//#endregion
|
|
9044
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9044
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/linear.d.mts
|
|
9045
9045
|
//#region src/social-providers/linear.d.ts
|
|
9046
9046
|
interface LinearUser {
|
|
9047
9047
|
id: string;
|
|
@@ -9056,7 +9056,7 @@ interface LinearOptions extends ProviderOptions<LinearUser> {
|
|
|
9056
9056
|
clientId: string;
|
|
9057
9057
|
}
|
|
9058
9058
|
//#endregion
|
|
9059
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9059
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/linkedin.d.mts
|
|
9060
9060
|
//#region src/social-providers/linkedin.d.ts
|
|
9061
9061
|
interface LinkedInProfile {
|
|
9062
9062
|
sub: string;
|
|
@@ -9075,7 +9075,7 @@ interface LinkedInOptions extends ProviderOptions<LinkedInProfile> {
|
|
|
9075
9075
|
clientId: string;
|
|
9076
9076
|
}
|
|
9077
9077
|
//#endregion
|
|
9078
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9078
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/gitlab.d.mts
|
|
9079
9079
|
//#region src/social-providers/gitlab.d.ts
|
|
9080
9080
|
interface GitlabProfile extends Record<string, any> {
|
|
9081
9081
|
id: number;
|
|
@@ -9127,7 +9127,7 @@ interface GitlabOptions extends ProviderOptions<GitlabProfile> {
|
|
|
9127
9127
|
issuer?: string | undefined;
|
|
9128
9128
|
}
|
|
9129
9129
|
//#endregion
|
|
9130
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9130
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/tiktok.d.mts
|
|
9131
9131
|
//#region src/social-providers/tiktok.d.ts
|
|
9132
9132
|
/**
|
|
9133
9133
|
* [More info](https://developers.tiktok.com/doc/tiktok-api-v2-get-user-info/)
|
|
@@ -9248,7 +9248,7 @@ interface TiktokOptions extends ProviderOptions<TiktokProfile> {
|
|
|
9248
9248
|
clientKey: string;
|
|
9249
9249
|
}
|
|
9250
9250
|
//#endregion
|
|
9251
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9251
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/reddit.d.mts
|
|
9252
9252
|
//#region src/social-providers/reddit.d.ts
|
|
9253
9253
|
interface RedditProfile {
|
|
9254
9254
|
id: string;
|
|
@@ -9263,7 +9263,7 @@ interface RedditOptions extends ProviderOptions<RedditProfile> {
|
|
|
9263
9263
|
duration?: string | undefined;
|
|
9264
9264
|
}
|
|
9265
9265
|
//#endregion
|
|
9266
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9266
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/roblox.d.mts
|
|
9267
9267
|
//#region src/social-providers/roblox.d.ts
|
|
9268
9268
|
interface RobloxProfile extends Record<string, any> {
|
|
9269
9269
|
/** the user's id */
|
|
@@ -9286,7 +9286,7 @@ interface RobloxOptions extends ProviderOptions<RobloxProfile> {
|
|
|
9286
9286
|
prompt?: ("none" | "consent" | "login" | "select_account" | "select_account consent") | undefined;
|
|
9287
9287
|
}
|
|
9288
9288
|
//#endregion
|
|
9289
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9289
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/salesforce.d.mts
|
|
9290
9290
|
//#region src/social-providers/salesforce.d.ts
|
|
9291
9291
|
interface SalesforceProfile {
|
|
9292
9292
|
sub: string;
|
|
@@ -9316,7 +9316,7 @@ interface SalesforceOptions extends ProviderOptions<SalesforceProfile> {
|
|
|
9316
9316
|
redirectURI?: string | undefined;
|
|
9317
9317
|
}
|
|
9318
9318
|
//#endregion
|
|
9319
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9319
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/vk.d.mts
|
|
9320
9320
|
//#region src/social-providers/vk.d.ts
|
|
9321
9321
|
interface VkProfile {
|
|
9322
9322
|
user: {
|
|
@@ -9336,7 +9336,7 @@ interface VkOption extends ProviderOptions<VkProfile> {
|
|
|
9336
9336
|
scheme?: ("light" | "dark") | undefined;
|
|
9337
9337
|
}
|
|
9338
9338
|
//#endregion
|
|
9339
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9339
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/zoom.d.mts
|
|
9340
9340
|
//#region src/social-providers/zoom.d.ts
|
|
9341
9341
|
type LoginType = 0 | /** Facebook OAuth */ 1 | /** Google OAuth */ 24 | /** Apple OAuth */ 27 | /** Microsoft OAuth */ 97 | /** Mobile device */ 98 | /** RingCentral OAuth */ 99 | /** API user */ 100 | /** Zoom Work email */ 101;
|
|
9342
9342
|
/** Single Sign-On (SSO) */
|
|
@@ -9452,7 +9452,7 @@ interface ZoomOptions extends ProviderOptions<ZoomProfile> {
|
|
|
9452
9452
|
pkce?: boolean | undefined;
|
|
9453
9453
|
}
|
|
9454
9454
|
//#endregion
|
|
9455
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9455
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/notion.d.mts
|
|
9456
9456
|
//#region src/social-providers/notion.d.ts
|
|
9457
9457
|
interface NotionProfile {
|
|
9458
9458
|
object: "user";
|
|
@@ -9468,7 +9468,7 @@ interface NotionOptions extends ProviderOptions<NotionProfile> {
|
|
|
9468
9468
|
clientId: string;
|
|
9469
9469
|
}
|
|
9470
9470
|
//#endregion
|
|
9471
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9471
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/kakao.d.mts
|
|
9472
9472
|
//#region src/social-providers/kakao.d.ts
|
|
9473
9473
|
interface Partner {
|
|
9474
9474
|
/** Partner-specific ID (consent required: kakaotalk_message) */
|
|
@@ -9561,7 +9561,7 @@ interface KakaoOptions extends ProviderOptions<KakaoProfile> {
|
|
|
9561
9561
|
clientId: string;
|
|
9562
9562
|
}
|
|
9563
9563
|
//#endregion
|
|
9564
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9564
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/naver.d.mts
|
|
9565
9565
|
//#region src/social-providers/naver.d.ts
|
|
9566
9566
|
interface NaverProfile {
|
|
9567
9567
|
/** API response result code */
|
|
@@ -9585,7 +9585,7 @@ interface NaverOptions extends ProviderOptions<NaverProfile> {
|
|
|
9585
9585
|
clientId: string;
|
|
9586
9586
|
}
|
|
9587
9587
|
//#endregion
|
|
9588
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9588
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/line.d.mts
|
|
9589
9589
|
//#region src/social-providers/line.d.ts
|
|
9590
9590
|
interface LineIdTokenPayload {
|
|
9591
9591
|
iss: string;
|
|
@@ -9609,7 +9609,7 @@ interface LineOptions extends ProviderOptions<LineUserInfo | LineIdTokenPayload>
|
|
|
9609
9609
|
clientId: string;
|
|
9610
9610
|
}
|
|
9611
9611
|
//#endregion
|
|
9612
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9612
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/paybin.d.mts
|
|
9613
9613
|
//#region src/social-providers/paybin.d.ts
|
|
9614
9614
|
interface PaybinProfile {
|
|
9615
9615
|
sub: string;
|
|
@@ -9630,7 +9630,7 @@ interface PaybinOptions extends ProviderOptions<PaybinProfile> {
|
|
|
9630
9630
|
issuer?: string | undefined;
|
|
9631
9631
|
}
|
|
9632
9632
|
//#endregion
|
|
9633
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9633
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/paypal.d.mts
|
|
9634
9634
|
//#region src/social-providers/paypal.d.ts
|
|
9635
9635
|
interface PayPalProfile {
|
|
9636
9636
|
sub?: string | undefined;
|
|
@@ -9673,7 +9673,7 @@ interface PayPalOptions extends ProviderOptions<PayPalProfile> {
|
|
|
9673
9673
|
requestShippingAddress?: boolean | undefined;
|
|
9674
9674
|
}
|
|
9675
9675
|
//#endregion
|
|
9676
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9676
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/polar.d.mts
|
|
9677
9677
|
//#region src/social-providers/polar.d.ts
|
|
9678
9678
|
interface PolarProfile {
|
|
9679
9679
|
id: string;
|
|
@@ -9698,7 +9698,7 @@ interface PolarProfile {
|
|
|
9698
9698
|
}
|
|
9699
9699
|
interface PolarOptions extends ProviderOptions<PolarProfile> {}
|
|
9700
9700
|
//#endregion
|
|
9701
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9701
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/railway.d.mts
|
|
9702
9702
|
//#region src/social-providers/railway.d.ts
|
|
9703
9703
|
interface RailwayProfile {
|
|
9704
9704
|
/** The user's unique ID (OAuth `sub` claim). */
|
|
@@ -9714,7 +9714,7 @@ interface RailwayOptions extends ProviderOptions<RailwayProfile> {
|
|
|
9714
9714
|
clientId: string;
|
|
9715
9715
|
}
|
|
9716
9716
|
//#endregion
|
|
9717
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9717
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/vercel.d.mts
|
|
9718
9718
|
//#region src/social-providers/vercel.d.ts
|
|
9719
9719
|
interface VercelProfile {
|
|
9720
9720
|
sub: string;
|
|
@@ -9728,7 +9728,7 @@ interface VercelOptions extends ProviderOptions<VercelProfile> {
|
|
|
9728
9728
|
clientId: string;
|
|
9729
9729
|
}
|
|
9730
9730
|
//#endregion
|
|
9731
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9731
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/wechat.d.mts
|
|
9732
9732
|
//#region src/social-providers/wechat.d.ts
|
|
9733
9733
|
/**
|
|
9734
9734
|
* WeChat user profile information
|
|
@@ -9781,7 +9781,7 @@ interface WeChatOptions extends ProviderOptions<WeChatProfile> {
|
|
|
9781
9781
|
lang?: "cn" | "en";
|
|
9782
9782
|
}
|
|
9783
9783
|
//#endregion
|
|
9784
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
9784
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/social-providers/index.d.mts
|
|
9785
9785
|
//#region src/social-providers/index.d.ts
|
|
9786
9786
|
declare const socialProviders: {
|
|
9787
9787
|
apple: (options: AppleOptions) => {
|
|
@@ -11211,10 +11211,10 @@ type SocialProviders = { [K in SocialProviderList[number]]?: AwaitableFunction<P
|
|
|
11211
11211
|
}>; };
|
|
11212
11212
|
type SocialProviderList = typeof socialProviderList;
|
|
11213
11213
|
//#endregion
|
|
11214
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
11214
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/api/index.d.mts
|
|
11215
11215
|
type AuthMiddleware = MiddlewareHandler;
|
|
11216
11216
|
//#endregion
|
|
11217
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
11217
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/init-options.d.mts
|
|
11218
11218
|
//#region src/types/init-options.d.ts
|
|
11219
11219
|
type KyselyDatabaseType = "postgres" | "mysql" | "sqlite" | "mssql";
|
|
11220
11220
|
type Optional<T> = { [P in keyof T]?: T[P] | undefined; };
|
|
@@ -12836,7 +12836,7 @@ declare namespace StandardSchemaV1 {
|
|
|
12836
12836
|
type InferOutput<Schema extends StandardTypedV1> = StandardTypedV1.InferOutput<Schema>;
|
|
12837
12837
|
}
|
|
12838
12838
|
//#endregion
|
|
12839
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
12839
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/type.d.mts
|
|
12840
12840
|
//#region src/db/type.d.ts
|
|
12841
12841
|
type BaseModelNames = "user" | "account" | "session" | "verification";
|
|
12842
12842
|
type ModelNames<T extends string = LiteralString> = BaseModelNames | T | "rate-limit";
|
|
@@ -13014,7 +13014,7 @@ interface SecondaryStorage {
|
|
|
13014
13014
|
delete: (key: string) => Awaitable<void | null | string>;
|
|
13015
13015
|
}
|
|
13016
13016
|
//#endregion
|
|
13017
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
13017
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/db/plugin.d.mts
|
|
13018
13018
|
//#region src/db/plugin.d.ts
|
|
13019
13019
|
type BetterAuthPluginDBSchema = { [table in string]: {
|
|
13020
13020
|
fields: {
|
|
@@ -13025,7 +13025,7 @@ type BetterAuthPluginDBSchema = { [table in string]: {
|
|
|
13025
13025
|
modelName?: string | undefined;
|
|
13026
13026
|
}; };
|
|
13027
13027
|
//#endregion
|
|
13028
|
-
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.
|
|
13028
|
+
//#region ../../node_modules/.pnpm/@better-auth+core@1.7.6_@better-auth+utils@0.5.0_@better-fetch+fetch@1.3.2_@opentelemet_d352f51dc4ad844b17d3b34488d48064/node_modules/@better-auth/core/dist/types/plugin.d.mts
|
|
13029
13029
|
//#region src/types/plugin.d.ts
|
|
13030
13030
|
type DeepPartial<T> = T extends Function ? T : T extends object ? { [K in keyof T]?: DeepPartial<T[K]>; } : T;
|
|
13031
13031
|
type HookEndpointContext = Partial<EndpointContext<string, any> & Omit<InputContext<string, any>, "method">> & {
|