opacacms 0.3.1 → 0.3.3
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/admin/auth-client.d.ts +41 -41
- package/dist/admin/index.js +1 -1
- package/dist/admin/react.js +1 -1
- package/dist/admin/vue.js +1 -1
- package/dist/auth/index.d.ts +43 -48
- package/dist/{chunk-g9bxb6h0.js → chunk-2fm4kv2q.js} +1 -1
- package/dist/chunk-2vbfc4q8.js +6 -0
- package/dist/{chunk-adq2b75c.js → chunk-40tky6qh.js} +2 -2
- package/dist/{chunk-e0g6gn7n.js → chunk-49e16hjg.js} +3 -3
- package/dist/{chunk-fnsf1dfm.js → chunk-526a3gqx.js} +1 -1
- package/dist/{chunk-sqsfk9p4.js → chunk-6m1jhxmd.js} +1 -1
- package/dist/{chunk-6bywt602.js → chunk-8sqjbsgt.js} +1 -26
- package/dist/{chunk-n1twhqmf.js → chunk-acghejk8.js} +1 -1
- package/dist/{chunk-m24yqkeq.js → chunk-b1g8jmth.js} +3 -3
- package/dist/{chunk-5422w4eq.js → chunk-cm5rvcnn.js} +5 -5
- package/dist/{chunk-941zxavt.js → chunk-h2y2t07h.js} +4 -4
- package/dist/{chunk-6qs0g65f.js → chunk-h8v093av.js} +1 -1
- package/dist/{chunk-m5ems3hh.js → chunk-hthm9srb.js} +1 -1
- package/dist/{chunk-2k3ysje3.js → chunk-nch158fe.js} +1 -1
- package/dist/{chunk-naqcqj8n.js → chunk-pj31j6j0.js} +4 -4
- package/dist/{chunk-qsh2nqz3.js → chunk-pw2a9war.js} +3 -3
- package/dist/{chunk-j8js1y0h.js → chunk-r5k7jw66.js} +1 -1
- package/dist/{chunk-48ywpd0a.js → chunk-vmz9ncf1.js} +1 -1
- package/dist/{chunk-qhdsjek6.js → chunk-wry3rqh0.js} +3 -3
- package/dist/cli/commands/init.d.ts +1 -6
- package/dist/cli/index.js +6793 -6
- package/dist/client.js +3 -3
- package/dist/db/better-sqlite.js +4 -4
- package/dist/db/bun-sqlite.js +4 -4
- package/dist/db/d1.js +4 -4
- package/dist/db/index.js +8 -8
- package/dist/db/postgres.js +4 -4
- package/dist/db/sqlite.js +4 -4
- package/dist/index.js +7 -7
- package/dist/runtimes/bun.js +6 -6
- package/dist/runtimes/cloudflare-workers.js +6 -6
- package/dist/runtimes/next.js +6 -6
- package/dist/runtimes/node.js +6 -6
- package/dist/schema/index.js +3 -3
- package/dist/server.js +6 -6
- package/dist/storage/index.js +1 -1
- package/package.json +4 -2
- package/dist/chunk-1qm0m8r8.js +0 -413
- package/dist/chunk-3j9zjfmn.js +0 -376
- package/dist/chunk-56n342hs.js +0 -95
- package/dist/chunk-5b8r0v8c.js +0 -47
- package/dist/chunk-63yg00vx.js +0 -263
- package/dist/chunk-7rr5p01g.js +0 -581
- package/dist/chunk-d0tb1xjw.js +0 -93
- package/dist/chunk-d7cgd6vn.js +0 -318
- package/dist/chunk-ec4jhybj.js +0 -1137
- package/dist/chunk-fatyf6f7.js +0 -221
- package/dist/chunk-gyaf5kgf.js +0 -10
- package/dist/chunk-h6dhexzr.js +0 -94
- package/dist/chunk-majsbncm.js +0 -98
- package/dist/chunk-mp2gt9yh.js +0 -237
- package/dist/chunk-r0ms5tk1.js +0 -76
- package/dist/chunk-rwqwsanx.js +0 -75
- package/dist/chunk-x7bnzswh.js +0 -174
|
@@ -7,7 +7,7 @@ export declare const authClient: {
|
|
|
7
7
|
signOut: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
8
8
|
query?: Record<string, any> | undefined;
|
|
9
9
|
fetchOptions?: FetchOptions | undefined;
|
|
10
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
10
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
11
11
|
success: boolean;
|
|
12
12
|
}, {
|
|
13
13
|
code?: string | undefined;
|
|
@@ -24,7 +24,7 @@ export declare const authClient: {
|
|
|
24
24
|
token?: string | undefined;
|
|
25
25
|
} & {
|
|
26
26
|
fetchOptions?: FetchOptions | undefined;
|
|
27
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
27
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
28
28
|
status: boolean;
|
|
29
29
|
}, {
|
|
30
30
|
code?: string | undefined;
|
|
@@ -40,7 +40,7 @@ export declare const authClient: {
|
|
|
40
40
|
callbackURL?: string | undefined;
|
|
41
41
|
};
|
|
42
42
|
fetchOptions?: FetchOptions | undefined;
|
|
43
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
43
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<NonNullable<void | {
|
|
44
44
|
status: boolean;
|
|
45
45
|
}>, {
|
|
46
46
|
code?: string | undefined;
|
|
@@ -55,7 +55,7 @@ export declare const authClient: {
|
|
|
55
55
|
callbackURL?: string | undefined;
|
|
56
56
|
} & {
|
|
57
57
|
fetchOptions?: FetchOptions | undefined;
|
|
58
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
58
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
59
59
|
status: boolean;
|
|
60
60
|
}, {
|
|
61
61
|
code?: string | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const authClient: {
|
|
|
70
70
|
callbackURL?: string | undefined;
|
|
71
71
|
} & {
|
|
72
72
|
fetchOptions?: FetchOptions | undefined;
|
|
73
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
73
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
74
74
|
status: boolean;
|
|
75
75
|
}, {
|
|
76
76
|
code?: string | undefined;
|
|
@@ -87,7 +87,7 @@ export declare const authClient: {
|
|
|
87
87
|
revokeOtherSessions?: boolean | undefined;
|
|
88
88
|
} & {
|
|
89
89
|
fetchOptions?: FetchOptions | undefined;
|
|
90
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
90
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<Omit<{
|
|
91
91
|
token: string | null;
|
|
92
92
|
user: {
|
|
93
93
|
id: string;
|
|
@@ -131,7 +131,7 @@ export declare const authClient: {
|
|
|
131
131
|
token?: string | undefined;
|
|
132
132
|
} & {
|
|
133
133
|
fetchOptions?: FetchOptions | undefined;
|
|
134
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
134
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
135
135
|
success: boolean;
|
|
136
136
|
message: string;
|
|
137
137
|
}, {
|
|
@@ -147,7 +147,7 @@ export declare const authClient: {
|
|
|
147
147
|
redirectTo?: string | undefined;
|
|
148
148
|
} & {
|
|
149
149
|
fetchOptions?: FetchOptions | undefined;
|
|
150
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
150
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
151
151
|
status: boolean;
|
|
152
152
|
message: string;
|
|
153
153
|
}, {
|
|
@@ -165,7 +165,7 @@ export declare const authClient: {
|
|
|
165
165
|
callbackURL: string;
|
|
166
166
|
};
|
|
167
167
|
fetchOptions?: FetchOptions | undefined;
|
|
168
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
168
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<never, {
|
|
169
169
|
code?: string | undefined;
|
|
170
170
|
message?: string | undefined;
|
|
171
171
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
@@ -177,7 +177,7 @@ export declare const authClient: {
|
|
|
177
177
|
token: string;
|
|
178
178
|
} & {
|
|
179
179
|
fetchOptions?: FetchOptions | undefined;
|
|
180
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
180
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
181
181
|
status: boolean;
|
|
182
182
|
}, {
|
|
183
183
|
code?: string | undefined;
|
|
@@ -187,7 +187,7 @@ export declare const authClient: {
|
|
|
187
187
|
revokeSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
188
188
|
query?: Record<string, any> | undefined;
|
|
189
189
|
fetchOptions?: FetchOptions | undefined;
|
|
190
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
190
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
191
191
|
status: boolean;
|
|
192
192
|
}, {
|
|
193
193
|
code?: string | undefined;
|
|
@@ -197,7 +197,7 @@ export declare const authClient: {
|
|
|
197
197
|
revokeOtherSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
198
198
|
query?: Record<string, any> | undefined;
|
|
199
199
|
fetchOptions?: FetchOptions | undefined;
|
|
200
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
200
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
201
201
|
status: boolean;
|
|
202
202
|
}, {
|
|
203
203
|
code?: string | undefined;
|
|
@@ -236,7 +236,7 @@ export declare const authClient: {
|
|
|
236
236
|
additionalData?: Record<string, any> | undefined;
|
|
237
237
|
} & {
|
|
238
238
|
fetchOptions?: FetchOptions | undefined;
|
|
239
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
239
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
240
240
|
url: string;
|
|
241
241
|
redirect: boolean;
|
|
242
242
|
}, {
|
|
@@ -247,7 +247,7 @@ export declare const authClient: {
|
|
|
247
247
|
listAccounts: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
248
248
|
query?: Record<string, any> | undefined;
|
|
249
249
|
fetchOptions?: FetchOptions | undefined;
|
|
250
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
250
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
251
251
|
scopes: string[];
|
|
252
252
|
id: string;
|
|
253
253
|
createdAt: Date;
|
|
@@ -270,7 +270,7 @@ export declare const authClient: {
|
|
|
270
270
|
callbackURL?: string | undefined;
|
|
271
271
|
};
|
|
272
272
|
fetchOptions?: FetchOptions | undefined;
|
|
273
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
273
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
274
274
|
success: boolean;
|
|
275
275
|
message: string;
|
|
276
276
|
}, {
|
|
@@ -287,7 +287,7 @@ export declare const authClient: {
|
|
|
287
287
|
accountId?: string | undefined;
|
|
288
288
|
} & {
|
|
289
289
|
fetchOptions?: FetchOptions | undefined;
|
|
290
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
290
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
291
291
|
status: boolean;
|
|
292
292
|
}, {
|
|
293
293
|
code?: string | undefined;
|
|
@@ -304,7 +304,7 @@ export declare const authClient: {
|
|
|
304
304
|
userId?: string | undefined;
|
|
305
305
|
} & {
|
|
306
306
|
fetchOptions?: FetchOptions | undefined;
|
|
307
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
307
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
308
308
|
accessToken: string | undefined;
|
|
309
309
|
refreshToken: string;
|
|
310
310
|
accessTokenExpiresAt: Date | undefined;
|
|
@@ -328,7 +328,7 @@ export declare const authClient: {
|
|
|
328
328
|
userId?: string | undefined;
|
|
329
329
|
} & {
|
|
330
330
|
fetchOptions?: FetchOptions | undefined;
|
|
331
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
331
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
332
332
|
accessToken: string;
|
|
333
333
|
accessTokenExpiresAt: Date | undefined;
|
|
334
334
|
scopes: string[];
|
|
@@ -345,7 +345,7 @@ export declare const authClient: {
|
|
|
345
345
|
accountId?: string | undefined;
|
|
346
346
|
} | undefined;
|
|
347
347
|
fetchOptions?: FetchOptions | undefined;
|
|
348
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
348
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
349
349
|
user: import("better-auth").OAuth2UserInfo;
|
|
350
350
|
data: Record<string, any>;
|
|
351
351
|
}, {
|
|
@@ -356,7 +356,7 @@ export declare const authClient: {
|
|
|
356
356
|
listSessions: <FetchOptions extends import("better-auth").ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<{
|
|
357
357
|
query?: Record<string, any> | undefined;
|
|
358
358
|
fetchOptions?: FetchOptions | undefined;
|
|
359
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
359
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<import("better-auth").Prettify<{
|
|
360
360
|
id: string;
|
|
361
361
|
createdAt: Date;
|
|
362
362
|
updatedAt: Date;
|
|
@@ -372,7 +372,7 @@ export declare const authClient: {
|
|
|
372
372
|
} & {
|
|
373
373
|
signIn: {
|
|
374
374
|
social: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<{
|
|
375
|
-
provider: (string & {}) | "linear" | "huggingface" | "notion" | "github" | "google" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel";
|
|
375
|
+
provider: (string & {}) | "linear" | "huggingface" | "notion" | "github" | "google" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
|
|
376
376
|
callbackURL?: string | undefined;
|
|
377
377
|
newUserCallbackURL?: string | undefined;
|
|
378
378
|
errorCallbackURL?: string | undefined;
|
|
@@ -396,7 +396,7 @@ export declare const authClient: {
|
|
|
396
396
|
loginHint?: string | undefined;
|
|
397
397
|
additionalData?: Record<string, any> | undefined;
|
|
398
398
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: import("better-auth").Prettify<{
|
|
399
|
-
provider: (string & {}) | "linear" | "huggingface" | "notion" | "github" | "google" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel";
|
|
399
|
+
provider: (string & {}) | "linear" | "huggingface" | "notion" | "github" | "google" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "zoom" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "railway" | "vercel" | "wechat";
|
|
400
400
|
callbackURL?: string | undefined;
|
|
401
401
|
newUserCallbackURL?: string | undefined;
|
|
402
402
|
errorCallbackURL?: string | undefined;
|
|
@@ -421,7 +421,7 @@ export declare const authClient: {
|
|
|
421
421
|
additionalData?: Record<string, any> | undefined;
|
|
422
422
|
} & {
|
|
423
423
|
fetchOptions?: FetchOptions | undefined;
|
|
424
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
424
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
425
425
|
redirect: boolean;
|
|
426
426
|
url: string;
|
|
427
427
|
} | (Omit<{
|
|
@@ -468,7 +468,7 @@ export declare const authClient: {
|
|
|
468
468
|
image?: string | undefined;
|
|
469
469
|
callbackURL?: string | undefined;
|
|
470
470
|
fetchOptions?: FetchOptions | undefined;
|
|
471
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
471
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<(Omit<{
|
|
472
472
|
token: null;
|
|
473
473
|
user: {
|
|
474
474
|
id: string;
|
|
@@ -529,7 +529,7 @@ export declare const authClient: {
|
|
|
529
529
|
rememberMe?: boolean | undefined;
|
|
530
530
|
} & {
|
|
531
531
|
fetchOptions?: FetchOptions | undefined;
|
|
532
|
-
}>, data_1?: FetchOptions | undefined) => Promise<import("
|
|
532
|
+
}>, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<Omit<{
|
|
533
533
|
redirect: boolean;
|
|
534
534
|
token: string;
|
|
535
535
|
url?: string | undefined;
|
|
@@ -560,7 +560,7 @@ export declare const authClient: {
|
|
|
560
560
|
} & {
|
|
561
561
|
updateSession: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<Partial<{}>> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<Partial<{}> & {
|
|
562
562
|
fetchOptions?: FetchOptions | undefined;
|
|
563
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
563
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
564
564
|
session: {
|
|
565
565
|
id: string;
|
|
566
566
|
createdAt: Date;
|
|
@@ -579,7 +579,7 @@ export declare const authClient: {
|
|
|
579
579
|
updateUser: <FetchOptions extends import("better-auth").ClientFetchOption<Partial<Partial<{}> & {
|
|
580
580
|
name?: string | undefined;
|
|
581
581
|
image?: string | undefined | null;
|
|
582
|
-
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<import("better-auth/client").InferUserUpdateCtx<import("better-auth").BetterAuthClientOptions, FetchOptions>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
582
|
+
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: import("better-auth").Prettify<import("better-auth/client").InferUserUpdateCtx<import("better-auth").BetterAuthClientOptions, FetchOptions>> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
583
583
|
status: boolean;
|
|
584
584
|
}, {
|
|
585
585
|
code?: string | undefined;
|
|
@@ -595,7 +595,7 @@ export declare const authClient: {
|
|
|
595
595
|
disableRefresh?: unknown;
|
|
596
596
|
} | undefined;
|
|
597
597
|
fetchOptions?: FetchOptions | undefined;
|
|
598
|
-
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("
|
|
598
|
+
}> | undefined, data_1?: FetchOptions | undefined) => Promise<import("better-auth/client").BetterFetchResponse<{
|
|
599
599
|
user: import("better-auth").StripEmptyObjects<{
|
|
600
600
|
id: string;
|
|
601
601
|
createdAt: Date;
|
|
@@ -642,28 +642,28 @@ export declare const authClient: {
|
|
|
642
642
|
userAgent?: string | null | undefined;
|
|
643
643
|
}>;
|
|
644
644
|
} | null;
|
|
645
|
-
error: import("
|
|
645
|
+
error: import("better-auth/client").BetterFetchError | null;
|
|
646
646
|
isPending: boolean;
|
|
647
647
|
isRefetching: boolean;
|
|
648
648
|
refetch: (queryParams?: {
|
|
649
649
|
query?: import("better-auth").SessionQueryParams;
|
|
650
650
|
} | undefined) => Promise<void>;
|
|
651
651
|
}>;
|
|
652
|
-
$fetch: import("
|
|
653
|
-
plugins: (import("
|
|
652
|
+
$fetch: import("better-auth/client").BetterFetch<{
|
|
653
|
+
plugins: (import("better-auth/client").BetterFetchPlugin<Record<string, any>> | {
|
|
654
654
|
id: string;
|
|
655
655
|
name: string;
|
|
656
656
|
hooks: {
|
|
657
|
-
onSuccess(context: import("
|
|
657
|
+
onSuccess(context: import("better-auth/client").SuccessContext<any>): void;
|
|
658
658
|
};
|
|
659
659
|
} | {
|
|
660
660
|
id: string;
|
|
661
661
|
name: string;
|
|
662
662
|
hooks: {
|
|
663
|
-
onSuccess: ((context: import("
|
|
664
|
-
onError: ((context: import("
|
|
665
|
-
onRequest: (<T extends Record<string, any>>(context: import("
|
|
666
|
-
onResponse: ((context: import("
|
|
663
|
+
onSuccess: ((context: import("better-auth/client").SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
664
|
+
onError: ((context: import("better-auth/client").ErrorContext) => Promise<void> | void) | undefined;
|
|
665
|
+
onRequest: (<T extends Record<string, any>>(context: import("better-auth/client").RequestContext<T>) => Promise<import("better-auth/client").RequestContext | void> | import("better-auth/client").RequestContext | void) | undefined;
|
|
666
|
+
onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
|
|
667
667
|
};
|
|
668
668
|
})[];
|
|
669
669
|
cache?: RequestCache | undefined;
|
|
@@ -683,12 +683,12 @@ export declare const authClient: {
|
|
|
683
683
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
684
684
|
signal?: (AbortSignal | null) | undefined;
|
|
685
685
|
window?: null | undefined;
|
|
686
|
-
onRetry?: ((response: import("
|
|
686
|
+
onRetry?: ((response: import("better-auth/client").ResponseContext) => Promise<void> | void) | undefined;
|
|
687
687
|
hookOptions?: {
|
|
688
688
|
cloneResponse?: boolean;
|
|
689
689
|
} | undefined;
|
|
690
690
|
timeout?: number | undefined;
|
|
691
|
-
customFetchImpl: import("
|
|
691
|
+
customFetchImpl: import("better-auth/client").FetchEsque;
|
|
692
692
|
baseURL: string;
|
|
693
693
|
throw?: boolean | undefined;
|
|
694
694
|
auth?: ({
|
|
@@ -708,10 +708,10 @@ export declare const authClient: {
|
|
|
708
708
|
params?: any;
|
|
709
709
|
duplex?: "full" | "half" | undefined;
|
|
710
710
|
jsonParser: (text: string) => Promise<any> | any;
|
|
711
|
-
retry?: import("
|
|
711
|
+
retry?: import("better-auth/client").RetryOptions | undefined;
|
|
712
712
|
retryAttempt?: number | undefined;
|
|
713
|
-
output?: (import("
|
|
714
|
-
errorSchema?: import("
|
|
713
|
+
output?: (import("better-auth/client").StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
714
|
+
errorSchema?: import("better-auth/client").StandardSchemaV1 | undefined;
|
|
715
715
|
disableValidation?: boolean | undefined;
|
|
716
716
|
disableSignal?: boolean | undefined;
|
|
717
717
|
}, unknown, unknown, {}>;
|
package/dist/admin/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
registerSidebarItem,
|
|
14
14
|
toggleSidebar
|
|
15
15
|
} from "../chunk-m83ybzf8.js";
|
|
16
|
-
import"../chunk-
|
|
16
|
+
import"../chunk-8sqjbsgt.js";
|
|
17
17
|
// src/admin/router.ts
|
|
18
18
|
import { createRouter } from "@nanostores/router";
|
|
19
19
|
var $router = createRouter({
|
package/dist/admin/react.js
CHANGED