sa2kit 2.0.3 → 3.0.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/README.md +1 -1
- 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/auth/client/index.d.mts +8 -27
- package/dist/auth/client/index.d.ts +8 -27
- package/dist/auth/client/index.js +9 -4
- package/dist/auth/client/index.mjs +2 -1
- package/dist/auth/components/index.d.mts +8 -225
- package/dist/auth/components/index.d.ts +8 -225
- package/dist/auth/components/index.js +62 -319
- package/dist/auth/components/index.js.map +1 -1
- package/dist/auth/components/index.mjs +6 -316
- package/dist/auth/components/index.mjs.map +1 -1
- package/dist/auth/hooks/index.d.mts +11 -29
- package/dist/auth/hooks/index.d.ts +11 -29
- package/dist/auth/hooks/index.js +14 -3
- package/dist/auth/hooks/index.mjs +4 -1
- package/dist/auth/index.d.mts +17 -14
- package/dist/auth/index.d.ts +17 -14
- package/dist/auth/index.js +51 -90
- package/dist/auth/index.mjs +8 -7
- package/dist/auth/rn/index.d.mts +3087 -18
- package/dist/auth/rn/index.d.ts +3087 -18
- package/dist/auth/rn/index.js +396 -477
- package/dist/auth/rn/index.js.map +1 -1
- package/dist/auth/rn/index.mjs +384 -475
- package/dist/auth/rn/index.mjs.map +1 -1
- package/dist/auth/schema/index.d.mts +3 -788
- package/dist/auth/schema/index.d.ts +3 -788
- package/dist/auth/schema/index.js +17 -9
- package/dist/auth/schema/index.mjs +1 -1
- package/dist/auth/services/index.d.mts +1 -48
- package/dist/auth/services/index.d.ts +1 -48
- package/dist/auth/services/index.js +3 -20
- package/dist/auth/services/index.mjs +1 -2
- package/dist/{base-api-client-B3wZZoaH.d.ts → base-api-client-BpmcQt4Q.d.ts} +1 -1
- package/dist/{base-api-client-ACKKt13v.d.mts → base-api-client-CFIhZK4C.d.mts} +1 -1
- package/dist/{base-api-client-ACKKt13v.d.ts → base-api-client-CFIhZK4C.d.ts} +1 -1
- package/dist/{base-api-client-DrL35Ea2.d.mts → base-api-client-DXLsq2yz.d.mts} +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-IIVNHQEI.mjs → chunk-5GBDDXYL.mjs} +4 -3
- package/dist/chunk-5GBDDXYL.mjs.map +1 -0
- package/dist/chunk-7E3J7VAD.mjs +3 -0
- package/dist/chunk-7E3J7VAD.mjs.map +1 -0
- package/dist/chunk-B3CZ3HXJ.mjs +126 -0
- package/dist/chunk-B3CZ3HXJ.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-FOQEQWX5.js +4 -0
- package/dist/chunk-FOQEQWX5.js.map +1 -0
- package/dist/{chunk-YGI7UU2D.mjs → chunk-G4NFB2QA.mjs} +2 -2
- package/dist/chunk-G4NFB2QA.mjs.map +1 -0
- package/dist/chunk-G5HJGXGC.mjs +39 -0
- package/dist/chunk-G5HJGXGC.mjs.map +1 -0
- package/dist/{chunk-GSNGCENJ.js → chunk-GQZHGSRR.js} +2 -39
- package/dist/chunk-GQZHGSRR.js.map +1 -0
- package/dist/chunk-GS7XLKET.js +41 -0
- package/dist/chunk-GS7XLKET.js.map +1 -0
- package/dist/{chunk-7B5SI4OF.mjs → chunk-IBWDBBX5.mjs} +4 -3
- package/dist/chunk-IBWDBBX5.mjs.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-LHJKLUM7.mjs +18 -0
- package/dist/chunk-LHJKLUM7.mjs.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-MWSAH7ZG.mjs +42 -0
- package/dist/chunk-MWSAH7ZG.mjs.map +1 -0
- package/dist/{chunk-HCI6JQOU.mjs → chunk-MZOGYD4N.mjs} +7 -4
- package/dist/chunk-MZOGYD4N.mjs.map +1 -0
- package/dist/chunk-NDGHXVGS.js +25 -0
- package/dist/chunk-NDGHXVGS.js.map +1 -0
- package/dist/chunk-Q5VFBPMG.mjs +76 -0
- package/dist/chunk-Q5VFBPMG.mjs.map +1 -0
- package/dist/chunk-QDUBO567.js +1148 -0
- package/dist/chunk-QDUBO567.js.map +1 -0
- package/dist/{chunk-3CSCIRQY.js → chunk-QP5N3ER6.js} +6 -5
- package/dist/chunk-QP5N3ER6.js.map +1 -0
- package/dist/chunk-RWCD2CAD.mjs +1132 -0
- package/dist/chunk-RWCD2CAD.mjs.map +1 -0
- package/dist/{chunk-VQ54PUQV.js → chunk-S37OK2QG.js} +2 -2
- package/dist/chunk-S37OK2QG.js.map +1 -0
- package/dist/chunk-S3PUP7N4.js +20 -0
- package/dist/chunk-S3PUP7N4.js.map +1 -0
- package/dist/{chunk-QQ2WFYOD.js → chunk-S6YSGVWD.js} +4 -76
- package/dist/chunk-S6YSGVWD.js.map +1 -0
- package/dist/chunk-SFDJNKWC.js +22 -0
- package/dist/chunk-SFDJNKWC.js.map +1 -0
- package/dist/chunk-TTYCVBIQ.mjs +144 -0
- package/dist/chunk-TTYCVBIQ.mjs.map +1 -0
- package/dist/{chunk-HBF4HPRK.js → chunk-TXMX6PZR.js} +7 -3
- package/dist/chunk-TXMX6PZR.js.map +1 -0
- package/dist/chunk-VHN7PF5I.js +20 -0
- package/dist/chunk-VHN7PF5I.js.map +1 -0
- package/dist/chunk-VJNDOYEC.js +41 -0
- package/dist/chunk-VJNDOYEC.js.map +1 -0
- package/dist/chunk-XBZIS3MV.mjs +13 -0
- package/dist/chunk-XBZIS3MV.mjs.map +1 -0
- package/dist/chunk-XFOZ56FB.mjs +20 -0
- package/dist/chunk-XFOZ56FB.mjs.map +1 -0
- package/dist/chunk-Z23HAXHL.js +136 -0
- package/dist/chunk-Z23HAXHL.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 +3239 -0
- package/dist/common/auth/client/index.d.ts +3239 -0
- package/dist/common/auth/client/index.js +26 -0
- package/dist/common/auth/client/index.mjs +5 -0
- package/dist/common/auth/components/index.d.mts +374 -0
- package/dist/common/auth/components/index.d.ts +374 -0
- package/dist/common/auth/components/index.js +70 -0
- package/dist/common/auth/components/index.mjs +9 -0
- package/dist/common/auth/hooks/index.d.mts +75 -0
- package/dist/common/auth/hooks/index.d.ts +75 -0
- package/dist/common/auth/hooks/index.js +28 -0
- package/dist/common/auth/hooks/index.js.map +1 -0
- package/dist/common/auth/hooks/index.mjs +7 -0
- package/dist/common/auth/hooks/index.mjs.map +1 -0
- package/dist/common/auth/index.d.mts +14 -6
- package/dist/common/auth/index.d.ts +14 -6
- package/dist/common/auth/index.js +17 -8
- package/dist/common/auth/index.mjs +4 -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 +3138 -0
- package/dist/common/auth/rn/index.d.ts +3138 -0
- package/dist/common/auth/rn/index.js +348 -0
- package/dist/common/auth/rn/index.js.map +1 -0
- package/dist/common/auth/rn/index.mjs +327 -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.js.map +1 -0
- package/dist/common/auth/schema/index.mjs +4 -0
- package/dist/common/auth/schema/index.mjs.map +1 -0
- package/dist/common/auth/server/index.d.mts +7 -30
- package/dist/common/auth/server/index.d.ts +7 -30
- package/dist/common/auth/server/index.js +36 -79
- package/dist/common/auth/server/index.mjs +2 -5
- 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 +17 -0
- package/dist/common/auth/services/index.js.map +1 -0
- package/dist/common/auth/services/index.mjs +4 -0
- package/dist/common/auth/services/index.mjs.map +1 -0
- package/dist/common/index.d.mts +13 -5
- package/dist/common/index.d.ts +13 -5
- package/dist/common/index.js +19 -16
- package/dist/common/index.mjs +11 -8
- package/dist/common/request/index.js +5 -4
- package/dist/common/request/index.mjs +3 -2
- 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/{index-DPYkrKZf.d.mts → index-BcjDRcKp.d.mts} +11 -6
- package/dist/{index-Bnh6VqFv.d.ts → index-BlpXrrTy.d.ts} +11 -6
- 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.d.mts +6296 -40
- package/dist/index.d.ts +6296 -40
- package/dist/index.js +1378 -2508
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1073 -2203
- 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/request/index.js +4 -3
- package/dist/request/index.mjs +2 -1
- package/dist/session-BCXvGCnm.d.mts +81 -0
- package/dist/session-BCXvGCnm.d.ts +81 -0
- 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.mts → types-Cs0CLvrH.d.mts} +1 -1
- package/dist/{types-tQfupO6d.d.ts → types-Cs0CLvrH.d.ts} +1 -1
- package/dist/{types-ERmJyjx8.d.ts → types-_rFX1atk.d.ts} +1 -1
- package/dist/types.legacy-J-j-_ig_.d.mts +25 -0
- package/dist/types.legacy-J-j-_ig_.d.ts +25 -0
- 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 +59 -76
- 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.mjs +0 -6
- 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.mjs +0 -6
- package/dist/chunk-37HYTHEC.mjs +0 -90
- package/dist/chunk-37HYTHEC.mjs.map +0 -1
- package/dist/chunk-3CSCIRQY.js.map +0 -1
- package/dist/chunk-5WV35FPV.js +0 -131
- package/dist/chunk-5WV35FPV.js.map +0 -1
- package/dist/chunk-7B5SI4OF.mjs.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-EQXPL7TN.mjs +0 -78
- package/dist/chunk-EQXPL7TN.mjs.map +0 -1
- package/dist/chunk-GSNGCENJ.js.map +0 -1
- package/dist/chunk-HBF4HPRK.js.map +0 -1
- 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.map +0 -1
- package/dist/chunk-W5JEGA76.mjs +0 -33
- package/dist/chunk-W5JEGA76.mjs.map +0 -1
- 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-DNKZ7-R_.d.mts +0 -184
- package/dist/index-DNKZ7-R_.d.ts +0 -184
- package/dist/types-C5vUWf9u.d.ts +0 -70
- package/dist/types-IYCqCk2g.d.mts +0 -70
- /package/dist/{auth/middleware → common/auth/client}/index.js.map +0 -0
- /package/dist/{auth/middleware → common/auth/client}/index.mjs.map +0 -0
- /package/dist/{auth/routes → common/auth/components}/index.js.map +0 -0
- /package/dist/{auth/routes → common/auth/components}/index.mjs.map +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { F as FileMetadata } from '../../types-
|
|
2
|
+
import { F as FileMetadata } from '../../types-B6B210gX.mjs';
|
|
3
3
|
import { M as MMDPlaylistConfig, a as MMDResourceItem, b as MMDPlaylistNode, c as MMDResourceOptions, d as MMDResources } from '../../types-HorDyIRv.mjs';
|
|
4
4
|
export { M as MmdPlaylist, f as MmdPlaylistNode, j as MmdPresetItem, h as MmdResourceOption, N as NewMmdPlaylist, g as NewMmdPlaylistNode, k as NewMmdPresetItem, i as NewMmdResourceOption, a as mmdPlaylistNodes, e as mmdPlaylistNodesRelations, m as mmdPlaylists, d as mmdPlaylistsRelations, c as mmdPresetItems, b as mmdResourceOptions } from '../../drizzle-schema-BNhqj2AZ.mjs';
|
|
5
5
|
import 'three';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from 'react';
|
|
2
|
-
import { F as FileMetadata } from '../../types-
|
|
2
|
+
import { F as FileMetadata } from '../../types-B6B210gX.js';
|
|
3
3
|
import { M as MMDPlaylistConfig, a as MMDResourceItem, b as MMDPlaylistNode, c as MMDResourceOptions, d as MMDResources } from '../../types-HorDyIRv.js';
|
|
4
4
|
export { M as MmdPlaylist, f as MmdPlaylistNode, j as MmdPresetItem, h as MmdResourceOption, N as NewMmdPlaylist, g as NewMmdPlaylistNode, k as NewMmdPresetItem, i as NewMmdResourceOption, a as mmdPlaylistNodes, e as mmdPlaylistNodesRelations, m as mmdPlaylists, d as mmdPlaylistsRelations, c as mmdPresetItems, b as mmdResourceOptions } from '../../drizzle-schema-BNhqj2AZ.js';
|
|
5
5
|
import 'three';
|
package/dist/mmd/index.d.mts
CHANGED
|
@@ -3,7 +3,7 @@ export { M as MMDPlaylistConfig, a as MMDResourceItem, c as MMDResourceOptions,
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { CSSProperties } from 'react';
|
|
5
5
|
import * as THREE from 'three';
|
|
6
|
-
import {
|
|
6
|
+
import { U as UploadFileInfo, a as UploadProgress, F as FileMetadata, A as AccessPermission } from '../types-B6B210gX.mjs';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* PMX模型解析器类型定义
|
package/dist/mmd/index.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ export { M as MMDPlaylistConfig, a as MMDResourceItem, c as MMDResourceOptions,
|
|
|
3
3
|
import * as React$1 from 'react';
|
|
4
4
|
import React__default, { CSSProperties } from 'react';
|
|
5
5
|
import * as THREE from 'three';
|
|
6
|
-
import {
|
|
6
|
+
import { U as UploadFileInfo, a as UploadProgress, F as FileMetadata, A as AccessPermission } from '../types-B6B210gX.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
* PMX模型解析器类型定义
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { M as MmdPlaylist, f as MmdPlaylistNode, j as MmdPresetItem, h as MmdResourceOption, N as NewMmdPlaylist, g as NewMmdPlaylistNode, k as NewMmdPresetItem, i as NewMmdResourceOption, a as mmdPlaylistNodes, e as mmdPlaylistNodesRelations, m as mmdPlaylists, d as mmdPlaylistsRelations, c as mmdPresetItems, b as mmdResourceOptions } from '../../drizzle-schema-BNhqj2AZ.mjs';
|
|
2
2
|
import { M as MMDPlaylistConfig } from '../../types-HorDyIRv.mjs';
|
|
3
|
-
import { U as UniversalFileService } from '../../UniversalFileService-
|
|
4
|
-
import { F as FileMetadata } from '../../types-
|
|
3
|
+
import { U as UniversalFileService } from '../../UniversalFileService-CzAE_G4V.mjs';
|
|
4
|
+
import { F as FileMetadata } from '../../types-B6B210gX.mjs';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
7
|
import 'three';
|
|
8
8
|
import 'events';
|
|
9
|
-
import '../../types-
|
|
9
|
+
import '../../types-Bdnte5EN.mjs';
|
|
10
10
|
|
|
11
11
|
type SupportedModelFormat = 'pmx' | 'pmd';
|
|
12
12
|
interface ProcessMmdModelArchiveOptions {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export { M as MmdPlaylist, f as MmdPlaylistNode, j as MmdPresetItem, h as MmdResourceOption, N as NewMmdPlaylist, g as NewMmdPlaylistNode, k as NewMmdPresetItem, i as NewMmdResourceOption, a as mmdPlaylistNodes, e as mmdPlaylistNodesRelations, m as mmdPlaylists, d as mmdPlaylistsRelations, c as mmdPresetItems, b as mmdResourceOptions } from '../../drizzle-schema-BNhqj2AZ.js';
|
|
2
2
|
import { M as MMDPlaylistConfig } from '../../types-HorDyIRv.js';
|
|
3
|
-
import { U as UniversalFileService } from '../../UniversalFileService-
|
|
4
|
-
import { F as FileMetadata } from '../../types-
|
|
3
|
+
import { U as UniversalFileService } from '../../UniversalFileService-CC4d3wkc.js';
|
|
4
|
+
import { F as FileMetadata } from '../../types-B6B210gX.js';
|
|
5
5
|
import 'drizzle-orm';
|
|
6
6
|
import 'drizzle-orm/pg-core';
|
|
7
7
|
import 'three';
|
|
8
8
|
import 'events';
|
|
9
|
-
import '../../types-
|
|
9
|
+
import '../../types-_rFX1atk.js';
|
|
10
10
|
|
|
11
11
|
type SupportedModelFormat = 'pmx' | 'pmd';
|
|
12
12
|
interface ProcessMmdModelArchiveOptions {
|
package/dist/request/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkGQZHGSRR_js = require('../chunk-GQZHGSRR.js');
|
|
4
|
+
var chunkGS7XLKET_js = require('../chunk-GS7XLKET.js');
|
|
4
5
|
var chunkPBI7FKMB_js = require('../chunk-PBI7FKMB.js');
|
|
5
6
|
require('../chunk-NSBPE2FW.js');
|
|
6
7
|
|
|
@@ -8,11 +9,11 @@ require('../chunk-NSBPE2FW.js');
|
|
|
8
9
|
|
|
9
10
|
Object.defineProperty(exports, "MiniappRequestAdapter", {
|
|
10
11
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkGQZHGSRR_js.MiniappRequestAdapter; }
|
|
12
13
|
});
|
|
13
14
|
Object.defineProperty(exports, "ReactNativeRequestAdapter", {
|
|
14
15
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkGS7XLKET_js.ReactNativeRequestAdapter; }
|
|
16
17
|
});
|
|
17
18
|
Object.defineProperty(exports, "WebRequestAdapter", {
|
|
18
19
|
enumerable: true,
|
package/dist/request/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { MiniappRequestAdapter
|
|
1
|
+
export { MiniappRequestAdapter } from '../chunk-MWSAH7ZG.mjs';
|
|
2
|
+
export { ReactNativeRequestAdapter } from '../chunk-G5HJGXGC.mjs';
|
|
2
3
|
export { WebRequestAdapter } from '../chunk-G7UBMCUT.mjs';
|
|
3
4
|
import '../chunk-MAI35PU6.mjs';
|
|
4
5
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* sa2kit auth 服务端配置类型(Better Auth 3.0)
|
|
3
|
+
*/
|
|
4
|
+
type Sa2kitSmsProvider = {
|
|
5
|
+
sendOTP: (phoneNumber: string, code: string) => void | Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
type Sa2kitEmailProvider = {
|
|
8
|
+
sendVerificationOTP: (email: string, otp: string, type: string) => void | Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
type Sa2kitAuthConfig = {
|
|
11
|
+
db: unknown;
|
|
12
|
+
baseURL: string;
|
|
13
|
+
secret: string;
|
|
14
|
+
trustedOrigins?: string[];
|
|
15
|
+
basePath?: string;
|
|
16
|
+
sms?: Sa2kitSmsProvider;
|
|
17
|
+
email?: Sa2kitEmailProvider;
|
|
18
|
+
phoneNumberValidator?: (phoneNumber: string) => boolean;
|
|
19
|
+
logOtpInDev?: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** Better Auth 实例(运行时完整 API,类型刻意保持宽松以便跨插件版本) */
|
|
22
|
+
type Sa2kitAuthInstance = {
|
|
23
|
+
handler: (request: Request) => Promise<Response>;
|
|
24
|
+
api: {
|
|
25
|
+
getSession: (ctx: {
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}) => Promise<{
|
|
28
|
+
user: Record<string, unknown>;
|
|
29
|
+
} | null>;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
type Sa2kitAuth = Sa2kitAuthInstance;
|
|
35
|
+
|
|
36
|
+
declare function createSa2kitAuth(config: Sa2kitAuthConfig): Sa2kitAuthInstance;
|
|
37
|
+
|
|
38
|
+
declare function mountNextAuthHandler(auth: Sa2kitAuthInstance): {
|
|
39
|
+
GET: (request: Request) => Promise<Response>;
|
|
40
|
+
POST: (request: Request) => Promise<Response>;
|
|
41
|
+
PATCH: (request: Request) => Promise<Response>;
|
|
42
|
+
PUT: (request: Request) => Promise<Response>;
|
|
43
|
+
DELETE: (request: Request) => Promise<Response>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Hono / 通用 fetch handler
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
declare function mountAuthHandler(auth: Sa2kitAuthInstance): (request: Request) => Promise<Response>;
|
|
51
|
+
declare function createAuthRouteHandlers(auth: Sa2kitAuthInstance): {
|
|
52
|
+
GET: (request: Request) => Promise<Response>;
|
|
53
|
+
POST: (request: Request) => Promise<Response>;
|
|
54
|
+
PUT: (request: Request) => Promise<Response>;
|
|
55
|
+
PATCH: (request: Request) => Promise<Response>;
|
|
56
|
+
DELETE: (request: Request) => Promise<Response>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* 从 Request 解析 Better Auth session(替代自研 JWT validateApiAuth)
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
type SessionUser = {
|
|
64
|
+
id: string;
|
|
65
|
+
email: string;
|
|
66
|
+
name: string;
|
|
67
|
+
role?: string;
|
|
68
|
+
phoneNumber?: string | null;
|
|
69
|
+
};
|
|
70
|
+
declare function getSessionUser(auth: Sa2kitAuthInstance, request: Request): Promise<SessionUser | null>;
|
|
71
|
+
type SessionUserNumeric = Omit<SessionUser, 'id'> & {
|
|
72
|
+
id: number;
|
|
73
|
+
};
|
|
74
|
+
/** 兼容 numeric id 消费方(legacy calendar 等) */
|
|
75
|
+
declare function getSessionUserNumeric(auth: Sa2kitAuthInstance, request: Request): Promise<SessionUserNumeric | null>;
|
|
76
|
+
declare function createSessionValidator(auth: Sa2kitAuthInstance): {
|
|
77
|
+
getSessionUser: (request: Request) => Promise<SessionUser | null>;
|
|
78
|
+
getSessionUserNumeric: (request: Request) => Promise<SessionUserNumeric | null>;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export { type Sa2kitAuthInstance as S, mountAuthHandler as a, createAuthRouteHandlers as b, createSa2kitAuth as c, createSessionValidator as d, getSessionUserNumeric as e, type Sa2kitAuthConfig as f, getSessionUser as g, type Sa2kitSmsProvider as h, type Sa2kitEmailProvider as i, type Sa2kitAuth as j, type SessionUser as k, mountNextAuthHandler as m };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* sa2kit auth 服务端配置类型(Better Auth 3.0)
|
|
3
|
+
*/
|
|
4
|
+
type Sa2kitSmsProvider = {
|
|
5
|
+
sendOTP: (phoneNumber: string, code: string) => void | Promise<void>;
|
|
6
|
+
};
|
|
7
|
+
type Sa2kitEmailProvider = {
|
|
8
|
+
sendVerificationOTP: (email: string, otp: string, type: string) => void | Promise<void>;
|
|
9
|
+
};
|
|
10
|
+
type Sa2kitAuthConfig = {
|
|
11
|
+
db: unknown;
|
|
12
|
+
baseURL: string;
|
|
13
|
+
secret: string;
|
|
14
|
+
trustedOrigins?: string[];
|
|
15
|
+
basePath?: string;
|
|
16
|
+
sms?: Sa2kitSmsProvider;
|
|
17
|
+
email?: Sa2kitEmailProvider;
|
|
18
|
+
phoneNumberValidator?: (phoneNumber: string) => boolean;
|
|
19
|
+
logOtpInDev?: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** Better Auth 实例(运行时完整 API,类型刻意保持宽松以便跨插件版本) */
|
|
22
|
+
type Sa2kitAuthInstance = {
|
|
23
|
+
handler: (request: Request) => Promise<Response>;
|
|
24
|
+
api: {
|
|
25
|
+
getSession: (ctx: {
|
|
26
|
+
headers: Headers;
|
|
27
|
+
}) => Promise<{
|
|
28
|
+
user: Record<string, unknown>;
|
|
29
|
+
} | null>;
|
|
30
|
+
[key: string]: unknown;
|
|
31
|
+
};
|
|
32
|
+
[key: string]: unknown;
|
|
33
|
+
};
|
|
34
|
+
type Sa2kitAuth = Sa2kitAuthInstance;
|
|
35
|
+
|
|
36
|
+
declare function createSa2kitAuth(config: Sa2kitAuthConfig): Sa2kitAuthInstance;
|
|
37
|
+
|
|
38
|
+
declare function mountNextAuthHandler(auth: Sa2kitAuthInstance): {
|
|
39
|
+
GET: (request: Request) => Promise<Response>;
|
|
40
|
+
POST: (request: Request) => Promise<Response>;
|
|
41
|
+
PATCH: (request: Request) => Promise<Response>;
|
|
42
|
+
PUT: (request: Request) => Promise<Response>;
|
|
43
|
+
DELETE: (request: Request) => Promise<Response>;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Hono / 通用 fetch handler
|
|
48
|
+
*/
|
|
49
|
+
|
|
50
|
+
declare function mountAuthHandler(auth: Sa2kitAuthInstance): (request: Request) => Promise<Response>;
|
|
51
|
+
declare function createAuthRouteHandlers(auth: Sa2kitAuthInstance): {
|
|
52
|
+
GET: (request: Request) => Promise<Response>;
|
|
53
|
+
POST: (request: Request) => Promise<Response>;
|
|
54
|
+
PUT: (request: Request) => Promise<Response>;
|
|
55
|
+
PATCH: (request: Request) => Promise<Response>;
|
|
56
|
+
DELETE: (request: Request) => Promise<Response>;
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* 从 Request 解析 Better Auth session(替代自研 JWT validateApiAuth)
|
|
61
|
+
*/
|
|
62
|
+
|
|
63
|
+
type SessionUser = {
|
|
64
|
+
id: string;
|
|
65
|
+
email: string;
|
|
66
|
+
name: string;
|
|
67
|
+
role?: string;
|
|
68
|
+
phoneNumber?: string | null;
|
|
69
|
+
};
|
|
70
|
+
declare function getSessionUser(auth: Sa2kitAuthInstance, request: Request): Promise<SessionUser | null>;
|
|
71
|
+
type SessionUserNumeric = Omit<SessionUser, 'id'> & {
|
|
72
|
+
id: number;
|
|
73
|
+
};
|
|
74
|
+
/** 兼容 numeric id 消费方(legacy calendar 等) */
|
|
75
|
+
declare function getSessionUserNumeric(auth: Sa2kitAuthInstance, request: Request): Promise<SessionUserNumeric | null>;
|
|
76
|
+
declare function createSessionValidator(auth: Sa2kitAuthInstance): {
|
|
77
|
+
getSessionUser: (request: Request) => Promise<SessionUser | null>;
|
|
78
|
+
getSessionUserNumeric: (request: Request) => Promise<SessionUserNumeric | null>;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
export { type Sa2kitAuthInstance as S, mountAuthHandler as a, createAuthRouteHandlers as b, createSa2kitAuth as c, createSessionValidator as d, getSessionUserNumeric as e, type Sa2kitAuthConfig as f, getSessionUser as g, type Sa2kitSmsProvider as h, type Sa2kitEmailProvider as i, type Sa2kitAuth as j, type SessionUser as k, mountNextAuthHandler as m };
|
package/dist/storage/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkS6YSGVWD_js = require('../chunk-S6YSGVWD.js');
|
|
4
|
+
var chunkCAYOQDBR_js = require('../chunk-CAYOQDBR.js');
|
|
4
5
|
var chunkUCOE6SET_js = require('../chunk-UCOE6SET.js');
|
|
5
6
|
var chunkXJ7ZAGC5_js = require('../chunk-XJ7ZAGC5.js');
|
|
6
7
|
require('../chunk-NSBPE2FW.js');
|
|
@@ -9,31 +10,31 @@ require('../chunk-NSBPE2FW.js');
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, "MiniAppStorageAdapter", {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
-
});
|
|
14
|
-
Object.defineProperty(exports, "ReactNativeStorageAdapter", {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return chunkQQ2WFYOD_js.ReactNativeStorageAdapter; }
|
|
13
|
+
get: function () { return chunkS6YSGVWD_js.MiniAppStorageAdapter; }
|
|
17
14
|
});
|
|
18
15
|
Object.defineProperty(exports, "useAsyncStorage", {
|
|
19
16
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkS6YSGVWD_js.useAsyncStorage; }
|
|
21
18
|
});
|
|
22
19
|
Object.defineProperty(exports, "useElectronStorage", {
|
|
23
20
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkS6YSGVWD_js.useElectronStorage; }
|
|
25
22
|
});
|
|
26
23
|
Object.defineProperty(exports, "useLocalStorage", {
|
|
27
24
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkS6YSGVWD_js.useLocalStorage; }
|
|
29
26
|
});
|
|
30
27
|
Object.defineProperty(exports, "useStorage", {
|
|
31
28
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkS6YSGVWD_js.useStorage; }
|
|
33
30
|
});
|
|
34
31
|
Object.defineProperty(exports, "useTaroStorage", {
|
|
35
32
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkS6YSGVWD_js.useTaroStorage; }
|
|
34
|
+
});
|
|
35
|
+
Object.defineProperty(exports, "ReactNativeStorageAdapter", {
|
|
36
|
+
enumerable: true,
|
|
37
|
+
get: function () { return chunkCAYOQDBR_js.ReactNativeStorageAdapter; }
|
|
37
38
|
});
|
|
38
39
|
Object.defineProperty(exports, "ElectronStorageAdapter", {
|
|
39
40
|
enumerable: true,
|
package/dist/storage/index.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
export { MiniAppStorageAdapter,
|
|
1
|
+
export { MiniAppStorageAdapter, useAsyncStorage, useElectronStorage, useLocalStorage, useStorage, useTaroStorage } from '../chunk-CX2GHCAI.mjs';
|
|
2
|
+
export { ReactNativeStorageAdapter } from '../chunk-Q5VFBPMG.mjs';
|
|
2
3
|
export { ElectronStorageAdapter } from '../chunk-HJZHQW5R.mjs';
|
|
3
4
|
export { WebStorageAdapter } from '../chunk-WEEXCPSE.mjs';
|
|
4
5
|
import '../chunk-MAI35PU6.mjs';
|
|
@@ -267,4 +267,4 @@ declare class CDNProviderError extends FileServiceError {
|
|
|
267
267
|
constructor(message: string, details?: Record<string, any>);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
export { type AccessPermission as A, type BatchOperationResult as B, type CDNType as C, type FileMetadata as F, type ImageProcessingOptions as I, type
|
|
270
|
+
export { type AccessPermission as A, type BatchOperationResult as B, type CDNType as C, type FileMetadata as F, type ImageProcessingOptions as I, type PaginatedResult as P, type StorageType as S, type UploadFileInfo as U, type VideoProcessingOptions as V, type UploadProgress as a, type FileQueryOptions as b, type FileEventListener as c, type UploadStatus as d, type ProcessorType as e, type ProcessingOptions as f, type AudioProcessingOptions as g, CDNProviderError as h, type FileEvent as i, type FileEventType as j, FileProcessingError as k, FileServiceError as l, FileUploadError as m, StorageProviderError as n, type UploadResult as o };
|
|
@@ -267,4 +267,4 @@ declare class CDNProviderError extends FileServiceError {
|
|
|
267
267
|
constructor(message: string, details?: Record<string, any>);
|
|
268
268
|
}
|
|
269
269
|
|
|
270
|
-
export { type AccessPermission as A, type BatchOperationResult as B, type CDNType as C, type FileMetadata as F, type ImageProcessingOptions as I, type
|
|
270
|
+
export { type AccessPermission as A, type BatchOperationResult as B, type CDNType as C, type FileMetadata as F, type ImageProcessingOptions as I, type PaginatedResult as P, type StorageType as S, type UploadFileInfo as U, type VideoProcessingOptions as V, type UploadProgress as a, type FileQueryOptions as b, type FileEventListener as c, type UploadStatus as d, type ProcessorType as e, type ProcessingOptions as f, type AudioProcessingOptions as g, CDNProviderError as h, type FileEvent as i, type FileEventType as j, FileProcessingError as k, FileServiceError as l, FileUploadError as m, StorageProviderError as n, type UploadResult as o };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StorageType$1, C as CDNType$1, F as FileMetadata, A as AccessPermission,
|
|
1
|
+
import { S as StorageType$1, C as CDNType$1, F as FileMetadata, A as AccessPermission, d as UploadStatus, e as ProcessorType$1, U as UploadFileInfo$1, f as ProcessingOptions$1 } from './types-B6B210gX.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* UniversalFile Server 端类型定义
|
|
@@ -67,4 +67,4 @@ interface FestivalCardServiceOptions {
|
|
|
67
67
|
db?: FestivalCardDbAdapter;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export type {
|
|
70
|
+
export type { FestivalCardDbAdapter as F, FestivalCardConfigSummary as a, FestivalCardConfig as b, FestivalCardServiceOptions as c, FestivalCardElementType as d, FestivalCardElementBase as e, FestivalCardTextElement as f, FestivalCardImageElement as g, FestivalCardElement as h, FestivalCardPage as i, FestivalCardAudioConfig as j };
|
|
@@ -67,4 +67,4 @@ interface FestivalCardServiceOptions {
|
|
|
67
67
|
db?: FestivalCardDbAdapter;
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
export type {
|
|
70
|
+
export type { FestivalCardDbAdapter as F, FestivalCardConfigSummary as a, FestivalCardConfig as b, FestivalCardServiceOptions as c, FestivalCardElementType as d, FestivalCardElementBase as e, FestivalCardTextElement as f, FestivalCardImageElement as g, FestivalCardElement as h, FestivalCardPage as i, FestivalCardAudioConfig as j };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StorageType$1, C as CDNType$1, F as FileMetadata, A as AccessPermission,
|
|
1
|
+
import { S as StorageType$1, C as CDNType$1, F as FileMetadata, A as AccessPermission, d as UploadStatus, e as ProcessorType$1, U as UploadFileInfo$1, f as ProcessingOptions$1 } from './types-B6B210gX.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* UniversalFile Server 端类型定义
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated 2.x headless 表单状态
|
|
3
|
+
*/
|
|
4
|
+
interface LoginFormState {
|
|
5
|
+
email: string;
|
|
6
|
+
password: string;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: string | null;
|
|
9
|
+
handleEmailChange: (value: string) => void;
|
|
10
|
+
handlePasswordChange: (value: string) => void;
|
|
11
|
+
handleSubmit: (e?: React.FormEvent) => Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
interface RegisterFormState {
|
|
14
|
+
email: string;
|
|
15
|
+
password: string;
|
|
16
|
+
username: string;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
error: string | null;
|
|
19
|
+
handleEmailChange: (value: string) => void;
|
|
20
|
+
handlePasswordChange: (value: string) => void;
|
|
21
|
+
handleUsernameChange: (value: string) => void;
|
|
22
|
+
handleSubmit: (e?: React.FormEvent) => Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type { LoginFormState as L, RegisterFormState as R };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @deprecated 2.x headless 表单状态
|
|
3
|
+
*/
|
|
4
|
+
interface LoginFormState {
|
|
5
|
+
email: string;
|
|
6
|
+
password: string;
|
|
7
|
+
loading: boolean;
|
|
8
|
+
error: string | null;
|
|
9
|
+
handleEmailChange: (value: string) => void;
|
|
10
|
+
handlePasswordChange: (value: string) => void;
|
|
11
|
+
handleSubmit: (e?: React.FormEvent) => Promise<void>;
|
|
12
|
+
}
|
|
13
|
+
interface RegisterFormState {
|
|
14
|
+
email: string;
|
|
15
|
+
password: string;
|
|
16
|
+
username: string;
|
|
17
|
+
loading: boolean;
|
|
18
|
+
error: string | null;
|
|
19
|
+
handleEmailChange: (value: string) => void;
|
|
20
|
+
handlePasswordChange: (value: string) => void;
|
|
21
|
+
handleUsernameChange: (value: string) => void;
|
|
22
|
+
handleSubmit: (e?: React.FormEvent) => Promise<void>;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export type { LoginFormState as L, RegisterFormState as R };
|
|
@@ -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;
|