everything-dev 2.0.0-rc.4 → 2.0.0-rc.6
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/api-contract.cjs +3 -6
- package/dist/api-contract.cjs.map +1 -1
- package/dist/api-contract.mjs +3 -6
- package/dist/api-contract.mjs.map +1 -1
- package/dist/apps/upload/src/client.cjs +188 -0
- package/dist/apps/upload/src/client.cjs.map +1 -0
- package/dist/apps/upload/src/client.mjs +180 -0
- package/dist/apps/upload/src/client.mjs.map +1 -0
- package/dist/bundle-fs-resolve.cjs +37 -3
- package/dist/bundle-fs-resolve.cjs.map +1 -1
- package/dist/bundle-fs-resolve.mjs +37 -3
- package/dist/bundle-fs-resolve.mjs.map +1 -1
- package/dist/cdn-deploy.cjs +29 -11
- package/dist/cdn-deploy.cjs.map +1 -1
- package/dist/cdn-deploy.mjs +29 -11
- package/dist/cdn-deploy.mjs.map +1 -1
- package/dist/cli/infra.cjs +4 -2
- package/dist/cli/infra.cjs.map +1 -1
- package/dist/cli/infra.mjs +4 -2
- package/dist/cli/infra.mjs.map +1 -1
- package/dist/cli/init.cjs +0 -2
- package/dist/cli/init.cjs.map +1 -1
- package/dist/cli/init.d.cts +1 -1
- package/dist/cli/init.d.mts +1 -1
- package/dist/cli/init.mjs +0 -2
- package/dist/cli/init.mjs.map +1 -1
- package/dist/cli/sync.cjs +0 -1
- package/dist/cli/sync.cjs.map +1 -1
- package/dist/cli/sync.mjs +0 -1
- package/dist/cli/sync.mjs.map +1 -1
- package/dist/commands/deploy.cjs +0 -2
- package/dist/commands/deploy.cjs.map +1 -1
- package/dist/commands/deploy.mjs +0 -2
- package/dist/commands/deploy.mjs.map +1 -1
- package/dist/commands/upgrade.cjs +30 -7
- package/dist/commands/upgrade.cjs.map +1 -1
- package/dist/commands/upgrade.mjs +30 -7
- package/dist/commands/upgrade.mjs.map +1 -1
- package/dist/config.cjs.map +1 -1
- package/dist/config.mjs.map +1 -1
- package/dist/contract.meta.cjs +1 -1
- package/dist/contract.meta.cjs.map +1 -1
- package/dist/contract.meta.d.cts +1 -1
- package/dist/contract.meta.d.mts +1 -1
- package/dist/contract.meta.mjs +1 -1
- package/dist/contract.meta.mjs.map +1 -1
- package/dist/dev-program.cjs +2 -2
- package/dist/dev-program.cjs.map +1 -1
- package/dist/dev-program.mjs +2 -3
- package/dist/dev-program.mjs.map +1 -1
- package/dist/image-deploy.cjs +38 -14
- package/dist/image-deploy.cjs.map +1 -1
- package/dist/image-deploy.mjs +39 -15
- package/dist/image-deploy.mjs.map +1 -1
- package/dist/orchestrator.cjs +22 -18
- package/dist/orchestrator.cjs.map +1 -1
- package/dist/orchestrator.mjs +22 -18
- package/dist/orchestrator.mjs.map +1 -1
- package/dist/storage-upload.cjs +7 -68
- package/dist/storage-upload.cjs.map +1 -1
- package/dist/storage-upload.mjs +7 -68
- package/dist/storage-upload.mjs.map +1 -1
- package/dist/ui/api.cjs +11 -69
- package/dist/ui/api.cjs.map +1 -1
- package/dist/ui/api.d.cts +2 -4
- package/dist/ui/api.d.mts +2 -4
- package/dist/ui/api.mjs +11 -69
- package/dist/ui/api.mjs.map +1 -1
- package/dist/ui/auth.d.cts +43 -43
- package/dist/ui/auth.d.mts +43 -43
- package/package.json +3 -2
package/dist/ui/auth.d.mts
CHANGED
|
@@ -1998,18 +1998,18 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
1998
1998
|
hooks: {
|
|
1999
1999
|
after: {
|
|
2000
2000
|
matcher(context: import("better-auth").HookEndpointContext): boolean;
|
|
2001
|
-
handler: (inputContext:
|
|
2001
|
+
handler: (inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<import("better-auth/plugins").SessionWithImpersonatedBy[] | undefined>;
|
|
2002
2002
|
}[];
|
|
2003
2003
|
};
|
|
2004
2004
|
endpoints: {
|
|
2005
|
-
setRole:
|
|
2005
|
+
setRole: StrictEndpoint<"/admin/set-role", {
|
|
2006
2006
|
method: "POST";
|
|
2007
2007
|
body: import("zod").ZodObject<{
|
|
2008
2008
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2009
2009
|
role: import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString>]>;
|
|
2010
2010
|
}, import("zod/v4/core").$strip>;
|
|
2011
2011
|
requireHeaders: true;
|
|
2012
|
-
use: ((inputContext:
|
|
2012
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2013
2013
|
session: {
|
|
2014
2014
|
user: import("better-auth/plugins").UserWithRole;
|
|
2015
2015
|
session: {
|
|
@@ -2057,12 +2057,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2057
2057
|
}, {
|
|
2058
2058
|
user: import("better-auth/plugins").UserWithRole;
|
|
2059
2059
|
}>;
|
|
2060
|
-
getUser:
|
|
2060
|
+
getUser: StrictEndpoint<"/admin/get-user", {
|
|
2061
2061
|
method: "GET";
|
|
2062
2062
|
query: import("zod").ZodObject<{
|
|
2063
2063
|
id: import("zod").ZodString;
|
|
2064
2064
|
}, import("zod/v4/core").$strip>;
|
|
2065
|
-
use: ((inputContext:
|
|
2065
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2066
2066
|
session: {
|
|
2067
2067
|
user: import("better-auth/plugins").UserWithRole;
|
|
2068
2068
|
session: {
|
|
@@ -2102,7 +2102,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2102
2102
|
};
|
|
2103
2103
|
};
|
|
2104
2104
|
}, import("better-auth/plugins").UserWithRole>;
|
|
2105
|
-
createUser:
|
|
2105
|
+
createUser: StrictEndpoint<"/admin/create-user", {
|
|
2106
2106
|
method: "POST";
|
|
2107
2107
|
body: import("zod").ZodObject<{
|
|
2108
2108
|
email: import("zod").ZodString;
|
|
@@ -2147,13 +2147,13 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2147
2147
|
}, {
|
|
2148
2148
|
user: import("better-auth/plugins").UserWithRole;
|
|
2149
2149
|
}>;
|
|
2150
|
-
adminUpdateUser:
|
|
2150
|
+
adminUpdateUser: StrictEndpoint<"/admin/update-user", {
|
|
2151
2151
|
method: "POST";
|
|
2152
2152
|
body: import("zod").ZodObject<{
|
|
2153
2153
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2154
2154
|
data: import("zod").ZodRecord<import("zod").ZodAny, import("zod").ZodAny>;
|
|
2155
2155
|
}, import("zod/v4/core").$strip>;
|
|
2156
|
-
use: ((inputContext:
|
|
2156
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2157
2157
|
session: {
|
|
2158
2158
|
user: import("better-auth/plugins").UserWithRole;
|
|
2159
2159
|
session: {
|
|
@@ -2193,9 +2193,9 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2193
2193
|
};
|
|
2194
2194
|
};
|
|
2195
2195
|
}, import("better-auth/plugins").UserWithRole>;
|
|
2196
|
-
listUsers:
|
|
2196
|
+
listUsers: StrictEndpoint<"/admin/list-users", {
|
|
2197
2197
|
method: "GET";
|
|
2198
|
-
use: ((inputContext:
|
|
2198
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2199
2199
|
session: {
|
|
2200
2200
|
user: import("better-auth/plugins").UserWithRole;
|
|
2201
2201
|
session: {
|
|
@@ -2285,9 +2285,9 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2285
2285
|
users: import("better-auth/plugins").UserWithRole[];
|
|
2286
2286
|
total: number;
|
|
2287
2287
|
}>;
|
|
2288
|
-
listUserSessions:
|
|
2288
|
+
listUserSessions: StrictEndpoint<"/admin/list-user-sessions", {
|
|
2289
2289
|
method: "POST";
|
|
2290
|
-
use: ((inputContext:
|
|
2290
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2291
2291
|
session: {
|
|
2292
2292
|
user: import("better-auth/plugins").UserWithRole;
|
|
2293
2293
|
session: {
|
|
@@ -2335,12 +2335,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2335
2335
|
}, {
|
|
2336
2336
|
sessions: import("better-auth/plugins").SessionWithImpersonatedBy[];
|
|
2337
2337
|
}>;
|
|
2338
|
-
unbanUser:
|
|
2338
|
+
unbanUser: StrictEndpoint<"/admin/unban-user", {
|
|
2339
2339
|
method: "POST";
|
|
2340
2340
|
body: import("zod").ZodObject<{
|
|
2341
2341
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2342
2342
|
}, import("zod/v4/core").$strip>;
|
|
2343
|
-
use: ((inputContext:
|
|
2343
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2344
2344
|
session: {
|
|
2345
2345
|
user: import("better-auth/plugins").UserWithRole;
|
|
2346
2346
|
session: {
|
|
@@ -2382,14 +2382,14 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2382
2382
|
}, {
|
|
2383
2383
|
user: import("better-auth/plugins").UserWithRole;
|
|
2384
2384
|
}>;
|
|
2385
|
-
banUser:
|
|
2385
|
+
banUser: StrictEndpoint<"/admin/ban-user", {
|
|
2386
2386
|
method: "POST";
|
|
2387
2387
|
body: import("zod").ZodObject<{
|
|
2388
2388
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2389
2389
|
banReason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2390
2390
|
banExpiresIn: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2391
2391
|
}, import("zod/v4/core").$strip>;
|
|
2392
|
-
use: ((inputContext:
|
|
2392
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2393
2393
|
session: {
|
|
2394
2394
|
user: import("better-auth/plugins").UserWithRole;
|
|
2395
2395
|
session: {
|
|
@@ -2431,12 +2431,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2431
2431
|
}, {
|
|
2432
2432
|
user: import("better-auth/plugins").UserWithRole;
|
|
2433
2433
|
}>;
|
|
2434
|
-
impersonateUser:
|
|
2434
|
+
impersonateUser: StrictEndpoint<"/admin/impersonate-user", {
|
|
2435
2435
|
method: "POST";
|
|
2436
2436
|
body: import("zod").ZodObject<{
|
|
2437
2437
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2438
2438
|
}, import("zod/v4/core").$strip>;
|
|
2439
|
-
use: ((inputContext:
|
|
2439
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2440
2440
|
session: {
|
|
2441
2441
|
user: import("better-auth/plugins").UserWithRole;
|
|
2442
2442
|
session: {
|
|
@@ -2491,7 +2491,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2491
2491
|
};
|
|
2492
2492
|
user: import("better-auth/plugins").UserWithRole;
|
|
2493
2493
|
}>;
|
|
2494
|
-
stopImpersonating:
|
|
2494
|
+
stopImpersonating: StrictEndpoint<"/admin/stop-impersonating", {
|
|
2495
2495
|
method: "POST";
|
|
2496
2496
|
requireHeaders: true;
|
|
2497
2497
|
}, {
|
|
@@ -2515,12 +2515,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2515
2515
|
image?: string | null | undefined;
|
|
2516
2516
|
} & Record<string, any>;
|
|
2517
2517
|
}>;
|
|
2518
|
-
revokeUserSession:
|
|
2518
|
+
revokeUserSession: StrictEndpoint<"/admin/revoke-user-session", {
|
|
2519
2519
|
method: "POST";
|
|
2520
2520
|
body: import("zod").ZodObject<{
|
|
2521
2521
|
sessionToken: import("zod").ZodString;
|
|
2522
2522
|
}, import("zod/v4/core").$strip>;
|
|
2523
|
-
use: ((inputContext:
|
|
2523
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2524
2524
|
session: {
|
|
2525
2525
|
user: import("better-auth/plugins").UserWithRole;
|
|
2526
2526
|
session: {
|
|
@@ -2562,12 +2562,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2562
2562
|
}, {
|
|
2563
2563
|
success: boolean;
|
|
2564
2564
|
}>;
|
|
2565
|
-
revokeUserSessions:
|
|
2565
|
+
revokeUserSessions: StrictEndpoint<"/admin/revoke-user-sessions", {
|
|
2566
2566
|
method: "POST";
|
|
2567
2567
|
body: import("zod").ZodObject<{
|
|
2568
2568
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2569
2569
|
}, import("zod/v4/core").$strip>;
|
|
2570
|
-
use: ((inputContext:
|
|
2570
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2571
2571
|
session: {
|
|
2572
2572
|
user: import("better-auth/plugins").UserWithRole;
|
|
2573
2573
|
session: {
|
|
@@ -2609,12 +2609,12 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2609
2609
|
}, {
|
|
2610
2610
|
success: boolean;
|
|
2611
2611
|
}>;
|
|
2612
|
-
removeUser:
|
|
2612
|
+
removeUser: StrictEndpoint<"/admin/remove-user", {
|
|
2613
2613
|
method: "POST";
|
|
2614
2614
|
body: import("zod").ZodObject<{
|
|
2615
2615
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2616
2616
|
}, import("zod/v4/core").$strip>;
|
|
2617
|
-
use: ((inputContext:
|
|
2617
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2618
2618
|
session: {
|
|
2619
2619
|
user: import("better-auth/plugins").UserWithRole;
|
|
2620
2620
|
session: {
|
|
@@ -2656,13 +2656,13 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2656
2656
|
}, {
|
|
2657
2657
|
success: boolean;
|
|
2658
2658
|
}>;
|
|
2659
|
-
setUserPassword:
|
|
2659
|
+
setUserPassword: StrictEndpoint<"/admin/set-user-password", {
|
|
2660
2660
|
method: "POST";
|
|
2661
2661
|
body: import("zod").ZodObject<{
|
|
2662
2662
|
newPassword: import("zod").ZodString;
|
|
2663
2663
|
userId: import("zod").ZodCoercedString<unknown>;
|
|
2664
2664
|
}, import("zod/v4/core").$strip>;
|
|
2665
|
-
use: ((inputContext:
|
|
2665
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2666
2666
|
session: {
|
|
2667
2667
|
user: import("better-auth/plugins").UserWithRole;
|
|
2668
2668
|
session: {
|
|
@@ -2704,7 +2704,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2704
2704
|
}, {
|
|
2705
2705
|
status: boolean;
|
|
2706
2706
|
}>;
|
|
2707
|
-
userHasPermission:
|
|
2707
|
+
userHasPermission: StrictEndpoint<"/admin/has-permission", {
|
|
2708
2708
|
method: "POST";
|
|
2709
2709
|
body: import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
2710
2710
|
userId: import("zod").ZodOptional<import("zod").ZodCoercedString<unknown>>;
|
|
@@ -2899,7 +2899,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2899
2899
|
id: "anonymous";
|
|
2900
2900
|
version: string;
|
|
2901
2901
|
endpoints: {
|
|
2902
|
-
signInAnonymous:
|
|
2902
|
+
signInAnonymous: StrictEndpoint<"/sign-in/anonymous", {
|
|
2903
2903
|
method: "POST";
|
|
2904
2904
|
metadata: {
|
|
2905
2905
|
openapi: {
|
|
@@ -2938,9 +2938,9 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
2938
2938
|
image?: string | null | undefined;
|
|
2939
2939
|
};
|
|
2940
2940
|
}>;
|
|
2941
|
-
deleteAnonymousUser:
|
|
2941
|
+
deleteAnonymousUser: StrictEndpoint<"/delete-anonymous-user", {
|
|
2942
2942
|
method: "POST";
|
|
2943
|
-
use: ((inputContext:
|
|
2943
|
+
use: ((inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<{
|
|
2944
2944
|
session: {
|
|
2945
2945
|
session: Record<string, any> & {
|
|
2946
2946
|
id: string;
|
|
@@ -3024,7 +3024,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3024
3024
|
hooks: {
|
|
3025
3025
|
after: {
|
|
3026
3026
|
matcher(ctx: import("better-auth").HookEndpointContext): boolean;
|
|
3027
|
-
handler: (inputContext:
|
|
3027
|
+
handler: (inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<void>;
|
|
3028
3028
|
}[];
|
|
3029
3029
|
};
|
|
3030
3030
|
options: import("better-auth/plugins").AnonymousOptions | undefined;
|
|
@@ -3118,7 +3118,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3118
3118
|
};
|
|
3119
3119
|
};
|
|
3120
3120
|
endpoints: {
|
|
3121
|
-
deviceCode:
|
|
3121
|
+
deviceCode: StrictEndpoint<"/device/code", {
|
|
3122
3122
|
method: "POST";
|
|
3123
3123
|
body: import("zod").ZodObject<{
|
|
3124
3124
|
client_id: import("zod").ZodString;
|
|
@@ -3204,7 +3204,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3204
3204
|
expires_in: number;
|
|
3205
3205
|
interval: number;
|
|
3206
3206
|
}>;
|
|
3207
|
-
deviceToken:
|
|
3207
|
+
deviceToken: StrictEndpoint<"/device/token", {
|
|
3208
3208
|
method: "POST";
|
|
3209
3209
|
body: import("zod").ZodObject<{
|
|
3210
3210
|
grant_type: import("zod").ZodLiteral<"urn:ietf:params:oauth:grant-type:device_code">;
|
|
@@ -3272,7 +3272,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3272
3272
|
expires_in: number;
|
|
3273
3273
|
scope: string;
|
|
3274
3274
|
}>;
|
|
3275
|
-
deviceVerify:
|
|
3275
|
+
deviceVerify: StrictEndpoint<"/device", {
|
|
3276
3276
|
method: "GET";
|
|
3277
3277
|
query: import("zod").ZodObject<{
|
|
3278
3278
|
user_code: import("zod").ZodString;
|
|
@@ -3315,7 +3315,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3315
3315
|
user_code: string;
|
|
3316
3316
|
status: string;
|
|
3317
3317
|
}>;
|
|
3318
|
-
deviceApprove:
|
|
3318
|
+
deviceApprove: StrictEndpoint<"/device/approve", {
|
|
3319
3319
|
method: "POST";
|
|
3320
3320
|
body: import("zod").ZodObject<{
|
|
3321
3321
|
userCode: import("zod").ZodString;
|
|
@@ -3356,7 +3356,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3356
3356
|
}, {
|
|
3357
3357
|
success: boolean;
|
|
3358
3358
|
}>;
|
|
3359
|
-
deviceDeny:
|
|
3359
|
+
deviceDeny: StrictEndpoint<"/device/deny", {
|
|
3360
3360
|
method: "POST";
|
|
3361
3361
|
body: import("zod").ZodObject<{
|
|
3362
3362
|
userCode: import("zod").ZodString;
|
|
@@ -3753,11 +3753,11 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3753
3753
|
hooks: {
|
|
3754
3754
|
before: {
|
|
3755
3755
|
matcher: (ctx: import("better-auth").HookEndpointContext) => boolean;
|
|
3756
|
-
handler: (inputContext:
|
|
3756
|
+
handler: (inputContext: MiddlewareInputContext<MiddlewareOptions>) => Promise<never>;
|
|
3757
3757
|
}[];
|
|
3758
3758
|
};
|
|
3759
3759
|
endpoints: {
|
|
3760
|
-
signInPhoneNumber:
|
|
3760
|
+
signInPhoneNumber: StrictEndpoint<"/sign-in/phone-number", {
|
|
3761
3761
|
method: "POST";
|
|
3762
3762
|
body: import("zod").ZodObject<{
|
|
3763
3763
|
phoneNumber: import("zod").ZodString;
|
|
@@ -3797,7 +3797,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3797
3797
|
token: string;
|
|
3798
3798
|
user: import("better-auth/plugins").UserWithPhoneNumber;
|
|
3799
3799
|
}>;
|
|
3800
|
-
sendPhoneNumberOTP:
|
|
3800
|
+
sendPhoneNumberOTP: StrictEndpoint<"/phone-number/send-otp", {
|
|
3801
3801
|
method: "POST";
|
|
3802
3802
|
body: import("zod").ZodObject<{
|
|
3803
3803
|
phoneNumber: import("zod").ZodString;
|
|
@@ -3828,7 +3828,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3828
3828
|
}, {
|
|
3829
3829
|
message: string;
|
|
3830
3830
|
}>;
|
|
3831
|
-
verifyPhoneNumber:
|
|
3831
|
+
verifyPhoneNumber: StrictEndpoint<"/phone-number/verify", {
|
|
3832
3832
|
method: "POST";
|
|
3833
3833
|
body: import("zod").ZodIntersection<import("zod").ZodObject<{
|
|
3834
3834
|
phoneNumber: import("zod").ZodString;
|
|
@@ -3939,7 +3939,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3939
3939
|
token: null;
|
|
3940
3940
|
user: import("better-auth/plugins").UserWithPhoneNumber;
|
|
3941
3941
|
}>;
|
|
3942
|
-
requestPasswordResetPhoneNumber:
|
|
3942
|
+
requestPasswordResetPhoneNumber: StrictEndpoint<"/phone-number/request-password-reset", {
|
|
3943
3943
|
method: "POST";
|
|
3944
3944
|
body: import("zod").ZodObject<{
|
|
3945
3945
|
phoneNumber: import("zod").ZodString;
|
|
@@ -3972,7 +3972,7 @@ declare function createAuthClient(options?: CreateAuthClientOptions): import("be
|
|
|
3972
3972
|
}, {
|
|
3973
3973
|
status: boolean;
|
|
3974
3974
|
}>;
|
|
3975
|
-
resetPasswordPhoneNumber:
|
|
3975
|
+
resetPasswordPhoneNumber: StrictEndpoint<"/phone-number/reset-password", {
|
|
3976
3976
|
method: "POST";
|
|
3977
3977
|
body: import("zod").ZodObject<{
|
|
3978
3978
|
otp: import("zod").ZodString;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "everything-dev",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=20.11"
|
|
@@ -242,7 +242,8 @@
|
|
|
242
242
|
"defu": "^6.1.7",
|
|
243
243
|
"dotenv": "^17.3.1",
|
|
244
244
|
"effect": "4.0.0-rc.117",
|
|
245
|
-
"
|
|
245
|
+
"@everything-dev/upload-app": "workspace:^",
|
|
246
|
+
"every-plugin": "^3.0.0-rc.4",
|
|
246
247
|
"execa": "^9.5.2",
|
|
247
248
|
"glob": "^13.0.6",
|
|
248
249
|
"near-kit": "^0.20.2",
|