sa2kit 1.6.60 → 1.6.62
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/UniversalFileService-C3WQAFOV.js +15 -0
- package/dist/{UniversalFileService-J6ET6KZK.js.map → UniversalFileService-C3WQAFOV.js.map} +1 -1
- package/dist/UniversalFileService-O3IEROBN.mjs +6 -0
- package/dist/{UniversalFileService-336GFY6N.mjs.map → UniversalFileService-O3IEROBN.mjs.map} +1 -1
- package/dist/ai/llm/index.d.mts +70 -0
- package/dist/ai/llm/index.d.ts +70 -0
- package/dist/ai/llm/index.js +54 -0
- package/dist/ai/llm/index.js.map +1 -0
- package/dist/ai/llm/index.mjs +5 -0
- package/dist/ai/llm/index.mjs.map +1 -0
- package/dist/ai/llm/ui/electron/index.d.mts +5 -0
- package/dist/ai/llm/ui/electron/index.d.ts +5 -0
- package/dist/ai/llm/ui/electron/index.js +21 -0
- package/dist/ai/llm/ui/electron/index.js.map +1 -0
- package/dist/ai/llm/ui/electron/index.mjs +8 -0
- package/dist/ai/llm/ui/electron/index.mjs.map +1 -0
- package/dist/ai/llm/ui/miniapp/index.d.mts +9 -0
- package/dist/ai/llm/ui/miniapp/index.d.ts +9 -0
- package/dist/ai/llm/ui/miniapp/index.js +107 -0
- package/dist/ai/llm/ui/miniapp/index.js.map +1 -0
- package/dist/ai/llm/ui/miniapp/index.mjs +101 -0
- package/dist/ai/llm/ui/miniapp/index.mjs.map +1 -0
- package/dist/ai/llm/ui/rn/index.d.mts +9 -0
- package/dist/ai/llm/ui/rn/index.d.ts +9 -0
- package/dist/ai/llm/ui/rn/index.js +249 -0
- package/dist/ai/llm/ui/rn/index.js.map +1 -0
- package/dist/ai/llm/ui/rn/index.mjs +243 -0
- package/dist/ai/llm/ui/rn/index.mjs.map +1 -0
- package/dist/ai/llm/ui/web/index.d.mts +15 -0
- package/dist/ai/llm/ui/web/index.d.ts +15 -0
- package/dist/ai/llm/ui/web/index.js +21 -0
- package/dist/ai/llm/ui/web/index.js.map +1 -0
- package/dist/ai/llm/ui/web/index.mjs +8 -0
- package/dist/ai/llm/ui/web/index.mjs.map +1 -0
- package/dist/ar/index.d.mts +7 -0
- package/dist/ar/index.d.ts +7 -0
- package/dist/ar/index.js +17 -0
- package/dist/ar/index.js.map +1 -0
- package/dist/ar/index.mjs +4 -0
- package/dist/ar/index.mjs.map +1 -0
- package/dist/auth/index.js +22 -22
- package/dist/auth/index.mjs +2 -2
- package/dist/auth/legacy/db/index.d.mts +5 -0
- package/dist/auth/legacy/db/index.d.ts +5 -0
- package/dist/auth/legacy/db/index.js +34 -0
- package/dist/auth/legacy/db/index.js.map +1 -0
- package/dist/auth/legacy/db/index.mjs +5 -0
- package/dist/auth/legacy/db/index.mjs.map +1 -0
- package/dist/auth/legacy/index.d.mts +51 -0
- package/dist/auth/legacy/index.d.ts +51 -0
- package/dist/auth/legacy/index.js +146 -0
- package/dist/auth/legacy/index.js.map +1 -0
- package/dist/auth/legacy/index.mjs +13 -0
- package/dist/auth/legacy/index.mjs.map +1 -0
- package/dist/auth/legacy/logic/index.d.mts +9 -0
- package/dist/auth/legacy/logic/index.d.ts +9 -0
- package/dist/auth/legacy/logic/index.js +18 -0
- package/dist/auth/legacy/logic/index.js.map +1 -0
- package/dist/auth/legacy/logic/index.mjs +5 -0
- package/dist/auth/legacy/logic/index.mjs.map +1 -0
- package/dist/auth/legacy/routes/index.d.mts +50 -0
- package/dist/auth/legacy/routes/index.d.ts +50 -0
- package/dist/auth/legacy/routes/index.js +34 -0
- package/dist/auth/legacy/routes/index.js.map +1 -0
- package/dist/auth/legacy/routes/index.mjs +5 -0
- package/dist/auth/legacy/routes/index.mjs.map +1 -0
- package/dist/auth/legacy/schema/index.d.mts +401 -0
- package/dist/auth/legacy/schema/index.d.ts +401 -0
- package/dist/auth/legacy/schema/index.js +29 -0
- package/dist/auth/legacy/schema/index.js.map +1 -0
- package/dist/auth/legacy/schema/index.mjs +4 -0
- package/dist/auth/legacy/schema/index.mjs.map +1 -0
- package/dist/auth/legacy/server/index.d.mts +15 -0
- package/dist/auth/legacy/server/index.d.ts +15 -0
- package/dist/auth/legacy/server/index.js +65 -0
- package/dist/auth/legacy/server/index.js.map +1 -0
- package/dist/auth/legacy/server/index.mjs +8 -0
- package/dist/auth/legacy/server/index.mjs.map +1 -0
- package/dist/auth/legacy/services/index.d.mts +40 -0
- package/dist/auth/legacy/services/index.d.ts +40 -0
- package/dist/auth/legacy/services/index.js +14 -0
- package/dist/auth/legacy/services/index.js.map +1 -0
- package/dist/auth/legacy/services/index.mjs +5 -0
- package/dist/auth/legacy/services/index.mjs.map +1 -0
- package/dist/auth/legacy/ui/miniapp/index.d.mts +10 -0
- package/dist/auth/legacy/ui/miniapp/index.d.ts +10 -0
- package/dist/auth/legacy/ui/miniapp/index.js +23 -0
- package/dist/auth/legacy/ui/miniapp/index.js.map +1 -0
- package/dist/auth/legacy/ui/miniapp/index.mjs +6 -0
- package/dist/auth/legacy/ui/miniapp/index.mjs.map +1 -0
- package/dist/auth/legacy/ui/web/index.d.mts +22 -0
- package/dist/auth/legacy/ui/web/index.d.ts +22 -0
- package/dist/auth/legacy/ui/web/index.js +31 -0
- package/dist/auth/legacy/ui/web/index.js.map +1 -0
- package/dist/auth/legacy/ui/web/index.mjs +6 -0
- package/dist/auth/legacy/ui/web/index.mjs.map +1 -0
- package/dist/calendar/index.d.mts +390 -237
- package/dist/calendar/index.d.ts +390 -237
- package/dist/calendar/index.js +3825 -3785
- package/dist/calendar/index.js.map +1 -1
- package/dist/calendar/index.mjs +3730 -3696
- package/dist/calendar/index.mjs.map +1 -1
- package/dist/calendar/routes/index.js +30 -327
- package/dist/calendar/routes/index.js.map +1 -1
- package/dist/calendar/routes/index.mjs +1 -323
- package/dist/calendar/routes/index.mjs.map +1 -1
- package/dist/calendar/server.d.mts +6 -0
- package/dist/calendar/server.d.ts +6 -0
- package/dist/calendar/server.js +41 -13
- package/dist/calendar/server.js.map +1 -1
- package/dist/calendar/server.mjs +2 -2
- package/dist/calendar/server.mjs.map +1 -1
- package/dist/chunk-24F7KUED.js +263 -0
- package/dist/chunk-24F7KUED.js.map +1 -0
- package/dist/{chunk-YMS6BPXS.js → chunk-27IUMDDK.js} +3 -3
- package/dist/{chunk-YMS6BPXS.js.map → chunk-27IUMDDK.js.map} +1 -1
- package/dist/chunk-37M6NZIF.js +279 -0
- package/dist/chunk-37M6NZIF.js.map +1 -0
- package/dist/chunk-3JMUNOUT.js +144 -0
- package/dist/chunk-3JMUNOUT.js.map +1 -0
- package/dist/chunk-3PFCOTJP.mjs +256 -0
- package/dist/chunk-3PFCOTJP.mjs.map +1 -0
- package/dist/{chunk-NZZZUMMX.mjs → chunk-57MVE5LL.mjs} +3 -3
- package/dist/{chunk-NZZZUMMX.mjs.map → chunk-57MVE5LL.mjs.map} +1 -1
- package/dist/{chunk-622Y6LTH.mjs → chunk-5BLZEVWK.mjs} +196 -468
- package/dist/chunk-5BLZEVWK.mjs.map +1 -0
- package/dist/{chunk-YN4MJFIG.js → chunk-5LCGOCKG.js} +5 -5
- package/dist/{chunk-YN4MJFIG.js.map → chunk-5LCGOCKG.js.map} +1 -1
- package/dist/chunk-6XUQ2B4K.js +219 -0
- package/dist/chunk-6XUQ2B4K.js.map +1 -0
- package/dist/{chunk-NCOXT7SK.js → chunk-77UEPWVQ.js} +4 -4
- package/dist/{chunk-NCOXT7SK.js.map → chunk-77UEPWVQ.js.map} +1 -1
- package/dist/chunk-CFM56MGO.mjs +35 -0
- package/dist/chunk-CFM56MGO.mjs.map +1 -0
- package/dist/chunk-CPSFYP34.mjs +140 -0
- package/dist/chunk-CPSFYP34.mjs.map +1 -0
- package/dist/chunk-D22QBOCM.mjs +336 -0
- package/dist/chunk-D22QBOCM.mjs.map +1 -0
- package/dist/chunk-DA4QV64P.mjs +35 -0
- package/dist/chunk-DA4QV64P.mjs.map +1 -0
- package/dist/chunk-EKDLZND6.js +275 -0
- package/dist/chunk-EKDLZND6.js.map +1 -0
- package/dist/chunk-EKQPFZXQ.js +12 -0
- package/dist/chunk-EKQPFZXQ.js.map +1 -0
- package/dist/chunk-ERAAB5VG.js +324 -0
- package/dist/chunk-ERAAB5VG.js.map +1 -0
- package/dist/chunk-ESLY72VI.mjs +175 -0
- package/dist/chunk-ESLY72VI.mjs.map +1 -0
- package/dist/chunk-FGQGWW73.js +38 -0
- package/dist/chunk-FGQGWW73.js.map +1 -0
- package/dist/chunk-FXQOXLDE.js +120 -0
- package/dist/chunk-FXQOXLDE.js.map +1 -0
- package/dist/chunk-FZELCJR7.mjs +19 -0
- package/dist/chunk-FZELCJR7.mjs.map +1 -0
- package/dist/{chunk-HHVDOIPV.js → chunk-H3P2PGZL.js} +3 -3
- package/dist/{chunk-HHVDOIPV.js.map → chunk-H3P2PGZL.js.map} +1 -1
- package/dist/chunk-HBQMN5QM.mjs +10 -0
- package/dist/chunk-HBQMN5QM.mjs.map +1 -0
- package/dist/chunk-ITRIXMXF.mjs +862 -0
- package/dist/chunk-ITRIXMXF.mjs.map +1 -0
- package/dist/chunk-IUWSCUDC.js +4 -0
- package/dist/chunk-IUWSCUDC.js.map +1 -0
- package/dist/chunk-JCKCKRC2.js +50 -0
- package/dist/chunk-JCKCKRC2.js.map +1 -0
- package/dist/chunk-L7GQNY54.mjs +286 -0
- package/dist/chunk-L7GQNY54.mjs.map +1 -0
- package/dist/{chunk-ZRWED7Q6.js → chunk-LDVJ7URJ.js} +235 -520
- package/dist/chunk-LDVJ7URJ.js.map +1 -0
- package/dist/{chunk-CYTXGBP2.js → chunk-MLP74E3O.js} +573 -1607
- package/dist/chunk-MLP74E3O.js.map +1 -0
- package/dist/chunk-NAX4TUT7.js +182 -0
- package/dist/chunk-NAX4TUT7.js.map +1 -0
- package/dist/chunk-NW4EN4YI.mjs +213 -0
- package/dist/chunk-NW4EN4YI.mjs.map +1 -0
- package/dist/chunk-P3QMT3AY.mjs +44 -0
- package/dist/chunk-P3QMT3AY.mjs.map +1 -0
- package/dist/chunk-PJ4KYAQZ.mjs +631 -0
- package/dist/chunk-PJ4KYAQZ.mjs.map +1 -0
- package/dist/chunk-PLSEAREM.js +345 -0
- package/dist/chunk-PLSEAREM.js.map +1 -0
- package/dist/{chunk-EGJPS7OL.mjs → chunk-QZU4UJZG.mjs} +3 -3
- package/dist/{chunk-EGJPS7OL.mjs.map → chunk-QZU4UJZG.mjs.map} +1 -1
- package/dist/chunk-RJVR33ME.mjs +3 -0
- package/dist/chunk-RJVR33ME.mjs.map +1 -0
- package/dist/chunk-SYBHDB2D.js +650 -0
- package/dist/chunk-SYBHDB2D.js.map +1 -0
- package/dist/chunk-TVKVM7JT.js +21 -0
- package/dist/chunk-TVKVM7JT.js.map +1 -0
- package/dist/{chunk-PONZPO3U.mjs → chunk-UTB72ZJ7.mjs} +414 -1448
- package/dist/chunk-UTB72ZJ7.mjs.map +1 -0
- package/dist/chunk-V7EVKD5G.mjs +116 -0
- package/dist/chunk-V7EVKD5G.mjs.map +1 -0
- package/dist/chunk-VGPR3KLR.js +872 -0
- package/dist/chunk-VGPR3KLR.js.map +1 -0
- package/dist/chunk-VS7WATQD.js +255 -0
- package/dist/chunk-VS7WATQD.js.map +1 -0
- package/dist/chunk-VSP7XJT5.mjs +272 -0
- package/dist/chunk-VSP7XJT5.mjs.map +1 -0
- package/dist/{chunk-CSDIPQQO.mjs → chunk-VTKAIOP5.mjs} +5 -5
- package/dist/{chunk-CSDIPQQO.mjs.map → chunk-VTKAIOP5.mjs.map} +1 -1
- package/dist/chunk-VULJUXTF.mjs +267 -0
- package/dist/chunk-VULJUXTF.mjs.map +1 -0
- package/dist/chunk-XAHM6B3V.js +44 -0
- package/dist/chunk-XAHM6B3V.js.map +1 -0
- package/dist/chunk-YSF5YISM.mjs +248 -0
- package/dist/chunk-YSF5YISM.mjs.map +1 -0
- package/dist/{chunk-OFYBMMWT.mjs → chunk-YYJEVAJI.mjs} +3 -3
- package/dist/{chunk-OFYBMMWT.mjs.map → chunk-YYJEVAJI.mjs.map} +1 -1
- package/dist/components/index.d.mts +1 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +182 -181
- package/dist/components/index.mjs +4 -3
- package/dist/index-DNKZ7-R_.d.mts +184 -0
- package/dist/index-DNKZ7-R_.d.ts +184 -0
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +285 -229
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -10
- package/dist/index.mjs.map +1 -1
- package/dist/mikuFusionGame/index.js +3 -3
- package/dist/mikuFusionGame/index.mjs +2 -2
- package/dist/mmd/index.d.mts +67 -9
- package/dist/mmd/index.d.ts +67 -9
- package/dist/mmd/index.js +969 -625
- package/dist/mmd/index.js.map +1 -1
- package/dist/mmd/index.mjs +969 -628
- package/dist/mmd/index.mjs.map +1 -1
- package/dist/portfolio/index.js +10 -9
- package/dist/portfolio/index.mjs +5 -4
- package/dist/qqbot/index.d.mts +2 -0
- package/dist/qqbot/index.d.ts +2 -0
- package/dist/qqbot/index.js +21 -0
- package/dist/qqbot/index.js.map +1 -0
- package/dist/qqbot/index.mjs +4 -0
- package/dist/qqbot/index.mjs.map +1 -0
- package/dist/qqbot/server/index.d.mts +91 -0
- package/dist/qqbot/server/index.d.ts +91 -0
- package/dist/qqbot/server/index.js +21 -0
- package/dist/qqbot/server/index.js.map +1 -0
- package/dist/qqbot/server/index.mjs +4 -0
- package/dist/qqbot/server/index.mjs.map +1 -0
- package/dist/qqbot/ui/web/index.d.mts +10 -0
- package/dist/qqbot/ui/web/index.d.ts +10 -0
- package/dist/qqbot/ui/web/index.js +105 -0
- package/dist/qqbot/ui/web/index.js.map +1 -0
- package/dist/qqbot/ui/web/index.mjs +99 -0
- package/dist/qqbot/ui/web/index.mjs.map +1 -0
- package/dist/screenReceiver/index.d.mts +78 -0
- package/dist/screenReceiver/index.d.ts +78 -0
- package/dist/screenReceiver/index.js +17 -0
- package/dist/screenReceiver/index.js.map +1 -0
- package/dist/screenReceiver/index.mjs +4 -0
- package/dist/screenReceiver/index.mjs.map +1 -0
- package/dist/screenReceiver/server/index.d.mts +36 -0
- package/dist/screenReceiver/server/index.d.ts +36 -0
- package/dist/screenReceiver/server/index.js +160 -0
- package/dist/screenReceiver/server/index.js.map +1 -0
- package/dist/screenReceiver/server/index.mjs +157 -0
- package/dist/screenReceiver/server/index.mjs.map +1 -0
- package/dist/showmasterpiece/db/index.js +42 -42
- package/dist/showmasterpiece/db/index.mjs +1 -1
- package/dist/showmasterpiece/index.js +52 -41
- package/dist/showmasterpiece/index.js.map +1 -1
- package/dist/showmasterpiece/index.mjs +15 -4
- package/dist/showmasterpiece/index.mjs.map +1 -1
- package/dist/showmasterpiece/server/index.js +42 -42
- package/dist/showmasterpiece/server/index.mjs +1 -1
- package/dist/showmasterpiece/ui/miniapp/index.d.mts +2 -0
- package/dist/showmasterpiece/ui/miniapp/index.d.ts +2 -0
- package/dist/showmasterpiece/ui/miniapp/index.js +83 -55
- package/dist/showmasterpiece/ui/miniapp/index.js.map +1 -1
- package/dist/showmasterpiece/ui/miniapp/index.mjs +83 -55
- package/dist/showmasterpiece/ui/miniapp/index.mjs.map +1 -1
- package/dist/showmasterpiece/ui/web/index.js +43 -32
- package/dist/showmasterpiece/ui/web/index.mjs +15 -4
- package/dist/testYourself/index.js +13 -13
- package/dist/testYourself/index.mjs +2 -2
- package/dist/types-B-hOccQw.d.mts +122 -0
- package/dist/types-B8rGXc4e.d.mts +38 -0
- package/dist/types-Cg89HGz2.d.ts +38 -0
- package/dist/types-CvKvpyN8.d.mts +48 -0
- package/dist/types-CvKvpyN8.d.ts +48 -0
- package/dist/types-Dy6x2gJW.d.ts +122 -0
- package/dist/universalFile/server/index.js +11 -11
- package/dist/universalFile/server/index.mjs +4 -4
- package/package.json +101 -1
- package/dist/UniversalFileService-336GFY6N.mjs +0 -6
- package/dist/UniversalFileService-J6ET6KZK.js +0 -15
- package/dist/chunk-622Y6LTH.mjs.map +0 -1
- package/dist/chunk-CYTXGBP2.js.map +0 -1
- package/dist/chunk-GVVS4IMM.mjs +0 -302
- package/dist/chunk-GVVS4IMM.mjs.map +0 -1
- package/dist/chunk-PONZPO3U.mjs.map +0 -1
- package/dist/chunk-WC5QFO3T.js +0 -314
- package/dist/chunk-WC5QFO3T.js.map +0 -1
- package/dist/chunk-ZRWED7Q6.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
package/dist/auth/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var chunk24HGREE6_js = require('../chunk-24HGREE6.js');
|
|
4
|
+
var chunkUL6XJGUZ_js = require('../chunk-UL6XJGUZ.js');
|
|
4
5
|
var chunkGBPLX42J_js = require('../chunk-GBPLX42J.js');
|
|
5
6
|
var chunk6OWNMJKG_js = require('../chunk-6OWNMJKG.js');
|
|
6
|
-
var chunkUL6XJGUZ_js = require('../chunk-UL6XJGUZ.js');
|
|
7
|
-
var chunk5QMBZP7S_js = require('../chunk-5QMBZP7S.js');
|
|
8
7
|
var chunk7VRT55ZD_js = require('../chunk-7VRT55ZD.js');
|
|
9
8
|
var chunkSVWQN2LR_js = require('../chunk-SVWQN2LR.js');
|
|
9
|
+
var chunk5QMBZP7S_js = require('../chunk-5QMBZP7S.js');
|
|
10
10
|
require('../chunk-Z6ZWNWWR.js');
|
|
11
11
|
|
|
12
12
|
|
|
@@ -19,6 +19,18 @@ Object.defineProperty(exports, "validateApiAuthNumeric", {
|
|
|
19
19
|
enumerable: true,
|
|
20
20
|
get: function () { return chunk24HGREE6_js.validateApiAuthNumeric; }
|
|
21
21
|
});
|
|
22
|
+
Object.defineProperty(exports, "API_ROUTES", {
|
|
23
|
+
enumerable: true,
|
|
24
|
+
get: function () { return chunkUL6XJGUZ_js.API_ROUTES; }
|
|
25
|
+
});
|
|
26
|
+
Object.defineProperty(exports, "BaseApiClient", {
|
|
27
|
+
enumerable: true,
|
|
28
|
+
get: function () { return chunkUL6XJGUZ_js.BaseApiClient; }
|
|
29
|
+
});
|
|
30
|
+
Object.defineProperty(exports, "STORAGE_KEYS", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function () { return chunkUL6XJGUZ_js.STORAGE_KEYS; }
|
|
33
|
+
});
|
|
22
34
|
Object.defineProperty(exports, "createAnalyticsAdapter", {
|
|
23
35
|
enumerable: true,
|
|
24
36
|
get: function () { return chunkGBPLX42J_js.createAnalyticsAdapter; }
|
|
@@ -71,26 +83,6 @@ Object.defineProperty(exports, "createAuthMiddleware", {
|
|
|
71
83
|
enumerable: true,
|
|
72
84
|
get: function () { return chunk6OWNMJKG_js.createAuthMiddleware; }
|
|
73
85
|
});
|
|
74
|
-
Object.defineProperty(exports, "API_ROUTES", {
|
|
75
|
-
enumerable: true,
|
|
76
|
-
get: function () { return chunkUL6XJGUZ_js.API_ROUTES; }
|
|
77
|
-
});
|
|
78
|
-
Object.defineProperty(exports, "BaseApiClient", {
|
|
79
|
-
enumerable: true,
|
|
80
|
-
get: function () { return chunkUL6XJGUZ_js.BaseApiClient; }
|
|
81
|
-
});
|
|
82
|
-
Object.defineProperty(exports, "STORAGE_KEYS", {
|
|
83
|
-
enumerable: true,
|
|
84
|
-
get: function () { return chunkUL6XJGUZ_js.STORAGE_KEYS; }
|
|
85
|
-
});
|
|
86
|
-
Object.defineProperty(exports, "useAuth", {
|
|
87
|
-
enumerable: true,
|
|
88
|
-
get: function () { return chunk5QMBZP7S_js.useAuth; }
|
|
89
|
-
});
|
|
90
|
-
Object.defineProperty(exports, "useAuthForm", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function () { return chunk5QMBZP7S_js.useAuthForm; }
|
|
93
|
-
});
|
|
94
86
|
Object.defineProperty(exports, "DrizzleAuthService", {
|
|
95
87
|
enumerable: true,
|
|
96
88
|
get: function () { return chunk7VRT55ZD_js.DrizzleAuthService; }
|
|
@@ -147,5 +139,13 @@ Object.defineProperty(exports, "verifications", {
|
|
|
147
139
|
enumerable: true,
|
|
148
140
|
get: function () { return chunkSVWQN2LR_js.verifications; }
|
|
149
141
|
});
|
|
142
|
+
Object.defineProperty(exports, "useAuth", {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () { return chunk5QMBZP7S_js.useAuth; }
|
|
145
|
+
});
|
|
146
|
+
Object.defineProperty(exports, "useAuthForm", {
|
|
147
|
+
enumerable: true,
|
|
148
|
+
get: function () { return chunk5QMBZP7S_js.useAuthForm; }
|
|
149
|
+
});
|
|
150
150
|
//# sourceMappingURL=index.js.map
|
|
151
151
|
//# sourceMappingURL=index.js.map
|
package/dist/auth/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export { validateApiAuth, validateApiAuthNumeric } from '../chunk-LJ4CCSSY.mjs';
|
|
2
|
+
export { API_ROUTES, BaseApiClient, STORAGE_KEYS } from '../chunk-KZKIH4AS.mjs';
|
|
2
3
|
export { createAnalyticsAdapter, createDefaultBaseConfig, createDefaultLoginConfig, createDefaultRegisterConfig, createLoginHandler, createLoginOptionsHandler, createLogoutHandler, createLogoutOptionsHandler, createMeHandler, createMeOptionsHandler, createRegisterHandler, createRegisterOptionsHandler } from '../chunk-Z36R3P62.mjs';
|
|
3
4
|
export { createAuthMiddleware } from '../chunk-52TN2QSS.mjs';
|
|
4
|
-
export { API_ROUTES, BaseApiClient, STORAGE_KEYS } from '../chunk-KZKIH4AS.mjs';
|
|
5
|
-
export { useAuth, useAuthForm } from '../chunk-KW5JH6V6.mjs';
|
|
6
5
|
export { DrizzleAuthService, generateToken, getTokenFromRequest, hashPassword, verifyJwtToken, verifyPassword } from '../chunk-PE5EAHZK.mjs';
|
|
7
6
|
export { account, accountRelations, session, sessionRelations, user, userRelations, userRole, verifications } from '../chunk-AIKEVVDR.mjs';
|
|
7
|
+
export { useAuth, useAuthForm } from '../chunk-KW5JH6V6.mjs';
|
|
8
8
|
import '../chunk-WMJKH4XE.mjs';
|
|
9
9
|
//# sourceMappingURL=index.mjs.map
|
|
10
10
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from '../schema/index.mjs';
|
|
2
|
+
export { LegacyAuthDbConfig, LegacyAuthDbService } from '../services/index.mjs';
|
|
3
|
+
import 'drizzle-orm';
|
|
4
|
+
import 'drizzle-orm/pg-core';
|
|
5
|
+
import '../../../index-DNKZ7-R_.mjs';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from '../schema/index.js';
|
|
2
|
+
export { LegacyAuthDbConfig, LegacyAuthDbService } from '../services/index.js';
|
|
3
|
+
import 'drizzle-orm';
|
|
4
|
+
import 'drizzle-orm/pg-core';
|
|
5
|
+
import '../../../index-DNKZ7-R_.js';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk6XUQ2B4K_js = require('../../../chunk-6XUQ2B4K.js');
|
|
4
|
+
var chunkJCKCKRC2_js = require('../../../chunk-JCKCKRC2.js');
|
|
5
|
+
require('../../../chunk-Z6ZWNWWR.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "LegacyAuthDbService", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunk6XUQ2B4K_js.LegacyAuthDbService; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "legacyUserSessions", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkJCKCKRC2_js.legacyUserSessions; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "legacyUserSessionsRelations", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkJCKCKRC2_js.legacyUserSessionsRelations; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "legacyUsers", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkJCKCKRC2_js.legacyUsers; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "legacyUsersRelations", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkJCKCKRC2_js.legacyUsersRelations; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "legacyVerificationCodes", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkJCKCKRC2_js.legacyVerificationCodes; }
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { LegacyAuthDbService } from '../../../chunk-NW4EN4YI.mjs';
|
|
2
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from '../../../chunk-P3QMT3AY.mjs';
|
|
3
|
+
import '../../../chunk-WMJKH4XE.mjs';
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|
|
5
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { AuthGuard, ForgotPasswordModal, LoginModal, RegisterModal, UserMenu } from './ui/web/index.mjs';
|
|
2
|
+
export { ForgotPasswordModal as MiniappForgotPasswordModal, LoginModal as MiniappLoginModal, RegisterModal as MiniappRegisterModal } from './ui/miniapp/index.mjs';
|
|
3
|
+
export { AuthProvider, useAuth } from './logic/index.mjs';
|
|
4
|
+
export { LegacyAuthDbConfig, LegacyAuthDbService } from './services/index.mjs';
|
|
5
|
+
import { U as User } from '../../index-DNKZ7-R_.mjs';
|
|
6
|
+
export { A as AuthGuardProps, i as AuthService, C as CustomMenuItem, F as ForgotPasswordModalProps, e as LoginModalProps, L as LoginRequest, b as LoginResponse, f as RegisterModalProps, R as RegisterRequest, c as RegisterResponse, k as SessionConfig, d as SessionValidation, S as SessionValidationResponse, h as UseAuthReturn, g as UserMenuProps, j as UserRole, a as UserSession, V as ValidateApiAuth } from '../../index-DNKZ7-R_.mjs';
|
|
7
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from './schema/index.mjs';
|
|
8
|
+
export { LegacyApiResponse, LegacyCookieOptions, LegacyLoginRouteConfig, LegacyLogoutRouteConfig, LegacyRegisterRouteConfig, LegacyResetPasswordConfig, LegacySendVerificationCodeConfig, LegacyValidateRouteConfig, createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler } from './routes/index.mjs';
|
|
9
|
+
export { LegacyServerConfig, createLegacyValidateApiAuth } from './server/index.mjs';
|
|
10
|
+
import 'react';
|
|
11
|
+
import 'drizzle-orm';
|
|
12
|
+
import 'drizzle-orm/pg-core';
|
|
13
|
+
import 'next/server';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 验证手机号格式
|
|
17
|
+
*/
|
|
18
|
+
declare function validatePhoneNumber(phone: string): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 验证密码强度(可扩展)
|
|
21
|
+
*/
|
|
22
|
+
declare function validatePassword(password: string): {
|
|
23
|
+
valid: boolean;
|
|
24
|
+
message?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* 生成安全的会话令牌
|
|
28
|
+
*/
|
|
29
|
+
declare function generateSessionToken(): string;
|
|
30
|
+
/**
|
|
31
|
+
* 检查用户是否为管理员
|
|
32
|
+
*/
|
|
33
|
+
declare function isAdmin(user: User | null): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 检查用户是否处于活跃状态
|
|
36
|
+
*/
|
|
37
|
+
declare function isActiveUser(user: User | null): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 格式化用户显示名称
|
|
40
|
+
*/
|
|
41
|
+
declare function getUserDisplayName(user: User): string;
|
|
42
|
+
/**
|
|
43
|
+
* 计算会话过期时间
|
|
44
|
+
*/
|
|
45
|
+
declare function calculateSessionExpiry(days?: number): Date;
|
|
46
|
+
/**
|
|
47
|
+
* 检查会话是否过期
|
|
48
|
+
*/
|
|
49
|
+
declare function isSessionExpired(expiresAt: Date): boolean;
|
|
50
|
+
|
|
51
|
+
export { User, calculateSessionExpiry, generateSessionToken, getUserDisplayName, isActiveUser, isAdmin, isSessionExpired, validatePassword, validatePhoneNumber };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
export { AuthGuard, ForgotPasswordModal, LoginModal, RegisterModal, UserMenu } from './ui/web/index.js';
|
|
2
|
+
export { ForgotPasswordModal as MiniappForgotPasswordModal, LoginModal as MiniappLoginModal, RegisterModal as MiniappRegisterModal } from './ui/miniapp/index.js';
|
|
3
|
+
export { AuthProvider, useAuth } from './logic/index.js';
|
|
4
|
+
export { LegacyAuthDbConfig, LegacyAuthDbService } from './services/index.js';
|
|
5
|
+
import { U as User } from '../../index-DNKZ7-R_.js';
|
|
6
|
+
export { A as AuthGuardProps, i as AuthService, C as CustomMenuItem, F as ForgotPasswordModalProps, e as LoginModalProps, L as LoginRequest, b as LoginResponse, f as RegisterModalProps, R as RegisterRequest, c as RegisterResponse, k as SessionConfig, d as SessionValidation, S as SessionValidationResponse, h as UseAuthReturn, g as UserMenuProps, j as UserRole, a as UserSession, V as ValidateApiAuth } from '../../index-DNKZ7-R_.js';
|
|
7
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from './schema/index.js';
|
|
8
|
+
export { LegacyApiResponse, LegacyCookieOptions, LegacyLoginRouteConfig, LegacyLogoutRouteConfig, LegacyRegisterRouteConfig, LegacyResetPasswordConfig, LegacySendVerificationCodeConfig, LegacyValidateRouteConfig, createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler } from './routes/index.js';
|
|
9
|
+
export { LegacyServerConfig, createLegacyValidateApiAuth } from './server/index.js';
|
|
10
|
+
import 'react';
|
|
11
|
+
import 'drizzle-orm';
|
|
12
|
+
import 'drizzle-orm/pg-core';
|
|
13
|
+
import 'next/server';
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* 验证手机号格式
|
|
17
|
+
*/
|
|
18
|
+
declare function validatePhoneNumber(phone: string): boolean;
|
|
19
|
+
/**
|
|
20
|
+
* 验证密码强度(可扩展)
|
|
21
|
+
*/
|
|
22
|
+
declare function validatePassword(password: string): {
|
|
23
|
+
valid: boolean;
|
|
24
|
+
message?: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* 生成安全的会话令牌
|
|
28
|
+
*/
|
|
29
|
+
declare function generateSessionToken(): string;
|
|
30
|
+
/**
|
|
31
|
+
* 检查用户是否为管理员
|
|
32
|
+
*/
|
|
33
|
+
declare function isAdmin(user: User | null): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* 检查用户是否处于活跃状态
|
|
36
|
+
*/
|
|
37
|
+
declare function isActiveUser(user: User | null): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* 格式化用户显示名称
|
|
40
|
+
*/
|
|
41
|
+
declare function getUserDisplayName(user: User): string;
|
|
42
|
+
/**
|
|
43
|
+
* 计算会话过期时间
|
|
44
|
+
*/
|
|
45
|
+
declare function calculateSessionExpiry(days?: number): Date;
|
|
46
|
+
/**
|
|
47
|
+
* 检查会话是否过期
|
|
48
|
+
*/
|
|
49
|
+
declare function isSessionExpired(expiresAt: Date): boolean;
|
|
50
|
+
|
|
51
|
+
export { User, calculateSessionExpiry, generateSessionToken, getUserDisplayName, isActiveUser, isAdmin, isSessionExpired, validatePassword, validatePhoneNumber };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkEKQPFZXQ_js = require('../../chunk-EKQPFZXQ.js');
|
|
4
|
+
var chunkTVKVM7JT_js = require('../../chunk-TVKVM7JT.js');
|
|
5
|
+
var chunkVGPR3KLR_js = require('../../chunk-VGPR3KLR.js');
|
|
6
|
+
var chunkEKDLZND6_js = require('../../chunk-EKDLZND6.js');
|
|
7
|
+
var chunkVS7WATQD_js = require('../../chunk-VS7WATQD.js');
|
|
8
|
+
var chunkXAHM6B3V_js = require('../../chunk-XAHM6B3V.js');
|
|
9
|
+
require('../../chunk-IUWSCUDC.js');
|
|
10
|
+
var chunkNAX4TUT7_js = require('../../chunk-NAX4TUT7.js');
|
|
11
|
+
var chunk6XUQ2B4K_js = require('../../chunk-6XUQ2B4K.js');
|
|
12
|
+
var chunkJCKCKRC2_js = require('../../chunk-JCKCKRC2.js');
|
|
13
|
+
require('../../chunk-Z6ZWNWWR.js');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
Object.defineProperty(exports, "UserRole", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkEKQPFZXQ_js.UserRole; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "createLegacyValidateApiAuth", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkTVKVM7JT_js.createLegacyValidateApiAuth; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "AuthGuard", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkVGPR3KLR_js.AuthGuard; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "ForgotPasswordModal", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkVGPR3KLR_js.ForgotPasswordModal; }
|
|
32
|
+
});
|
|
33
|
+
Object.defineProperty(exports, "LoginModal", {
|
|
34
|
+
enumerable: true,
|
|
35
|
+
get: function () { return chunkVGPR3KLR_js.LoginModal; }
|
|
36
|
+
});
|
|
37
|
+
Object.defineProperty(exports, "RegisterModal", {
|
|
38
|
+
enumerable: true,
|
|
39
|
+
get: function () { return chunkVGPR3KLR_js.RegisterModal; }
|
|
40
|
+
});
|
|
41
|
+
Object.defineProperty(exports, "UserMenu", {
|
|
42
|
+
enumerable: true,
|
|
43
|
+
get: function () { return chunkVGPR3KLR_js.UserMenu; }
|
|
44
|
+
});
|
|
45
|
+
Object.defineProperty(exports, "MiniappForgotPasswordModal", {
|
|
46
|
+
enumerable: true,
|
|
47
|
+
get: function () { return chunkEKDLZND6_js.ForgotPasswordModal; }
|
|
48
|
+
});
|
|
49
|
+
Object.defineProperty(exports, "MiniappLoginModal", {
|
|
50
|
+
enumerable: true,
|
|
51
|
+
get: function () { return chunkEKDLZND6_js.LoginModal; }
|
|
52
|
+
});
|
|
53
|
+
Object.defineProperty(exports, "MiniappRegisterModal", {
|
|
54
|
+
enumerable: true,
|
|
55
|
+
get: function () { return chunkEKDLZND6_js.RegisterModal; }
|
|
56
|
+
});
|
|
57
|
+
Object.defineProperty(exports, "createLegacyLoginHandler", {
|
|
58
|
+
enumerable: true,
|
|
59
|
+
get: function () { return chunkVS7WATQD_js.createLegacyLoginHandler; }
|
|
60
|
+
});
|
|
61
|
+
Object.defineProperty(exports, "createLegacyLogoutHandler", {
|
|
62
|
+
enumerable: true,
|
|
63
|
+
get: function () { return chunkVS7WATQD_js.createLegacyLogoutHandler; }
|
|
64
|
+
});
|
|
65
|
+
Object.defineProperty(exports, "createLegacyRegisterHandler", {
|
|
66
|
+
enumerable: true,
|
|
67
|
+
get: function () { return chunkVS7WATQD_js.createLegacyRegisterHandler; }
|
|
68
|
+
});
|
|
69
|
+
Object.defineProperty(exports, "createLegacyResetPasswordHandler", {
|
|
70
|
+
enumerable: true,
|
|
71
|
+
get: function () { return chunkVS7WATQD_js.createLegacyResetPasswordHandler; }
|
|
72
|
+
});
|
|
73
|
+
Object.defineProperty(exports, "createLegacySendVerificationCodeHandler", {
|
|
74
|
+
enumerable: true,
|
|
75
|
+
get: function () { return chunkVS7WATQD_js.createLegacySendVerificationCodeHandler; }
|
|
76
|
+
});
|
|
77
|
+
Object.defineProperty(exports, "createLegacyValidateHandler", {
|
|
78
|
+
enumerable: true,
|
|
79
|
+
get: function () { return chunkVS7WATQD_js.createLegacyValidateHandler; }
|
|
80
|
+
});
|
|
81
|
+
Object.defineProperty(exports, "calculateSessionExpiry", {
|
|
82
|
+
enumerable: true,
|
|
83
|
+
get: function () { return chunkXAHM6B3V_js.calculateSessionExpiry; }
|
|
84
|
+
});
|
|
85
|
+
Object.defineProperty(exports, "generateSessionToken", {
|
|
86
|
+
enumerable: true,
|
|
87
|
+
get: function () { return chunkXAHM6B3V_js.generateSessionToken; }
|
|
88
|
+
});
|
|
89
|
+
Object.defineProperty(exports, "getUserDisplayName", {
|
|
90
|
+
enumerable: true,
|
|
91
|
+
get: function () { return chunkXAHM6B3V_js.getUserDisplayName; }
|
|
92
|
+
});
|
|
93
|
+
Object.defineProperty(exports, "isActiveUser", {
|
|
94
|
+
enumerable: true,
|
|
95
|
+
get: function () { return chunkXAHM6B3V_js.isActiveUser; }
|
|
96
|
+
});
|
|
97
|
+
Object.defineProperty(exports, "isAdmin", {
|
|
98
|
+
enumerable: true,
|
|
99
|
+
get: function () { return chunkXAHM6B3V_js.isAdmin; }
|
|
100
|
+
});
|
|
101
|
+
Object.defineProperty(exports, "isSessionExpired", {
|
|
102
|
+
enumerable: true,
|
|
103
|
+
get: function () { return chunkXAHM6B3V_js.isSessionExpired; }
|
|
104
|
+
});
|
|
105
|
+
Object.defineProperty(exports, "validatePassword", {
|
|
106
|
+
enumerable: true,
|
|
107
|
+
get: function () { return chunkXAHM6B3V_js.validatePassword; }
|
|
108
|
+
});
|
|
109
|
+
Object.defineProperty(exports, "validatePhoneNumber", {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () { return chunkXAHM6B3V_js.validatePhoneNumber; }
|
|
112
|
+
});
|
|
113
|
+
Object.defineProperty(exports, "AuthProvider", {
|
|
114
|
+
enumerable: true,
|
|
115
|
+
get: function () { return chunkNAX4TUT7_js.AuthProvider; }
|
|
116
|
+
});
|
|
117
|
+
Object.defineProperty(exports, "useAuth", {
|
|
118
|
+
enumerable: true,
|
|
119
|
+
get: function () { return chunkNAX4TUT7_js.useAuth; }
|
|
120
|
+
});
|
|
121
|
+
Object.defineProperty(exports, "LegacyAuthDbService", {
|
|
122
|
+
enumerable: true,
|
|
123
|
+
get: function () { return chunk6XUQ2B4K_js.LegacyAuthDbService; }
|
|
124
|
+
});
|
|
125
|
+
Object.defineProperty(exports, "legacyUserSessions", {
|
|
126
|
+
enumerable: true,
|
|
127
|
+
get: function () { return chunkJCKCKRC2_js.legacyUserSessions; }
|
|
128
|
+
});
|
|
129
|
+
Object.defineProperty(exports, "legacyUserSessionsRelations", {
|
|
130
|
+
enumerable: true,
|
|
131
|
+
get: function () { return chunkJCKCKRC2_js.legacyUserSessionsRelations; }
|
|
132
|
+
});
|
|
133
|
+
Object.defineProperty(exports, "legacyUsers", {
|
|
134
|
+
enumerable: true,
|
|
135
|
+
get: function () { return chunkJCKCKRC2_js.legacyUsers; }
|
|
136
|
+
});
|
|
137
|
+
Object.defineProperty(exports, "legacyUsersRelations", {
|
|
138
|
+
enumerable: true,
|
|
139
|
+
get: function () { return chunkJCKCKRC2_js.legacyUsersRelations; }
|
|
140
|
+
});
|
|
141
|
+
Object.defineProperty(exports, "legacyVerificationCodes", {
|
|
142
|
+
enumerable: true,
|
|
143
|
+
get: function () { return chunkJCKCKRC2_js.legacyVerificationCodes; }
|
|
144
|
+
});
|
|
145
|
+
//# sourceMappingURL=index.js.map
|
|
146
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export { UserRole } from '../../chunk-HBQMN5QM.mjs';
|
|
2
|
+
export { createLegacyValidateApiAuth } from '../../chunk-FZELCJR7.mjs';
|
|
3
|
+
export { AuthGuard, ForgotPasswordModal, LoginModal, RegisterModal, UserMenu } from '../../chunk-ITRIXMXF.mjs';
|
|
4
|
+
export { ForgotPasswordModal as MiniappForgotPasswordModal, LoginModal as MiniappLoginModal, RegisterModal as MiniappRegisterModal } from '../../chunk-VULJUXTF.mjs';
|
|
5
|
+
export { createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler } from '../../chunk-YSF5YISM.mjs';
|
|
6
|
+
export { calculateSessionExpiry, generateSessionToken, getUserDisplayName, isActiveUser, isAdmin, isSessionExpired, validatePassword, validatePhoneNumber } from '../../chunk-DA4QV64P.mjs';
|
|
7
|
+
import '../../chunk-RJVR33ME.mjs';
|
|
8
|
+
export { AuthProvider, useAuth } from '../../chunk-ESLY72VI.mjs';
|
|
9
|
+
export { LegacyAuthDbService } from '../../chunk-NW4EN4YI.mjs';
|
|
10
|
+
export { legacyUserSessions, legacyUserSessionsRelations, legacyUsers, legacyUsersRelations, legacyVerificationCodes } from '../../chunk-P3QMT3AY.mjs';
|
|
11
|
+
import '../../chunk-WMJKH4XE.mjs';
|
|
12
|
+
//# sourceMappingURL=index.mjs.map
|
|
13
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { h as UseAuthReturn } from '../../../index-DNKZ7-R_.mjs';
|
|
3
|
+
|
|
4
|
+
declare function AuthProvider({ children }: {
|
|
5
|
+
children: React__default.ReactNode;
|
|
6
|
+
}): React__default.JSX.Element;
|
|
7
|
+
declare function useAuth(): UseAuthReturn;
|
|
8
|
+
|
|
9
|
+
export { AuthProvider, useAuth };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React__default from 'react';
|
|
2
|
+
import { h as UseAuthReturn } from '../../../index-DNKZ7-R_.js';
|
|
3
|
+
|
|
4
|
+
declare function AuthProvider({ children }: {
|
|
5
|
+
children: React__default.ReactNode;
|
|
6
|
+
}): React__default.JSX.Element;
|
|
7
|
+
declare function useAuth(): UseAuthReturn;
|
|
8
|
+
|
|
9
|
+
export { AuthProvider, useAuth };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
require('../../../chunk-IUWSCUDC.js');
|
|
4
|
+
var chunkNAX4TUT7_js = require('../../../chunk-NAX4TUT7.js');
|
|
5
|
+
require('../../../chunk-Z6ZWNWWR.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "AuthProvider", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkNAX4TUT7_js.AuthProvider; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "useAuth", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkNAX4TUT7_js.useAuth; }
|
|
16
|
+
});
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
+
import { LegacyAuthDbService } from '../services/index.mjs';
|
|
3
|
+
import '../schema/index.mjs';
|
|
4
|
+
import 'drizzle-orm';
|
|
5
|
+
import 'drizzle-orm/pg-core';
|
|
6
|
+
import '../../../index-DNKZ7-R_.mjs';
|
|
7
|
+
|
|
8
|
+
interface LegacyCookieOptions {
|
|
9
|
+
name?: string;
|
|
10
|
+
httpOnly?: boolean;
|
|
11
|
+
secure?: boolean;
|
|
12
|
+
sameSite?: 'lax' | 'strict' | 'none';
|
|
13
|
+
maxAge?: number;
|
|
14
|
+
path?: string;
|
|
15
|
+
}
|
|
16
|
+
interface LegacyBaseRouteConfig {
|
|
17
|
+
authService: LegacyAuthDbService;
|
|
18
|
+
cookieOptions?: LegacyCookieOptions;
|
|
19
|
+
}
|
|
20
|
+
interface LegacyLoginRouteConfig extends LegacyBaseRouteConfig {
|
|
21
|
+
}
|
|
22
|
+
interface LegacyRegisterRouteConfig extends LegacyBaseRouteConfig {
|
|
23
|
+
}
|
|
24
|
+
interface LegacyLogoutRouteConfig extends LegacyBaseRouteConfig {
|
|
25
|
+
}
|
|
26
|
+
interface LegacyValidateRouteConfig extends LegacyBaseRouteConfig {
|
|
27
|
+
}
|
|
28
|
+
interface LegacySendVerificationCodeConfig extends LegacyBaseRouteConfig {
|
|
29
|
+
}
|
|
30
|
+
interface LegacyResetPasswordConfig extends LegacyBaseRouteConfig {
|
|
31
|
+
}
|
|
32
|
+
interface LegacyApiResponse<T = any> {
|
|
33
|
+
success: boolean;
|
|
34
|
+
message?: string;
|
|
35
|
+
data?: T;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare function createLegacyLoginHandler(config: LegacyLoginRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
39
|
+
|
|
40
|
+
declare function createLegacyRegisterHandler(config: LegacyRegisterRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
41
|
+
|
|
42
|
+
declare function createLegacyLogoutHandler(config: LegacyLogoutRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
43
|
+
|
|
44
|
+
declare function createLegacyValidateHandler(config: LegacyValidateRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
45
|
+
|
|
46
|
+
declare function createLegacySendVerificationCodeHandler(config: LegacySendVerificationCodeConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
47
|
+
|
|
48
|
+
declare function createLegacyResetPasswordHandler(config: LegacyResetPasswordConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
49
|
+
|
|
50
|
+
export { type LegacyApiResponse, type LegacyCookieOptions, type LegacyLoginRouteConfig, type LegacyLogoutRouteConfig, type LegacyRegisterRouteConfig, type LegacyResetPasswordConfig, type LegacySendVerificationCodeConfig, type LegacyValidateRouteConfig, createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
+
import { LegacyAuthDbService } from '../services/index.js';
|
|
3
|
+
import '../schema/index.js';
|
|
4
|
+
import 'drizzle-orm';
|
|
5
|
+
import 'drizzle-orm/pg-core';
|
|
6
|
+
import '../../../index-DNKZ7-R_.js';
|
|
7
|
+
|
|
8
|
+
interface LegacyCookieOptions {
|
|
9
|
+
name?: string;
|
|
10
|
+
httpOnly?: boolean;
|
|
11
|
+
secure?: boolean;
|
|
12
|
+
sameSite?: 'lax' | 'strict' | 'none';
|
|
13
|
+
maxAge?: number;
|
|
14
|
+
path?: string;
|
|
15
|
+
}
|
|
16
|
+
interface LegacyBaseRouteConfig {
|
|
17
|
+
authService: LegacyAuthDbService;
|
|
18
|
+
cookieOptions?: LegacyCookieOptions;
|
|
19
|
+
}
|
|
20
|
+
interface LegacyLoginRouteConfig extends LegacyBaseRouteConfig {
|
|
21
|
+
}
|
|
22
|
+
interface LegacyRegisterRouteConfig extends LegacyBaseRouteConfig {
|
|
23
|
+
}
|
|
24
|
+
interface LegacyLogoutRouteConfig extends LegacyBaseRouteConfig {
|
|
25
|
+
}
|
|
26
|
+
interface LegacyValidateRouteConfig extends LegacyBaseRouteConfig {
|
|
27
|
+
}
|
|
28
|
+
interface LegacySendVerificationCodeConfig extends LegacyBaseRouteConfig {
|
|
29
|
+
}
|
|
30
|
+
interface LegacyResetPasswordConfig extends LegacyBaseRouteConfig {
|
|
31
|
+
}
|
|
32
|
+
interface LegacyApiResponse<T = any> {
|
|
33
|
+
success: boolean;
|
|
34
|
+
message?: string;
|
|
35
|
+
data?: T;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
declare function createLegacyLoginHandler(config: LegacyLoginRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
39
|
+
|
|
40
|
+
declare function createLegacyRegisterHandler(config: LegacyRegisterRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
41
|
+
|
|
42
|
+
declare function createLegacyLogoutHandler(config: LegacyLogoutRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
43
|
+
|
|
44
|
+
declare function createLegacyValidateHandler(config: LegacyValidateRouteConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
45
|
+
|
|
46
|
+
declare function createLegacySendVerificationCodeHandler(config: LegacySendVerificationCodeConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
47
|
+
|
|
48
|
+
declare function createLegacyResetPasswordHandler(config: LegacyResetPasswordConfig): (request: NextRequest) => Promise<NextResponse<LegacyApiResponse<any>>>;
|
|
49
|
+
|
|
50
|
+
export { type LegacyApiResponse, type LegacyCookieOptions, type LegacyLoginRouteConfig, type LegacyLogoutRouteConfig, type LegacyRegisterRouteConfig, type LegacyResetPasswordConfig, type LegacySendVerificationCodeConfig, type LegacyValidateRouteConfig, createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkVS7WATQD_js = require('../../../chunk-VS7WATQD.js');
|
|
4
|
+
require('../../../chunk-XAHM6B3V.js');
|
|
5
|
+
require('../../../chunk-Z6ZWNWWR.js');
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
Object.defineProperty(exports, "createLegacyLoginHandler", {
|
|
10
|
+
enumerable: true,
|
|
11
|
+
get: function () { return chunkVS7WATQD_js.createLegacyLoginHandler; }
|
|
12
|
+
});
|
|
13
|
+
Object.defineProperty(exports, "createLegacyLogoutHandler", {
|
|
14
|
+
enumerable: true,
|
|
15
|
+
get: function () { return chunkVS7WATQD_js.createLegacyLogoutHandler; }
|
|
16
|
+
});
|
|
17
|
+
Object.defineProperty(exports, "createLegacyRegisterHandler", {
|
|
18
|
+
enumerable: true,
|
|
19
|
+
get: function () { return chunkVS7WATQD_js.createLegacyRegisterHandler; }
|
|
20
|
+
});
|
|
21
|
+
Object.defineProperty(exports, "createLegacyResetPasswordHandler", {
|
|
22
|
+
enumerable: true,
|
|
23
|
+
get: function () { return chunkVS7WATQD_js.createLegacyResetPasswordHandler; }
|
|
24
|
+
});
|
|
25
|
+
Object.defineProperty(exports, "createLegacySendVerificationCodeHandler", {
|
|
26
|
+
enumerable: true,
|
|
27
|
+
get: function () { return chunkVS7WATQD_js.createLegacySendVerificationCodeHandler; }
|
|
28
|
+
});
|
|
29
|
+
Object.defineProperty(exports, "createLegacyValidateHandler", {
|
|
30
|
+
enumerable: true,
|
|
31
|
+
get: function () { return chunkVS7WATQD_js.createLegacyValidateHandler; }
|
|
32
|
+
});
|
|
33
|
+
//# sourceMappingURL=index.js.map
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { createLegacyLoginHandler, createLegacyLogoutHandler, createLegacyRegisterHandler, createLegacyResetPasswordHandler, createLegacySendVerificationCodeHandler, createLegacyValidateHandler } from '../../../chunk-YSF5YISM.mjs';
|
|
2
|
+
import '../../../chunk-DA4QV64P.mjs';
|
|
3
|
+
import '../../../chunk-WMJKH4XE.mjs';
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|
|
5
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.mjs"}
|