@r2wa-org/eden 0.0.77 → 0.0.78

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 (337) hide show
  1. package/README.md +5 -5
  2. package/dist/admin/index.d.ts +1 -1
  3. package/dist/admin-user/admin/errors/index.d.ts +2 -2
  4. package/dist/admin-user/admin/errors/locales/zh.d.ts +1 -1
  5. package/dist/admin-user/admin/router.d.ts +1 -1
  6. package/dist/admin-user/admin/service.d.ts +1 -1
  7. package/dist/app-version/admin/dto.schemas.d.ts +1 -1
  8. package/dist/app-version/admin/router.d.ts +1 -1
  9. package/dist/app-version/admin/service.d.ts +1 -1
  10. package/dist/asset/admin/router.d.ts +1 -1
  11. package/dist/asset/admin/service.d.ts +2 -2
  12. package/dist/asset/errors/index.d.ts +2 -2
  13. package/dist/asset/errors/locales/zh.d.ts +1 -1
  14. package/dist/asset/index.d.ts +11 -11
  15. package/dist/asset/internal/service.d.ts +3 -3
  16. package/dist/asset/permissions.d.ts +1 -1
  17. package/dist/asset/user/router.d.ts +1 -1
  18. package/dist/asset/user/service.d.ts +2 -2
  19. package/dist/asset-convert-product/admin/router.d.ts +1 -1
  20. package/dist/asset-convert-product/admin/service.d.ts +2 -2
  21. package/dist/asset-convert-product/errors/index.d.ts +2 -2
  22. package/dist/asset-convert-product/errors/locales/zh.d.ts +1 -1
  23. package/dist/asset-convert-product/index.d.ts +8 -8
  24. package/dist/asset-convert-product/permissions.d.ts +2 -2
  25. package/dist/asset-convert-product/user/router.d.ts +1 -1
  26. package/dist/asset-convert-product/user/service.d.ts +4 -4
  27. package/dist/asset-price/admin/router.d.ts +1 -1
  28. package/dist/asset-price/admin/service.d.ts +1 -1
  29. package/dist/asset-price/errors/index.d.ts +2 -2
  30. package/dist/asset-price/errors/locales/zh.d.ts +1 -1
  31. package/dist/asset-price/index.d.ts +12 -12
  32. package/dist/asset-price/permissions.d.ts +2 -2
  33. package/dist/asset-price/user/router.d.ts +1 -1
  34. package/dist/asset-price/user/service.d.ts +1 -1
  35. package/dist/asset-type/admin/router.d.ts +1 -1
  36. package/dist/asset-type/admin/service.d.ts +2 -2
  37. package/dist/asset-type/errors/index.d.ts +2 -2
  38. package/dist/asset-type/errors/locales/zh.d.ts +1 -1
  39. package/dist/asset-type/index.d.ts +11 -11
  40. package/dist/asset-type/permissions.d.ts +1 -1
  41. package/dist/asset-type/seed.d.ts +1 -1
  42. package/dist/asset-type/user/router.d.ts +1 -1
  43. package/dist/asset-type/user/service.d.ts +2 -2
  44. package/dist/auth/better-auth.d.ts +253 -253
  45. package/dist/auth/better-hooks.d.ts +1 -1
  46. package/dist/auth/permissions.d.ts +210 -210
  47. package/dist/auth/roles.d.ts +630 -630
  48. package/dist/auth/router.d.ts +1 -1
  49. package/dist/bank-account/admin/router.d.ts +1 -1
  50. package/dist/bank-account/admin/service.d.ts +5 -5
  51. package/dist/bank-account/errors/index.d.ts +2 -2
  52. package/dist/bank-account/errors/locales/zh.d.ts +1 -1
  53. package/dist/bank-account/index.d.ts +8 -8
  54. package/dist/bank-account/internal/service.d.ts +1 -1
  55. package/dist/bank-account/permissions.d.ts +3 -3
  56. package/dist/bank-account/user/router.d.ts +1 -1
  57. package/dist/bank-account/user/service.d.ts +3 -3
  58. package/dist/check-in/admin/router.d.ts +1 -1
  59. package/dist/check-in/admin/service.d.ts +2 -2
  60. package/dist/check-in/errors/index.d.ts +2 -2
  61. package/dist/check-in/errors/locales/zh.d.ts +1 -1
  62. package/dist/check-in/index.d.ts +7 -7
  63. package/dist/check-in/internal/service.d.ts +5 -5
  64. package/dist/check-in/permissions.d.ts +2 -2
  65. package/dist/check-in/user/router.d.ts +1 -1
  66. package/dist/check-in/user/service.d.ts +3 -3
  67. package/dist/db/index.d.ts +1 -1
  68. package/dist/db/schemas.d.ts +34 -34
  69. package/dist/db/transaction.d.ts +1 -1
  70. package/dist/db/typebox.d.ts +4 -4
  71. package/dist/deposit/admin/router.d.ts +1 -1
  72. package/dist/deposit/admin/service.d.ts +2 -2
  73. package/dist/deposit/errors/index.d.ts +2 -2
  74. package/dist/deposit/errors/locales/zh.d.ts +1 -1
  75. package/dist/deposit/index.d.ts +7 -7
  76. package/dist/deposit/internal/service.d.ts +1 -1
  77. package/dist/deposit/permissions.d.ts +2 -2
  78. package/dist/deposit/user/router.d.ts +1 -1
  79. package/dist/deposit/user/service.d.ts +2 -2
  80. package/dist/dynamic-env/admin.router.d.ts +1 -1
  81. package/dist/dynamic-env/cache.d.ts +1 -1
  82. package/dist/dynamic-env/errors/index.d.ts +2 -2
  83. package/dist/dynamic-env/errors/locales/zh.d.ts +1 -1
  84. package/dist/dynamic-env/index.d.ts +3 -3
  85. package/dist/dynamic-env/service.d.ts +1 -1
  86. package/dist/email/index.d.ts +1 -1
  87. package/dist/env/index.d.ts +2 -2
  88. package/dist/env/server.d.ts +2 -2
  89. package/dist/env/typebox-env.d.ts +1 -1
  90. package/dist/error/index.d.ts +4 -4
  91. package/dist/error/locales/zh.d.ts +1 -1
  92. package/dist/error/messages.d.ts +2 -2
  93. package/dist/external/errors/index.d.ts +2 -2
  94. package/dist/external/errors/locales/zh.d.ts +1 -1
  95. package/dist/external/index.d.ts +4 -4
  96. package/dist/external/router.d.ts +4 -4
  97. package/dist/external/service.d.ts +1 -1
  98. package/dist/file-storage/admin/dto.schemas.d.ts +2 -2
  99. package/dist/file-storage/admin/router.d.ts +1 -1
  100. package/dist/file-storage/admin/service.d.ts +2 -2
  101. package/dist/file-storage/errors/index.d.ts +2 -2
  102. package/dist/file-storage/errors/locales/zh.d.ts +1 -1
  103. package/dist/file-storage/index.d.ts +7 -7
  104. package/dist/file-storage/internal/service.d.ts +2 -2
  105. package/dist/file-storage/permissions.d.ts +2 -2
  106. package/dist/file-storage/s3.client.d.ts +11 -11
  107. package/dist/file-storage/share/router.d.ts +1 -1
  108. package/dist/file-storage/user/router.d.ts +1 -1
  109. package/dist/file-storage/user/service.d.ts +2 -2
  110. package/dist/http-access-log.d.ts +1 -1
  111. package/dist/index.d.ts +4 -4
  112. package/dist/ledger/admin/router.d.ts +1 -1
  113. package/dist/ledger/admin/service.d.ts +2 -2
  114. package/dist/ledger/errors/index.d.ts +2 -2
  115. package/dist/ledger/errors/locales/zh.d.ts +1 -1
  116. package/dist/ledger/index.d.ts +6 -6
  117. package/dist/ledger/internal/service.d.ts +5 -5
  118. package/dist/ledger/permissions.d.ts +1 -1
  119. package/dist/ledger/user/router.d.ts +1 -1
  120. package/dist/ledger-account/admin/dto.schemas.d.ts +5 -5
  121. package/dist/ledger-account/admin/router.d.ts +1 -1
  122. package/dist/ledger-account/admin/service.d.ts +2 -2
  123. package/dist/ledger-account/errors/index.d.ts +2 -2
  124. package/dist/ledger-account/errors/locales/zh.d.ts +1 -1
  125. package/dist/ledger-account/index.d.ts +8 -8
  126. package/dist/ledger-account/internal/service.d.ts +1 -1
  127. package/dist/ledger-account/permissions.d.ts +1 -1
  128. package/dist/ledger-account/user/dto.schemas.d.ts +1 -1
  129. package/dist/ledger-account/user/router.d.ts +1 -1
  130. package/dist/ledger-account/user/service.d.ts +2 -2
  131. package/dist/ledger-account-import/admin/router.d.ts +1 -1
  132. package/dist/ledger-account-import/admin/service.d.ts +2 -2
  133. package/dist/ledger-account-import/errors/index.d.ts +2 -2
  134. package/dist/ledger-account-import/errors/locales/zh.d.ts +1 -1
  135. package/dist/ledger-account-import/index.d.ts +8 -8
  136. package/dist/ledger-account-import/internal/service.d.ts +1 -1
  137. package/dist/ledger-account-import/permissions.d.ts +1 -1
  138. package/dist/ledger-account-import/user/service.d.ts +1 -1
  139. package/dist/ledger-account-transfer/admin/service.d.ts +1 -1
  140. package/dist/ledger-account-transfer/errors/index.d.ts +2 -2
  141. package/dist/ledger-account-transfer/errors/locales/zh.d.ts +1 -1
  142. package/dist/ledger-account-transfer/index.d.ts +6 -6
  143. package/dist/ledger-account-transfer/internal/service.d.ts +1 -1
  144. package/dist/ledger-account-transfer/user/router.d.ts +1 -1
  145. package/dist/ledger-account-transfer/user/service.d.ts +2 -2
  146. package/dist/ledger-account-type/admin/router.d.ts +1 -1
  147. package/dist/ledger-account-type/admin/service.d.ts +2 -2
  148. package/dist/ledger-account-type/errors/index.d.ts +2 -2
  149. package/dist/ledger-account-type/errors/locales/zh.d.ts +1 -1
  150. package/dist/ledger-account-type/index.d.ts +9 -9
  151. package/dist/ledger-account-type/permissions.d.ts +1 -1
  152. package/dist/ledger-account-type/user/router.d.ts +1 -1
  153. package/dist/ledger-account-type/user/service.d.ts +2 -2
  154. package/dist/market-data/admin/router.d.ts +1 -1
  155. package/dist/market-data/admin/service.d.ts +2 -2
  156. package/dist/market-data/cron.d.ts +1 -1
  157. package/dist/market-data/errors/index.d.ts +2 -2
  158. package/dist/market-data/errors/locales/zh.d.ts +1 -1
  159. package/dist/market-data/index.d.ts +8 -8
  160. package/dist/market-data/internal/service.d.ts +1 -1
  161. package/dist/market-data/permissions.d.ts +3 -3
  162. package/dist/market-data/user/router.d.ts +1 -1
  163. package/dist/market-data/user/service.d.ts +2 -2
  164. package/dist/market-pricing/admin/dto.schemas.d.ts +3 -3
  165. package/dist/market-pricing/admin/router.d.ts +1 -1
  166. package/dist/market-pricing/admin/service.d.ts +1 -1
  167. package/dist/market-pricing/cron.d.ts +1 -1
  168. package/dist/market-pricing/errors/index.d.ts +2 -2
  169. package/dist/market-pricing/errors/locales/zh.d.ts +1 -1
  170. package/dist/market-pricing/internal/service.d.ts +2 -2
  171. package/dist/market-pricing/permissions.d.ts +1 -1
  172. package/dist/news/admin/dto.schemas.d.ts +2 -2
  173. package/dist/news/admin/router.d.ts +1 -1
  174. package/dist/news/admin/service.d.ts +2 -2
  175. package/dist/news/errors/index.d.ts +2 -2
  176. package/dist/news/errors/locales/zh.d.ts +1 -1
  177. package/dist/news/index.d.ts +7 -7
  178. package/dist/news/permissions.d.ts +1 -1
  179. package/dist/news/user/dto.schemas.d.ts +4 -4
  180. package/dist/news/user/router.d.ts +1 -1
  181. package/dist/news/user/service.d.ts +2 -2
  182. package/dist/news-category/admin/dto.schemas.d.ts +2 -2
  183. package/dist/news-category/admin/router.d.ts +1 -1
  184. package/dist/news-category/admin/service.d.ts +2 -2
  185. package/dist/news-category/errors/index.d.ts +2 -2
  186. package/dist/news-category/errors/locales/zh.d.ts +1 -1
  187. package/dist/news-category/index.d.ts +8 -8
  188. package/dist/news-category/permissions.d.ts +1 -1
  189. package/dist/news-category/user/router.d.ts +1 -1
  190. package/dist/news-category/user/service.d.ts +1 -1
  191. package/dist/notification/admin/router.d.ts +1 -1
  192. package/dist/notification/admin/service.d.ts +2 -2
  193. package/dist/notification/errors/index.d.ts +2 -2
  194. package/dist/notification/errors/locales/zh.d.ts +1 -1
  195. package/dist/notification/index.d.ts +7 -7
  196. package/dist/notification/internal/service.d.ts +4 -4
  197. package/dist/notification/permissions.d.ts +2 -2
  198. package/dist/notification/user/router.d.ts +1 -1
  199. package/dist/notification/user/service.d.ts +2 -2
  200. package/dist/operations-overview/admin/router.d.ts +1 -1
  201. package/dist/operations-overview/admin/service.d.ts +1 -1
  202. package/dist/portfolio/index.d.ts +2 -2
  203. package/dist/portfolio/internal/index.d.ts +1 -1
  204. package/dist/portfolio/user/index.d.ts +3 -3
  205. package/dist/portfolio/user/router.d.ts +1 -1
  206. package/dist/portfolio/user/service.d.ts +2 -2
  207. package/dist/receipt-method/admin/router.d.ts +1 -1
  208. package/dist/receipt-method/admin/service.d.ts +2 -2
  209. package/dist/receipt-method/errors/index.d.ts +2 -2
  210. package/dist/receipt-method/errors/locales/zh.d.ts +1 -1
  211. package/dist/receipt-method/index.d.ts +7 -7
  212. package/dist/receipt-method/internal/service.d.ts +3 -3
  213. package/dist/receipt-method/permissions.d.ts +1 -1
  214. package/dist/receipt-method/user/router.d.ts +1 -1
  215. package/dist/receipt-method/user/service.d.ts +3 -3
  216. package/dist/referral/admin/router.d.ts +1 -1
  217. package/dist/referral/admin/service.d.ts +2 -2
  218. package/dist/referral/errors/index.d.ts +2 -2
  219. package/dist/referral/errors/locales/zh.d.ts +1 -1
  220. package/dist/referral/index.d.ts +9 -9
  221. package/dist/referral/permissions.d.ts +1 -1
  222. package/dist/referral/user/router.d.ts +1 -1
  223. package/dist/referral/user/service.d.ts +2 -2
  224. package/dist/referral-depth-config/admin/router.d.ts +1 -1
  225. package/dist/referral-depth-config/admin/service.d.ts +2 -2
  226. package/dist/referral-depth-config/errors/index.d.ts +2 -2
  227. package/dist/referral-depth-config/errors/locales/zh.d.ts +1 -1
  228. package/dist/referral-depth-config/permissions.d.ts +1 -1
  229. package/dist/server-test/errors/index.d.ts +2 -2
  230. package/dist/server-test/errors/locales/zh.d.ts +1 -1
  231. package/dist/server-test/index.d.ts +1 -1
  232. package/dist/shipping-address/admin/router.d.ts +1 -1
  233. package/dist/shipping-address/admin/service.d.ts +2 -2
  234. package/dist/shipping-address/errors/index.d.ts +2 -2
  235. package/dist/shipping-address/errors/locales/zh.d.ts +1 -1
  236. package/dist/shipping-address/index.d.ts +7 -7
  237. package/dist/shipping-address/permissions.d.ts +1 -1
  238. package/dist/shipping-address/user/router.d.ts +1 -1
  239. package/dist/shipping-address/user/service.d.ts +3 -3
  240. package/dist/team/admin/router.d.ts +1 -1
  241. package/dist/team/admin/service.d.ts +2 -2
  242. package/dist/team/errors/index.d.ts +2 -2
  243. package/dist/team/errors/locales/zh.d.ts +1 -1
  244. package/dist/team/index.d.ts +8 -8
  245. package/dist/team/permissions.d.ts +1 -1
  246. package/dist/team/user/dto.schemas.d.ts +1 -1
  247. package/dist/team/user/router.d.ts +1 -1
  248. package/dist/team/user/service.d.ts +2 -2
  249. package/dist/trade-market/admin/dto.schemas.d.ts +4 -4
  250. package/dist/trade-market/admin/router.d.ts +1 -1
  251. package/dist/trade-market/admin/service.d.ts +2 -2
  252. package/dist/trade-market/errors/index.d.ts +2 -2
  253. package/dist/trade-market/errors/locales/zh.d.ts +1 -1
  254. package/dist/trade-market/index.d.ts +8 -8
  255. package/dist/trade-market/internal/service.d.ts +11 -11
  256. package/dist/trade-market/permissions.d.ts +2 -2
  257. package/dist/trade-market/user/router.d.ts +1 -1
  258. package/dist/trade-market/user/service.d.ts +1 -1
  259. package/dist/transfer/admin/router.d.ts +1 -1
  260. package/dist/transfer/admin/service.d.ts +2 -2
  261. package/dist/transfer/errors/index.d.ts +2 -2
  262. package/dist/transfer/errors/locales/zh.d.ts +1 -1
  263. package/dist/transfer/index.d.ts +11 -11
  264. package/dist/transfer/internal/service.d.ts +1 -1
  265. package/dist/transfer/permissions.d.ts +1 -1
  266. package/dist/transfer/user/router.d.ts +1 -1
  267. package/dist/transfer/user/service.d.ts +2 -2
  268. package/dist/user/admin/router.d.ts +1 -1
  269. package/dist/user/admin/service.d.ts +2 -2
  270. package/dist/user/errors/index.d.ts +2 -2
  271. package/dist/user/errors/locales/zh.d.ts +1 -1
  272. package/dist/user/index.d.ts +9 -9
  273. package/dist/user/internal/service.d.ts +1 -1
  274. package/dist/user/permissions.d.ts +3 -3
  275. package/dist/user/user/router.d.ts +1 -1
  276. package/dist/user/user/service.d.ts +2 -2
  277. package/dist/user-kyc/admin/router.d.ts +1 -1
  278. package/dist/user-kyc/admin/service.d.ts +2 -2
  279. package/dist/user-kyc/errors/index.d.ts +2 -2
  280. package/dist/user-kyc/errors/locales/zh.d.ts +1 -1
  281. package/dist/user-kyc/index.d.ts +10 -10
  282. package/dist/user-kyc/internal/service.d.ts +3 -3
  283. package/dist/user-kyc/permissions.d.ts +2 -2
  284. package/dist/user-kyc/user/router.d.ts +1 -1
  285. package/dist/user-kyc/user/service.d.ts +6 -6
  286. package/dist/user-security/admin/router.d.ts +1 -1
  287. package/dist/user-security/admin/service.d.ts +1 -1
  288. package/dist/user-security/index.d.ts +8 -8
  289. package/dist/user-security/internal/service.d.ts +2 -2
  290. package/dist/user-security/user/router.d.ts +1 -1
  291. package/dist/user-security/user/service.d.ts +1 -1
  292. package/dist/utils/date.d.ts +2 -2
  293. package/dist/utils/index.d.ts +4 -4
  294. package/dist/utils/pagination.d.ts +1 -1
  295. package/dist/wallet/admin/router.d.ts +1 -1
  296. package/dist/wallet/admin/service.d.ts +2 -2
  297. package/dist/wallet/errors/index.d.ts +2 -2
  298. package/dist/wallet/errors/locales/zh.d.ts +1 -1
  299. package/dist/wallet/index.d.ts +11 -11
  300. package/dist/wallet/internal/service.d.ts +2 -2
  301. package/dist/wallet/permissions.d.ts +1 -1
  302. package/dist/wallet/user/router.d.ts +1 -1
  303. package/dist/wallet/user/service.d.ts +3 -3
  304. package/dist/wallet-type/admin/dto.schemas.d.ts +4 -4
  305. package/dist/wallet-type/admin/router.d.ts +1 -1
  306. package/dist/wallet-type/admin/service.d.ts +2 -2
  307. package/dist/wallet-type/errors/index.d.ts +2 -2
  308. package/dist/wallet-type/errors/locales/zh.d.ts +1 -1
  309. package/dist/wallet-type/index.d.ts +10 -10
  310. package/dist/wallet-type/internal/service.d.ts +2 -2
  311. package/dist/wallet-type/permissions.d.ts +1 -1
  312. package/dist/wallet-type/user/dto.schemas.d.ts +2 -2
  313. package/dist/wallet-type/user/router.d.ts +1 -1
  314. package/dist/wallet-type/user/service.d.ts +2 -2
  315. package/dist/welfare-cycle/admin/router.d.ts +1 -1
  316. package/dist/welfare-cycle/admin/service.d.ts +1 -1
  317. package/dist/welfare-cycle/cron.d.ts +1 -1
  318. package/dist/welfare-cycle/errors/index.d.ts +2 -2
  319. package/dist/welfare-cycle/errors/locales/zh.d.ts +1 -1
  320. package/dist/welfare-cycle/index.d.ts +7 -7
  321. package/dist/welfare-cycle/internal/service.d.ts +2 -2
  322. package/dist/welfare-cycle/permissions.d.ts +3 -3
  323. package/dist/welfare-cycle/user/router.d.ts +1 -1
  324. package/dist/welfare-cycle/user/service.d.ts +1 -1
  325. package/dist/withdraw/admin/router.d.ts +1 -1
  326. package/dist/withdraw/admin/service.d.ts +2 -2
  327. package/dist/withdraw/errors/index.d.ts +2 -2
  328. package/dist/withdraw/errors/locales/zh.d.ts +1 -1
  329. package/dist/withdraw/index.d.ts +8 -8
  330. package/dist/withdraw/internal/index.d.ts +1 -1
  331. package/dist/withdraw/internal/service.d.ts +1 -1
  332. package/dist/withdraw/permissions.d.ts +2 -2
  333. package/dist/withdraw/user/dto.schemas.d.ts +1 -1
  334. package/dist/withdraw/user/index.d.ts +3 -3
  335. package/dist/withdraw/user/router.d.ts +1 -1
  336. package/dist/withdraw/user/service.d.ts +2 -2
  337. package/package.json +24 -21
@@ -1,4 +1,4 @@
1
- import Elysia from "elysia";
1
+ import Elysia from 'elysia';
2
2
  export declare const betterAuthPlugin: Elysia<"", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,4 +1,4 @@
1
- import { Elysia } from "elysia";
1
+ import { Elysia } from 'elysia';
2
2
  export declare const bankAccountAdminRouter: Elysia<"/bank_account", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,6 +1,6 @@
1
- import type { AdminListBankAccountsFilters, ListBanksOptions } from "../internal/service";
2
- import { BankAccountBaseService } from "../internal/service";
3
- import type { BankAccountUpdateInputType, BankCreateInputType, BankUpdateInputType } from "./dto.schemas";
1
+ import type { AdminListBankAccountsFilters, ListBanksOptions } from '../internal/service';
2
+ import type { BankAccountUpdateInputType, BankCreateInputType, BankUpdateInputType } from './dto.schemas';
3
+ import { BankAccountBaseService } from '../internal/service';
4
4
  export declare abstract class AdminBankAccountService extends BankAccountBaseService {
5
5
  private static getBankAccountDetail;
6
6
  static listAllBankAccounts(filters?: AdminListBankAccountsFilters): Promise<{
@@ -46,7 +46,7 @@ export declare abstract class AdminBankAccountService extends BankAccountBaseSer
46
46
  }[];
47
47
  total: number;
48
48
  }>;
49
- static verifyBankAccount(id: string, method: "manual" | "micro_deposit" | "document"): Promise<{
49
+ static verifyBankAccount(id: string, method: 'manual' | 'micro_deposit' | 'document'): Promise<{
50
50
  id: string;
51
51
  createdAt: Date;
52
52
  updatedAt: Date;
@@ -126,7 +126,7 @@ export declare abstract class AdminBankAccountService extends BankAccountBaseSer
126
126
  banExpires: Date | null;
127
127
  };
128
128
  }>;
129
- static updateBankAccountRiskStatus(id: string, riskStatus: "normal" | "warning" | "high-risk" | "blocked"): Promise<{
129
+ static updateBankAccountRiskStatus(id: string, riskStatus: 'normal' | 'warning' | 'high-risk' | 'blocked'): Promise<{
130
130
  id: string;
131
131
  createdAt: Date;
132
132
  updatedAt: Date;
@@ -1,4 +1,4 @@
1
- export * from "./locales/zh";
1
+ export * from './locales/zh';
2
2
  export declare const BankAccountErrorCodes: {
3
3
  readonly BANK_ACCOUNT_USER_ID_REQUIRED: "BANK_ACCOUNT_USER_ID_REQUIRED";
4
4
  readonly BANK_ACCOUNT_ID_REQUIRED: "BANK_ACCOUNT_ID_REQUIRED";
@@ -7,7 +7,7 @@ export declare const BankAccountErrorCodes: {
7
7
  };
8
8
  type BankAccountErrorCodesType = typeof BankAccountErrorCodes;
9
9
  export type BankAccountErrorCode = keyof BankAccountErrorCodesType;
10
- declare module "../../error/errorcode" {
10
+ declare module '../../error/errorcode' {
11
11
  interface ErrorCodeRegistry extends BankAccountErrorCodesType {
12
12
  }
13
13
  }
@@ -5,7 +5,7 @@ export declare const zh: {
5
5
  BANK_NOT_FOUND: string;
6
6
  };
7
7
  type ZHType = typeof zh;
8
- declare module "../../../error/messages" {
8
+ declare module '../../../error/messages' {
9
9
  interface ErrorMessageRegistry extends ZHType {
10
10
  }
11
11
  }
@@ -1,8 +1,8 @@
1
- export * from "./schema";
2
- export * from "./db.schemas";
3
- export * from "./admin/service";
4
- export { bankAccountRouter } from "./user/router";
5
- export * from "./user/service";
6
- export * from "./internal/service";
7
- export * from "./permissions";
8
- export { seedBanks } from "./seed";
1
+ export * from './schema';
2
+ export * from './db.schemas';
3
+ export * from './admin/service';
4
+ export { bankAccountRouter } from './user/router';
5
+ export * from './user/service';
6
+ export * from './internal/service';
7
+ export * from './permissions';
8
+ export { seedBanks } from './seed';
@@ -1,4 +1,4 @@
1
- import { db } from "../../db";
1
+ import { db } from '../../db';
2
2
  export interface ListBankAccountsOptions {
3
3
  limit?: number;
4
4
  offset?: number;
@@ -3,8 +3,8 @@
3
3
  */
4
4
  /** 银行卡权限 */
5
5
  export declare const bankAccountPermissions: {
6
- readonly "bank-account:manage": readonly ["read", "create", "update", "delete", "set-default", "verify"];
7
- readonly "bank-account:review": readonly ["read", "verify", "risk-control", "update-risk-status"];
8
- readonly "bank:manage": readonly ["read", "create", "update", "delete"];
6
+ readonly 'bank-account:manage': readonly ["read", "create", "update", "delete", "set-default", "verify"];
7
+ readonly 'bank-account:review': readonly ["read", "verify", "risk-control", "update-risk-status"];
8
+ readonly 'bank:manage': readonly ["read", "create", "update", "delete"];
9
9
  };
10
10
  export type BankAccountPermission = keyof typeof bankAccountPermissions;
@@ -1,4 +1,4 @@
1
- import { Elysia } from "elysia";
1
+ import { Elysia } from 'elysia';
2
2
  export declare const bankAccountRouter: Elysia<"/bank_account", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,6 +1,6 @@
1
- import type { ListBankAccountsOptions, ListBanksOptions } from "../internal/service";
2
- import { BankAccountBaseService } from "../internal/service";
3
- import type { BankAccountCreateInputType, BankAccountUpdateInputType } from "./dto.schemas";
1
+ import type { ListBankAccountsOptions, ListBanksOptions } from '../internal/service';
2
+ import type { BankAccountCreateInputType, BankAccountUpdateInputType } from './dto.schemas';
3
+ import { BankAccountBaseService } from '../internal/service';
4
4
  export declare abstract class UserBankAccountService extends BankAccountBaseService {
5
5
  static getUserBankAccounts(userId: string, options?: ListBankAccountsOptions): Promise<{
6
6
  items: {
@@ -1,4 +1,4 @@
1
- import Elysia from "elysia";
1
+ import Elysia from 'elysia';
2
2
  export declare const checkInAdminRouter: Elysia<"/checkIns", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,5 +1,5 @@
1
- import { BaseCheckInService } from "../internal/service";
2
- import type { CheckInAdminListQueryType } from "./dto.schemas";
1
+ import type { CheckInAdminListQueryType } from './dto.schemas';
2
+ import { BaseCheckInService } from '../internal/service';
3
3
  export declare abstract class AdminCheckInService extends BaseCheckInService {
4
4
  static listCheckIns(filters?: CheckInAdminListQueryType): Promise<{
5
5
  items: {
@@ -1,4 +1,4 @@
1
- export * from "./locales/zh";
1
+ export * from './locales/zh';
2
2
  export declare const CheckInErrorCodes: {
3
3
  /** 用户ID不能为空 */
4
4
  readonly CHECK_IN_USER_ID_REQUIRED: "CHECK_IN_USER_ID_REQUIRED";
@@ -7,7 +7,7 @@ export declare const CheckInErrorCodes: {
7
7
  };
8
8
  type CheckInErrorCodesType = typeof CheckInErrorCodes;
9
9
  export type CheckInErrorCode = keyof CheckInErrorCodesType;
10
- declare module "../../error/errorcode" {
10
+ declare module '../../error/errorcode' {
11
11
  interface ErrorCodeRegistry extends CheckInErrorCodesType {
12
12
  }
13
13
  }
@@ -3,7 +3,7 @@ export declare const zh: {
3
3
  CHECK_IN_ALREADY_COMPLETED: string;
4
4
  };
5
5
  type ZHType = typeof zh;
6
- declare module "../../../error/messages" {
6
+ declare module '../../../error/messages' {
7
7
  interface ErrorMessageRegistry extends ZHType {
8
8
  }
9
9
  }
@@ -1,7 +1,7 @@
1
- export * from "./admin/service";
2
- export * from "./db.schemas";
3
- export * from "./internal/service";
4
- export * from "./permissions";
5
- export * from "./schema";
6
- export { checkInRouter } from "./user/router";
7
- export * from "./user/service";
1
+ export * from './admin/service';
2
+ export * from './db.schemas';
3
+ export * from './internal/service';
4
+ export * from './permissions';
5
+ export * from './schema';
6
+ export { checkInRouter } from './user/router';
7
+ export * from './user/service';
@@ -1,10 +1,10 @@
1
- import type { SQL } from "drizzle-orm";
2
- import { userCheckIn } from "../schema";
1
+ import type { SQL } from 'drizzle-orm';
2
+ import { userCheckIn } from '../schema';
3
3
  export declare abstract class BaseCheckInService {
4
4
  protected static validateUserId(userId: string): void;
5
5
  protected static getUserTimezone(userId: string): Promise<string>;
6
6
  protected static addDays(dateString: string, days: number): string;
7
- protected static getCheckInTypeOrDefault(checkInType?: (typeof userCheckIn.$inferSelect)["checkInType"]): "app" | "meeting";
7
+ protected static getCheckInTypeOrDefault(checkInType?: (typeof userCheckIn.$inferSelect)['checkInType']): "app" | "meeting";
8
8
  protected static buildDateRangeConditions(conditions: SQL[], timezone: string, startDate?: Date, endDate?: Date): void;
9
9
  protected static listCheckInsByConditions(conditions: SQL[], limit: number, offset: number): Promise<{
10
10
  items: {
@@ -40,10 +40,10 @@ export declare abstract class BaseCheckInService {
40
40
  limit: number;
41
41
  offset: number;
42
42
  }>;
43
- protected static listGroupedLocalDates(userId: string, checkInType: (typeof userCheckIn.$inferSelect)["checkInType"]): Promise<{
43
+ protected static listGroupedLocalDates(userId: string, checkInType: (typeof userCheckIn.$inferSelect)['checkInType']): Promise<{
44
44
  localDate: string | null;
45
45
  }[]>;
46
- protected static findTodayCheckIn(userId: string, checkInType: (typeof userCheckIn.$inferSelect)["checkInType"], todayLocalDate: string): Promise<{
46
+ protected static findTodayCheckIn(userId: string, checkInType: (typeof userCheckIn.$inferSelect)['checkInType'], todayLocalDate: string): Promise<{
47
47
  id: string;
48
48
  }[]>;
49
49
  }
@@ -1,6 +1,6 @@
1
1
  /** 签到模块权限(Access Control: 资源 -> 操作列表) */
2
2
  export declare const checkInPermissions: {
3
- readonly "checkIn:checkIn": readonly ["create", "read", "list"];
4
- readonly "checkIn:admin": readonly ["read", "list"];
3
+ readonly 'checkIn:checkIn': readonly ["create", "read", "list"];
4
+ readonly 'checkIn:admin': readonly ["read", "list"];
5
5
  };
6
6
  export type CheckInPermission = keyof typeof checkInPermissions;
@@ -1,4 +1,4 @@
1
- import Elysia from "elysia";
1
+ import Elysia from 'elysia';
2
2
  export declare const checkInRouter: Elysia<"/checkIns", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,6 +1,6 @@
1
- import { BaseCheckInService } from "../internal/service";
2
- import { userCheckIn } from "../schema";
3
- import type { CheckInCreateInputType, CheckInListQueryType, CheckInStatsQueryType, CheckInTodayQueryType } from "./dto.schemas";
1
+ import type { CheckInCreateInputType, CheckInListQueryType, CheckInStatsQueryType, CheckInTodayQueryType } from './dto.schemas';
2
+ import { BaseCheckInService } from '../internal/service';
3
+ import { userCheckIn } from '../schema';
4
4
  export declare abstract class UserCheckInService extends BaseCheckInService {
5
5
  static checkIn(userId: string, payload?: CheckInCreateInputType): Promise<typeof userCheckIn.$inferSelect>;
6
6
  static listMyCheckIns(userId: string, filters?: CheckInListQueryType): Promise<{
@@ -1,4 +1,4 @@
1
- import * as schemas from "./schemas";
1
+ import * as schemas from './schemas';
2
2
  export declare const db: import("drizzle-orm/postgres-js").PostgresJsDatabase<typeof schemas> & {
3
3
  $client: import("postgres").Sql<{}>;
4
4
  };
@@ -1,34 +1,34 @@
1
- export * from "./enums";
2
- export * from "../auth/schema";
3
- export * from "../user/schema";
4
- export * from "../user-security/schema";
5
- export * from "../user-kyc/schema";
6
- export * from "../asset-type/schema";
7
- export * from "../asset/schema";
8
- export * from "../asset-convert-product/schema";
9
- export * from "../asset-price/schema";
10
- export * from "../wallet-type/schema";
11
- export * from "../ledger-account-type/schema";
12
- export * from "../ledger-account/schema";
13
- export * from "../wallet/schema";
14
- export * from "../ledger-account-import/schema";
15
- export * from "../ledger/schema";
16
- export * from "../deposit/schema";
17
- export * from "../bank-account/schema";
18
- export * from "../receipt-method/schema";
19
- export * from "../shipping-address/schema";
20
- export * from "../check-in/schema";
21
- export * from "../withdraw/schema";
22
- export * from "../transfer/schema";
23
- export * from "../file-storage/schema";
24
- export * from "../notification/schema";
25
- export * from "../referral/schema";
26
- export * from "../referral-depth-config/schema";
27
- export * from "../news-category/schema";
28
- export * from "../news/schema";
29
- export * from "../app-version/schema";
30
- export * from "../dynamic-env/schema";
31
- export * from "../market-pricing/schema";
32
- export * from "../market-data/schema";
33
- export * from "../trade-market/schema";
34
- export * from "../welfare-cycle/schema";
1
+ export * from './enums';
2
+ export * from '../auth/schema';
3
+ export * from '../user/schema';
4
+ export * from '../user-security/schema';
5
+ export * from '../user-kyc/schema';
6
+ export * from '../asset-type/schema';
7
+ export * from '../asset/schema';
8
+ export * from '../asset-convert-product/schema';
9
+ export * from '../asset-price/schema';
10
+ export * from '../wallet-type/schema';
11
+ export * from '../ledger-account-type/schema';
12
+ export * from '../ledger-account/schema';
13
+ export * from '../wallet/schema';
14
+ export * from '../ledger-account-import/schema';
15
+ export * from '../ledger/schema';
16
+ export * from '../deposit/schema';
17
+ export * from '../bank-account/schema';
18
+ export * from '../receipt-method/schema';
19
+ export * from '../shipping-address/schema';
20
+ export * from '../check-in/schema';
21
+ export * from '../withdraw/schema';
22
+ export * from '../transfer/schema';
23
+ export * from '../file-storage/schema';
24
+ export * from '../notification/schema';
25
+ export * from '../referral/schema';
26
+ export * from '../referral-depth-config/schema';
27
+ export * from '../news-category/schema';
28
+ export * from '../news/schema';
29
+ export * from '../app-version/schema';
30
+ export * from '../dynamic-env/schema';
31
+ export * from '../market-pricing/schema';
32
+ export * from '../market-data/schema';
33
+ export * from '../trade-market/schema';
34
+ export * from '../welfare-cycle/schema';
@@ -1,3 +1,3 @@
1
- import { db } from ".";
1
+ import { db } from '.';
2
2
  export type Transaction = Parameters<typeof db.transaction>[0];
3
3
  export type TransactionTx = Parameters<Transaction>[0];
@@ -1,7 +1,7 @@
1
- import type { SchemaOptions, TObject } from "@sinclair/typebox";
2
- import type { PgTableWithColumns } from "drizzle-orm/pg-core";
1
+ import type { SchemaOptions, TObject } from '@sinclair/typebox';
2
+ import type { PgTableWithColumns } from 'drizzle-orm/pg-core';
3
3
  export declare const createInsertSchema: import("drizzle-typebox").CreateInsertSchema, createSelectSchema: import("drizzle-typebox").CreateSelectSchema, createUpdateSchema: import("drizzle-typebox").CreateUpdateSchema;
4
- export declare function createSchemaMeta<T extends PgTableWithColumns<any>>(table: T, meta: Record<keyof T["$inferSelect"], SchemaOptions>): Record<keyof T["$inferSelect"], SchemaOptions>;
4
+ export declare function createSchemaMeta<T extends PgTableWithColumns<any>>(table: T, meta: Record<keyof T['$inferSelect'], SchemaOptions>): Record<keyof T["$inferSelect"], SchemaOptions>;
5
5
  /**
6
6
  * 为派生的 TypeBox schema 补充字段元数据(description、title等)
7
7
  * 使用浅层 Object.assign 合并,保持原有类型约束不变。
@@ -16,4 +16,4 @@ export declare function createSchemaMeta<T extends PgTableWithColumns<any>>(tabl
16
16
  * email: { description: "邮箱", title: "用户邮箱" },
17
17
  * });
18
18
  */
19
- export declare function annotateSchema<S extends TObject, T extends keyof S["properties"]>(schema: S, fieldMeta: Partial<Record<T, Partial<S["properties"][T]>>>, meta?: SchemaOptions): S;
19
+ export declare function annotateSchema<S extends TObject, T extends keyof S['properties']>(schema: S, fieldMeta: Partial<Record<T, Partial<S['properties'][T]>>>, meta?: SchemaOptions): S;
@@ -1,4 +1,4 @@
1
- import { Elysia } from "elysia";
1
+ import { Elysia } from 'elysia';
2
2
  export declare const depositAdminRouter: Elysia<"/deposit", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,5 +1,5 @@
1
- import { BaseDepositService } from "../internal/service";
2
- import type { DepositAdminListQueryType, DepositApproveInputType, DepositRejectInputType } from "./dto.schemas";
1
+ import type { DepositAdminListQueryType, DepositApproveInputType, DepositRejectInputType } from './dto.schemas';
2
+ import { BaseDepositService } from '../internal/service';
3
3
  export declare abstract class AdminDepositService extends BaseDepositService {
4
4
  static approveDeposit(orderId: string, reviewerId: string, input: DepositApproveInputType): Promise<{
5
5
  createdAt: Date;
@@ -2,7 +2,7 @@
2
2
  * 充值模块错误码
3
3
  * @module deposit/errors
4
4
  */
5
- export * from "./locales/zh";
5
+ export * from './locales/zh';
6
6
  export declare const DepositErrorCodes: {
7
7
  /** 用户 ID 为空 */
8
8
  readonly DEPOSIT_USER_ID_REQUIRED: "DEPOSIT_USER_ID_REQUIRED";
@@ -39,7 +39,7 @@ export declare const DepositErrorCodes: {
39
39
  };
40
40
  type DepositErrorCodesType = typeof DepositErrorCodes;
41
41
  export type DepositErrorCode = keyof DepositErrorCodesType;
42
- declare module "../../error/errorcode" {
42
+ declare module '../../error/errorcode' {
43
43
  interface ErrorCodeRegistry extends DepositErrorCodesType {
44
44
  }
45
45
  }
@@ -17,7 +17,7 @@ export declare const zh: {
17
17
  DEPOSIT_IDEMPOTENCY_CONFLICT: string;
18
18
  };
19
19
  type ZHType = typeof zh;
20
- declare module "../../../error/messages" {
20
+ declare module '../../../error/messages' {
21
21
  interface ErrorMessageRegistry extends ZHType {
22
22
  }
23
23
  }
@@ -1,7 +1,7 @@
1
- export * from "./schema";
2
- export * from "./db.schemas";
3
- export * from "./admin/service";
4
- export { depositRouter } from "./user/router";
5
- export * from "./user/service";
6
- export * from "./internal/service";
7
- export * from "./permissions";
1
+ export * from './schema';
2
+ export * from './db.schemas';
3
+ export * from './admin/service';
4
+ export { depositRouter } from './user/router';
5
+ export * from './user/service';
6
+ export * from './internal/service';
7
+ export * from './permissions';
@@ -1,4 +1,4 @@
1
- import Decimal from "decimal.js";
1
+ import Decimal from 'decimal.js';
2
2
  export declare abstract class BaseDepositService {
3
3
  protected static validateUserId(userId: string): void;
4
4
  protected static validateOrderId(orderId: string): void;
@@ -3,7 +3,7 @@
3
3
  */
4
4
  /** 充值权限 */
5
5
  export declare const depositPermissions: {
6
- readonly "deposit:order": readonly ["create", "read", "update", "list"];
7
- readonly "deposit:review": readonly ["read", "update", "list"];
6
+ readonly 'deposit:order': readonly ["create", "read", "update", "list"];
7
+ readonly 'deposit:review': readonly ["read", "update", "list"];
8
8
  };
9
9
  export type DepositPermission = keyof typeof depositPermissions;
@@ -1,4 +1,4 @@
1
- import { Elysia } from "elysia";
1
+ import { Elysia } from 'elysia';
2
2
  export declare const depositRouter: Elysia<"/deposit", {
3
3
  decorator: {};
4
4
  store: {};
@@ -1,5 +1,5 @@
1
- import { BaseDepositService } from "../internal/service";
2
- import type { DepositListQueryType, DirectCnyBalanceDepositCreateInputType, LedgerAccountDepositCreateInputType } from "./dto.schemas";
1
+ import type { DepositListQueryType, DirectCnyBalanceDepositCreateInputType, LedgerAccountDepositCreateInputType } from './dto.schemas';
2
+ import { BaseDepositService } from '../internal/service';
3
3
  export declare abstract class UserDepositService extends BaseDepositService {
4
4
  static createDirectCnyBalanceDeposit(userId: string, input: DirectCnyBalanceDepositCreateInputType): Promise<{
5
5
  id: string;
@@ -1,4 +1,4 @@
1
- import { Elysia } from "elysia";
1
+ import { Elysia } from 'elysia';
2
2
  /**
3
3
  * 动态环境变量管理路由
4
4
  */
@@ -1,4 +1,4 @@
1
- import { type DynamicEnvKey } from "./dto.schema";
1
+ import { type DynamicEnvKey } from './dto.schema';
2
2
  /**
3
3
  * 动态环境变量缓存类
4
4
  * 职责:模块导入时自动加载配置到内存,提供快速异步访问
@@ -1,11 +1,11 @@
1
- export * from "./locales/zh";
1
+ export * from './locales/zh';
2
2
  export declare const DynamicEnvErrorCodes: {
3
3
  readonly DYNAMIC_ENV_KEY_REQUIRED: "DYNAMIC_ENV_KEY_REQUIRED";
4
4
  readonly DYNAMIC_ENV_VALUE_INVALID: "DYNAMIC_ENV_VALUE_INVALID";
5
5
  };
6
6
  type DynamicEnvErrorCodesType = typeof DynamicEnvErrorCodes;
7
7
  export type DynamicEnvErrorCode = keyof DynamicEnvErrorCodesType;
8
- declare module "../../error/errorcode" {
8
+ declare module '../../error/errorcode' {
9
9
  interface ErrorCodeRegistry extends DynamicEnvErrorCodesType {
10
10
  }
11
11
  }
@@ -3,7 +3,7 @@ export declare const zh: {
3
3
  DYNAMIC_ENV_VALUE_INVALID: string;
4
4
  };
5
5
  type ZHType = typeof zh;
6
- declare module "../../../error/messages" {
6
+ declare module '../../../error/messages' {
7
7
  interface ErrorMessageRegistry extends ZHType {
8
8
  }
9
9
  }
@@ -1,3 +1,3 @@
1
- export { dynamicEnv } from "./cache";
2
- export * from "./dto.schema";
3
- export * from "./service";
1
+ export { dynamicEnv } from './cache';
2
+ export * from './dto.schema';
3
+ export * from './service';
@@ -1,4 +1,4 @@
1
- import type { DynamicEnvKey } from "./dto.schema";
1
+ import type { DynamicEnvKey } from './dto.schema';
2
2
  /**
3
3
  * 动态环境变量基础服务(抽象类)
4
4
  * 提供共享的验证方法
@@ -1,2 +1,2 @@
1
- import type { SendMailOptions } from "nodemailer";
1
+ import type { SendMailOptions } from 'nodemailer';
2
2
  export declare function sendEmail(opts: SendMailOptions): Promise<import("nodemailer/lib/smtp-transport").SentMessageInfo>;
@@ -1,2 +1,2 @@
1
- export { default as envClient } from "./client";
2
- export { default as envServer } from "./server";
1
+ export { default as envClient } from './client';
2
+ export { default as envServer } from './server';
@@ -1,4 +1,4 @@
1
- import type { envServer } from ".";
1
+ import type { envServer } from '.';
2
2
  declare const _default: {
3
3
  TZ?: string | undefined;
4
4
  PGTZ?: string | undefined;
@@ -44,7 +44,7 @@ declare const _default: {
44
44
  };
45
45
  export default _default;
46
46
  type EnvServerType = typeof envServer;
47
- declare module "bun" {
47
+ declare module 'bun' {
48
48
  interface Env extends EnvServerType {
49
49
  }
50
50
  }
@@ -1,4 +1,4 @@
1
- import { type Static, type TObject } from "@sinclair/typebox";
1
+ import { type Static, type TObject } from '@sinclair/typebox';
2
2
  type TypeboxEnvOptions<TSchemaType extends TObject> = {
3
3
  env?: Record<string, string | undefined>;
4
4
  arraySeparator?: string;
@@ -1,6 +1,6 @@
1
- import Elysia from "elysia";
2
- import { type ErrorCodeKeys } from "./errorcode";
3
- import { type SupportedLanguages } from "./messages";
1
+ import Elysia from 'elysia';
2
+ import { type ErrorCodeKeys } from './errorcode';
3
+ import { type SupportedLanguages } from './messages';
4
4
  interface ErrorOptions {
5
5
  context?: any;
6
6
  lang?: SupportedLanguages;
@@ -74,7 +74,7 @@ export declare const errorMessagesRouter: Elysia<"", {
74
74
  response: {
75
75
  200: {
76
76
  zh: import("./messages").ErrorMessageRegistry;
77
- "zh-CN": import("./messages").ErrorMessageRegistry;
77
+ 'zh-CN': import("./messages").ErrorMessageRegistry;
78
78
  };
79
79
  };
80
80
  };
@@ -1,2 +1,2 @@
1
- import type { ErrorMessageRegistry } from "../messages";
1
+ import type { ErrorMessageRegistry } from '../messages';
2
2
  export declare const zh: ErrorMessageRegistry;
@@ -1,9 +1,9 @@
1
- import type { ErrorCodeKeys } from "./errorcode";
1
+ import type { ErrorCodeKeys } from './errorcode';
2
2
  export interface ErrorMessageRegistry extends Record<ErrorCodeKeys, string> {
3
3
  }
4
4
  export declare const ErrorMessages: {
5
5
  zh: ErrorMessageRegistry;
6
- "zh-CN": ErrorMessageRegistry;
6
+ 'zh-CN': ErrorMessageRegistry;
7
7
  };
8
8
  export declare const supportedLanguages: Array<keyof typeof ErrorMessages>;
9
9
  export type SupportedLanguages = keyof typeof ErrorMessages;
@@ -1,4 +1,4 @@
1
- export * from "./locales/zh";
1
+ export * from './locales/zh';
2
2
  export declare const ExternalErrorCodes: {
3
3
  /** 外部接口鉴权失败 */
4
4
  readonly EXTERNAL_API_KEY_INVALID: "EXTERNAL_API_KEY_INVALID";
@@ -7,7 +7,7 @@ export declare const ExternalErrorCodes: {
7
7
  };
8
8
  type ExternalErrorCodesType = typeof ExternalErrorCodes;
9
9
  export type ExternalErrorCode = keyof ExternalErrorCodesType;
10
- declare module "../../error/errorcode" {
10
+ declare module '../../error/errorcode' {
11
11
  interface ErrorCodeRegistry extends ExternalErrorCodesType {
12
12
  }
13
13
  }
@@ -3,7 +3,7 @@ export declare const zh: {
3
3
  EXTERNAL_USER_INVALID: string;
4
4
  };
5
5
  type ZHType = typeof zh;
6
- declare module "../../../error/messages" {
6
+ declare module '../../../error/messages' {
7
7
  interface ErrorMessageRegistry extends ZHType {
8
8
  }
9
9
  }
@@ -1,4 +1,4 @@
1
- export * from "./dto.schemas";
2
- export * from "./errors";
3
- export * from "./router";
4
- export * from "./service";
1
+ export * from './dto.schemas';
2
+ export * from './errors';
3
+ export * from './router';
4
+ export * from './service';