sa2kit 2.0.4 → 3.1.0
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-GsP6D3Rc.d.ts → UniversalFileService-CC4d3wkc.d.ts} +2 -2
- package/dist/{UniversalFileService-BpvbZitV.d.mts → UniversalFileService-CzAE_G4V.d.mts} +2 -2
- package/dist/ai/llm/ui/miniapp/index.d.mts +2 -2
- package/dist/ai/llm/ui/miniapp/index.d.ts +2 -2
- package/dist/ai/llm/ui/rn/index.d.mts +2 -2
- package/dist/ai/llm/ui/rn/index.d.ts +2 -2
- package/dist/ai/llm/ui/web/index.d.mts +3 -3
- package/dist/ai/llm/ui/web/index.d.ts +3 -3
- package/dist/analytics/index.d.mts +1 -1
- package/dist/analytics/index.d.ts +1 -1
- package/dist/business/index.d.mts +1 -5
- package/dist/business/index.d.ts +1 -5
- package/dist/business/index.js +34 -1135
- package/dist/business/index.js.map +1 -1
- package/dist/business/index.mjs +5 -1105
- package/dist/business/index.mjs.map +1 -1
- package/dist/calendar/routes/index.d.mts +74 -1
- package/dist/calendar/routes/index.d.ts +74 -1
- package/dist/calendar/routes/index.js +186 -97
- package/dist/calendar/routes/index.js.map +1 -1
- package/dist/calendar/routes/index.mjs +178 -99
- package/dist/calendar/routes/index.mjs.map +1 -1
- package/dist/{chunk-RJP2BRJD.mjs → chunk-4OOANEJV.mjs} +2 -2
- package/dist/{chunk-RJP2BRJD.mjs.map → chunk-4OOANEJV.mjs.map} +1 -1
- package/dist/chunk-5FUAQLGC.mjs +14 -0
- package/dist/chunk-5FUAQLGC.mjs.map +1 -0
- package/dist/{chunk-IIVNHQEI.mjs → chunk-5GBDDXYL.mjs} +4 -3
- package/dist/chunk-5GBDDXYL.mjs.map +1 -0
- package/dist/{chunk-S732H246.js → chunk-6PMXAK7F.js} +2 -2
- package/dist/{chunk-S732H246.js.map → chunk-6PMXAK7F.js.map} +1 -1
- package/dist/chunk-6YLCRWKM.mjs +8 -0
- package/dist/chunk-6YLCRWKM.mjs.map +1 -0
- package/dist/chunk-CAYOQDBR.js +78 -0
- package/dist/chunk-CAYOQDBR.js.map +1 -0
- package/dist/{chunk-PTMSDNGO.mjs → chunk-CX2GHCAI.mjs} +4 -75
- package/dist/chunk-CX2GHCAI.mjs.map +1 -0
- package/dist/chunk-EBHPTFG6.mjs +82 -0
- package/dist/chunk-EBHPTFG6.mjs.map +1 -0
- package/dist/chunk-HQLKOXG7.js +16 -0
- package/dist/chunk-HQLKOXG7.js.map +1 -0
- package/dist/chunk-IS7O4LPI.js +146 -0
- package/dist/chunk-IS7O4LPI.js.map +1 -0
- package/dist/chunk-LGHUCQIU.js +93 -0
- package/dist/chunk-LGHUCQIU.js.map +1 -0
- package/dist/chunk-LKBIVQBT.mjs +34 -0
- package/dist/chunk-LKBIVQBT.mjs.map +1 -0
- package/dist/chunk-MIDXG6LS.js +32 -0
- package/dist/chunk-MIDXG6LS.js.map +1 -0
- package/dist/chunk-NDGHXVGS.js +25 -0
- package/dist/chunk-NDGHXVGS.js.map +1 -0
- package/dist/chunk-PA4ELVGI.js +20 -0
- package/dist/chunk-PA4ELVGI.js.map +1 -0
- package/dist/chunk-Q5VFBPMG.mjs +76 -0
- package/dist/chunk-Q5VFBPMG.mjs.map +1 -0
- package/dist/{chunk-WZDTNDYR.js → chunk-QSKLQX6H.js} +11 -11
- package/dist/{chunk-WZDTNDYR.js.map → chunk-QSKLQX6H.js.map} +1 -1
- package/dist/{chunk-QQ2WFYOD.js → chunk-S6YSGVWD.js} +4 -76
- package/dist/chunk-S6YSGVWD.js.map +1 -0
- package/dist/chunk-TNJ6LYX7.mjs +18 -0
- package/dist/chunk-TNJ6LYX7.mjs.map +1 -0
- package/dist/chunk-TTYCVBIQ.mjs +144 -0
- package/dist/chunk-TTYCVBIQ.mjs.map +1 -0
- package/dist/chunk-VJNDOYEC.js +41 -0
- package/dist/chunk-VJNDOYEC.js.map +1 -0
- package/dist/{chunk-J77KR2EV.mjs → chunk-WJ7IMUEJ.mjs} +3 -3
- package/dist/{chunk-J77KR2EV.mjs.map → chunk-WJ7IMUEJ.mjs.map} +1 -1
- package/dist/chunk-YTGUIRRH.js +10 -0
- package/dist/chunk-YTGUIRRH.js.map +1 -0
- package/dist/chunk-ZF7DKR5A.mjs +26 -0
- package/dist/chunk-ZF7DKR5A.mjs.map +1 -0
- package/dist/common/auth/client/index.d.mts +3209 -0
- package/dist/common/auth/client/index.d.ts +3209 -0
- package/dist/common/auth/client/index.js +13 -0
- package/dist/common/auth/client/index.mjs +4 -0
- package/dist/common/auth/components/index.d.mts +140 -0
- package/dist/common/auth/components/index.d.ts +140 -0
- package/dist/common/auth/components/index.js +899 -0
- package/dist/common/auth/components/index.js.map +1 -0
- package/dist/common/auth/components/index.mjs +875 -0
- package/dist/common/auth/components/index.mjs.map +1 -0
- package/dist/common/auth/hooks/index.d.mts +48 -0
- package/dist/common/auth/hooks/index.d.ts +48 -0
- package/dist/common/auth/hooks/index.js +19 -0
- package/dist/common/auth/hooks/index.mjs +6 -0
- package/dist/common/auth/index.d.mts +11 -7
- package/dist/common/auth/index.d.ts +11 -7
- package/dist/common/auth/index.js +7 -19
- package/dist/common/auth/index.mjs +3 -3
- package/dist/common/auth/react/index.d.mts +3056 -0
- package/dist/common/auth/react/index.d.ts +3056 -0
- package/dist/common/auth/react/index.js +31 -0
- package/dist/common/auth/react/index.js.map +1 -0
- package/dist/common/auth/react/index.mjs +21 -0
- package/dist/common/auth/react/index.mjs.map +1 -0
- package/dist/common/auth/rn/index.d.mts +3122 -0
- package/dist/common/auth/rn/index.d.ts +3122 -0
- package/dist/common/auth/rn/index.js +316 -0
- package/dist/common/auth/rn/index.js.map +1 -0
- package/dist/common/auth/rn/index.mjs +298 -0
- package/dist/common/auth/rn/index.mjs.map +1 -0
- package/dist/common/auth/schema/index.d.mts +1479 -0
- package/dist/common/auth/schema/index.d.ts +1479 -0
- package/dist/common/auth/schema/index.js +49 -0
- package/dist/common/auth/schema/index.mjs +4 -0
- package/dist/common/auth/server/index.d.mts +81 -25
- package/dist/common/auth/server/index.d.ts +81 -25
- package/dist/common/auth/server/index.js +146 -98
- package/dist/common/auth/server/index.js.map +1 -1
- package/dist/common/auth/server/index.mjs +125 -5
- package/dist/common/auth/server/index.mjs.map +1 -1
- package/dist/common/auth/services/index.d.mts +14 -0
- package/dist/common/auth/services/index.d.ts +14 -0
- package/dist/common/auth/services/index.js +20 -0
- package/dist/common/auth/services/index.js.map +1 -0
- package/dist/common/auth/services/index.mjs +13 -0
- package/dist/common/auth/services/index.mjs.map +1 -0
- package/dist/common/file/server/index.js +32 -32
- package/dist/common/file/server/index.mjs +3 -3
- package/dist/common/index.d.mts +13 -8
- package/dist/common/index.d.ts +13 -8
- package/dist/common/index.js +19 -18
- package/dist/common/index.mjs +8 -7
- package/dist/common/storage/index.js +13 -12
- package/dist/common/storage/index.mjs +3 -2
- package/dist/festivalCard/index.d.mts +3 -3
- package/dist/festivalCard/index.d.ts +3 -3
- package/dist/festivalCard/routes/index.d.mts +1 -1
- package/dist/festivalCard/routes/index.d.ts +1 -1
- package/dist/festivalCard/server/index.d.mts +2 -2
- package/dist/festivalCard/server/index.d.ts +2 -2
- package/dist/{festivalCardService-BFCRhJrq.d.ts → festivalCardService-B3GsnNpV.d.ts} +1 -1
- package/dist/{festivalCardService-GriR2VMc.d.mts → festivalCardService-CWhrLNE9.d.mts} +1 -1
- package/dist/i18n/index.d.mts +1 -1
- package/dist/i18n/index.d.ts +1 -1
- package/dist/imageCrop/index.d.mts +3 -3
- package/dist/imageCrop/index.d.ts +3 -3
- package/dist/index-Bd7cKF1j.d.mts +50 -0
- package/dist/{index-CLB80GCP.d.mts → index-D0cqaQEH.d.mts} +5 -5
- package/dist/{index-CLB80GCP.d.ts → index-D0cqaQEH.d.ts} +5 -5
- package/dist/index-DRQxtCDw.d.ts +50 -0
- package/dist/{index-1Ag7IBXN.d.ts → index-DZ5iJtNO.d.mts} +2 -44
- package/dist/{index-DdeZSeTJ.d.mts → index-DZ5iJtNO.d.ts} +2 -44
- package/dist/{index-BxZauNN_.d.ts → index-DoUo8IrU.d.mts} +8 -8
- package/dist/{index-BxZauNN_.d.mts → index-DoUo8IrU.d.ts} +8 -8
- package/dist/index.d.mts +6382 -105
- package/dist/index.d.ts +6382 -105
- package/dist/index.js +1037 -2616
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +976 -2555
- package/dist/index.mjs.map +1 -1
- package/dist/mmd/admin/index.d.mts +1 -1
- package/dist/mmd/admin/index.d.ts +1 -1
- package/dist/mmd/index.d.mts +1 -1
- package/dist/mmd/index.d.ts +1 -1
- package/dist/mmd/server/index.d.mts +3 -3
- package/dist/mmd/server/index.d.ts +3 -3
- package/dist/ossFile/server/index.js +32 -32
- package/dist/ossFile/server/index.mjs +3 -3
- package/dist/storage/index.js +12 -11
- package/dist/storage/index.mjs +2 -1
- package/dist/{types-DyG3ZV9V.d.mts → types-B6B210gX.d.mts} +1 -1
- package/dist/{types-DyG3ZV9V.d.ts → types-B6B210gX.d.ts} +1 -1
- package/dist/{types-BTiaMsBz.d.mts → types-Bdnte5EN.d.mts} +1 -1
- package/dist/{types-tQfupO6d.d.ts → types-Cs0CLvrH.d.mts} +1 -1
- package/dist/{types-tQfupO6d.d.mts → types-Cs0CLvrH.d.ts} +1 -1
- package/dist/{types-ERmJyjx8.d.ts → types-_rFX1atk.d.ts} +1 -1
- package/dist/universalExport/index.d.mts +3 -3
- package/dist/universalExport/index.d.ts +3 -3
- package/dist/universalFile/index.d.mts +5 -5
- package/dist/universalFile/index.d.ts +5 -5
- package/dist/universalFile/server/index.js +62 -62
- package/dist/universalFile/server/index.mjs +2 -2
- package/dist/useAuthActions-7S5dL7Oh.d.mts +77 -0
- package/dist/useAuthActions-7S5dL7Oh.d.ts +77 -0
- package/dist/vocaloidBooth/server/index.d.mts +3 -3
- package/dist/vocaloidBooth/server/index.d.ts +3 -3
- package/package.json +44 -111
- package/dist/auth/client/index.d.mts +0 -32
- package/dist/auth/client/index.d.ts +0 -32
- package/dist/auth/client/index.js +0 -21
- package/dist/auth/client/index.mjs +0 -4
- package/dist/auth/components/index.d.mts +0 -227
- package/dist/auth/components/index.d.ts +0 -227
- package/dist/auth/components/index.js +0 -327
- package/dist/auth/components/index.js.map +0 -1
- package/dist/auth/components/index.mjs +0 -319
- package/dist/auth/components/index.mjs.map +0 -1
- package/dist/auth/hooks/index.d.mts +0 -31
- package/dist/auth/hooks/index.d.ts +0 -31
- package/dist/auth/hooks/index.js +0 -17
- package/dist/auth/hooks/index.mjs +0 -4
- package/dist/auth/index.d.mts +0 -18
- package/dist/auth/index.d.ts +0 -18
- package/dist/auth/index.js +0 -151
- package/dist/auth/index.mjs +0 -10
- package/dist/auth/legacy/core/index.d.mts +0 -42
- package/dist/auth/legacy/core/index.d.ts +0 -42
- package/dist/auth/legacy/core/index.js +0 -242
- package/dist/auth/legacy/core/index.js.map +0 -1
- package/dist/auth/legacy/core/index.mjs +0 -226
- package/dist/auth/legacy/core/index.mjs.map +0 -1
- package/dist/auth/legacy/db/index.d.mts +0 -5
- package/dist/auth/legacy/db/index.d.ts +0 -5
- package/dist/auth/legacy/db/index.js +0 -261
- package/dist/auth/legacy/db/index.js.map +0 -1
- package/dist/auth/legacy/db/index.mjs +0 -250
- package/dist/auth/legacy/db/index.mjs.map +0 -1
- package/dist/auth/legacy/index.d.mts +0 -5
- package/dist/auth/legacy/index.d.ts +0 -5
- package/dist/auth/legacy/index.js +0 -1107
- package/dist/auth/legacy/index.js.map +0 -1
- package/dist/auth/legacy/index.mjs +0 -1086
- package/dist/auth/legacy/index.mjs.map +0 -1
- package/dist/auth/legacy/logic/index.d.mts +0 -9
- package/dist/auth/legacy/logic/index.d.ts +0 -9
- package/dist/auth/legacy/logic/index.js +0 -194
- package/dist/auth/legacy/logic/index.js.map +0 -1
- package/dist/auth/legacy/logic/index.mjs +0 -187
- package/dist/auth/legacy/logic/index.mjs.map +0 -1
- package/dist/auth/legacy/miniapp/index.d.mts +0 -5
- package/dist/auth/legacy/miniapp/index.d.ts +0 -5
- package/dist/auth/legacy/miniapp/index.js +0 -506
- package/dist/auth/legacy/miniapp/index.js.map +0 -1
- package/dist/auth/legacy/miniapp/index.mjs +0 -487
- package/dist/auth/legacy/miniapp/index.mjs.map +0 -1
- package/dist/auth/legacy/routes/index.d.mts +0 -53
- package/dist/auth/legacy/routes/index.d.ts +0 -53
- package/dist/auth/legacy/routes/index.js +0 -278
- package/dist/auth/legacy/routes/index.js.map +0 -1
- package/dist/auth/legacy/routes/index.mjs +0 -271
- package/dist/auth/legacy/routes/index.mjs.map +0 -1
- package/dist/auth/legacy/schema/index.d.mts +0 -401
- package/dist/auth/legacy/schema/index.d.ts +0 -401
- package/dist/auth/legacy/schema/index.js +0 -50
- package/dist/auth/legacy/schema/index.js.map +0 -1
- package/dist/auth/legacy/schema/index.mjs +0 -44
- package/dist/auth/legacy/schema/index.mjs.map +0 -1
- package/dist/auth/legacy/server/index.d.mts +0 -13
- package/dist/auth/legacy/server/index.d.ts +0 -13
- package/dist/auth/legacy/server/index.js +0 -21
- package/dist/auth/legacy/server/index.js.map +0 -1
- package/dist/auth/legacy/server/index.mjs +0 -19
- package/dist/auth/legacy/server/index.mjs.map +0 -1
- package/dist/auth/legacy/services/index.d.mts +0 -40
- package/dist/auth/legacy/services/index.d.ts +0 -40
- package/dist/auth/legacy/services/index.js +0 -258
- package/dist/auth/legacy/services/index.js.map +0 -1
- package/dist/auth/legacy/services/index.mjs +0 -252
- package/dist/auth/legacy/services/index.mjs.map +0 -1
- package/dist/auth/legacy/ui/miniapp/index.d.mts +0 -10
- package/dist/auth/legacy/ui/miniapp/index.d.ts +0 -10
- package/dist/auth/legacy/ui/miniapp/index.js +0 -298
- package/dist/auth/legacy/ui/miniapp/index.js.map +0 -1
- package/dist/auth/legacy/ui/miniapp/index.mjs +0 -290
- package/dist/auth/legacy/ui/miniapp/index.mjs.map +0 -1
- package/dist/auth/legacy/ui/web/index.d.mts +0 -22
- package/dist/auth/legacy/ui/web/index.d.ts +0 -22
- package/dist/auth/legacy/ui/web/index.js +0 -899
- package/dist/auth/legacy/ui/web/index.js.map +0 -1
- package/dist/auth/legacy/ui/web/index.mjs +0 -889
- package/dist/auth/legacy/ui/web/index.mjs.map +0 -1
- package/dist/auth/legacy/web/index.d.mts +0 -5
- package/dist/auth/legacy/web/index.d.ts +0 -5
- package/dist/auth/legacy/web/index.js +0 -1107
- package/dist/auth/legacy/web/index.js.map +0 -1
- package/dist/auth/legacy/web/index.mjs +0 -1086
- package/dist/auth/legacy/web/index.mjs.map +0 -1
- package/dist/auth/middleware/index.d.mts +0 -75
- package/dist/auth/middleware/index.d.ts +0 -75
- package/dist/auth/middleware/index.js +0 -15
- package/dist/auth/middleware/index.js.map +0 -1
- package/dist/auth/middleware/index.mjs +0 -6
- package/dist/auth/middleware/index.mjs.map +0 -1
- package/dist/auth/rn/index.d.mts +0 -64
- package/dist/auth/rn/index.d.ts +0 -64
- package/dist/auth/rn/index.js +0 -765
- package/dist/auth/rn/index.js.map +0 -1
- package/dist/auth/rn/index.mjs +0 -754
- package/dist/auth/rn/index.mjs.map +0 -1
- package/dist/auth/routes/index.d.mts +0 -261
- package/dist/auth/routes/index.d.ts +0 -261
- package/dist/auth/routes/index.js +0 -59
- package/dist/auth/routes/index.js.map +0 -1
- package/dist/auth/routes/index.mjs +0 -6
- package/dist/auth/routes/index.mjs.map +0 -1
- package/dist/auth/schema/index.d.mts +0 -789
- package/dist/auth/schema/index.d.ts +0 -789
- package/dist/auth/schema/index.js +0 -41
- package/dist/auth/schema/index.js.map +0 -1
- package/dist/auth/schema/index.mjs +0 -4
- package/dist/auth/schema/index.mjs.map +0 -1
- package/dist/auth/services/index.d.mts +0 -48
- package/dist/auth/services/index.d.ts +0 -48
- package/dist/auth/services/index.js +0 -34
- package/dist/auth/services/index.js.map +0 -1
- package/dist/auth/services/index.mjs +0 -5
- package/dist/auth/services/index.mjs.map +0 -1
- package/dist/base-api-client-ACKKt13v.d.mts +0 -277
- package/dist/base-api-client-ACKKt13v.d.ts +0 -277
- package/dist/base-api-client-B3wZZoaH.d.ts +0 -103
- package/dist/base-api-client-DrL35Ea2.d.mts +0 -103
- package/dist/chunk-37HYTHEC.mjs +0 -90
- package/dist/chunk-37HYTHEC.mjs.map +0 -1
- package/dist/chunk-5WV35FPV.js +0 -131
- package/dist/chunk-5WV35FPV.js.map +0 -1
- package/dist/chunk-DCRD5CZB.js +0 -573
- package/dist/chunk-DCRD5CZB.js.map +0 -1
- package/dist/chunk-DDX4JKFS.js +0 -19
- package/dist/chunk-DDX4JKFS.js.map +0 -1
- package/dist/chunk-DV6M7MFP.js +0 -283
- package/dist/chunk-DV6M7MFP.js.map +0 -1
- package/dist/chunk-HBF4HPRK.js +0 -186
- package/dist/chunk-HBF4HPRK.js.map +0 -1
- package/dist/chunk-HCI6JQOU.mjs +0 -183
- package/dist/chunk-HCI6JQOU.mjs.map +0 -1
- package/dist/chunk-I44HXJ3X.mjs +0 -17
- package/dist/chunk-I44HXJ3X.mjs.map +0 -1
- package/dist/chunk-IIVNHQEI.mjs.map +0 -1
- package/dist/chunk-IJ4YYWE3.mjs +0 -122
- package/dist/chunk-IJ4YYWE3.mjs.map +0 -1
- package/dist/chunk-J4BEIZUC.js +0 -92
- package/dist/chunk-J4BEIZUC.js.map +0 -1
- package/dist/chunk-OKPWFVXC.js +0 -24
- package/dist/chunk-OKPWFVXC.js.map +0 -1
- package/dist/chunk-PNOTQAYK.mjs +0 -560
- package/dist/chunk-PNOTQAYK.mjs.map +0 -1
- package/dist/chunk-PTMSDNGO.mjs.map +0 -1
- package/dist/chunk-Q2IAL7YV.js +0 -36
- package/dist/chunk-Q2IAL7YV.js.map +0 -1
- package/dist/chunk-QQ2WFYOD.js.map +0 -1
- package/dist/chunk-VQ54PUQV.js +0 -216
- package/dist/chunk-VQ54PUQV.js.map +0 -1
- package/dist/chunk-W5JEGA76.mjs +0 -33
- package/dist/chunk-W5JEGA76.mjs.map +0 -1
- package/dist/chunk-YGI7UU2D.mjs +0 -212
- package/dist/chunk-YGI7UU2D.mjs.map +0 -1
- package/dist/chunk-ZCLQSI5F.mjs +0 -271
- package/dist/chunk-ZCLQSI5F.mjs.map +0 -1
- package/dist/drizzle-auth-service-D-pljzCD.d.mts +0 -145
- package/dist/drizzle-auth-service-D3qryE_I.d.ts +0 -145
- package/dist/index-Bnh6VqFv.d.ts +0 -35
- package/dist/index-DNKZ7-R_.d.mts +0 -184
- package/dist/index-DNKZ7-R_.d.ts +0 -184
- package/dist/index-DPYkrKZf.d.mts +0 -35
- package/dist/types-C5vUWf9u.d.ts +0 -70
- package/dist/types-C_W_CoUD.d.ts +0 -99
- package/dist/types-DCRvasyH.d.mts +0 -99
- package/dist/types-IYCqCk2g.d.mts +0 -70
- /package/dist/{auth → common/auth}/client/index.js.map +0 -0
- /package/dist/{auth → common/auth}/client/index.mjs.map +0 -0
- /package/dist/{auth → common/auth}/hooks/index.js.map +0 -0
- /package/dist/{auth → common/auth}/hooks/index.mjs.map +0 -0
- /package/dist/{auth → common/auth/schema}/index.js.map +0 -0
- /package/dist/{auth → common/auth/schema}/index.mjs.map +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var chunkHJ6MH7J7_js = require('../../chunk-HJ6MH7J7.js');
|
|
3
|
+
var chunk6PMXAK7F_js = require('../../chunk-6PMXAK7F.js');
|
|
5
4
|
var chunkQ5EDCKQA_js = require('../../chunk-Q5EDCKQA.js');
|
|
5
|
+
var chunkHJ6MH7J7_js = require('../../chunk-HJ6MH7J7.js');
|
|
6
6
|
require('../../chunk-KH6RQ4J5.js');
|
|
7
7
|
require('../../chunk-ZRAW3HXA.js');
|
|
8
8
|
require('../../chunk-25OFOKNF.js');
|
|
@@ -13,236 +13,236 @@ require('../../chunk-NSBPE2FW.js');
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "AliyunCDNProvider", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunk6PMXAK7F_js.AliyunCDNProvider; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "ApiError", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunk6PMXAK7F_js.ApiError; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "ApiErrorCode", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunk6PMXAK7F_js.ApiErrorCode; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "ApiErrorFactory", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunk6PMXAK7F_js.ApiErrorFactory; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "ApiResponseHelper", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunk6PMXAK7F_js.ApiResponseHelper; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "AudioProcessor", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunk6PMXAK7F_js.AudioProcessor; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "CacheManager", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunk6PMXAK7F_js.CacheManager; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "CacheStrategyType", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunk6PMXAK7F_js.CacheStrategyType; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "CdnCacheStrategy", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunk6PMXAK7F_js.CdnCacheStrategy; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "ConfigValidationError", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunk6PMXAK7F_js.ConfigValidationError; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "DEFAULT_ALLOWED_MIME_TYPES", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunk6PMXAK7F_js.DEFAULT_ALLOWED_MIME_TYPES; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "DEFAULT_CACHE_CONFIG", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunk6PMXAK7F_js.DEFAULT_CACHE_CONFIG; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "DEFAULT_FILE_SERVICE_CONFIG", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunk6PMXAK7F_js.DEFAULT_FILE_SERVICE_CONFIG; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "DEFAULT_MAX_FILE_SIZE", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunk6PMXAK7F_js.DEFAULT_MAX_FILE_SIZE; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "DEFAULT_OSS_CONFIG_KEYS", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunk6PMXAK7F_js.DEFAULT_OSS_CONFIG_KEYS; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "ErrorHttpStatusMap", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunk6PMXAK7F_js.ErrorHttpStatusMap; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ErrorMessages", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunk6PMXAK7F_js.ErrorMessages; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "FileDbService", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunk6PMXAK7F_js.FileDbService; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "FileServiceConfigManager", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunk6PMXAK7F_js.FileServiceConfigManager; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "ImageProcessor", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunk6PMXAK7F_js.ImageProcessor; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "PerformanceMonitor", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunk6PMXAK7F_js.PerformanceMonitor; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "ProcessingQueue", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunk6PMXAK7F_js.ProcessingQueue; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "QueryOptimizer", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunk6PMXAK7F_js.QueryOptimizer; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "UniversalFileService", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunk6PMXAK7F_js.UniversalFileService; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "ValidationHelper", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunk6PMXAK7F_js.ValidationHelper; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "VideoProcessor", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunk6PMXAK7F_js.VideoProcessor; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "cacheManager", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunk6PMXAK7F_js.cacheManager; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "cdnCacheStrategy", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunk6PMXAK7F_js.cdnCacheStrategy; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "createAliyunOSSPreset", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunk6PMXAK7F_js.createAliyunOSSPreset; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "createDocumentServicePreset", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunk6PMXAK7F_js.createDocumentServicePreset; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "createDrizzleFileRepository", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunk6PMXAK7F_js.createDrizzleFileRepository; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "createDrizzleRepository", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunk6PMXAK7F_js.createDrizzleRepository; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "createFileServiceConfig", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunk6PMXAK7F_js.createFileServiceConfig; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "createFileServiceConfigWithConfigManager", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunk6PMXAK7F_js.createFileServiceConfigWithConfigManager; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "createFileServiceFromEnv", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunk6PMXAK7F_js.createFileServiceFromEnv; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "createFileServiceWithFactory", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunk6PMXAK7F_js.createFileServiceWithFactory; }
|
|
157
157
|
});
|
|
158
158
|
Object.defineProperty(exports, "createImageServicePreset", {
|
|
159
159
|
enumerable: true,
|
|
160
|
-
get: function () { return
|
|
160
|
+
get: function () { return chunk6PMXAK7F_js.createImageServicePreset; }
|
|
161
161
|
});
|
|
162
162
|
Object.defineProperty(exports, "createLocalDevPreset", {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: function () { return
|
|
164
|
+
get: function () { return chunk6PMXAK7F_js.createLocalDevPreset; }
|
|
165
165
|
});
|
|
166
166
|
Object.defineProperty(exports, "createSingleton", {
|
|
167
167
|
enumerable: true,
|
|
168
|
-
get: function () { return
|
|
168
|
+
get: function () { return chunk6PMXAK7F_js.createSingleton; }
|
|
169
169
|
});
|
|
170
170
|
Object.defineProperty(exports, "createSmartPreset", {
|
|
171
171
|
enumerable: true,
|
|
172
|
-
get: function () { return
|
|
172
|
+
get: function () { return chunk6PMXAK7F_js.createSmartPreset; }
|
|
173
173
|
});
|
|
174
174
|
Object.defineProperty(exports, "createUniversalFileService", {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: function () { return
|
|
176
|
+
get: function () { return chunk6PMXAK7F_js.createUniversalFileService; }
|
|
177
177
|
});
|
|
178
178
|
Object.defineProperty(exports, "createUniversalFileServiceWithConfigManager", {
|
|
179
179
|
enumerable: true,
|
|
180
|
-
get: function () { return
|
|
180
|
+
get: function () { return chunk6PMXAK7F_js.createUniversalFileServiceWithConfigManager; }
|
|
181
181
|
});
|
|
182
182
|
Object.defineProperty(exports, "createVideoServicePreset", {
|
|
183
183
|
enumerable: true,
|
|
184
|
-
get: function () { return
|
|
184
|
+
get: function () { return chunk6PMXAK7F_js.createVideoServicePreset; }
|
|
185
185
|
});
|
|
186
186
|
Object.defineProperty(exports, "getDefaultLocalStorage", {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: function () { return
|
|
188
|
+
get: function () { return chunk6PMXAK7F_js.getDefaultLocalStorage; }
|
|
189
189
|
});
|
|
190
190
|
Object.defineProperty(exports, "getMimeType", {
|
|
191
191
|
enumerable: true,
|
|
192
|
-
get: function () { return
|
|
192
|
+
get: function () { return chunk6PMXAK7F_js.getMimeType; }
|
|
193
193
|
});
|
|
194
194
|
Object.defineProperty(exports, "getRequiredEnvVars", {
|
|
195
195
|
enumerable: true,
|
|
196
|
-
get: function () { return
|
|
196
|
+
get: function () { return chunk6PMXAK7F_js.getRequiredEnvVars; }
|
|
197
197
|
});
|
|
198
198
|
Object.defineProperty(exports, "loadCDNConfigFromEnv", {
|
|
199
199
|
enumerable: true,
|
|
200
|
-
get: function () { return
|
|
200
|
+
get: function () { return chunk6PMXAK7F_js.loadCDNConfigFromEnv; }
|
|
201
201
|
});
|
|
202
202
|
Object.defineProperty(exports, "loadConfigFromEnv", {
|
|
203
203
|
enumerable: true,
|
|
204
|
-
get: function () { return
|
|
204
|
+
get: function () { return chunk6PMXAK7F_js.loadConfigFromEnv; }
|
|
205
205
|
});
|
|
206
206
|
Object.defineProperty(exports, "loadConfigWithFallback", {
|
|
207
207
|
enumerable: true,
|
|
208
|
-
get: function () { return
|
|
208
|
+
get: function () { return chunk6PMXAK7F_js.loadConfigWithFallback; }
|
|
209
209
|
});
|
|
210
210
|
Object.defineProperty(exports, "loadOSSConfigFromEnv", {
|
|
211
211
|
enumerable: true,
|
|
212
|
-
get: function () { return
|
|
212
|
+
get: function () { return chunk6PMXAK7F_js.loadOSSConfigFromEnv; }
|
|
213
213
|
});
|
|
214
214
|
Object.defineProperty(exports, "loadOSSConfigFromService", {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: function () { return
|
|
216
|
+
get: function () { return chunk6PMXAK7F_js.loadOSSConfigFromService; }
|
|
217
217
|
});
|
|
218
218
|
Object.defineProperty(exports, "performanceMonitor", {
|
|
219
219
|
enumerable: true,
|
|
220
|
-
get: function () { return
|
|
220
|
+
get: function () { return chunk6PMXAK7F_js.performanceMonitor; }
|
|
221
221
|
});
|
|
222
222
|
Object.defineProperty(exports, "queryOptimizer", {
|
|
223
223
|
enumerable: true,
|
|
224
|
-
get: function () { return
|
|
224
|
+
get: function () { return chunk6PMXAK7F_js.queryOptimizer; }
|
|
225
225
|
});
|
|
226
226
|
Object.defineProperty(exports, "validateEnvironment", {
|
|
227
227
|
enumerable: true,
|
|
228
|
-
get: function () { return
|
|
228
|
+
get: function () { return chunk6PMXAK7F_js.validateEnvironment; }
|
|
229
229
|
});
|
|
230
230
|
Object.defineProperty(exports, "validateServiceConfig", {
|
|
231
231
|
enumerable: true,
|
|
232
|
-
get: function () { return
|
|
232
|
+
get: function () { return chunk6PMXAK7F_js.validateServiceConfig; }
|
|
233
233
|
});
|
|
234
234
|
Object.defineProperty(exports, "validateStorageConfig", {
|
|
235
235
|
enumerable: true,
|
|
236
|
-
get: function () { return
|
|
237
|
-
});
|
|
238
|
-
Object.defineProperty(exports, "AliyunOSSProvider", {
|
|
239
|
-
enumerable: true,
|
|
240
|
-
get: function () { return chunkHJ6MH7J7_js.AliyunOSSProvider; }
|
|
236
|
+
get: function () { return chunk6PMXAK7F_js.validateStorageConfig; }
|
|
241
237
|
});
|
|
242
238
|
Object.defineProperty(exports, "LocalStorageProvider", {
|
|
243
239
|
enumerable: true,
|
|
244
240
|
get: function () { return chunkQ5EDCKQA_js.LocalStorageProvider; }
|
|
245
241
|
});
|
|
242
|
+
Object.defineProperty(exports, "AliyunOSSProvider", {
|
|
243
|
+
enumerable: true,
|
|
244
|
+
get: function () { return chunkHJ6MH7J7_js.AliyunOSSProvider; }
|
|
245
|
+
});
|
|
246
246
|
Object.defineProperty(exports, "fileAccessLogs", {
|
|
247
247
|
enumerable: true,
|
|
248
248
|
get: function () { return chunkV3QWXWHZ_js.fileAccessLogs; }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { AliyunCDNProvider, ApiError, ApiErrorCode, ApiErrorFactory, ApiResponseHelper, AudioProcessor, CacheManager, CacheStrategyType, CdnCacheStrategy, ConfigValidationError, DEFAULT_ALLOWED_MIME_TYPES, DEFAULT_CACHE_CONFIG, DEFAULT_FILE_SERVICE_CONFIG, DEFAULT_MAX_FILE_SIZE, DEFAULT_OSS_CONFIG_KEYS, ErrorHttpStatusMap, ErrorMessages, FileDbService, FileServiceConfigManager, ImageProcessor, PerformanceMonitor, ProcessingQueue, QueryOptimizer, UniversalFileService, ValidationHelper, VideoProcessor, cacheManager, cdnCacheStrategy, createAliyunOSSPreset, createDocumentServicePreset, createDrizzleFileRepository, createDrizzleRepository, createFileServiceConfig, createFileServiceConfigWithConfigManager, createFileServiceFromEnv, createFileServiceWithFactory, createImageServicePreset, createLocalDevPreset, createSingleton, createSmartPreset, createUniversalFileService, createUniversalFileServiceWithConfigManager, createVideoServicePreset, getDefaultLocalStorage, getMimeType, getRequiredEnvVars, loadCDNConfigFromEnv, loadConfigFromEnv, loadConfigWithFallback, loadOSSConfigFromEnv, loadOSSConfigFromService, performanceMonitor, queryOptimizer, validateEnvironment, validateServiceConfig, validateStorageConfig } from '../../chunk-
|
|
2
|
-
export { AliyunOSSProvider } from '../../chunk-HDMIOOZY.mjs';
|
|
1
|
+
export { AliyunCDNProvider, ApiError, ApiErrorCode, ApiErrorFactory, ApiResponseHelper, AudioProcessor, CacheManager, CacheStrategyType, CdnCacheStrategy, ConfigValidationError, DEFAULT_ALLOWED_MIME_TYPES, DEFAULT_CACHE_CONFIG, DEFAULT_FILE_SERVICE_CONFIG, DEFAULT_MAX_FILE_SIZE, DEFAULT_OSS_CONFIG_KEYS, ErrorHttpStatusMap, ErrorMessages, FileDbService, FileServiceConfigManager, ImageProcessor, PerformanceMonitor, ProcessingQueue, QueryOptimizer, UniversalFileService, ValidationHelper, VideoProcessor, cacheManager, cdnCacheStrategy, createAliyunOSSPreset, createDocumentServicePreset, createDrizzleFileRepository, createDrizzleRepository, createFileServiceConfig, createFileServiceConfigWithConfigManager, createFileServiceFromEnv, createFileServiceWithFactory, createImageServicePreset, createLocalDevPreset, createSingleton, createSmartPreset, createUniversalFileService, createUniversalFileServiceWithConfigManager, createVideoServicePreset, getDefaultLocalStorage, getMimeType, getRequiredEnvVars, loadCDNConfigFromEnv, loadConfigFromEnv, loadConfigWithFallback, loadOSSConfigFromEnv, loadOSSConfigFromService, performanceMonitor, queryOptimizer, validateEnvironment, validateServiceConfig, validateStorageConfig } from '../../chunk-4OOANEJV.mjs';
|
|
3
2
|
export { LocalStorageProvider } from '../../chunk-YOTQG4NP.mjs';
|
|
3
|
+
export { AliyunOSSProvider } from '../../chunk-HDMIOOZY.mjs';
|
|
4
4
|
import '../../chunk-ZGVB35L2.mjs';
|
|
5
5
|
import '../../chunk-CIVO4R6N.mjs';
|
|
6
6
|
import '../../chunk-3DXPQ4YV.mjs';
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/** Better Auth 客户端(vanilla 或 React 均可) */
|
|
2
|
+
type AuthActionsClient = Record<string, unknown>;
|
|
3
|
+
declare function useAuthActions(authClient: AuthActionsClient): {
|
|
4
|
+
signInWithEmail: (email: string, password: string) => Promise<{
|
|
5
|
+
success: false;
|
|
6
|
+
error: string;
|
|
7
|
+
} | {
|
|
8
|
+
success: true;
|
|
9
|
+
error?: undefined;
|
|
10
|
+
}>;
|
|
11
|
+
signInWithPhonePassword: (phoneNumber: string, password: string) => Promise<{
|
|
12
|
+
success: false;
|
|
13
|
+
error: string;
|
|
14
|
+
} | {
|
|
15
|
+
success: true;
|
|
16
|
+
error?: undefined;
|
|
17
|
+
}>;
|
|
18
|
+
signUpWithEmail: (email: string, password: string, name: string) => Promise<{
|
|
19
|
+
success: false;
|
|
20
|
+
error: string;
|
|
21
|
+
} | {
|
|
22
|
+
success: true;
|
|
23
|
+
error?: undefined;
|
|
24
|
+
}>;
|
|
25
|
+
sendPhoneOtp: (phoneNumber: string) => Promise<{
|
|
26
|
+
success: false;
|
|
27
|
+
error: string;
|
|
28
|
+
} | {
|
|
29
|
+
success: true;
|
|
30
|
+
error?: undefined;
|
|
31
|
+
}>;
|
|
32
|
+
verifyPhoneOtp: (phoneNumber: string, code: string) => Promise<{
|
|
33
|
+
success: false;
|
|
34
|
+
error: string;
|
|
35
|
+
} | {
|
|
36
|
+
success: true;
|
|
37
|
+
error?: undefined;
|
|
38
|
+
}>;
|
|
39
|
+
sendEmailOtp: (email: string, type?: "sign-in" | "email-verification" | "forget-password") => Promise<{
|
|
40
|
+
success: false;
|
|
41
|
+
error: string;
|
|
42
|
+
} | {
|
|
43
|
+
success: true;
|
|
44
|
+
error?: undefined;
|
|
45
|
+
}>;
|
|
46
|
+
signInWithEmailOtp: (email: string, otp: string) => Promise<{
|
|
47
|
+
success: false;
|
|
48
|
+
error: string;
|
|
49
|
+
} | {
|
|
50
|
+
success: true;
|
|
51
|
+
error?: undefined;
|
|
52
|
+
}>;
|
|
53
|
+
requestPhonePasswordReset: (phoneNumber: string) => Promise<{
|
|
54
|
+
success: false;
|
|
55
|
+
error: string;
|
|
56
|
+
} | {
|
|
57
|
+
success: true;
|
|
58
|
+
error?: undefined;
|
|
59
|
+
}>;
|
|
60
|
+
resetPhonePassword: (phoneNumber: string, otp: string, newPassword: string) => Promise<{
|
|
61
|
+
success: false;
|
|
62
|
+
error: string;
|
|
63
|
+
} | {
|
|
64
|
+
success: true;
|
|
65
|
+
error?: undefined;
|
|
66
|
+
}>;
|
|
67
|
+
signOut: () => Promise<{
|
|
68
|
+
success: true;
|
|
69
|
+
error?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
success: false;
|
|
72
|
+
error: string;
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
type UseAuthActionsReturn = ReturnType<typeof useAuthActions>;
|
|
76
|
+
|
|
77
|
+
export { type AuthActionsClient as A, type UseAuthActionsReturn as U, useAuthActions as u };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
/** Better Auth 客户端(vanilla 或 React 均可) */
|
|
2
|
+
type AuthActionsClient = Record<string, unknown>;
|
|
3
|
+
declare function useAuthActions(authClient: AuthActionsClient): {
|
|
4
|
+
signInWithEmail: (email: string, password: string) => Promise<{
|
|
5
|
+
success: false;
|
|
6
|
+
error: string;
|
|
7
|
+
} | {
|
|
8
|
+
success: true;
|
|
9
|
+
error?: undefined;
|
|
10
|
+
}>;
|
|
11
|
+
signInWithPhonePassword: (phoneNumber: string, password: string) => Promise<{
|
|
12
|
+
success: false;
|
|
13
|
+
error: string;
|
|
14
|
+
} | {
|
|
15
|
+
success: true;
|
|
16
|
+
error?: undefined;
|
|
17
|
+
}>;
|
|
18
|
+
signUpWithEmail: (email: string, password: string, name: string) => Promise<{
|
|
19
|
+
success: false;
|
|
20
|
+
error: string;
|
|
21
|
+
} | {
|
|
22
|
+
success: true;
|
|
23
|
+
error?: undefined;
|
|
24
|
+
}>;
|
|
25
|
+
sendPhoneOtp: (phoneNumber: string) => Promise<{
|
|
26
|
+
success: false;
|
|
27
|
+
error: string;
|
|
28
|
+
} | {
|
|
29
|
+
success: true;
|
|
30
|
+
error?: undefined;
|
|
31
|
+
}>;
|
|
32
|
+
verifyPhoneOtp: (phoneNumber: string, code: string) => Promise<{
|
|
33
|
+
success: false;
|
|
34
|
+
error: string;
|
|
35
|
+
} | {
|
|
36
|
+
success: true;
|
|
37
|
+
error?: undefined;
|
|
38
|
+
}>;
|
|
39
|
+
sendEmailOtp: (email: string, type?: "sign-in" | "email-verification" | "forget-password") => Promise<{
|
|
40
|
+
success: false;
|
|
41
|
+
error: string;
|
|
42
|
+
} | {
|
|
43
|
+
success: true;
|
|
44
|
+
error?: undefined;
|
|
45
|
+
}>;
|
|
46
|
+
signInWithEmailOtp: (email: string, otp: string) => Promise<{
|
|
47
|
+
success: false;
|
|
48
|
+
error: string;
|
|
49
|
+
} | {
|
|
50
|
+
success: true;
|
|
51
|
+
error?: undefined;
|
|
52
|
+
}>;
|
|
53
|
+
requestPhonePasswordReset: (phoneNumber: string) => Promise<{
|
|
54
|
+
success: false;
|
|
55
|
+
error: string;
|
|
56
|
+
} | {
|
|
57
|
+
success: true;
|
|
58
|
+
error?: undefined;
|
|
59
|
+
}>;
|
|
60
|
+
resetPhonePassword: (phoneNumber: string, otp: string, newPassword: string) => Promise<{
|
|
61
|
+
success: false;
|
|
62
|
+
error: string;
|
|
63
|
+
} | {
|
|
64
|
+
success: true;
|
|
65
|
+
error?: undefined;
|
|
66
|
+
}>;
|
|
67
|
+
signOut: () => Promise<{
|
|
68
|
+
success: true;
|
|
69
|
+
error?: undefined;
|
|
70
|
+
} | {
|
|
71
|
+
success: false;
|
|
72
|
+
error: string;
|
|
73
|
+
}>;
|
|
74
|
+
};
|
|
75
|
+
type UseAuthActionsReturn = ReturnType<typeof useAuthActions>;
|
|
76
|
+
|
|
77
|
+
export { type AuthActionsClient as A, type UseAuthActionsReturn as U, useAuthActions as u };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { B as BoothVaultStore, a as BoothUploadRecord, b as BoothFileItem, c as BoothFileKind, C as CreateBoothUploadInput, d as BoothVaultService, e as CreateBoothUploadResult, f as BoothAuditEvent } from '../../boothVaultService-Cn4WPhjg.mjs';
|
|
2
|
-
import { A as AccessPermission,
|
|
3
|
-
import { U as UniversalFileService } from '../../UniversalFileService-
|
|
2
|
+
import { A as AccessPermission, a as UploadProgress } from '../../types-B6B210gX.mjs';
|
|
3
|
+
import { U as UniversalFileService } from '../../UniversalFileService-CzAE_G4V.mjs';
|
|
4
4
|
import 'events';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-Bdnte5EN.mjs';
|
|
6
6
|
|
|
7
7
|
declare class InMemoryBoothVaultStore implements BoothVaultStore {
|
|
8
8
|
private readonly recordsById;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { B as BoothVaultStore, a as BoothUploadRecord, b as BoothFileItem, c as BoothFileKind, C as CreateBoothUploadInput, d as BoothVaultService, e as CreateBoothUploadResult, f as BoothAuditEvent } from '../../boothVaultService-Cn4WPhjg.js';
|
|
2
|
-
import { A as AccessPermission,
|
|
3
|
-
import { U as UniversalFileService } from '../../UniversalFileService-
|
|
2
|
+
import { A as AccessPermission, a as UploadProgress } from '../../types-B6B210gX.js';
|
|
3
|
+
import { U as UniversalFileService } from '../../UniversalFileService-CC4d3wkc.js';
|
|
4
4
|
import 'events';
|
|
5
|
-
import '../../types-
|
|
5
|
+
import '../../types-_rFX1atk.js';
|
|
6
6
|
|
|
7
7
|
declare class InMemoryBoothVaultStore implements BoothVaultStore {
|
|
8
8
|
private readonly recordsById;
|