wcz-test 6.7.5 → 6.7.7
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/Approval-CWQn-kah.d.cts +284 -0
- package/dist/FileMeta-CC014fnB.d.cts +18 -0
- package/dist/client-utils.cjs +118 -0
- package/dist/client-utils.cjs.map +1 -0
- package/dist/client-utils.d.cts +704 -0
- package/dist/client-utils.d.ts +28 -30
- package/dist/components.cjs +802 -0
- package/dist/components.cjs.map +1 -0
- package/dist/components.d.cts +89 -0
- package/dist/hooks.cjs +534 -0
- package/dist/hooks.cjs.map +1 -0
- package/dist/hooks.d.cts +160 -0
- package/dist/index.cjs +3373 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +36 -0
- package/dist/models.cjs +330 -0
- package/dist/models.cjs.map +1 -0
- package/dist/models.d.cts +161 -0
- package/dist/queries.cjs +706 -0
- package/dist/queries.cjs.map +1 -0
- package/dist/queries.d.cts +1585 -0
- package/dist/server-utils.cjs +145 -0
- package/dist/server-utils.cjs.map +1 -0
- package/dist/server-utils.d.cts +36 -0
- package/dist/utils-ChipkRJ9.d.cts +49 -0
- package/dist/utils.cjs +81 -0
- package/dist/utils.cjs.map +1 -0
- package/dist/utils.d.cts +4 -0
- package/dist/vite.cjs +94 -0
- package/dist/vite.cjs.map +1 -0
- package/dist/vite.d.cts +5 -0
- package/package.json +20 -11
package/dist/client-utils.d.ts
CHANGED
|
@@ -2,11 +2,9 @@ export { P as Platform } from './utils-ChipkRJ9.js';
|
|
|
2
2
|
export { t } from 'i18next';
|
|
3
3
|
export { useTranslation } from 'react-i18next';
|
|
4
4
|
import * as nanostores from 'nanostores';
|
|
5
|
-
import * as node_modules_better_auth_dist_index__CrC0_x3_d_mts from 'node_modules/better-auth/dist/index--CrC0_x3.d.mts';
|
|
6
|
-
import * as _better_auth_core_oauth2 from '@better-auth/core/oauth2';
|
|
7
5
|
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
8
6
|
import * as better_auth_react from 'better-auth/react';
|
|
9
|
-
import * as
|
|
7
|
+
import * as better_auth from 'better-auth';
|
|
10
8
|
import 'axios';
|
|
11
9
|
import 'uuidv7';
|
|
12
10
|
import '@t3-oss/env-core';
|
|
@@ -16,7 +14,7 @@ declare const WISTRON_SECONDARY_COLOR = "#64DC00";
|
|
|
16
14
|
|
|
17
15
|
declare const authClient: {
|
|
18
16
|
signIn: {
|
|
19
|
-
social: <FetchOptions extends
|
|
17
|
+
social: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
20
18
|
provider: (string & {}) | "zoom" | "github" | "apple" | "atlassian" | "cognito" | "discord" | "facebook" | "figma" | "microsoft" | "google" | "huggingface" | "slack" | "spotify" | "twitch" | "twitter" | "dropbox" | "kick" | "linear" | "linkedin" | "gitlab" | "tiktok" | "reddit" | "roblox" | "salesforce" | "vk" | "notion" | "kakao" | "naver" | "line" | "paybin" | "paypal" | "polar" | "vercel";
|
|
21
19
|
callbackURL?: string | undefined;
|
|
22
20
|
newUserCallbackURL?: string | undefined;
|
|
@@ -74,7 +72,7 @@ declare const authClient: {
|
|
|
74
72
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
75
73
|
};
|
|
76
74
|
} & {
|
|
77
|
-
signOut: <FetchOptions extends
|
|
75
|
+
signOut: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
78
76
|
query?: Record<string, any> | undefined;
|
|
79
77
|
fetchOptions?: FetchOptions | undefined;
|
|
80
78
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
|
|
@@ -85,7 +83,7 @@ declare const authClient: {
|
|
|
85
83
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
86
84
|
} & {
|
|
87
85
|
signUp: {
|
|
88
|
-
email: <FetchOptions extends
|
|
86
|
+
email: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
89
87
|
name: string;
|
|
90
88
|
email: string;
|
|
91
89
|
password: string;
|
|
@@ -128,7 +126,7 @@ declare const authClient: {
|
|
|
128
126
|
};
|
|
129
127
|
} & {
|
|
130
128
|
signIn: {
|
|
131
|
-
email: <FetchOptions extends
|
|
129
|
+
email: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
132
130
|
email: string;
|
|
133
131
|
password: string;
|
|
134
132
|
callbackURL?: string | undefined;
|
|
@@ -159,7 +157,7 @@ declare const authClient: {
|
|
|
159
157
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
160
158
|
};
|
|
161
159
|
} & {
|
|
162
|
-
resetPassword: <FetchOptions extends
|
|
160
|
+
resetPassword: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
163
161
|
newPassword: string;
|
|
164
162
|
token?: string | undefined;
|
|
165
163
|
}> & Record<string, any>, Partial<{
|
|
@@ -176,7 +174,7 @@ declare const authClient: {
|
|
|
176
174
|
message?: string | undefined;
|
|
177
175
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
178
176
|
} & {
|
|
179
|
-
verifyEmail: <FetchOptions extends
|
|
177
|
+
verifyEmail: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<{
|
|
180
178
|
token: string;
|
|
181
179
|
callbackURL?: string | undefined;
|
|
182
180
|
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -192,7 +190,7 @@ declare const authClient: {
|
|
|
192
190
|
message?: string | undefined;
|
|
193
191
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
194
192
|
} & {
|
|
195
|
-
sendVerificationEmail: <FetchOptions extends
|
|
193
|
+
sendVerificationEmail: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
196
194
|
email: string;
|
|
197
195
|
callbackURL?: string | undefined;
|
|
198
196
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -207,7 +205,7 @@ declare const authClient: {
|
|
|
207
205
|
message?: string | undefined;
|
|
208
206
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
209
207
|
} & {
|
|
210
|
-
changeEmail: <FetchOptions extends
|
|
208
|
+
changeEmail: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
211
209
|
newEmail: string;
|
|
212
210
|
callbackURL?: string | undefined;
|
|
213
211
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -222,7 +220,7 @@ declare const authClient: {
|
|
|
222
220
|
message?: string | undefined;
|
|
223
221
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
224
222
|
} & {
|
|
225
|
-
changePassword: <FetchOptions extends
|
|
223
|
+
changePassword: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
226
224
|
newPassword: string;
|
|
227
225
|
currentPassword: string;
|
|
228
226
|
revokeOtherSessions?: boolean | undefined;
|
|
@@ -248,7 +246,7 @@ declare const authClient: {
|
|
|
248
246
|
message?: string | undefined;
|
|
249
247
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
250
248
|
} & {
|
|
251
|
-
updateUser: <FetchOptions extends
|
|
249
|
+
updateUser: <FetchOptions extends better_auth.ClientFetchOption<Partial<Partial<{}> & {
|
|
252
250
|
name?: string | undefined;
|
|
253
251
|
image?: string | undefined;
|
|
254
252
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
@@ -262,7 +260,7 @@ declare const authClient: {
|
|
|
262
260
|
message?: string | undefined;
|
|
263
261
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
264
262
|
} & {
|
|
265
|
-
deleteUser: <FetchOptions extends
|
|
263
|
+
deleteUser: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
266
264
|
callbackURL?: string | undefined;
|
|
267
265
|
password?: string | undefined;
|
|
268
266
|
token?: string | undefined;
|
|
@@ -280,7 +278,7 @@ declare const authClient: {
|
|
|
280
278
|
message?: string | undefined;
|
|
281
279
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
282
280
|
} & {
|
|
283
|
-
requestPasswordReset: <FetchOptions extends
|
|
281
|
+
requestPasswordReset: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
284
282
|
email: string;
|
|
285
283
|
redirectTo?: string | undefined;
|
|
286
284
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -297,7 +295,7 @@ declare const authClient: {
|
|
|
297
295
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
298
296
|
} & {
|
|
299
297
|
resetPassword: {
|
|
300
|
-
":token": <FetchOptions extends
|
|
298
|
+
":token": <FetchOptions extends better_auth.ClientFetchOption<never, Partial<{
|
|
301
299
|
callbackURL: string;
|
|
302
300
|
}> & Record<string, any>, {
|
|
303
301
|
token: string;
|
|
@@ -312,7 +310,7 @@ declare const authClient: {
|
|
|
312
310
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
313
311
|
};
|
|
314
312
|
} & {
|
|
315
|
-
listSessions: <FetchOptions extends
|
|
313
|
+
listSessions: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
316
314
|
query?: Record<string, any> | undefined;
|
|
317
315
|
fetchOptions?: FetchOptions | undefined;
|
|
318
316
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<better_auth_react.Prettify<{
|
|
@@ -329,7 +327,7 @@ declare const authClient: {
|
|
|
329
327
|
message?: string | undefined;
|
|
330
328
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
331
329
|
} & {
|
|
332
|
-
revokeSession: <FetchOptions extends
|
|
330
|
+
revokeSession: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
333
331
|
token: string;
|
|
334
332
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
335
333
|
token: string;
|
|
@@ -342,7 +340,7 @@ declare const authClient: {
|
|
|
342
340
|
message?: string | undefined;
|
|
343
341
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
344
342
|
} & {
|
|
345
|
-
revokeSessions: <FetchOptions extends
|
|
343
|
+
revokeSessions: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
346
344
|
query?: Record<string, any> | undefined;
|
|
347
345
|
fetchOptions?: FetchOptions | undefined;
|
|
348
346
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
|
|
@@ -352,7 +350,7 @@ declare const authClient: {
|
|
|
352
350
|
message?: string | undefined;
|
|
353
351
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
354
352
|
} & {
|
|
355
|
-
revokeOtherSessions: <FetchOptions extends
|
|
353
|
+
revokeOtherSessions: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
356
354
|
query?: Record<string, any> | undefined;
|
|
357
355
|
fetchOptions?: FetchOptions | undefined;
|
|
358
356
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
|
|
@@ -362,7 +360,7 @@ declare const authClient: {
|
|
|
362
360
|
message?: string | undefined;
|
|
363
361
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
364
362
|
} & {
|
|
365
|
-
linkSocial: <FetchOptions extends
|
|
363
|
+
linkSocial: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
366
364
|
provider: unknown;
|
|
367
365
|
callbackURL?: string | undefined;
|
|
368
366
|
idToken?: {
|
|
@@ -402,7 +400,7 @@ declare const authClient: {
|
|
|
402
400
|
message?: string | undefined;
|
|
403
401
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
404
402
|
} & {
|
|
405
|
-
listAccounts: <FetchOptions extends
|
|
403
|
+
listAccounts: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
406
404
|
query?: Record<string, any> | undefined;
|
|
407
405
|
fetchOptions?: FetchOptions | undefined;
|
|
408
406
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
|
|
@@ -419,7 +417,7 @@ declare const authClient: {
|
|
|
419
417
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
420
418
|
} & {
|
|
421
419
|
deleteUser: {
|
|
422
|
-
callback: <FetchOptions extends
|
|
420
|
+
callback: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<{
|
|
423
421
|
token: string;
|
|
424
422
|
callbackURL?: string | undefined;
|
|
425
423
|
}> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -437,7 +435,7 @@ declare const authClient: {
|
|
|
437
435
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
438
436
|
};
|
|
439
437
|
} & {
|
|
440
|
-
unlinkAccount: <FetchOptions extends
|
|
438
|
+
unlinkAccount: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
441
439
|
providerId: string;
|
|
442
440
|
accountId?: string | undefined;
|
|
443
441
|
}> & Record<string, any>, Partial<Record<string, any>> & Record<string, any>, Record<string, any> | undefined>>(data_0: better_auth_react.Prettify<{
|
|
@@ -452,7 +450,7 @@ declare const authClient: {
|
|
|
452
450
|
message?: string | undefined;
|
|
453
451
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
454
452
|
} & {
|
|
455
|
-
refreshToken: <FetchOptions extends
|
|
453
|
+
refreshToken: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
456
454
|
providerId: string;
|
|
457
455
|
accountId?: string | undefined;
|
|
458
456
|
userId?: string | undefined;
|
|
@@ -476,7 +474,7 @@ declare const authClient: {
|
|
|
476
474
|
message?: string | undefined;
|
|
477
475
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
478
476
|
} & {
|
|
479
|
-
getAccessToken: <FetchOptions extends
|
|
477
|
+
getAccessToken: <FetchOptions extends better_auth.ClientFetchOption<Partial<{
|
|
480
478
|
providerId: string;
|
|
481
479
|
accountId?: string | undefined;
|
|
482
480
|
userId?: string | undefined;
|
|
@@ -496,7 +494,7 @@ declare const authClient: {
|
|
|
496
494
|
message?: string | undefined;
|
|
497
495
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
498
496
|
} & {
|
|
499
|
-
accountInfo: <FetchOptions extends
|
|
497
|
+
accountInfo: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<{
|
|
500
498
|
accountId?: string | undefined;
|
|
501
499
|
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
502
500
|
query?: {
|
|
@@ -504,14 +502,14 @@ declare const authClient: {
|
|
|
504
502
|
} | undefined;
|
|
505
503
|
fetchOptions?: FetchOptions | undefined;
|
|
506
504
|
}> | undefined, data_1?: FetchOptions | undefined) => Promise<_better_fetch_fetch.BetterFetchResponse<{
|
|
507
|
-
user:
|
|
505
|
+
user: better_auth.OAuth2UserInfo;
|
|
508
506
|
data: Record<string, any>;
|
|
509
507
|
}, {
|
|
510
508
|
code?: string | undefined;
|
|
511
509
|
message?: string | undefined;
|
|
512
510
|
}, FetchOptions["throw"] extends true ? true : false>>;
|
|
513
511
|
} & {
|
|
514
|
-
getSession: <FetchOptions extends
|
|
512
|
+
getSession: <FetchOptions extends better_auth.ClientFetchOption<never, Partial<{
|
|
515
513
|
disableCookieCache?: unknown;
|
|
516
514
|
disableRefresh?: unknown;
|
|
517
515
|
}> & Record<string, any>, Record<string, any> | undefined>>(data_0?: better_auth_react.Prettify<{
|
|
@@ -571,7 +569,7 @@ declare const authClient: {
|
|
|
571
569
|
isRefetching: boolean;
|
|
572
570
|
error: _better_fetch_fetch.BetterFetchError | null;
|
|
573
571
|
refetch: (queryParams?: {
|
|
574
|
-
query?:
|
|
572
|
+
query?: better_auth.SessionQueryParams;
|
|
575
573
|
} | undefined) => Promise<void>;
|
|
576
574
|
};
|
|
577
575
|
$Infer: {
|