wcz-test 6.4.5 → 6.4.8
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/{chunk-ZHDN5BBF.js → chunk-AZIOE66H.js} +6 -6
- package/dist/{chunk-TVEJZEZT.js → chunk-H35VQRS4.js} +2 -2
- package/dist/{chunk-YHTLF4NN.js → chunk-MZYWQKGY.js} +3 -2
- package/dist/{chunk-GBRG7C6R.js → chunk-T723TJ46.js} +2 -2
- package/dist/{utils.d.ts → client-utils.d.ts} +88 -89
- package/dist/{utils.js → client-utils.js} +5 -7
- package/dist/client-utils.js.map +1 -0
- package/dist/components.js +3 -3
- package/dist/hooks.js +2 -2
- package/dist/index.js +6 -6
- package/dist/models.d.ts +1 -1
- package/dist/queries.d.ts +1 -1
- package/dist/queries.js +6 -6
- package/dist/server-utils.d.ts +9 -0
- package/dist/server-utils.js +20 -0
- package/dist/server-utils.js.map +1 -0
- package/package.json +14 -10
- package/dist/utils.js.map +0 -1
- package/dist/{Approval-gLhUz6rw.d.ts → Approval-CWQn-kah.d.ts} +1 -1
- /package/dist/{chunk-ZHDN5BBF.js.map → chunk-AZIOE66H.js.map} +0 -0
- /package/dist/{chunk-TVEJZEZT.js.map → chunk-H35VQRS4.js.map} +0 -0
- /package/dist/{chunk-YHTLF4NN.js.map → chunk-MZYWQKGY.js.map} +0 -0
- /package/dist/{chunk-GBRG7C6R.js.map → chunk-T723TJ46.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
FileMetaSchema
|
|
3
|
-
} from "./chunk-TME53DAF.js";
|
|
4
1
|
import {
|
|
5
2
|
httpClient,
|
|
6
3
|
toKebabCase
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T723TJ46.js";
|
|
5
|
+
import {
|
|
6
|
+
FileMetaSchema
|
|
7
|
+
} from "./chunk-TME53DAF.js";
|
|
8
8
|
import {
|
|
9
9
|
clientEnv
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-MZYWQKGY.js";
|
|
11
11
|
|
|
12
12
|
// src/queries/FileHooks.ts
|
|
13
13
|
import { useMutation, useQuery, useQueryClient } from "@tanstack/react-query";
|
|
@@ -203,4 +203,4 @@ export {
|
|
|
203
203
|
useDeleteFiles,
|
|
204
204
|
useUploadFile
|
|
205
205
|
};
|
|
206
|
-
//# sourceMappingURL=chunk-
|
|
206
|
+
//# sourceMappingURL=chunk-AZIOE66H.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZYWQKGY.js";
|
|
4
4
|
|
|
5
5
|
// src/hooks/ThemeHook.ts
|
|
6
6
|
import { createTheme, darken, lighten } from "@mui/material";
|
|
@@ -880,4 +880,4 @@ export {
|
|
|
880
880
|
useGetTheme,
|
|
881
881
|
authClient
|
|
882
882
|
};
|
|
883
|
-
//# sourceMappingURL=chunk-
|
|
883
|
+
//# sourceMappingURL=chunk-H35VQRS4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clientEnv
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MZYWQKGY.js";
|
|
4
4
|
|
|
5
5
|
// src/lib/utils.ts
|
|
6
6
|
import axios from "axios";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
getFieldStatus,
|
|
59
59
|
toKebabCase
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-T723TJ46.js.map
|
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
export { P as Platform, h as httpClient, r as rootRouteHead } from './utils-DLRiZ02r.js';
|
|
2
|
-
import * as nanostores from 'nanostores';
|
|
3
|
-
import * as node_modules_better_auth_dist_shared_better_auth_BNARIIb2 from 'node_modules/better-auth/dist/shared/better-auth.BNARIIb2';
|
|
4
|
-
import * as node_modules_better_auth_dist_shared_better_auth_DNnBkMGu from 'node_modules/better-auth/dist/shared/better-auth.DNnBkMGu';
|
|
5
|
-
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
6
2
|
export { uuidv7 } from 'uuidv7';
|
|
7
3
|
export { createEnv } from '@t3-oss/env-core';
|
|
8
4
|
export { default as i18n, t } from 'i18next';
|
|
9
5
|
export { initReactI18next, useTranslation } from 'react-i18next';
|
|
10
6
|
export { default as LanguageDetector } from 'i18next-browser-languagedetector';
|
|
11
|
-
|
|
7
|
+
import * as nanostores from 'nanostores';
|
|
8
|
+
import * as node_modules_better_auth_dist_shared_better_auth_BNARIIb2 from 'node_modules/better-auth/dist/shared/better-auth.BNARIIb2';
|
|
9
|
+
import * as node_modules_better_auth_dist_shared_better_auth_DNnBkMGu from 'node_modules/better-auth/dist/shared/better-auth.DNnBkMGu';
|
|
10
|
+
import * as _better_fetch_fetch from '@better-fetch/fetch';
|
|
12
11
|
import 'axios';
|
|
13
12
|
|
|
13
|
+
declare const WISTRON_PRIMARY_COLOR = "#00506E";
|
|
14
|
+
declare const WISTRON_SECONDARY_COLOR = "#64DC00";
|
|
15
|
+
|
|
14
16
|
declare const authClient: {
|
|
15
17
|
signIn: {
|
|
16
18
|
social: <FetchOptions extends {
|
|
@@ -21,15 +23,15 @@ declare const authClient: {
|
|
|
21
23
|
})) | undefined;
|
|
22
24
|
method?: string | undefined;
|
|
23
25
|
signal?: (AbortSignal | null) | undefined;
|
|
24
|
-
mode?: RequestMode | undefined;
|
|
25
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
26
|
-
integrity?: string | undefined;
|
|
27
26
|
cache?: RequestCache | undefined;
|
|
28
27
|
credentials?: RequestCredentials | undefined;
|
|
28
|
+
integrity?: string | undefined;
|
|
29
29
|
keepalive?: boolean | undefined;
|
|
30
|
+
mode?: RequestMode | undefined;
|
|
30
31
|
priority?: RequestPriority | undefined;
|
|
31
32
|
redirect?: RequestRedirect | undefined;
|
|
32
33
|
referrer?: string | undefined;
|
|
34
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
33
35
|
window?: null | undefined;
|
|
34
36
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
35
37
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -130,15 +132,15 @@ declare const authClient: {
|
|
|
130
132
|
})) | undefined;
|
|
131
133
|
method?: string | undefined;
|
|
132
134
|
signal?: (AbortSignal | null) | undefined;
|
|
133
|
-
mode?: RequestMode | undefined;
|
|
134
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
135
|
-
integrity?: string | undefined;
|
|
136
135
|
cache?: RequestCache | undefined;
|
|
137
136
|
credentials?: RequestCredentials | undefined;
|
|
137
|
+
integrity?: string | undefined;
|
|
138
138
|
keepalive?: boolean | undefined;
|
|
139
|
+
mode?: RequestMode | undefined;
|
|
139
140
|
priority?: RequestPriority | undefined;
|
|
140
141
|
redirect?: RequestRedirect | undefined;
|
|
141
142
|
referrer?: string | undefined;
|
|
143
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
142
144
|
window?: null | undefined;
|
|
143
145
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
144
146
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -194,15 +196,15 @@ declare const authClient: {
|
|
|
194
196
|
})) | undefined;
|
|
195
197
|
method?: string | undefined;
|
|
196
198
|
signal?: (AbortSignal | null) | undefined;
|
|
197
|
-
mode?: RequestMode | undefined;
|
|
198
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
199
|
-
integrity?: string | undefined;
|
|
200
199
|
cache?: RequestCache | undefined;
|
|
201
200
|
credentials?: RequestCredentials | undefined;
|
|
201
|
+
integrity?: string | undefined;
|
|
202
202
|
keepalive?: boolean | undefined;
|
|
203
|
+
mode?: RequestMode | undefined;
|
|
203
204
|
priority?: RequestPriority | undefined;
|
|
204
205
|
redirect?: RequestRedirect | undefined;
|
|
205
206
|
referrer?: string | undefined;
|
|
207
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
206
208
|
window?: null | undefined;
|
|
207
209
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
208
210
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -290,15 +292,15 @@ declare const authClient: {
|
|
|
290
292
|
})) | undefined;
|
|
291
293
|
method?: string | undefined;
|
|
292
294
|
signal?: (AbortSignal | null) | undefined;
|
|
293
|
-
mode?: RequestMode | undefined;
|
|
294
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
295
|
-
integrity?: string | undefined;
|
|
296
295
|
cache?: RequestCache | undefined;
|
|
297
296
|
credentials?: RequestCredentials | undefined;
|
|
297
|
+
integrity?: string | undefined;
|
|
298
298
|
keepalive?: boolean | undefined;
|
|
299
|
+
mode?: RequestMode | undefined;
|
|
299
300
|
priority?: RequestPriority | undefined;
|
|
300
301
|
redirect?: RequestRedirect | undefined;
|
|
301
302
|
referrer?: string | undefined;
|
|
303
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
302
304
|
window?: null | undefined;
|
|
303
305
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
304
306
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -374,15 +376,15 @@ declare const authClient: {
|
|
|
374
376
|
})) | undefined;
|
|
375
377
|
method?: string | undefined;
|
|
376
378
|
signal?: (AbortSignal | null) | undefined;
|
|
377
|
-
mode?: RequestMode | undefined;
|
|
378
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
379
|
-
integrity?: string | undefined;
|
|
380
379
|
cache?: RequestCache | undefined;
|
|
381
380
|
credentials?: RequestCredentials | undefined;
|
|
381
|
+
integrity?: string | undefined;
|
|
382
382
|
keepalive?: boolean | undefined;
|
|
383
|
+
mode?: RequestMode | undefined;
|
|
383
384
|
priority?: RequestPriority | undefined;
|
|
384
385
|
redirect?: RequestRedirect | undefined;
|
|
385
386
|
referrer?: string | undefined;
|
|
387
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
386
388
|
window?: null | undefined;
|
|
387
389
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
388
390
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -442,15 +444,15 @@ declare const authClient: {
|
|
|
442
444
|
})) | undefined;
|
|
443
445
|
method?: string | undefined;
|
|
444
446
|
signal?: (AbortSignal | null) | undefined;
|
|
445
|
-
mode?: RequestMode | undefined;
|
|
446
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
447
|
-
integrity?: string | undefined;
|
|
448
447
|
cache?: RequestCache | undefined;
|
|
449
448
|
credentials?: RequestCredentials | undefined;
|
|
449
|
+
integrity?: string | undefined;
|
|
450
450
|
keepalive?: boolean | undefined;
|
|
451
|
+
mode?: RequestMode | undefined;
|
|
451
452
|
priority?: RequestPriority | undefined;
|
|
452
453
|
redirect?: RequestRedirect | undefined;
|
|
453
454
|
referrer?: string | undefined;
|
|
455
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
454
456
|
window?: null | undefined;
|
|
455
457
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
456
458
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -512,15 +514,15 @@ declare const authClient: {
|
|
|
512
514
|
})) | undefined;
|
|
513
515
|
method?: string | undefined;
|
|
514
516
|
signal?: (AbortSignal | null) | undefined;
|
|
515
|
-
mode?: RequestMode | undefined;
|
|
516
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
517
|
-
integrity?: string | undefined;
|
|
518
517
|
cache?: RequestCache | undefined;
|
|
519
518
|
credentials?: RequestCredentials | undefined;
|
|
519
|
+
integrity?: string | undefined;
|
|
520
520
|
keepalive?: boolean | undefined;
|
|
521
|
+
mode?: RequestMode | undefined;
|
|
521
522
|
priority?: RequestPriority | undefined;
|
|
522
523
|
redirect?: RequestRedirect | undefined;
|
|
523
524
|
referrer?: string | undefined;
|
|
525
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
524
526
|
window?: null | undefined;
|
|
525
527
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
526
528
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -593,15 +595,15 @@ declare const authClient: {
|
|
|
593
595
|
})) | undefined;
|
|
594
596
|
method?: string | undefined;
|
|
595
597
|
signal?: (AbortSignal | null) | undefined;
|
|
596
|
-
mode?: RequestMode | undefined;
|
|
597
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
598
|
-
integrity?: string | undefined;
|
|
599
598
|
cache?: RequestCache | undefined;
|
|
600
599
|
credentials?: RequestCredentials | undefined;
|
|
600
|
+
integrity?: string | undefined;
|
|
601
601
|
keepalive?: boolean | undefined;
|
|
602
|
+
mode?: RequestMode | undefined;
|
|
602
603
|
priority?: RequestPriority | undefined;
|
|
603
604
|
redirect?: RequestRedirect | undefined;
|
|
604
605
|
referrer?: string | undefined;
|
|
606
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
605
607
|
window?: null | undefined;
|
|
606
608
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
607
609
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -661,15 +663,15 @@ declare const authClient: {
|
|
|
661
663
|
})) | undefined;
|
|
662
664
|
method?: string | undefined;
|
|
663
665
|
signal?: (AbortSignal | null) | undefined;
|
|
664
|
-
mode?: RequestMode | undefined;
|
|
665
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
666
|
-
integrity?: string | undefined;
|
|
667
666
|
cache?: RequestCache | undefined;
|
|
668
667
|
credentials?: RequestCredentials | undefined;
|
|
668
|
+
integrity?: string | undefined;
|
|
669
669
|
keepalive?: boolean | undefined;
|
|
670
|
+
mode?: RequestMode | undefined;
|
|
670
671
|
priority?: RequestPriority | undefined;
|
|
671
672
|
redirect?: RequestRedirect | undefined;
|
|
672
673
|
referrer?: string | undefined;
|
|
674
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
673
675
|
window?: null | undefined;
|
|
674
676
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
675
677
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -729,15 +731,15 @@ declare const authClient: {
|
|
|
729
731
|
})) | undefined;
|
|
730
732
|
method?: string | undefined;
|
|
731
733
|
signal?: (AbortSignal | null) | undefined;
|
|
732
|
-
mode?: RequestMode | undefined;
|
|
733
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
734
|
-
integrity?: string | undefined;
|
|
735
734
|
cache?: RequestCache | undefined;
|
|
736
735
|
credentials?: RequestCredentials | undefined;
|
|
736
|
+
integrity?: string | undefined;
|
|
737
737
|
keepalive?: boolean | undefined;
|
|
738
|
+
mode?: RequestMode | undefined;
|
|
738
739
|
priority?: RequestPriority | undefined;
|
|
739
740
|
redirect?: RequestRedirect | undefined;
|
|
740
741
|
referrer?: string | undefined;
|
|
742
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
741
743
|
window?: null | undefined;
|
|
742
744
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
743
745
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -808,15 +810,15 @@ declare const authClient: {
|
|
|
808
810
|
})) | undefined;
|
|
809
811
|
method?: string | undefined;
|
|
810
812
|
signal?: (AbortSignal | null) | undefined;
|
|
811
|
-
mode?: RequestMode | undefined;
|
|
812
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
813
|
-
integrity?: string | undefined;
|
|
814
813
|
cache?: RequestCache | undefined;
|
|
815
814
|
credentials?: RequestCredentials | undefined;
|
|
815
|
+
integrity?: string | undefined;
|
|
816
816
|
keepalive?: boolean | undefined;
|
|
817
|
+
mode?: RequestMode | undefined;
|
|
817
818
|
priority?: RequestPriority | undefined;
|
|
818
819
|
redirect?: RequestRedirect | undefined;
|
|
819
820
|
referrer?: string | undefined;
|
|
821
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
820
822
|
window?: null | undefined;
|
|
821
823
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
822
824
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -875,15 +877,15 @@ declare const authClient: {
|
|
|
875
877
|
})) | undefined;
|
|
876
878
|
method?: string | undefined;
|
|
877
879
|
signal?: (AbortSignal | null) | undefined;
|
|
878
|
-
mode?: RequestMode | undefined;
|
|
879
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
880
|
-
integrity?: string | undefined;
|
|
881
880
|
cache?: RequestCache | undefined;
|
|
882
881
|
credentials?: RequestCredentials | undefined;
|
|
882
|
+
integrity?: string | undefined;
|
|
883
883
|
keepalive?: boolean | undefined;
|
|
884
|
+
mode?: RequestMode | undefined;
|
|
884
885
|
priority?: RequestPriority | undefined;
|
|
885
886
|
redirect?: RequestRedirect | undefined;
|
|
886
887
|
referrer?: string | undefined;
|
|
888
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
887
889
|
window?: null | undefined;
|
|
888
890
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
889
891
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -947,15 +949,15 @@ declare const authClient: {
|
|
|
947
949
|
})) | undefined;
|
|
948
950
|
method?: string | undefined;
|
|
949
951
|
signal?: (AbortSignal | null) | undefined;
|
|
950
|
-
mode?: RequestMode | undefined;
|
|
951
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
952
|
-
integrity?: string | undefined;
|
|
953
952
|
cache?: RequestCache | undefined;
|
|
954
953
|
credentials?: RequestCredentials | undefined;
|
|
954
|
+
integrity?: string | undefined;
|
|
955
955
|
keepalive?: boolean | undefined;
|
|
956
|
+
mode?: RequestMode | undefined;
|
|
956
957
|
priority?: RequestPriority | undefined;
|
|
957
958
|
redirect?: RequestRedirect | undefined;
|
|
958
959
|
referrer?: string | undefined;
|
|
960
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
959
961
|
window?: null | undefined;
|
|
960
962
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
961
963
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1015,15 +1017,15 @@ declare const authClient: {
|
|
|
1015
1017
|
})) | undefined;
|
|
1016
1018
|
method?: string | undefined;
|
|
1017
1019
|
signal?: (AbortSignal | null) | undefined;
|
|
1018
|
-
mode?: RequestMode | undefined;
|
|
1019
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1020
|
-
integrity?: string | undefined;
|
|
1021
1020
|
cache?: RequestCache | undefined;
|
|
1022
1021
|
credentials?: RequestCredentials | undefined;
|
|
1022
|
+
integrity?: string | undefined;
|
|
1023
1023
|
keepalive?: boolean | undefined;
|
|
1024
|
+
mode?: RequestMode | undefined;
|
|
1024
1025
|
priority?: RequestPriority | undefined;
|
|
1025
1026
|
redirect?: RequestRedirect | undefined;
|
|
1026
1027
|
referrer?: string | undefined;
|
|
1028
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1027
1029
|
window?: null | undefined;
|
|
1028
1030
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1029
1031
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1085,15 +1087,15 @@ declare const authClient: {
|
|
|
1085
1087
|
})) | undefined;
|
|
1086
1088
|
method?: string | undefined;
|
|
1087
1089
|
signal?: (AbortSignal | null) | undefined;
|
|
1088
|
-
mode?: RequestMode | undefined;
|
|
1089
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1090
|
-
integrity?: string | undefined;
|
|
1091
1090
|
cache?: RequestCache | undefined;
|
|
1092
1091
|
credentials?: RequestCredentials | undefined;
|
|
1092
|
+
integrity?: string | undefined;
|
|
1093
1093
|
keepalive?: boolean | undefined;
|
|
1094
|
+
mode?: RequestMode | undefined;
|
|
1094
1095
|
priority?: RequestPriority | undefined;
|
|
1095
1096
|
redirect?: RequestRedirect | undefined;
|
|
1096
1097
|
referrer?: string | undefined;
|
|
1098
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1097
1099
|
window?: null | undefined;
|
|
1098
1100
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1099
1101
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1153,15 +1155,15 @@ declare const authClient: {
|
|
|
1153
1155
|
})) | undefined;
|
|
1154
1156
|
method?: string | undefined;
|
|
1155
1157
|
signal?: (AbortSignal | null) | undefined;
|
|
1156
|
-
mode?: RequestMode | undefined;
|
|
1157
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1158
|
-
integrity?: string | undefined;
|
|
1159
1158
|
cache?: RequestCache | undefined;
|
|
1160
1159
|
credentials?: RequestCredentials | undefined;
|
|
1160
|
+
integrity?: string | undefined;
|
|
1161
1161
|
keepalive?: boolean | undefined;
|
|
1162
|
+
mode?: RequestMode | undefined;
|
|
1162
1163
|
priority?: RequestPriority | undefined;
|
|
1163
1164
|
redirect?: RequestRedirect | undefined;
|
|
1164
1165
|
referrer?: string | undefined;
|
|
1166
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1165
1167
|
window?: null | undefined;
|
|
1166
1168
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1167
1169
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1223,15 +1225,15 @@ declare const authClient: {
|
|
|
1223
1225
|
})) | undefined;
|
|
1224
1226
|
method?: string | undefined;
|
|
1225
1227
|
signal?: (AbortSignal | null) | undefined;
|
|
1226
|
-
mode?: RequestMode | undefined;
|
|
1227
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1228
|
-
integrity?: string | undefined;
|
|
1229
1228
|
cache?: RequestCache | undefined;
|
|
1230
1229
|
credentials?: RequestCredentials | undefined;
|
|
1230
|
+
integrity?: string | undefined;
|
|
1231
1231
|
keepalive?: boolean | undefined;
|
|
1232
|
+
mode?: RequestMode | undefined;
|
|
1232
1233
|
priority?: RequestPriority | undefined;
|
|
1233
1234
|
redirect?: RequestRedirect | undefined;
|
|
1234
1235
|
referrer?: string | undefined;
|
|
1236
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1235
1237
|
window?: null | undefined;
|
|
1236
1238
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1237
1239
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1289,15 +1291,15 @@ declare const authClient: {
|
|
|
1289
1291
|
})) | undefined;
|
|
1290
1292
|
method?: string | undefined;
|
|
1291
1293
|
signal?: (AbortSignal | null) | undefined;
|
|
1292
|
-
mode?: RequestMode | undefined;
|
|
1293
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1294
|
-
integrity?: string | undefined;
|
|
1295
1294
|
cache?: RequestCache | undefined;
|
|
1296
1295
|
credentials?: RequestCredentials | undefined;
|
|
1296
|
+
integrity?: string | undefined;
|
|
1297
1297
|
keepalive?: boolean | undefined;
|
|
1298
|
+
mode?: RequestMode | undefined;
|
|
1298
1299
|
priority?: RequestPriority | undefined;
|
|
1299
1300
|
redirect?: RequestRedirect | undefined;
|
|
1300
1301
|
referrer?: string | undefined;
|
|
1302
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1301
1303
|
window?: null | undefined;
|
|
1302
1304
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1303
1305
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1352,15 +1354,15 @@ declare const authClient: {
|
|
|
1352
1354
|
})) | undefined;
|
|
1353
1355
|
method?: string | undefined;
|
|
1354
1356
|
signal?: (AbortSignal | null) | undefined;
|
|
1355
|
-
mode?: RequestMode | undefined;
|
|
1356
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1357
|
-
integrity?: string | undefined;
|
|
1358
1357
|
cache?: RequestCache | undefined;
|
|
1359
1358
|
credentials?: RequestCredentials | undefined;
|
|
1359
|
+
integrity?: string | undefined;
|
|
1360
1360
|
keepalive?: boolean | undefined;
|
|
1361
|
+
mode?: RequestMode | undefined;
|
|
1361
1362
|
priority?: RequestPriority | undefined;
|
|
1362
1363
|
redirect?: RequestRedirect | undefined;
|
|
1363
1364
|
referrer?: string | undefined;
|
|
1365
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1364
1366
|
window?: null | undefined;
|
|
1365
1367
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1366
1368
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1415,15 +1417,15 @@ declare const authClient: {
|
|
|
1415
1417
|
})) | undefined;
|
|
1416
1418
|
method?: string | undefined;
|
|
1417
1419
|
signal?: (AbortSignal | null) | undefined;
|
|
1418
|
-
mode?: RequestMode | undefined;
|
|
1419
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1420
|
-
integrity?: string | undefined;
|
|
1421
1420
|
cache?: RequestCache | undefined;
|
|
1422
1421
|
credentials?: RequestCredentials | undefined;
|
|
1422
|
+
integrity?: string | undefined;
|
|
1423
1423
|
keepalive?: boolean | undefined;
|
|
1424
|
+
mode?: RequestMode | undefined;
|
|
1424
1425
|
priority?: RequestPriority | undefined;
|
|
1425
1426
|
redirect?: RequestRedirect | undefined;
|
|
1426
1427
|
referrer?: string | undefined;
|
|
1428
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1427
1429
|
window?: null | undefined;
|
|
1428
1430
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1429
1431
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1506,15 +1508,15 @@ declare const authClient: {
|
|
|
1506
1508
|
})) | undefined;
|
|
1507
1509
|
method?: string | undefined;
|
|
1508
1510
|
signal?: (AbortSignal | null) | undefined;
|
|
1509
|
-
mode?: RequestMode | undefined;
|
|
1510
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1511
|
-
integrity?: string | undefined;
|
|
1512
1511
|
cache?: RequestCache | undefined;
|
|
1513
1512
|
credentials?: RequestCredentials | undefined;
|
|
1513
|
+
integrity?: string | undefined;
|
|
1514
1514
|
keepalive?: boolean | undefined;
|
|
1515
|
+
mode?: RequestMode | undefined;
|
|
1515
1516
|
priority?: RequestPriority | undefined;
|
|
1516
1517
|
redirect?: RequestRedirect | undefined;
|
|
1517
1518
|
referrer?: string | undefined;
|
|
1519
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1518
1520
|
window?: null | undefined;
|
|
1519
1521
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1520
1522
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1575,15 +1577,15 @@ declare const authClient: {
|
|
|
1575
1577
|
})) | undefined;
|
|
1576
1578
|
method?: string | undefined;
|
|
1577
1579
|
signal?: (AbortSignal | null) | undefined;
|
|
1578
|
-
mode?: RequestMode | undefined;
|
|
1579
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1580
|
-
integrity?: string | undefined;
|
|
1581
1580
|
cache?: RequestCache | undefined;
|
|
1582
1581
|
credentials?: RequestCredentials | undefined;
|
|
1582
|
+
integrity?: string | undefined;
|
|
1583
1583
|
keepalive?: boolean | undefined;
|
|
1584
|
+
mode?: RequestMode | undefined;
|
|
1584
1585
|
priority?: RequestPriority | undefined;
|
|
1585
1586
|
redirect?: RequestRedirect | undefined;
|
|
1586
1587
|
referrer?: string | undefined;
|
|
1588
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1587
1589
|
window?: null | undefined;
|
|
1588
1590
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1589
1591
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1646,15 +1648,15 @@ declare const authClient: {
|
|
|
1646
1648
|
})) | undefined;
|
|
1647
1649
|
method?: string | undefined;
|
|
1648
1650
|
signal?: (AbortSignal | null) | undefined;
|
|
1649
|
-
mode?: RequestMode | undefined;
|
|
1650
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1651
|
-
integrity?: string | undefined;
|
|
1652
1651
|
cache?: RequestCache | undefined;
|
|
1653
1652
|
credentials?: RequestCredentials | undefined;
|
|
1653
|
+
integrity?: string | undefined;
|
|
1654
1654
|
keepalive?: boolean | undefined;
|
|
1655
|
+
mode?: RequestMode | undefined;
|
|
1655
1656
|
priority?: RequestPriority | undefined;
|
|
1656
1657
|
redirect?: RequestRedirect | undefined;
|
|
1657
1658
|
referrer?: string | undefined;
|
|
1659
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1658
1660
|
window?: null | undefined;
|
|
1659
1661
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1660
1662
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1714,15 +1716,15 @@ declare const authClient: {
|
|
|
1714
1716
|
})) | undefined;
|
|
1715
1717
|
method?: string | undefined;
|
|
1716
1718
|
signal?: (AbortSignal | null) | undefined;
|
|
1717
|
-
mode?: RequestMode | undefined;
|
|
1718
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1719
|
-
integrity?: string | undefined;
|
|
1720
1719
|
cache?: RequestCache | undefined;
|
|
1721
1720
|
credentials?: RequestCredentials | undefined;
|
|
1721
|
+
integrity?: string | undefined;
|
|
1722
1722
|
keepalive?: boolean | undefined;
|
|
1723
|
+
mode?: RequestMode | undefined;
|
|
1723
1724
|
priority?: RequestPriority | undefined;
|
|
1724
1725
|
redirect?: RequestRedirect | undefined;
|
|
1725
1726
|
referrer?: string | undefined;
|
|
1727
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1726
1728
|
window?: null | undefined;
|
|
1727
1729
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1728
1730
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1782,15 +1784,15 @@ declare const authClient: {
|
|
|
1782
1784
|
})) | undefined;
|
|
1783
1785
|
method?: string | undefined;
|
|
1784
1786
|
signal?: (AbortSignal | null) | undefined;
|
|
1785
|
-
mode?: RequestMode | undefined;
|
|
1786
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1787
|
-
integrity?: string | undefined;
|
|
1788
1787
|
cache?: RequestCache | undefined;
|
|
1789
1788
|
credentials?: RequestCredentials | undefined;
|
|
1789
|
+
integrity?: string | undefined;
|
|
1790
1790
|
keepalive?: boolean | undefined;
|
|
1791
|
+
mode?: RequestMode | undefined;
|
|
1791
1792
|
priority?: RequestPriority | undefined;
|
|
1792
1793
|
redirect?: RequestRedirect | undefined;
|
|
1793
1794
|
referrer?: string | undefined;
|
|
1795
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1794
1796
|
window?: null | undefined;
|
|
1795
1797
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1796
1798
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1855,15 +1857,15 @@ declare const authClient: {
|
|
|
1855
1857
|
})) | undefined;
|
|
1856
1858
|
method?: string | undefined;
|
|
1857
1859
|
signal?: (AbortSignal | null) | undefined;
|
|
1858
|
-
mode?: RequestMode | undefined;
|
|
1859
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1860
|
-
integrity?: string | undefined;
|
|
1861
1860
|
cache?: RequestCache | undefined;
|
|
1862
1861
|
credentials?: RequestCredentials | undefined;
|
|
1862
|
+
integrity?: string | undefined;
|
|
1863
1863
|
keepalive?: boolean | undefined;
|
|
1864
|
+
mode?: RequestMode | undefined;
|
|
1864
1865
|
priority?: RequestPriority | undefined;
|
|
1865
1866
|
redirect?: RequestRedirect | undefined;
|
|
1866
1867
|
referrer?: string | undefined;
|
|
1868
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1867
1869
|
window?: null | undefined;
|
|
1868
1870
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1869
1871
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -1922,15 +1924,15 @@ declare const authClient: {
|
|
|
1922
1924
|
})) | undefined;
|
|
1923
1925
|
method?: string | undefined;
|
|
1924
1926
|
signal?: (AbortSignal | null) | undefined;
|
|
1925
|
-
mode?: RequestMode | undefined;
|
|
1926
|
-
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1927
|
-
integrity?: string | undefined;
|
|
1928
1927
|
cache?: RequestCache | undefined;
|
|
1929
1928
|
credentials?: RequestCredentials | undefined;
|
|
1929
|
+
integrity?: string | undefined;
|
|
1930
1930
|
keepalive?: boolean | undefined;
|
|
1931
|
+
mode?: RequestMode | undefined;
|
|
1931
1932
|
priority?: RequestPriority | undefined;
|
|
1932
1933
|
redirect?: RequestRedirect | undefined;
|
|
1933
1934
|
referrer?: string | undefined;
|
|
1935
|
+
referrerPolicy?: ReferrerPolicy | undefined;
|
|
1934
1936
|
window?: null | undefined;
|
|
1935
1937
|
onRequest?: (<T extends Record<string, any>>(context: _better_fetch_fetch.RequestContext<T>) => Promise<_better_fetch_fetch.RequestContext | void> | _better_fetch_fetch.RequestContext | void) | undefined;
|
|
1936
1938
|
onResponse?: ((context: _better_fetch_fetch.ResponseContext) => Promise<Response | void | _better_fetch_fetch.ResponseContext> | Response | _better_fetch_fetch.ResponseContext | void) | undefined;
|
|
@@ -2152,7 +2154,4 @@ declare const authClient: {
|
|
|
2152
2154
|
};
|
|
2153
2155
|
};
|
|
2154
2156
|
|
|
2155
|
-
declare const WISTRON_PRIMARY_COLOR = "#00506E";
|
|
2156
|
-
declare const WISTRON_SECONDARY_COLOR = "#64DC00";
|
|
2157
|
-
|
|
2158
2157
|
export { WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR, authClient };
|
|
@@ -2,27 +2,25 @@ import {
|
|
|
2
2
|
WISTRON_PRIMARY_COLOR,
|
|
3
3
|
WISTRON_SECONDARY_COLOR,
|
|
4
4
|
authClient
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-H35VQRS4.js";
|
|
6
6
|
import {
|
|
7
7
|
Platform,
|
|
8
8
|
httpClient,
|
|
9
9
|
rootRouteHead
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-T723TJ46.js";
|
|
11
|
+
import "./chunk-MZYWQKGY.js";
|
|
12
12
|
import "./chunk-5WRI5ZAA.js";
|
|
13
13
|
|
|
14
|
-
// src/utils.ts
|
|
14
|
+
// src/client-utils.ts
|
|
15
15
|
import { uuidv7 } from "uuidv7";
|
|
16
16
|
import { createEnv } from "@t3-oss/env-core";
|
|
17
17
|
import { t } from "i18next";
|
|
18
18
|
import { default as default2 } from "i18next";
|
|
19
19
|
import { initReactI18next, useTranslation } from "react-i18next";
|
|
20
20
|
import { default as default3 } from "i18next-browser-languagedetector";
|
|
21
|
-
import { Pool } from "pg";
|
|
22
21
|
export {
|
|
23
22
|
default3 as LanguageDetector,
|
|
24
23
|
Platform,
|
|
25
|
-
Pool,
|
|
26
24
|
WISTRON_PRIMARY_COLOR,
|
|
27
25
|
WISTRON_SECONDARY_COLOR,
|
|
28
26
|
authClient,
|
|
@@ -35,4 +33,4 @@ export {
|
|
|
35
33
|
useTranslation,
|
|
36
34
|
uuidv7
|
|
37
35
|
};
|
|
38
|
-
//# sourceMappingURL=utils.js.map
|
|
36
|
+
//# sourceMappingURL=client-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/client-utils.ts"],"sourcesContent":["export { Platform, rootRouteHead, httpClient } from \"./lib/utils\";\r\nexport { WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR } from \"./hooks/ThemeHook\";\r\n\r\n// UUID\r\nexport { uuidv7 } from \"uuidv7\";\r\n\r\n// ENV\r\nexport { createEnv } from \"@t3-oss/env-core\";\r\n\r\n// Internationalization\r\nexport { t } from \"i18next\";\r\nexport { default as i18n } from \"i18next\";\r\nexport { initReactI18next, useTranslation } from \"react-i18next\";\r\nexport { default as LanguageDetector } from \"i18next-browser-languagedetector\";\r\n\r\n// Auth\r\nexport { authClient } from \"./lib/auth/auth-client\";\r\n\r\n"],"mappings":";;;;;;;;;;;;;;AAIA,SAAS,cAAc;AAGvB,SAAS,iBAAiB;AAG1B,SAAS,SAAS;AAClB,SAAoB,WAAXA,gBAAuB;AAChC,SAAS,kBAAkB,sBAAsB;AACjD,SAAoB,WAAXA,gBAAmC;","names":["default"]}
|
package/dist/components.js
CHANGED
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
useGetFileMetas,
|
|
12
12
|
useGetFileThumbnail,
|
|
13
13
|
useOpenFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AZIOE66H.js";
|
|
15
|
+
import "./chunk-T723TJ46.js";
|
|
15
16
|
import "./chunk-TME53DAF.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-YHTLF4NN.js";
|
|
17
|
+
import "./chunk-MZYWQKGY.js";
|
|
18
18
|
import "./chunk-5WRI5ZAA.js";
|
|
19
19
|
|
|
20
20
|
// src/components/core/TypographyWithIcon.tsx
|
package/dist/hooks.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
import {
|
|
2
|
+
_extends,
|
|
3
|
+
authClient,
|
|
4
|
+
useGetTheme
|
|
5
|
+
} from "./chunk-H35VQRS4.js";
|
|
1
6
|
import {
|
|
2
7
|
RouterListItemButton
|
|
3
8
|
} from "./chunk-ZMWQQXZT.js";
|
|
@@ -5,14 +10,9 @@ import {
|
|
|
5
10
|
DialogsContext,
|
|
6
11
|
useDialogs
|
|
7
12
|
} from "./chunk-4UULRYGW.js";
|
|
8
|
-
import {
|
|
9
|
-
_extends,
|
|
10
|
-
authClient,
|
|
11
|
-
useGetTheme
|
|
12
|
-
} from "./chunk-TVEJZEZT.js";
|
|
13
13
|
import {
|
|
14
14
|
clientEnv
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-MZYWQKGY.js";
|
|
16
16
|
import {
|
|
17
17
|
__commonJS,
|
|
18
18
|
__toESM
|
package/dist/models.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { F as FileMeta, a as FileMetaSchema } from './FileMeta-CC014fnB.js';
|
|
2
2
|
import z__default, { z } from 'zod';
|
|
3
|
-
export { A as Approval, e as ApprovalSchema, a as ApproveApproval, g as ApproveApprovalSchema, b as CancelApproval, i as CancelApprovalSchema, C as CreateApproval, f as CreateApprovalSchema, D as Department, d as DepartmentSchema, E as Employee, c as EmployeeSchema, R as ResubmitApproval, h as ResubmitApprovalSchema, W as WithdrawApproval, j as WithdrawApprovalSchema } from './Approval-
|
|
3
|
+
export { A as Approval, e as ApprovalSchema, a as ApproveApproval, g as ApproveApprovalSchema, b as CancelApproval, i as CancelApprovalSchema, C as CreateApproval, f as CreateApprovalSchema, D as Department, d as DepartmentSchema, E as Employee, c as EmployeeSchema, R as ResubmitApproval, h as ResubmitApprovalSchema, W as WithdrawApproval, j as WithdrawApprovalSchema } from './Approval-CWQn-kah.js';
|
|
4
4
|
|
|
5
5
|
interface User {
|
|
6
6
|
employeeId: string;
|
package/dist/queries.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { DefinedInitialDataOptions, UseMutationOptions } from '@tanstack/react-q
|
|
|
3
3
|
import z__default from 'zod';
|
|
4
4
|
import { DetailedError } from 'tus-js-client';
|
|
5
5
|
import { F as FileMeta } from './FileMeta-CC014fnB.js';
|
|
6
|
-
import { E as Employee, D as Department, A as Approval, C as CreateApproval, a as ApproveApproval, R as ResubmitApproval, W as WithdrawApproval, b as CancelApproval } from './Approval-
|
|
6
|
+
import { E as Employee, D as Department, A as Approval, C as CreateApproval, a as ApproveApproval, R as ResubmitApproval, W as WithdrawApproval, b as CancelApproval } from './Approval-CWQn-kah.js';
|
|
7
7
|
|
|
8
8
|
type OptionalId$1 = string | undefined | null;
|
|
9
9
|
type BaseFileMetaArrayQueryOptions = Omit<DefinedInitialDataOptions<Array<FileMeta>>, "queryKey" | "queryFn" | "staleTime" | "gcTime" | "refetchOnWindowFocus" | "initialData">;
|
package/dist/queries.js
CHANGED
|
@@ -11,19 +11,19 @@ import {
|
|
|
11
11
|
useOpenFile,
|
|
12
12
|
useUpdateFileMeta,
|
|
13
13
|
useUploadFile
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AZIOE66H.js";
|
|
15
|
+
import {
|
|
16
|
+
httpClient,
|
|
17
|
+
toKebabCase
|
|
18
|
+
} from "./chunk-T723TJ46.js";
|
|
15
19
|
import {
|
|
16
20
|
ApprovalStatus,
|
|
17
21
|
ApprovalStepResult
|
|
18
22
|
} from "./chunk-4FRZRIAO.js";
|
|
19
23
|
import "./chunk-TME53DAF.js";
|
|
20
|
-
import {
|
|
21
|
-
httpClient,
|
|
22
|
-
toKebabCase
|
|
23
|
-
} from "./chunk-GBRG7C6R.js";
|
|
24
24
|
import {
|
|
25
25
|
clientEnv
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MZYWQKGY.js";
|
|
27
27
|
import "./chunk-5WRI5ZAA.js";
|
|
28
28
|
|
|
29
29
|
// src/queries/PeopleSoftHooks.ts
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
serverEnv
|
|
3
|
+
} from "./chunk-MZYWQKGY.js";
|
|
4
|
+
import "./chunk-5WRI5ZAA.js";
|
|
5
|
+
|
|
6
|
+
// src/server-utils.ts
|
|
7
|
+
import { Pool as Pool2 } from "pg";
|
|
8
|
+
|
|
9
|
+
// src/lib/db/index.ts
|
|
10
|
+
import { drizzle } from "drizzle-orm/node-postgres";
|
|
11
|
+
import { Pool } from "pg";
|
|
12
|
+
var pool = new Pool({
|
|
13
|
+
connectionString: serverEnv.DATABASE_URL
|
|
14
|
+
});
|
|
15
|
+
var db = drizzle(pool);
|
|
16
|
+
export {
|
|
17
|
+
Pool2 as Pool,
|
|
18
|
+
db
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=server-utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/server-utils.ts","../src/lib/db/index.ts"],"sourcesContent":["// PostgreSQL\r\nexport { Pool } from \"pg\";\r\n\r\n// Database\r\nexport { db } from \"./lib/db/index\";\r\n","import { drizzle } from \"drizzle-orm/node-postgres\";\r\nimport { Pool } from \"pg\";\r\nimport { serverEnv } from \"~/env\";\r\n\r\nconst pool: Pool = new Pool({\r\n connectionString: serverEnv.DATABASE_URL,\r\n});\r\n\r\nexport const db = drizzle(pool);"],"mappings":";;;;;;AACA,SAAS,QAAAA,aAAY;;;ACDrB,SAAS,eAAe;AACxB,SAAS,YAAY;AAGrB,IAAM,OAAa,IAAI,KAAK;AAAA,EACxB,kBAAkB,UAAU;AAChC,CAAC;AAEM,IAAM,KAAK,QAAQ,IAAI;","names":["Pool"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wcz-test",
|
|
3
|
-
"version": "6.4.
|
|
3
|
+
"version": "6.4.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"type": "module",
|
|
@@ -8,6 +8,10 @@
|
|
|
8
8
|
"module": "dist/index.js",
|
|
9
9
|
"types": "dist/index.d.ts",
|
|
10
10
|
"exports": {
|
|
11
|
+
"./client-utils": {
|
|
12
|
+
"types": "./dist/client-utils.d.ts",
|
|
13
|
+
"import": "./dist/client-utils.js"
|
|
14
|
+
},
|
|
11
15
|
"./components": {
|
|
12
16
|
"types": "./dist/components.d.ts",
|
|
13
17
|
"import": "./dist/components.js"
|
|
@@ -28,9 +32,9 @@
|
|
|
28
32
|
"types": "./dist/queries.d.ts",
|
|
29
33
|
"import": "./dist/queries.js"
|
|
30
34
|
},
|
|
31
|
-
"./utils": {
|
|
32
|
-
"types": "./dist/utils.d.ts",
|
|
33
|
-
"import": "./dist/utils.js"
|
|
35
|
+
"./server-utils": {
|
|
36
|
+
"types": "./dist/server-utils.d.ts",
|
|
37
|
+
"import": "./dist/server-utils.js"
|
|
34
38
|
}
|
|
35
39
|
},
|
|
36
40
|
"files": [
|
|
@@ -49,15 +53,16 @@
|
|
|
49
53
|
"@t3-oss/env-core": "^0.13.8",
|
|
50
54
|
"@types/pg": "^8.15.6",
|
|
51
55
|
"axios": "^1.13.2",
|
|
56
|
+
"better-auth": "^1.3.34",
|
|
52
57
|
"file-saver": "^2.0.5",
|
|
58
|
+
"i18next": "^25.6.2",
|
|
59
|
+
"i18next-browser-languagedetector": "^8.2.0",
|
|
53
60
|
"pg": "^8.16.3",
|
|
54
61
|
"react-dropzone": "^14.3.8",
|
|
62
|
+
"react-i18next": "^16.3.0",
|
|
55
63
|
"react-number-format": "^5.4.4",
|
|
56
64
|
"tus-js-client": "^4.3.1",
|
|
57
|
-
"uuidv7": "^1.0.2"
|
|
58
|
-
"i18next": "^25.6.2",
|
|
59
|
-
"i18next-browser-languagedetector": "^8.2.0",
|
|
60
|
-
"react-i18next": "^16.3.0"
|
|
65
|
+
"uuidv7": "^1.0.2"
|
|
61
66
|
},
|
|
62
67
|
"devDependencies": {
|
|
63
68
|
"@tanstack/eslint-config": "^0.3.2",
|
|
@@ -92,9 +97,8 @@
|
|
|
92
97
|
"@tanstack/react-router": "1.x",
|
|
93
98
|
"@tanstack/react-router-ssr-query": "1.x",
|
|
94
99
|
"@tanstack/react-start": "1.x",
|
|
95
|
-
"better-auth": "1.x",
|
|
96
100
|
"dayjs": "1.x",
|
|
97
|
-
"drizzle-orm": "
|
|
101
|
+
"drizzle-orm": "0.x",
|
|
98
102
|
"react": "19.x",
|
|
99
103
|
"react-dom": "19.x",
|
|
100
104
|
"zod": "4.x"
|
package/dist/utils.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/utils.ts"],"sourcesContent":["export { Platform, rootRouteHead, httpClient } from \"./lib/utils\";\r\nexport { authClient } from \"./lib/auth/auth-client\";\r\nexport { WISTRON_PRIMARY_COLOR, WISTRON_SECONDARY_COLOR } from \"./hooks/ThemeHook\";\r\n\r\n// UUID\r\nexport { uuidv7 } from \"uuidv7\";\r\n\r\n// ENV\r\nexport { createEnv } from \"@t3-oss/env-core\";\r\n\r\n// Internationalization\r\nexport { t } from \"i18next\";\r\nexport { default as i18n } from \"i18next\";\r\nexport { initReactI18next, useTranslation } from \"react-i18next\";\r\nexport { default as LanguageDetector } from \"i18next-browser-languagedetector\";\r\n\r\n// PostgreSQL\r\nexport { Pool } from \"pg\";\r\n"],"mappings":";;;;;;;;;;;;;;AAKA,SAAS,cAAc;AAGvB,SAAS,iBAAiB;AAG1B,SAAS,SAAS;AAClB,SAAoB,WAAXA,gBAAuB;AAChC,SAAS,kBAAkB,sBAAsB;AACjD,SAAoB,WAAXA,gBAAmC;AAG5C,SAAS,YAAY;","names":["default"]}
|
|
@@ -205,11 +205,11 @@ declare const ApprovalSchema: z__default.ZodObject<{
|
|
|
205
205
|
type Approval = z__default.infer<typeof ApprovalSchema>;
|
|
206
206
|
declare const CreateApprovalSchema: z__default.ZodObject<{
|
|
207
207
|
number: z__default.ZodOptional<z__default.ZodString>;
|
|
208
|
+
id: z__default.ZodUUID;
|
|
208
209
|
type: z__default.ZodOptional<z__default.ZodDefault<z__default.ZodEnum<{
|
|
209
210
|
Single: "Single";
|
|
210
211
|
Batch: "Batch";
|
|
211
212
|
}>>>;
|
|
212
|
-
id: z__default.ZodUUID;
|
|
213
213
|
applicationName: z__default.ZodString;
|
|
214
214
|
emailBody: z__default.ZodString;
|
|
215
215
|
approvalFlows: z__default.ZodArray<z__default.ZodObject<{
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|