sa2kit 2.0.4 → 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.
Files changed (347) hide show
  1. package/dist/{UniversalFileService-GsP6D3Rc.d.ts → UniversalFileService-CC4d3wkc.d.ts} +2 -2
  2. package/dist/{UniversalFileService-BpvbZitV.d.mts → UniversalFileService-CzAE_G4V.d.mts} +2 -2
  3. package/dist/auth/client/index.d.mts +8 -27
  4. package/dist/auth/client/index.d.ts +8 -27
  5. package/dist/auth/client/index.js +9 -4
  6. package/dist/auth/client/index.mjs +2 -1
  7. package/dist/auth/components/index.d.mts +8 -225
  8. package/dist/auth/components/index.d.ts +8 -225
  9. package/dist/auth/components/index.js +62 -319
  10. package/dist/auth/components/index.js.map +1 -1
  11. package/dist/auth/components/index.mjs +6 -316
  12. package/dist/auth/components/index.mjs.map +1 -1
  13. package/dist/auth/hooks/index.d.mts +11 -29
  14. package/dist/auth/hooks/index.d.ts +11 -29
  15. package/dist/auth/hooks/index.js +14 -3
  16. package/dist/auth/hooks/index.mjs +4 -1
  17. package/dist/auth/index.d.mts +17 -14
  18. package/dist/auth/index.d.ts +17 -14
  19. package/dist/auth/index.js +51 -90
  20. package/dist/auth/index.mjs +8 -7
  21. package/dist/auth/rn/index.d.mts +3087 -18
  22. package/dist/auth/rn/index.d.ts +3087 -18
  23. package/dist/auth/rn/index.js +396 -477
  24. package/dist/auth/rn/index.js.map +1 -1
  25. package/dist/auth/rn/index.mjs +384 -475
  26. package/dist/auth/rn/index.mjs.map +1 -1
  27. package/dist/auth/schema/index.d.mts +3 -788
  28. package/dist/auth/schema/index.d.ts +3 -788
  29. package/dist/auth/schema/index.js +17 -9
  30. package/dist/auth/schema/index.mjs +1 -1
  31. package/dist/auth/services/index.d.mts +1 -48
  32. package/dist/auth/services/index.d.ts +1 -48
  33. package/dist/auth/services/index.js +3 -20
  34. package/dist/auth/services/index.mjs +1 -2
  35. package/dist/{base-api-client-B3wZZoaH.d.ts → base-api-client-BpmcQt4Q.d.ts} +1 -1
  36. package/dist/{base-api-client-ACKKt13v.d.mts → base-api-client-CFIhZK4C.d.mts} +1 -1
  37. package/dist/{base-api-client-ACKKt13v.d.ts → base-api-client-CFIhZK4C.d.ts} +1 -1
  38. package/dist/{base-api-client-DrL35Ea2.d.mts → base-api-client-DXLsq2yz.d.mts} +1 -1
  39. package/dist/business/index.d.mts +1 -5
  40. package/dist/business/index.d.ts +1 -5
  41. package/dist/business/index.js +34 -1135
  42. package/dist/business/index.js.map +1 -1
  43. package/dist/business/index.mjs +5 -1105
  44. package/dist/business/index.mjs.map +1 -1
  45. package/dist/calendar/routes/index.d.mts +74 -1
  46. package/dist/calendar/routes/index.d.ts +74 -1
  47. package/dist/calendar/routes/index.js +186 -97
  48. package/dist/calendar/routes/index.js.map +1 -1
  49. package/dist/calendar/routes/index.mjs +178 -99
  50. package/dist/calendar/routes/index.mjs.map +1 -1
  51. package/dist/{chunk-IIVNHQEI.mjs → chunk-5GBDDXYL.mjs} +4 -3
  52. package/dist/chunk-5GBDDXYL.mjs.map +1 -0
  53. package/dist/chunk-7E3J7VAD.mjs +3 -0
  54. package/dist/chunk-7E3J7VAD.mjs.map +1 -0
  55. package/dist/chunk-B3CZ3HXJ.mjs +126 -0
  56. package/dist/chunk-B3CZ3HXJ.mjs.map +1 -0
  57. package/dist/chunk-CAYOQDBR.js +78 -0
  58. package/dist/chunk-CAYOQDBR.js.map +1 -0
  59. package/dist/{chunk-PTMSDNGO.mjs → chunk-CX2GHCAI.mjs} +4 -75
  60. package/dist/chunk-CX2GHCAI.mjs.map +1 -0
  61. package/dist/chunk-EBHPTFG6.mjs +82 -0
  62. package/dist/chunk-EBHPTFG6.mjs.map +1 -0
  63. package/dist/chunk-FOQEQWX5.js +4 -0
  64. package/dist/chunk-FOQEQWX5.js.map +1 -0
  65. package/dist/{chunk-YGI7UU2D.mjs → chunk-G4NFB2QA.mjs} +2 -2
  66. package/dist/chunk-G4NFB2QA.mjs.map +1 -0
  67. package/dist/chunk-G5HJGXGC.mjs +39 -0
  68. package/dist/chunk-G5HJGXGC.mjs.map +1 -0
  69. package/dist/{chunk-GSNGCENJ.js → chunk-GQZHGSRR.js} +2 -39
  70. package/dist/chunk-GQZHGSRR.js.map +1 -0
  71. package/dist/chunk-GS7XLKET.js +41 -0
  72. package/dist/chunk-GS7XLKET.js.map +1 -0
  73. package/dist/{chunk-7B5SI4OF.mjs → chunk-IBWDBBX5.mjs} +4 -3
  74. package/dist/chunk-IBWDBBX5.mjs.map +1 -0
  75. package/dist/chunk-IS7O4LPI.js +146 -0
  76. package/dist/chunk-IS7O4LPI.js.map +1 -0
  77. package/dist/chunk-LGHUCQIU.js +93 -0
  78. package/dist/chunk-LGHUCQIU.js.map +1 -0
  79. package/dist/chunk-LHJKLUM7.mjs +18 -0
  80. package/dist/chunk-LHJKLUM7.mjs.map +1 -0
  81. package/dist/chunk-LKBIVQBT.mjs +34 -0
  82. package/dist/chunk-LKBIVQBT.mjs.map +1 -0
  83. package/dist/chunk-MIDXG6LS.js +32 -0
  84. package/dist/chunk-MIDXG6LS.js.map +1 -0
  85. package/dist/chunk-MWSAH7ZG.mjs +42 -0
  86. package/dist/chunk-MWSAH7ZG.mjs.map +1 -0
  87. package/dist/{chunk-HCI6JQOU.mjs → chunk-MZOGYD4N.mjs} +7 -4
  88. package/dist/chunk-MZOGYD4N.mjs.map +1 -0
  89. package/dist/chunk-NDGHXVGS.js +25 -0
  90. package/dist/chunk-NDGHXVGS.js.map +1 -0
  91. package/dist/chunk-Q5VFBPMG.mjs +76 -0
  92. package/dist/chunk-Q5VFBPMG.mjs.map +1 -0
  93. package/dist/chunk-QDUBO567.js +1148 -0
  94. package/dist/chunk-QDUBO567.js.map +1 -0
  95. package/dist/{chunk-3CSCIRQY.js → chunk-QP5N3ER6.js} +6 -5
  96. package/dist/chunk-QP5N3ER6.js.map +1 -0
  97. package/dist/chunk-RWCD2CAD.mjs +1132 -0
  98. package/dist/chunk-RWCD2CAD.mjs.map +1 -0
  99. package/dist/{chunk-VQ54PUQV.js → chunk-S37OK2QG.js} +2 -2
  100. package/dist/chunk-S37OK2QG.js.map +1 -0
  101. package/dist/chunk-S3PUP7N4.js +20 -0
  102. package/dist/chunk-S3PUP7N4.js.map +1 -0
  103. package/dist/{chunk-QQ2WFYOD.js → chunk-S6YSGVWD.js} +4 -76
  104. package/dist/chunk-S6YSGVWD.js.map +1 -0
  105. package/dist/chunk-SFDJNKWC.js +22 -0
  106. package/dist/chunk-SFDJNKWC.js.map +1 -0
  107. package/dist/chunk-TTYCVBIQ.mjs +144 -0
  108. package/dist/chunk-TTYCVBIQ.mjs.map +1 -0
  109. package/dist/{chunk-HBF4HPRK.js → chunk-TXMX6PZR.js} +7 -3
  110. package/dist/chunk-TXMX6PZR.js.map +1 -0
  111. package/dist/chunk-VHN7PF5I.js +20 -0
  112. package/dist/chunk-VHN7PF5I.js.map +1 -0
  113. package/dist/chunk-VJNDOYEC.js +41 -0
  114. package/dist/chunk-VJNDOYEC.js.map +1 -0
  115. package/dist/chunk-XBZIS3MV.mjs +13 -0
  116. package/dist/chunk-XBZIS3MV.mjs.map +1 -0
  117. package/dist/chunk-XFOZ56FB.mjs +20 -0
  118. package/dist/chunk-XFOZ56FB.mjs.map +1 -0
  119. package/dist/chunk-Z23HAXHL.js +136 -0
  120. package/dist/chunk-Z23HAXHL.js.map +1 -0
  121. package/dist/chunk-ZF7DKR5A.mjs +26 -0
  122. package/dist/chunk-ZF7DKR5A.mjs.map +1 -0
  123. package/dist/common/auth/client/index.d.mts +3239 -0
  124. package/dist/common/auth/client/index.d.ts +3239 -0
  125. package/dist/common/auth/client/index.js +26 -0
  126. package/dist/common/auth/client/index.mjs +5 -0
  127. package/dist/common/auth/components/index.d.mts +374 -0
  128. package/dist/common/auth/components/index.d.ts +374 -0
  129. package/dist/common/auth/components/index.js +70 -0
  130. package/dist/common/auth/components/index.mjs +9 -0
  131. package/dist/common/auth/hooks/index.d.mts +75 -0
  132. package/dist/common/auth/hooks/index.d.ts +75 -0
  133. package/dist/common/auth/hooks/index.js +28 -0
  134. package/dist/common/auth/hooks/index.js.map +1 -0
  135. package/dist/common/auth/hooks/index.mjs +7 -0
  136. package/dist/common/auth/hooks/index.mjs.map +1 -0
  137. package/dist/common/auth/index.d.mts +14 -6
  138. package/dist/common/auth/index.d.ts +14 -6
  139. package/dist/common/auth/index.js +17 -8
  140. package/dist/common/auth/index.mjs +4 -3
  141. package/dist/common/auth/react/index.d.mts +3056 -0
  142. package/dist/common/auth/react/index.d.ts +3056 -0
  143. package/dist/common/auth/react/index.js +31 -0
  144. package/dist/common/auth/react/index.js.map +1 -0
  145. package/dist/common/auth/react/index.mjs +21 -0
  146. package/dist/common/auth/react/index.mjs.map +1 -0
  147. package/dist/common/auth/rn/index.d.mts +3138 -0
  148. package/dist/common/auth/rn/index.d.ts +3138 -0
  149. package/dist/common/auth/rn/index.js +348 -0
  150. package/dist/common/auth/rn/index.js.map +1 -0
  151. package/dist/common/auth/rn/index.mjs +327 -0
  152. package/dist/common/auth/rn/index.mjs.map +1 -0
  153. package/dist/common/auth/schema/index.d.mts +1479 -0
  154. package/dist/common/auth/schema/index.d.ts +1479 -0
  155. package/dist/common/auth/schema/index.js +49 -0
  156. package/dist/common/auth/schema/index.js.map +1 -0
  157. package/dist/common/auth/schema/index.mjs +4 -0
  158. package/dist/common/auth/schema/index.mjs.map +1 -0
  159. package/dist/common/auth/server/index.d.mts +7 -30
  160. package/dist/common/auth/server/index.d.ts +7 -30
  161. package/dist/common/auth/server/index.js +36 -79
  162. package/dist/common/auth/server/index.mjs +2 -5
  163. package/dist/common/auth/services/index.d.mts +14 -0
  164. package/dist/common/auth/services/index.d.ts +14 -0
  165. package/dist/common/auth/services/index.js +17 -0
  166. package/dist/common/auth/services/index.js.map +1 -0
  167. package/dist/common/auth/services/index.mjs +4 -0
  168. package/dist/common/auth/services/index.mjs.map +1 -0
  169. package/dist/common/index.d.mts +13 -5
  170. package/dist/common/index.d.ts +13 -5
  171. package/dist/common/index.js +19 -16
  172. package/dist/common/index.mjs +11 -8
  173. package/dist/common/request/index.js +5 -4
  174. package/dist/common/request/index.mjs +3 -2
  175. package/dist/common/storage/index.js +13 -12
  176. package/dist/common/storage/index.mjs +3 -2
  177. package/dist/festivalCard/index.d.mts +3 -3
  178. package/dist/festivalCard/index.d.ts +3 -3
  179. package/dist/festivalCard/routes/index.d.mts +1 -1
  180. package/dist/festivalCard/routes/index.d.ts +1 -1
  181. package/dist/festivalCard/server/index.d.mts +2 -2
  182. package/dist/festivalCard/server/index.d.ts +2 -2
  183. package/dist/{festivalCardService-BFCRhJrq.d.ts → festivalCardService-B3GsnNpV.d.ts} +1 -1
  184. package/dist/{festivalCardService-GriR2VMc.d.mts → festivalCardService-CWhrLNE9.d.mts} +1 -1
  185. package/dist/{index-DPYkrKZf.d.mts → index-BcjDRcKp.d.mts} +11 -6
  186. package/dist/{index-Bnh6VqFv.d.ts → index-BlpXrrTy.d.ts} +11 -6
  187. package/dist/{index-1Ag7IBXN.d.ts → index-DZ5iJtNO.d.mts} +2 -44
  188. package/dist/{index-DdeZSeTJ.d.mts → index-DZ5iJtNO.d.ts} +2 -44
  189. package/dist/index.d.mts +6296 -40
  190. package/dist/index.d.ts +6296 -40
  191. package/dist/index.js +1378 -2508
  192. package/dist/index.js.map +1 -1
  193. package/dist/index.mjs +1073 -2203
  194. package/dist/index.mjs.map +1 -1
  195. package/dist/mmd/admin/index.d.mts +1 -1
  196. package/dist/mmd/admin/index.d.ts +1 -1
  197. package/dist/mmd/index.d.mts +1 -1
  198. package/dist/mmd/index.d.ts +1 -1
  199. package/dist/mmd/server/index.d.mts +3 -3
  200. package/dist/mmd/server/index.d.ts +3 -3
  201. package/dist/request/index.js +4 -3
  202. package/dist/request/index.mjs +2 -1
  203. package/dist/session-BCXvGCnm.d.mts +81 -0
  204. package/dist/session-BCXvGCnm.d.ts +81 -0
  205. package/dist/storage/index.js +12 -11
  206. package/dist/storage/index.mjs +2 -1
  207. package/dist/{types-DyG3ZV9V.d.mts → types-B6B210gX.d.mts} +1 -1
  208. package/dist/{types-DyG3ZV9V.d.ts → types-B6B210gX.d.ts} +1 -1
  209. package/dist/{types-BTiaMsBz.d.mts → types-Bdnte5EN.d.mts} +1 -1
  210. package/dist/{types-tQfupO6d.d.mts → types-Cs0CLvrH.d.mts} +1 -1
  211. package/dist/{types-tQfupO6d.d.ts → types-Cs0CLvrH.d.ts} +1 -1
  212. package/dist/{types-ERmJyjx8.d.ts → types-_rFX1atk.d.ts} +1 -1
  213. package/dist/types.legacy-J-j-_ig_.d.mts +25 -0
  214. package/dist/types.legacy-J-j-_ig_.d.ts +25 -0
  215. package/dist/useAuthActions-7S5dL7Oh.d.mts +77 -0
  216. package/dist/useAuthActions-7S5dL7Oh.d.ts +77 -0
  217. package/dist/vocaloidBooth/server/index.d.mts +3 -3
  218. package/dist/vocaloidBooth/server/index.d.ts +3 -3
  219. package/package.json +44 -76
  220. package/dist/auth/legacy/core/index.d.mts +0 -42
  221. package/dist/auth/legacy/core/index.d.ts +0 -42
  222. package/dist/auth/legacy/core/index.js +0 -242
  223. package/dist/auth/legacy/core/index.js.map +0 -1
  224. package/dist/auth/legacy/core/index.mjs +0 -226
  225. package/dist/auth/legacy/core/index.mjs.map +0 -1
  226. package/dist/auth/legacy/db/index.d.mts +0 -5
  227. package/dist/auth/legacy/db/index.d.ts +0 -5
  228. package/dist/auth/legacy/db/index.js +0 -261
  229. package/dist/auth/legacy/db/index.js.map +0 -1
  230. package/dist/auth/legacy/db/index.mjs +0 -250
  231. package/dist/auth/legacy/db/index.mjs.map +0 -1
  232. package/dist/auth/legacy/index.d.mts +0 -5
  233. package/dist/auth/legacy/index.d.ts +0 -5
  234. package/dist/auth/legacy/index.js +0 -1107
  235. package/dist/auth/legacy/index.js.map +0 -1
  236. package/dist/auth/legacy/index.mjs +0 -1086
  237. package/dist/auth/legacy/index.mjs.map +0 -1
  238. package/dist/auth/legacy/logic/index.d.mts +0 -9
  239. package/dist/auth/legacy/logic/index.d.ts +0 -9
  240. package/dist/auth/legacy/logic/index.js +0 -194
  241. package/dist/auth/legacy/logic/index.js.map +0 -1
  242. package/dist/auth/legacy/logic/index.mjs +0 -187
  243. package/dist/auth/legacy/logic/index.mjs.map +0 -1
  244. package/dist/auth/legacy/miniapp/index.d.mts +0 -5
  245. package/dist/auth/legacy/miniapp/index.d.ts +0 -5
  246. package/dist/auth/legacy/miniapp/index.js +0 -506
  247. package/dist/auth/legacy/miniapp/index.js.map +0 -1
  248. package/dist/auth/legacy/miniapp/index.mjs +0 -487
  249. package/dist/auth/legacy/miniapp/index.mjs.map +0 -1
  250. package/dist/auth/legacy/routes/index.d.mts +0 -53
  251. package/dist/auth/legacy/routes/index.d.ts +0 -53
  252. package/dist/auth/legacy/routes/index.js +0 -278
  253. package/dist/auth/legacy/routes/index.js.map +0 -1
  254. package/dist/auth/legacy/routes/index.mjs +0 -271
  255. package/dist/auth/legacy/routes/index.mjs.map +0 -1
  256. package/dist/auth/legacy/schema/index.d.mts +0 -401
  257. package/dist/auth/legacy/schema/index.d.ts +0 -401
  258. package/dist/auth/legacy/schema/index.js +0 -50
  259. package/dist/auth/legacy/schema/index.js.map +0 -1
  260. package/dist/auth/legacy/schema/index.mjs +0 -44
  261. package/dist/auth/legacy/schema/index.mjs.map +0 -1
  262. package/dist/auth/legacy/server/index.d.mts +0 -13
  263. package/dist/auth/legacy/server/index.d.ts +0 -13
  264. package/dist/auth/legacy/server/index.js +0 -21
  265. package/dist/auth/legacy/server/index.js.map +0 -1
  266. package/dist/auth/legacy/server/index.mjs +0 -19
  267. package/dist/auth/legacy/server/index.mjs.map +0 -1
  268. package/dist/auth/legacy/services/index.d.mts +0 -40
  269. package/dist/auth/legacy/services/index.d.ts +0 -40
  270. package/dist/auth/legacy/services/index.js +0 -258
  271. package/dist/auth/legacy/services/index.js.map +0 -1
  272. package/dist/auth/legacy/services/index.mjs +0 -252
  273. package/dist/auth/legacy/services/index.mjs.map +0 -1
  274. package/dist/auth/legacy/ui/miniapp/index.d.mts +0 -10
  275. package/dist/auth/legacy/ui/miniapp/index.d.ts +0 -10
  276. package/dist/auth/legacy/ui/miniapp/index.js +0 -298
  277. package/dist/auth/legacy/ui/miniapp/index.js.map +0 -1
  278. package/dist/auth/legacy/ui/miniapp/index.mjs +0 -290
  279. package/dist/auth/legacy/ui/miniapp/index.mjs.map +0 -1
  280. package/dist/auth/legacy/ui/web/index.d.mts +0 -22
  281. package/dist/auth/legacy/ui/web/index.d.ts +0 -22
  282. package/dist/auth/legacy/ui/web/index.js +0 -899
  283. package/dist/auth/legacy/ui/web/index.js.map +0 -1
  284. package/dist/auth/legacy/ui/web/index.mjs +0 -889
  285. package/dist/auth/legacy/ui/web/index.mjs.map +0 -1
  286. package/dist/auth/legacy/web/index.d.mts +0 -5
  287. package/dist/auth/legacy/web/index.d.ts +0 -5
  288. package/dist/auth/legacy/web/index.js +0 -1107
  289. package/dist/auth/legacy/web/index.js.map +0 -1
  290. package/dist/auth/legacy/web/index.mjs +0 -1086
  291. package/dist/auth/legacy/web/index.mjs.map +0 -1
  292. package/dist/auth/middleware/index.d.mts +0 -75
  293. package/dist/auth/middleware/index.d.ts +0 -75
  294. package/dist/auth/middleware/index.js +0 -15
  295. package/dist/auth/middleware/index.mjs +0 -6
  296. package/dist/auth/routes/index.d.mts +0 -261
  297. package/dist/auth/routes/index.d.ts +0 -261
  298. package/dist/auth/routes/index.js +0 -59
  299. package/dist/auth/routes/index.mjs +0 -6
  300. package/dist/chunk-37HYTHEC.mjs +0 -90
  301. package/dist/chunk-37HYTHEC.mjs.map +0 -1
  302. package/dist/chunk-3CSCIRQY.js.map +0 -1
  303. package/dist/chunk-5WV35FPV.js +0 -131
  304. package/dist/chunk-5WV35FPV.js.map +0 -1
  305. package/dist/chunk-7B5SI4OF.mjs.map +0 -1
  306. package/dist/chunk-DCRD5CZB.js +0 -573
  307. package/dist/chunk-DCRD5CZB.js.map +0 -1
  308. package/dist/chunk-DDX4JKFS.js +0 -19
  309. package/dist/chunk-DDX4JKFS.js.map +0 -1
  310. package/dist/chunk-DV6M7MFP.js +0 -283
  311. package/dist/chunk-DV6M7MFP.js.map +0 -1
  312. package/dist/chunk-EQXPL7TN.mjs +0 -78
  313. package/dist/chunk-EQXPL7TN.mjs.map +0 -1
  314. package/dist/chunk-GSNGCENJ.js.map +0 -1
  315. package/dist/chunk-HBF4HPRK.js.map +0 -1
  316. package/dist/chunk-HCI6JQOU.mjs.map +0 -1
  317. package/dist/chunk-I44HXJ3X.mjs +0 -17
  318. package/dist/chunk-I44HXJ3X.mjs.map +0 -1
  319. package/dist/chunk-IIVNHQEI.mjs.map +0 -1
  320. package/dist/chunk-IJ4YYWE3.mjs +0 -122
  321. package/dist/chunk-IJ4YYWE3.mjs.map +0 -1
  322. package/dist/chunk-J4BEIZUC.js +0 -92
  323. package/dist/chunk-J4BEIZUC.js.map +0 -1
  324. package/dist/chunk-OKPWFVXC.js +0 -24
  325. package/dist/chunk-OKPWFVXC.js.map +0 -1
  326. package/dist/chunk-PNOTQAYK.mjs +0 -560
  327. package/dist/chunk-PNOTQAYK.mjs.map +0 -1
  328. package/dist/chunk-PTMSDNGO.mjs.map +0 -1
  329. package/dist/chunk-Q2IAL7YV.js +0 -36
  330. package/dist/chunk-Q2IAL7YV.js.map +0 -1
  331. package/dist/chunk-QQ2WFYOD.js.map +0 -1
  332. package/dist/chunk-VQ54PUQV.js.map +0 -1
  333. package/dist/chunk-W5JEGA76.mjs +0 -33
  334. package/dist/chunk-W5JEGA76.mjs.map +0 -1
  335. package/dist/chunk-YGI7UU2D.mjs.map +0 -1
  336. package/dist/chunk-ZCLQSI5F.mjs +0 -271
  337. package/dist/chunk-ZCLQSI5F.mjs.map +0 -1
  338. package/dist/drizzle-auth-service-D-pljzCD.d.mts +0 -145
  339. package/dist/drizzle-auth-service-D3qryE_I.d.ts +0 -145
  340. package/dist/index-DNKZ7-R_.d.mts +0 -184
  341. package/dist/index-DNKZ7-R_.d.ts +0 -184
  342. package/dist/types-C5vUWf9u.d.ts +0 -70
  343. package/dist/types-IYCqCk2g.d.mts +0 -70
  344. /package/dist/{auth/middleware → common/auth/client}/index.js.map +0 -0
  345. /package/dist/{auth/middleware → common/auth/client}/index.mjs.map +0 -0
  346. /package/dist/{auth/routes → common/auth/components}/index.js.map +0 -0
  347. /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-DyG3ZV9V.mjs';
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-DyG3ZV9V.js';
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';
@@ -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 { a as UploadFileInfo, c as UploadProgress, F as FileMetadata, A as AccessPermission } from '../types-DyG3ZV9V.mjs';
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模型解析器类型定义
@@ -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 { a as UploadFileInfo, c as UploadProgress, F as FileMetadata, A as AccessPermission } from '../types-DyG3ZV9V.js';
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-BpvbZitV.mjs';
4
- import { F as FileMetadata } from '../../types-DyG3ZV9V.mjs';
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-BTiaMsBz.mjs';
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-GsP6D3Rc.js';
4
- import { F as FileMetadata } from '../../types-DyG3ZV9V.js';
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-ERmJyjx8.js';
9
+ import '../../types-_rFX1atk.js';
10
10
 
11
11
  type SupportedModelFormat = 'pmx' | 'pmd';
12
12
  interface ProcessMmdModelArchiveOptions {
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkGSNGCENJ_js = require('../chunk-GSNGCENJ.js');
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 chunkGSNGCENJ_js.MiniappRequestAdapter; }
12
+ get: function () { return chunkGQZHGSRR_js.MiniappRequestAdapter; }
12
13
  });
13
14
  Object.defineProperty(exports, "ReactNativeRequestAdapter", {
14
15
  enumerable: true,
15
- get: function () { return chunkGSNGCENJ_js.ReactNativeRequestAdapter; }
16
+ get: function () { return chunkGS7XLKET_js.ReactNativeRequestAdapter; }
16
17
  });
17
18
  Object.defineProperty(exports, "WebRequestAdapter", {
18
19
  enumerable: true,
@@ -1,4 +1,5 @@
1
- export { MiniappRequestAdapter, ReactNativeRequestAdapter } from '../chunk-EQXPL7TN.mjs';
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 };
@@ -1,6 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var chunkQQ2WFYOD_js = require('../chunk-QQ2WFYOD.js');
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 chunkQQ2WFYOD_js.MiniAppStorageAdapter; }
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 chunkQQ2WFYOD_js.useAsyncStorage; }
17
+ get: function () { return chunkS6YSGVWD_js.useAsyncStorage; }
21
18
  });
22
19
  Object.defineProperty(exports, "useElectronStorage", {
23
20
  enumerable: true,
24
- get: function () { return chunkQQ2WFYOD_js.useElectronStorage; }
21
+ get: function () { return chunkS6YSGVWD_js.useElectronStorage; }
25
22
  });
26
23
  Object.defineProperty(exports, "useLocalStorage", {
27
24
  enumerable: true,
28
- get: function () { return chunkQQ2WFYOD_js.useLocalStorage; }
25
+ get: function () { return chunkS6YSGVWD_js.useLocalStorage; }
29
26
  });
30
27
  Object.defineProperty(exports, "useStorage", {
31
28
  enumerable: true,
32
- get: function () { return chunkQQ2WFYOD_js.useStorage; }
29
+ get: function () { return chunkS6YSGVWD_js.useStorage; }
33
30
  });
34
31
  Object.defineProperty(exports, "useTaroStorage", {
35
32
  enumerable: true,
36
- get: function () { return chunkQQ2WFYOD_js.useTaroStorage; }
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,
@@ -1,4 +1,5 @@
1
- export { MiniAppStorageAdapter, ReactNativeStorageAdapter, useAsyncStorage, useElectronStorage, useLocalStorage, useStorage, useTaroStorage } from '../chunk-PTMSDNGO.mjs';
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 ProcessorType as P, type StorageType as S, type UploadStatus as U, type VideoProcessingOptions as V, type UploadFileInfo as a, type ProcessingOptions as b, type UploadProgress as c, type FileQueryOptions as d, type PaginatedResult as e, type FileEventListener 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 };
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 ProcessorType as P, type StorageType as S, type UploadStatus as U, type VideoProcessingOptions as V, type UploadFileInfo as a, type ProcessingOptions as b, type UploadProgress as c, type FileQueryOptions as d, type PaginatedResult as e, type FileEventListener 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 };
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, U as UploadStatus, P as ProcessorType$1, a as UploadFileInfo$1, b as ProcessingOptions$1 } from './types-DyG3ZV9V.mjs';
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 { FestivalCardServiceOptions as F, FestivalCardConfigSummary as a, FestivalCardConfig as b, FestivalCardDbAdapter as c, FestivalCardElementType as d, FestivalCardElementBase as e, FestivalCardTextElement as f, FestivalCardImageElement as g, FestivalCardElement as h, FestivalCardPage as i, FestivalCardAudioConfig as j };
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 { FestivalCardServiceOptions as F, FestivalCardConfigSummary as a, FestivalCardConfig as b, FestivalCardDbAdapter as c, FestivalCardElementType as d, FestivalCardElementBase as e, FestivalCardTextElement as f, FestivalCardImageElement as g, FestivalCardElement as h, FestivalCardPage as i, FestivalCardAudioConfig as j };
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, U as UploadStatus, P as ProcessorType$1, a as UploadFileInfo$1, b as ProcessingOptions$1 } from './types-DyG3ZV9V.js';
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, c as UploadProgress } from '../../types-DyG3ZV9V.mjs';
3
- import { U as UniversalFileService } from '../../UniversalFileService-BpvbZitV.mjs';
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-BTiaMsBz.mjs';
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, c as UploadProgress } from '../../types-DyG3ZV9V.js';
3
- import { U as UniversalFileService } from '../../UniversalFileService-GsP6D3Rc.js';
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-ERmJyjx8.js';
5
+ import '../../types-_rFX1atk.js';
6
6
 
7
7
  declare class InMemoryBoothVaultStore implements BoothVaultStore {
8
8
  private readonly recordsById;