@powfix/core-js 0.14.5 → 0.15.0-beta-2

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 (323) hide show
  1. package/dist/client/constants/COORDINATE.js +6 -0
  2. package/dist/client/constants/CRUD.js +19 -0
  3. package/dist/client/constants/DATE.js +22 -0
  4. package/dist/client/constants/DISTANCE.js +14 -0
  5. package/dist/client/constants/DURATION.js +17 -0
  6. package/dist/client/constants/NOT_NULL.js +1 -0
  7. package/dist/client/constants/index.browser.d.ts +6 -0
  8. package/dist/client/constants/index.browser.js +6 -0
  9. package/dist/client/index.browser.d.ts +7 -0
  10. package/dist/client/index.browser.js +7 -0
  11. package/dist/client/interfaces/Coordinate.js +1 -0
  12. package/dist/client/interfaces/Point2.js +1 -0
  13. package/dist/{src → client}/interfaces/Point3.d.ts +1 -1
  14. package/dist/client/interfaces/Point3.js +1 -0
  15. package/dist/client/interfaces/StorageProvider.js +1 -0
  16. package/dist/client/interfaces/index.browser.d.ts +4 -0
  17. package/dist/client/interfaces/index.browser.js +4 -0
  18. package/dist/{src → client}/managers/SessionManager.d.ts +2 -2
  19. package/dist/client/managers/SessionManager.js +127 -0
  20. package/dist/{src → client}/managers/SessionManager.type.d.ts +1 -1
  21. package/dist/client/managers/SessionManager.type.js +1 -0
  22. package/dist/client/managers/index.browser.d.ts +2 -0
  23. package/dist/client/managers/index.browser.js +2 -0
  24. package/dist/client/scripts/base64Polyfill.js +10 -0
  25. package/dist/client/scripts/index.browser.d.ts +1 -0
  26. package/dist/client/scripts/index.browser.js +1 -0
  27. package/dist/client/services/index.browser.d.ts +1 -0
  28. package/dist/client/services/index.browser.js +1 -0
  29. package/dist/{src → client}/services/time/TimeService.d.ts +1 -1
  30. package/dist/client/services/time/TimeService.js +173 -0
  31. package/dist/client/services/time/TimeService.type.js +1 -0
  32. package/dist/client/services/time/index.d.ts +2 -0
  33. package/dist/client/services/time/index.js +2 -0
  34. package/dist/client/types/IntRage.js +1 -0
  35. package/dist/client/types/PartialExcept.js +1 -0
  36. package/dist/client/types/index.browser.d.ts +2 -0
  37. package/dist/client/types/index.browser.js +2 -0
  38. package/dist/client/utils/ArrayUtils.js +26 -0
  39. package/dist/client/utils/AxiosUtils.js +49 -0
  40. package/dist/client/utils/BooleanUtils.js +5 -0
  41. package/dist/client/utils/Calc.js +23 -0
  42. package/dist/{src → client}/utils/CoordinateUtils.d.ts +1 -1
  43. package/dist/client/utils/CoordinateUtils.js +38 -0
  44. package/dist/{src → client}/utils/DateUtils.d.ts +1 -1
  45. package/dist/client/utils/DateUtils.js +303 -0
  46. package/dist/client/utils/JuminNumberUtils.js +46 -0
  47. package/dist/client/utils/NumberUtils.js +21 -0
  48. package/dist/client/utils/ObjectIdUtils.js +20 -0
  49. package/dist/{src → client}/utils/Point3Utils.d.ts +1 -1
  50. package/dist/client/utils/Point3Utils.js +8 -0
  51. package/dist/client/utils/RandomUtils.js +60 -0
  52. package/dist/client/utils/Sequencer.js +141 -0
  53. package/dist/client/utils/StringUtils.js +33 -0
  54. package/dist/{src → client}/utils/UuidUtils.js +2 -6
  55. package/dist/client/utils/Validator.js +114 -0
  56. package/dist/client/utils/global/between.js +3 -0
  57. package/dist/client/utils/global/castArray.js +3 -0
  58. package/dist/client/utils/global/circularDistance.js +11 -0
  59. package/dist/client/utils/global/fallbackIfEqual.js +6 -0
  60. package/dist/client/utils/global/fallbackIfNull.js +4 -0
  61. package/dist/client/utils/global/fallbackIfUndefined.js +4 -0
  62. package/dist/client/utils/global/firstNonNullish.js +10 -0
  63. package/dist/client/utils/global/flat.js +113 -0
  64. package/dist/client/utils/global/index.d.ts +11 -0
  65. package/dist/client/utils/global/index.js +11 -0
  66. package/dist/client/utils/global/processFirstNonNullish.js +8 -0
  67. package/dist/client/utils/global/pureEnum.js +9 -0
  68. package/dist/client/utils/global/sleep.js +1 -0
  69. package/dist/client/utils/index.browser.d.ts +17 -0
  70. package/dist/client/utils/index.browser.js +17 -0
  71. package/dist/client/utils/try-catch/TryCatch.js +74 -0
  72. package/dist/client/utils/try-catch/index.d.ts +1 -0
  73. package/dist/client/utils/try-catch/index.js +1 -0
  74. package/dist/server/constants/COORDINATE.d.ts +7 -0
  75. package/dist/server/constants/CRUD.d.ts +9 -0
  76. package/dist/server/constants/DATE.d.ts +13 -0
  77. package/dist/server/constants/DISTANCE.d.ts +13 -0
  78. package/dist/server/constants/DURATION.d.ts +16 -0
  79. package/dist/server/constants/NOT_NULL.d.ts +1 -0
  80. package/dist/server/constants/index.browser.d.ts +6 -0
  81. package/dist/{src → server}/constants/index.browser.js +6 -6
  82. package/dist/server/constants/index.d.ts +2 -0
  83. package/dist/{src/interfaces → server/constants}/index.js +2 -2
  84. package/dist/server/constants/nodejs/index.d.ts +2 -0
  85. package/dist/{src → server}/constants/nodejs/index.js +2 -2
  86. package/dist/server/index.browser.d.ts +7 -0
  87. package/dist/{src → server}/index.browser.js +7 -7
  88. package/dist/server/index.d.ts +8 -0
  89. package/dist/{src → server}/index.js +8 -8
  90. package/dist/server/interfaces/Coordinate.d.ts +8 -0
  91. package/dist/server/interfaces/Point2.d.ts +4 -0
  92. package/dist/server/interfaces/Point3.d.ts +4 -0
  93. package/dist/server/interfaces/StorageProvider.d.ts +7 -0
  94. package/dist/server/interfaces/index.browser.d.ts +4 -0
  95. package/dist/{src → server}/interfaces/index.browser.js +4 -4
  96. package/dist/server/interfaces/index.d.ts +2 -0
  97. package/dist/{index.js → server/interfaces/index.js} +2 -1
  98. package/dist/server/interfaces/nodejs/db/index.d.ts +1 -0
  99. package/dist/{src/interfaces/nodejs → server/interfaces/nodejs/db}/index.js +1 -1
  100. package/dist/{src → server}/interfaces/nodejs/db/sequelize/Hook.d.ts +2 -2
  101. package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookFn.d.ts +1 -1
  102. package/dist/server/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +4 -0
  103. package/dist/server/interfaces/nodejs/db/sequelize/index.d.ts +6 -0
  104. package/dist/server/interfaces/nodejs/db/sequelize/index.js +22 -0
  105. package/dist/server/interfaces/nodejs/index.d.ts +1 -0
  106. package/dist/{src/interfaces/nodejs/db → server/interfaces/nodejs}/index.js +1 -1
  107. package/dist/server/managers/SessionManager.d.ts +15 -0
  108. package/dist/server/managers/SessionManager.type.d.ts +9 -0
  109. package/dist/{src → server}/managers/TransactionManager.d.ts +2 -2
  110. package/dist/{src → server}/managers/TransactionManager.js +13 -13
  111. package/dist/{src → server}/managers/TransactionManager.types.d.ts +1 -1
  112. package/dist/server/managers/index.browser.d.ts +2 -0
  113. package/dist/{src → server}/managers/index.browser.js +2 -2
  114. package/dist/server/managers/index.d.ts +2 -0
  115. package/dist/server/managers/index.js +18 -0
  116. package/dist/server/scripts/base64Polyfill.d.ts +1 -0
  117. package/dist/server/scripts/index.browser.d.ts +1 -0
  118. package/dist/{src → server}/scripts/index.browser.js +1 -1
  119. package/dist/server/scripts/index.d.ts +1 -0
  120. package/dist/{src → server}/scripts/index.js +1 -1
  121. package/dist/server/services/index.browser.d.ts +1 -0
  122. package/dist/{src → server}/services/index.browser.js +1 -1
  123. package/dist/server/services/index.d.ts +2 -0
  124. package/dist/{src/constants → server/services}/index.js +2 -2
  125. package/dist/{src → server}/services/redis/RedisPublisher.d.ts +1 -1
  126. package/dist/{src → server}/services/redis/RedisPublisher.js +2 -2
  127. package/dist/{src → server}/services/redis/RedisSubscriber.d.ts +2 -2
  128. package/dist/{src → server}/services/redis/RedisSubscriber.js +5 -5
  129. package/dist/server/services/redis/index.d.ts +3 -0
  130. package/dist/{src → server}/services/redis/index.js +3 -3
  131. package/dist/server/services/time/TimeService.d.ts +31 -0
  132. package/dist/server/services/time/TimeService.type.d.ts +21 -0
  133. package/dist/server/services/time/index.d.ts +2 -0
  134. package/dist/server/services/time/index.js +18 -0
  135. package/dist/server/types/IntRage.d.ts +3 -0
  136. package/dist/server/types/PartialExcept.d.ts +1 -0
  137. package/dist/server/types/index.browser.d.ts +2 -0
  138. package/dist/{index.browser.js → server/types/index.browser.js} +2 -1
  139. package/dist/server/types/index.d.ts +2 -0
  140. package/dist/server/types/index.js +18 -0
  141. package/dist/server/utils/ArrayUtils.d.ts +12 -0
  142. package/dist/{src → server}/utils/ArrayUtils.js +2 -2
  143. package/dist/server/utils/AxiosUtils.d.ts +5 -0
  144. package/dist/server/utils/BooleanUtils.d.ts +1 -0
  145. package/dist/server/utils/Calc.d.ts +4 -0
  146. package/dist/server/utils/CoordinateUtils.d.ts +8 -0
  147. package/dist/server/utils/DateUtils.d.ts +24 -0
  148. package/dist/{src → server}/utils/DateUtils.js +17 -17
  149. package/dist/server/utils/JuminNumberUtils.d.ts +4 -0
  150. package/dist/{src → server}/utils/JuminNumberUtils.js +2 -2
  151. package/dist/server/utils/NumberUtils.d.ts +4 -0
  152. package/dist/server/utils/ObjectIdUtils.d.ts +4 -0
  153. package/dist/{src → server}/utils/ObjectIdUtils.js +3 -3
  154. package/dist/server/utils/Point3Utils.d.ts +4 -0
  155. package/dist/server/utils/RandomUtils.d.ts +8 -0
  156. package/dist/server/utils/Sequencer.d.ts +38 -0
  157. package/dist/{src → server}/utils/Sequencer.js +2 -2
  158. package/dist/server/utils/StringUtils.d.ts +5 -0
  159. package/dist/server/utils/UuidUtils.d.ts +14 -0
  160. package/dist/server/utils/UuidUtils.js +79 -0
  161. package/dist/server/utils/Validator.d.ts +48 -0
  162. package/dist/server/utils/global/between.d.ts +1 -0
  163. package/dist/server/utils/global/castArray.d.ts +1 -0
  164. package/dist/server/utils/global/circularDistance.d.ts +1 -0
  165. package/dist/server/utils/global/fallbackIfEqual.d.ts +1 -0
  166. package/dist/server/utils/global/fallbackIfNull.d.ts +1 -0
  167. package/dist/{src → server}/utils/global/fallbackIfNull.js +2 -2
  168. package/dist/server/utils/global/fallbackIfUndefined.d.ts +1 -0
  169. package/dist/{src → server}/utils/global/fallbackIfUndefined.js +2 -2
  170. package/dist/server/utils/global/firstNonNullish.d.ts +1 -0
  171. package/dist/server/utils/global/flat.d.ts +14 -0
  172. package/dist/server/utils/global/index.d.ts +11 -0
  173. package/dist/server/utils/global/index.js +27 -0
  174. package/dist/server/utils/global/processFirstNonNullish.d.ts +1 -0
  175. package/dist/{src → server}/utils/global/processFirstNonNullish.js +2 -2
  176. package/dist/server/utils/global/pureEnum.d.ts +8 -0
  177. package/dist/server/utils/global/sleep.d.ts +1 -0
  178. package/dist/server/utils/index.browser.d.ts +17 -0
  179. package/dist/server/utils/index.browser.js +33 -0
  180. package/dist/server/utils/index.d.ts +2 -0
  181. package/dist/server/utils/index.js +18 -0
  182. package/dist/{src → server}/utils/nodejs/HookUtils.d.ts +1 -1
  183. package/dist/server/utils/nodejs/index.d.ts +2 -0
  184. package/dist/{src → server}/utils/nodejs/index.js +3 -3
  185. package/dist/{src → server}/utils/nodejs/sequelize-utils/SequelizeUtils.d.ts +1 -1
  186. package/dist/{src → server}/utils/nodejs/sequelize-utils/SequelizeUtils.js +8 -8
  187. package/dist/server/utils/nodejs/sequelize-utils/index.d.ts +1 -0
  188. package/dist/{src → server}/utils/nodejs/sequelize-utils/index.js +2 -2
  189. package/dist/server/utils/try-catch/TryCatch.d.ts +24 -0
  190. package/dist/server/utils/try-catch/index.d.ts +1 -0
  191. package/dist/{src → server}/utils/try-catch/index.js +1 -1
  192. package/package.json +56 -52
  193. package/dist/index.browser.d.ts +0 -1
  194. package/dist/index.d.ts +0 -1
  195. package/dist/src/constants/index.browser.d.ts +0 -6
  196. package/dist/src/constants/index.d.ts +0 -2
  197. package/dist/src/constants/nodejs/index.d.ts +0 -2
  198. package/dist/src/index.browser.d.ts +0 -7
  199. package/dist/src/index.d.ts +0 -8
  200. package/dist/src/interfaces/index.browser.d.ts +0 -4
  201. package/dist/src/interfaces/index.d.ts +0 -2
  202. package/dist/src/interfaces/nodejs/db/index.d.ts +0 -1
  203. package/dist/src/interfaces/nodejs/db/sequelize/UpsertOptions.d.ts +0 -4
  204. package/dist/src/interfaces/nodejs/db/sequelize/index.d.ts +0 -6
  205. package/dist/src/interfaces/nodejs/db/sequelize/index.js +0 -22
  206. package/dist/src/interfaces/nodejs/index.d.ts +0 -1
  207. package/dist/src/managers/index.browser.d.ts +0 -2
  208. package/dist/src/managers/index.d.ts +0 -2
  209. package/dist/src/managers/index.js +0 -18
  210. package/dist/src/scripts/index.browser.d.ts +0 -1
  211. package/dist/src/scripts/index.d.ts +0 -1
  212. package/dist/src/services/index.browser.d.ts +0 -1
  213. package/dist/src/services/index.d.ts +0 -2
  214. package/dist/src/services/index.js +0 -18
  215. package/dist/src/services/redis/index.d.ts +0 -3
  216. package/dist/src/services/time/index.d.ts +0 -2
  217. package/dist/src/services/time/index.js +0 -18
  218. package/dist/src/types/index.browser.d.ts +0 -2
  219. package/dist/src/types/index.browser.js +0 -18
  220. package/dist/src/types/index.d.ts +0 -2
  221. package/dist/src/types/index.js +0 -18
  222. package/dist/src/utils/global/index.d.ts +0 -11
  223. package/dist/src/utils/global/index.js +0 -27
  224. package/dist/src/utils/index.browser.d.ts +0 -17
  225. package/dist/src/utils/index.browser.js +0 -33
  226. package/dist/src/utils/index.d.ts +0 -2
  227. package/dist/src/utils/index.js +0 -18
  228. package/dist/src/utils/nodejs/index.d.ts +0 -2
  229. package/dist/src/utils/nodejs/sequelize-utils/index.d.ts +0 -1
  230. package/dist/src/utils/try-catch/index.d.ts +0 -1
  231. /package/dist/{src → client}/constants/COORDINATE.d.ts +0 -0
  232. /package/dist/{src → client}/constants/CRUD.d.ts +0 -0
  233. /package/dist/{src → client}/constants/DATE.d.ts +0 -0
  234. /package/dist/{src → client}/constants/DISTANCE.d.ts +0 -0
  235. /package/dist/{src → client}/constants/DURATION.d.ts +0 -0
  236. /package/dist/{src → client}/constants/NOT_NULL.d.ts +0 -0
  237. /package/dist/{src → client}/interfaces/Coordinate.d.ts +0 -0
  238. /package/dist/{src → client}/interfaces/Point2.d.ts +0 -0
  239. /package/dist/{src → client}/interfaces/StorageProvider.d.ts +0 -0
  240. /package/dist/{src → client}/scripts/base64Polyfill.d.ts +0 -0
  241. /package/dist/{src → client}/services/time/TimeService.type.d.ts +0 -0
  242. /package/dist/{src → client}/types/IntRage.d.ts +0 -0
  243. /package/dist/{src → client}/types/PartialExcept.d.ts +0 -0
  244. /package/dist/{src → client}/utils/ArrayUtils.d.ts +0 -0
  245. /package/dist/{src → client}/utils/AxiosUtils.d.ts +0 -0
  246. /package/dist/{src → client}/utils/BooleanUtils.d.ts +0 -0
  247. /package/dist/{src → client}/utils/Calc.d.ts +0 -0
  248. /package/dist/{src → client}/utils/JuminNumberUtils.d.ts +0 -0
  249. /package/dist/{src → client}/utils/NumberUtils.d.ts +0 -0
  250. /package/dist/{src → client}/utils/ObjectIdUtils.d.ts +0 -0
  251. /package/dist/{src → client}/utils/RandomUtils.d.ts +0 -0
  252. /package/dist/{src → client}/utils/Sequencer.d.ts +0 -0
  253. /package/dist/{src → client}/utils/StringUtils.d.ts +0 -0
  254. /package/dist/{src → client}/utils/UuidUtils.d.ts +0 -0
  255. /package/dist/{src → client}/utils/Validator.d.ts +0 -0
  256. /package/dist/{src → client}/utils/global/between.d.ts +0 -0
  257. /package/dist/{src → client}/utils/global/castArray.d.ts +0 -0
  258. /package/dist/{src → client}/utils/global/circularDistance.d.ts +0 -0
  259. /package/dist/{src → client}/utils/global/fallbackIfEqual.d.ts +0 -0
  260. /package/dist/{src → client}/utils/global/fallbackIfNull.d.ts +0 -0
  261. /package/dist/{src → client}/utils/global/fallbackIfUndefined.d.ts +0 -0
  262. /package/dist/{src → client}/utils/global/firstNonNullish.d.ts +0 -0
  263. /package/dist/{src → client}/utils/global/flat.d.ts +0 -0
  264. /package/dist/{src → client}/utils/global/processFirstNonNullish.d.ts +0 -0
  265. /package/dist/{src → client}/utils/global/pureEnum.d.ts +0 -0
  266. /package/dist/{src → client}/utils/global/sleep.d.ts +0 -0
  267. /package/dist/{src → client}/utils/try-catch/TryCatch.d.ts +0 -0
  268. /package/dist/{src → server}/constants/COORDINATE.js +0 -0
  269. /package/dist/{src → server}/constants/CRUD.js +0 -0
  270. /package/dist/{src → server}/constants/DATE.js +0 -0
  271. /package/dist/{src → server}/constants/DISTANCE.js +0 -0
  272. /package/dist/{src → server}/constants/DURATION.js +0 -0
  273. /package/dist/{src → server}/constants/NOT_NULL.js +0 -0
  274. /package/dist/{src → server}/constants/nodejs/TransactionManagerLogLevel.d.ts +0 -0
  275. /package/dist/{src → server}/constants/nodejs/TransactionManagerLogLevel.js +0 -0
  276. /package/dist/{src → server}/constants/nodejs/TransactionManagerTimeoutAction.d.ts +0 -0
  277. /package/dist/{src → server}/constants/nodejs/TransactionManagerTimeoutAction.js +0 -0
  278. /package/dist/{src → server}/interfaces/Coordinate.js +0 -0
  279. /package/dist/{src → server}/interfaces/Point2.js +0 -0
  280. /package/dist/{src → server}/interfaces/Point3.js +0 -0
  281. /package/dist/{src → server}/interfaces/StorageProvider.js +0 -0
  282. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/Hook.js +0 -0
  283. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookFn.js +0 -0
  284. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookType.d.ts +0 -0
  285. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/HookType.js +0 -0
  286. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/ReloadOption.d.ts +0 -0
  287. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/ReloadOption.js +0 -0
  288. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/TransactionOption.d.ts +0 -0
  289. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/TransactionOption.js +0 -0
  290. /package/dist/{src → server}/interfaces/nodejs/db/sequelize/UpsertOptions.js +0 -0
  291. /package/dist/{src → server}/managers/SessionManager.js +0 -0
  292. /package/dist/{src → server}/managers/SessionManager.type.js +0 -0
  293. /package/dist/{src → server}/managers/TransactionManager.types.js +0 -0
  294. /package/dist/{src → server}/scripts/base64Polyfill.js +0 -0
  295. /package/dist/{src → server}/services/redis/RedisClient.d.ts +0 -0
  296. /package/dist/{src → server}/services/redis/RedisClient.js +0 -0
  297. /package/dist/{src → server}/services/time/TimeService.js +0 -0
  298. /package/dist/{src → server}/services/time/TimeService.type.js +0 -0
  299. /package/dist/{src → server}/types/IntRage.js +0 -0
  300. /package/dist/{src → server}/types/PartialExcept.js +0 -0
  301. /package/dist/{src → server}/types/UpsertResult.d.ts +0 -0
  302. /package/dist/{src → server}/types/UpsertResult.js +0 -0
  303. /package/dist/{src → server}/utils/AxiosUtils.js +0 -0
  304. /package/dist/{src → server}/utils/BooleanUtils.js +0 -0
  305. /package/dist/{src → server}/utils/Calc.js +0 -0
  306. /package/dist/{src → server}/utils/CoordinateUtils.js +0 -0
  307. /package/dist/{src → server}/utils/NumberUtils.js +0 -0
  308. /package/dist/{src → server}/utils/Point3Utils.js +0 -0
  309. /package/dist/{src → server}/utils/RandomUtils.js +0 -0
  310. /package/dist/{src → server}/utils/StringUtils.js +0 -0
  311. /package/dist/{src → server}/utils/Validator.js +0 -0
  312. /package/dist/{src → server}/utils/global/between.js +0 -0
  313. /package/dist/{src → server}/utils/global/castArray.js +0 -0
  314. /package/dist/{src → server}/utils/global/circularDistance.js +0 -0
  315. /package/dist/{src → server}/utils/global/fallbackIfEqual.js +0 -0
  316. /package/dist/{src → server}/utils/global/firstNonNullish.js +0 -0
  317. /package/dist/{src → server}/utils/global/flat.js +0 -0
  318. /package/dist/{src → server}/utils/global/pureEnum.js +0 -0
  319. /package/dist/{src → server}/utils/global/sleep.js +0 -0
  320. /package/dist/{src → server}/utils/nodejs/HookUtils.js +0 -0
  321. /package/dist/{src → server}/utils/nodejs/sequelize-utils/types.d.ts +0 -0
  322. /package/dist/{src → server}/utils/nodejs/sequelize-utils/types.js +0 -0
  323. /package/dist/{src → server}/utils/try-catch/TryCatch.js +0 -0
@@ -0,0 +1,33 @@
1
+ export class StringUtils {
2
+ static numberWithCommas(x) {
3
+ return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
4
+ }
5
+ static getByte(s) {
6
+ const getByteLength = (decimal) => {
7
+ const LINE_FEED = 10;
8
+ return (decimal >> 7) || (LINE_FEED === decimal) ? 2 : 1;
9
+ };
10
+ return s
11
+ .split('')
12
+ .map((s) => s.charCodeAt(0))
13
+ .reduce((prev, unicodeDecimalValue) => prev + getByteLength(unicodeDecimalValue), 0);
14
+ }
15
+ }
16
+ StringUtils.levenshteinDistance = (str1 = '', str2 = '') => {
17
+ const track = Array(str2.length + 1).fill(null).map(() => Array(str1.length + 1).fill(null));
18
+ for (let i = 0; i <= str1.length; i += 1) {
19
+ track[0][i] = i;
20
+ }
21
+ for (let j = 0; j <= str2.length; j += 1) {
22
+ track[j][0] = j;
23
+ }
24
+ for (let j = 1; j <= str2.length; j += 1) {
25
+ for (let i = 1; i <= str1.length; i += 1) {
26
+ const indicator = str1[i - 1] === str2[j - 1] ? 0 : 1;
27
+ track[j][i] = Math.min(track[j][i - 1] + 1, // deletion
28
+ track[j - 1][i] + 1, // insertion
29
+ track[j - 1][i - 1] + indicator);
30
+ }
31
+ }
32
+ return track[str2.length][str1.length];
33
+ };
@@ -1,11 +1,8 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UuidUtils = void 0;
4
- const uuid = require('uuid');
1
+ import * as uuid from "uuid";
5
2
  function binaryToString(binary) {
6
3
  return Buffer.from(binary).toString('hex');
7
4
  }
8
- class UuidUtils {
5
+ export class UuidUtils {
9
6
  static v4() {
10
7
  return uuid.v4();
11
8
  }
@@ -43,4 +40,3 @@ class UuidUtils {
43
40
  return RegExp(/^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/i).test(uuid);
44
41
  }
45
42
  }
46
- exports.UuidUtils = UuidUtils;
@@ -0,0 +1,114 @@
1
+ export class Validator {
2
+ static validate(value, options) {
3
+ value = value || '';
4
+ const validations = [];
5
+ const errors = [];
6
+ const { length } = value;
7
+ const spaceCount = (value.match(/\s/g) || []).length;
8
+ const numberCount = (value.match(/\d/g) || []).length;
9
+ const alphabetCount = (value.match(/[A-Za-z]/g) || []).length;
10
+ const alphabetLowerCaseCount = (value.match(/[a-z]/g) || []).length;
11
+ const alphabetUpperCaseCount = (value.match(/[A-Z]/g) || []).length;
12
+ const specialCount = (value.match(/[~`!@#$%^&*()\-+={[}\]|\\:;"'<,>.?/]/g) || []).length;
13
+ const startsWithNumber = /^\d/.test(value);
14
+ const startsWithAlphabet = /^[A-Za-z]/.test(value);
15
+ const startsWithSpecialCharacter = /^[~`!@#$%^&*()\-+={[}\]|\\:;"'<,>.?/]/.test(value);
16
+ // 최소 길이
17
+ if (options.minLength !== undefined && options.minLength > -1) {
18
+ validations.push(Validator.VALIDATION.MIN_LENGTH);
19
+ if (length < options.minLength) {
20
+ errors.push(Validator.VALIDATION.MIN_LENGTH);
21
+ }
22
+ }
23
+ // 최대 길이
24
+ if (options.maxLength !== undefined && options.maxLength > -1) {
25
+ validations.push(Validator.VALIDATION.MAX_LENGTH);
26
+ if (length > options.maxLength) {
27
+ errors.push(Validator.VALIDATION.MAX_LENGTH);
28
+ }
29
+ }
30
+ const validateMin = (option, value, validation) => {
31
+ if (option !== undefined && option > -1) {
32
+ validations.push(validation);
33
+ if (value < option) {
34
+ errors.push(validation);
35
+ }
36
+ }
37
+ };
38
+ const validateMax = (option, value, validation) => {
39
+ if (option !== undefined && option > -1) {
40
+ validations.push(validation);
41
+ if (value > option) {
42
+ errors.push(validation);
43
+ }
44
+ }
45
+ };
46
+ // 공백 개수
47
+ validateMin(options.spaceMinCount, spaceCount, Validator.VALIDATION.SPACE_MIN_COUNT);
48
+ validateMax(options.spaceMaxCount, spaceCount, Validator.VALIDATION.SPACE_MAX_COUNT);
49
+ // 숫자 개수
50
+ validateMin(options.numberMinCount, numberCount, Validator.VALIDATION.NUMBER_MIN_COUNT);
51
+ validateMax(options.numberMaxCount, numberCount, Validator.VALIDATION.NUMBER_MAX_COUNT);
52
+ // 알파벳 개수
53
+ validateMin(options.alphabetMinCount, alphabetCount, Validator.VALIDATION.ALPHABET_MIN_COUNT);
54
+ validateMax(options.alphabetMaxCount, alphabetCount, Validator.VALIDATION.ALPHABET_MAX_COUNT);
55
+ // 알파벳(소문자) 개수
56
+ validateMin(options.alphabetLowerCaseMinCount, alphabetLowerCaseCount, Validator.VALIDATION.ALPHABET_LOWER_CASE_MIN_COUNT);
57
+ validateMax(options.alphabetLowerCaseMaxCount, alphabetLowerCaseCount, Validator.VALIDATION.ALPHABET_LOWER_CASE_MAX_COUNT);
58
+ // 알파벳(대문자) 개수
59
+ validateMin(options.alphabetUpperCaseMinCount, alphabetUpperCaseCount, Validator.VALIDATION.ALPHABET_UPPER_CASE_MIN_COUNT);
60
+ validateMax(options.alphabetUpperCaseMaxCount, alphabetUpperCaseCount, Validator.VALIDATION.ALPHABET_UPPER_CASE_MAX_COUNT);
61
+ // 특수문자 개수
62
+ validateMin(options.specialCharacterMinCount, specialCount, Validator.VALIDATION.SPECIAL_CHARACTER_MIN_COUNT);
63
+ validateMax(options.specialCharacterMaxCount, specialCount, Validator.VALIDATION.SPECIAL_CHARACTER_MAX_COUNT);
64
+ // 숫자로 시작
65
+ if (options.startsWithNumber) {
66
+ validations.push(Validator.VALIDATION.STARTS_WITH_NUMBER);
67
+ if (!startsWithNumber) {
68
+ errors.push(Validator.VALIDATION.STARTS_WITH_NUMBER);
69
+ }
70
+ }
71
+ // 영문으로 시작
72
+ if (options.startsWithAlphabet) {
73
+ validations.push(Validator.VALIDATION.STARTS_WITH_ALPHABET);
74
+ if (!startsWithAlphabet) {
75
+ errors.push(Validator.VALIDATION.STARTS_WITH_ALPHABET);
76
+ }
77
+ }
78
+ // 특수문자로 시작
79
+ if (options.startsWithSpecialCharacter) {
80
+ validations.push(Validator.VALIDATION.STARTS_WITH_SPECIAL_CHARACTER);
81
+ if (!startsWithSpecialCharacter) {
82
+ errors.push(Validator.VALIDATION.STARTS_WITH_SPECIAL_CHARACTER);
83
+ }
84
+ }
85
+ return {
86
+ result: errors.length === 0,
87
+ validations,
88
+ passes: validations.filter(e => !errors.includes(e)),
89
+ errors,
90
+ };
91
+ }
92
+ }
93
+ (function (Validator) {
94
+ let VALIDATION;
95
+ (function (VALIDATION) {
96
+ VALIDATION["MIN_LENGTH"] = "MIN_LENGTH";
97
+ VALIDATION["MAX_LENGTH"] = "MAX_LENGTH";
98
+ VALIDATION["SPACE_MIN_COUNT"] = "SPACE_MIN_COUNT";
99
+ VALIDATION["SPACE_MAX_COUNT"] = "SPACE_MAX_COUNT";
100
+ VALIDATION["NUMBER_MIN_COUNT"] = "NUMBER_MIN_COUNT";
101
+ VALIDATION["NUMBER_MAX_COUNT"] = "NUMBER_MAX_COUNT";
102
+ VALIDATION["ALPHABET_MIN_COUNT"] = "ALPHABET_MIN_COUNT";
103
+ VALIDATION["ALPHABET_MAX_COUNT"] = "ALPHABET_MAX_COUNT";
104
+ VALIDATION["ALPHABET_LOWER_CASE_MIN_COUNT"] = "ALPHABET_LOWER_CASE_MIN_COUNT";
105
+ VALIDATION["ALPHABET_LOWER_CASE_MAX_COUNT"] = "ALPHABET_LOWER_CASE_MAX_COUNT";
106
+ VALIDATION["ALPHABET_UPPER_CASE_MIN_COUNT"] = "ALPHABET_UPPER_CASE_MIN_COUNT";
107
+ VALIDATION["ALPHABET_UPPER_CASE_MAX_COUNT"] = "ALPHABET_UPPER_CASE_MAX_COUNT";
108
+ VALIDATION["SPECIAL_CHARACTER_MIN_COUNT"] = "SPECIAL_CHARACTER_MIN_COUNT";
109
+ VALIDATION["SPECIAL_CHARACTER_MAX_COUNT"] = "SPECIAL_CHARACTER_MAX_COUNT";
110
+ VALIDATION["STARTS_WITH_ALPHABET"] = "STARTS_WITH_ALPHABET";
111
+ VALIDATION["STARTS_WITH_NUMBER"] = "STARTS_WITH_NUMBER";
112
+ VALIDATION["STARTS_WITH_SPECIAL_CHARACTER"] = "STARTS_WITH_SPECIAL_CHARACTER";
113
+ })(VALIDATION = Validator.VALIDATION || (Validator.VALIDATION = {}));
114
+ })(Validator || (Validator = {}));
@@ -0,0 +1,3 @@
1
+ export const between = (value, from, to) => {
2
+ return value >= from && value <= to;
3
+ };
@@ -0,0 +1,3 @@
1
+ export function castArray(value) {
2
+ return Array.isArray(value) ? value : [value];
3
+ }
@@ -0,0 +1,11 @@
1
+ export function circularDistance(value, target, min, max) {
2
+ const range = max - min;
3
+ const from = value - min;
4
+ const to = target - min;
5
+ if (to >= from) {
6
+ return to - from;
7
+ }
8
+ else {
9
+ return range - from + to;
10
+ }
11
+ }
@@ -0,0 +1,6 @@
1
+ export function fallbackIfEqual(value, condition, fallback) {
2
+ if (typeof value === typeof condition && value === condition) {
3
+ return fallback;
4
+ }
5
+ return value;
6
+ }
@@ -0,0 +1,4 @@
1
+ import { fallbackIfEqual } from "./fallbackIfEqual.js";
2
+ export function fallbackIfNull(value, fallback) {
3
+ return fallbackIfEqual(value, null, fallback);
4
+ }
@@ -0,0 +1,4 @@
1
+ import { fallbackIfEqual } from "./fallbackIfEqual.js";
2
+ export function fallbackIfUndefined(value, fallback) {
3
+ return fallbackIfEqual(value, undefined, fallback);
4
+ }
@@ -0,0 +1,10 @@
1
+ export function firstNonNullish(...args) {
2
+ if (args == null || !Array.isArray(args) || args.length === 0) {
3
+ return undefined;
4
+ }
5
+ if (args[0] != null) {
6
+ // Not Nullish
7
+ return args[0];
8
+ }
9
+ return firstNonNullish(...args.slice(1));
10
+ }
@@ -0,0 +1,113 @@
1
+ // flat.ts
2
+ function isBuffer(obj) {
3
+ return !!(obj &&
4
+ obj.constructor &&
5
+ typeof obj.constructor.isBuffer === 'function' &&
6
+ obj.constructor.isBuffer(obj));
7
+ }
8
+ function keyIdentity(key) {
9
+ return key;
10
+ }
11
+ export function flatten(target, opts = {}) {
12
+ const delimiter = opts.delimiter || '.';
13
+ const maxDepth = opts.maxDepth;
14
+ const transformKey = opts.transformKey || keyIdentity;
15
+ const output = {};
16
+ function step(object, prev, currentDepth = 1) {
17
+ Object.keys(object).forEach((key) => {
18
+ const value = object[key];
19
+ const isarray = opts.safe && Array.isArray(value);
20
+ const type = Object.prototype.toString.call(value);
21
+ const isbuffer = isBuffer(value);
22
+ const isobject = type === '[object Object]' || type === '[object Array]';
23
+ const newKey = prev
24
+ ? `${prev}${delimiter}${transformKey(key)}`
25
+ : transformKey(key);
26
+ if (!isarray &&
27
+ !isbuffer &&
28
+ isobject &&
29
+ Object.keys(value).length &&
30
+ (!maxDepth || currentDepth < maxDepth)) {
31
+ return step(value, newKey, currentDepth + 1);
32
+ }
33
+ output[newKey] = value;
34
+ });
35
+ }
36
+ step(target);
37
+ return output;
38
+ }
39
+ export function unflatten(target, opts = {}) {
40
+ const delimiter = opts.delimiter || '.';
41
+ const overwrite = opts.overwrite || false;
42
+ const transformKey = opts.transformKey || keyIdentity;
43
+ const result = {};
44
+ if (isBuffer(target) ||
45
+ Object.prototype.toString.call(target) !== '[object Object]') {
46
+ return target;
47
+ }
48
+ function getkey(key) {
49
+ const parsedKey = Number(key);
50
+ return isNaN(parsedKey) || key.indexOf('.') !== -1 || opts.object
51
+ ? key
52
+ : parsedKey;
53
+ }
54
+ function addKeys(keyPrefix, recipient, target) {
55
+ return Object.keys(target).reduce((res, key) => {
56
+ res[`${keyPrefix}${delimiter}${key}`] = target[key];
57
+ return res;
58
+ }, recipient);
59
+ }
60
+ function isEmpty(val) {
61
+ const type = Object.prototype.toString.call(val);
62
+ const isArray = type === '[object Array]';
63
+ const isObject = type === '[object Object]';
64
+ if (!val) {
65
+ return true;
66
+ }
67
+ else if (isArray) {
68
+ return !val.length;
69
+ }
70
+ else if (isObject) {
71
+ return !Object.keys(val).length;
72
+ }
73
+ return false;
74
+ }
75
+ const target2 = Object.keys(target).reduce((res, key) => {
76
+ const value = target[key];
77
+ const type = Object.prototype.toString.call(value);
78
+ const isObject = type === '[object Object]' || type === '[object Array]';
79
+ if (!isObject || isEmpty(value)) {
80
+ res[key] = value;
81
+ return res;
82
+ }
83
+ else {
84
+ return addKeys(key, res, flatten(value, opts));
85
+ }
86
+ }, {});
87
+ Object.keys(target2).forEach((key) => {
88
+ const split = key.split(delimiter).map(transformKey);
89
+ let key1 = getkey(split.shift());
90
+ let key2 = getkey(split[0]);
91
+ let recipient = result;
92
+ while (key2 !== undefined) {
93
+ if (key1 === '__proto__')
94
+ return;
95
+ const type = Object.prototype.toString.call(recipient[key1]);
96
+ const isobject = type === '[object Object]' || type === '[object Array]';
97
+ if (!overwrite && !isobject && typeof recipient[key1] !== 'undefined') {
98
+ return;
99
+ }
100
+ if ((overwrite && !isobject) || (!overwrite && recipient[key1] == null)) {
101
+ recipient[key1] =
102
+ typeof key2 === 'number' && !opts.object ? [] : {};
103
+ }
104
+ recipient = recipient[key1];
105
+ if (split.length > 0) {
106
+ key1 = getkey(split.shift());
107
+ key2 = getkey(split[0]);
108
+ }
109
+ }
110
+ recipient[key1] = unflatten(target2[key], opts);
111
+ });
112
+ return result;
113
+ }
@@ -0,0 +1,11 @@
1
+ export * from './between.js';
2
+ export * from './castArray.js';
3
+ export * from './circularDistance.js';
4
+ export * from './sleep.js';
5
+ export * from './fallbackIfEqual.js';
6
+ export * from './fallbackIfNull.js';
7
+ export * from './fallbackIfUndefined.js';
8
+ export * from './firstNonNullish.js';
9
+ export * from './flat.js';
10
+ export * from './processFirstNonNullish.js';
11
+ export * from './pureEnum.js';
@@ -0,0 +1,11 @@
1
+ export * from './between.js';
2
+ export * from './castArray.js';
3
+ export * from './circularDistance.js';
4
+ export * from './sleep.js';
5
+ export * from './fallbackIfEqual.js';
6
+ export * from './fallbackIfNull.js';
7
+ export * from './fallbackIfUndefined.js';
8
+ export * from './firstNonNullish.js';
9
+ export * from './flat.js';
10
+ export * from './processFirstNonNullish.js';
11
+ export * from './pureEnum.js';
@@ -0,0 +1,8 @@
1
+ import { firstNonNullish } from "./firstNonNullish.js";
2
+ export function processFirstNonNullish(processor, ...args) {
3
+ const fallback = firstNonNullish(...args);
4
+ if (fallback == null) {
5
+ return undefined;
6
+ }
7
+ return processor(fallback);
8
+ }
@@ -0,0 +1,9 @@
1
+ export function pureEnum(e) {
2
+ return Object.entries(e).filter(([key, value]) => !/^-?\d+$/g.test(key) && typeof value !== 'function');
3
+ }
4
+ export function pureEnumKeys(e) {
5
+ return pureEnum(e).map(([key]) => key);
6
+ }
7
+ export function pureEnumValues(e) {
8
+ return pureEnum(e).map(([, value]) => value);
9
+ }
@@ -0,0 +1 @@
1
+ export const sleep = (ms) => new Promise(resolve => setTimeout(resolve, ms));
@@ -0,0 +1,17 @@
1
+ export * from './global/index.js';
2
+ export * from './ArrayUtils.js';
3
+ export * from './AxiosUtils.js';
4
+ export * from './StringUtils.js';
5
+ export * from './UuidUtils.js';
6
+ export * from './BooleanUtils.js';
7
+ export * from './Calc.js';
8
+ export * from './CoordinateUtils.js';
9
+ export * from './DateUtils.js';
10
+ export * from './NumberUtils.js';
11
+ export * from './ObjectIdUtils.js';
12
+ export * from './Point3Utils.js';
13
+ export * from './RandomUtils.js';
14
+ export * from './Validator.js';
15
+ export * from './JuminNumberUtils.js';
16
+ export * from './Sequencer.js';
17
+ export * from './try-catch/index.js';
@@ -0,0 +1,17 @@
1
+ export * from './global/index.js';
2
+ export * from './ArrayUtils.js';
3
+ export * from './AxiosUtils.js';
4
+ export * from './StringUtils.js';
5
+ export * from './UuidUtils.js';
6
+ export * from './BooleanUtils.js';
7
+ export * from './Calc.js';
8
+ export * from './CoordinateUtils.js';
9
+ export * from './DateUtils.js';
10
+ export * from './NumberUtils.js';
11
+ export * from './ObjectIdUtils.js';
12
+ export * from './Point3Utils.js';
13
+ export * from './RandomUtils.js';
14
+ export * from './Validator.js';
15
+ export * from './JuminNumberUtils.js';
16
+ export * from './Sequencer.js';
17
+ export * from './try-catch/index.js';
@@ -0,0 +1,74 @@
1
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
2
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
3
+ return new (P || (P = Promise))(function (resolve, reject) {
4
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
5
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
6
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
7
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
8
+ });
9
+ };
10
+ /**
11
+ * Provides a utility class for handling synchronous and asynchronous operations with a consistent try-catch pattern.
12
+ * It returns a tuple where the first element is the error (or null on success) and the second element is the result (or undefined on error).
13
+ */
14
+ export class TryCatch {
15
+ /**
16
+ * Executes a synchronous function within a try-catch block.
17
+ * @template T The return type of the function.
18
+ * @template E The type of the error that might be thrown (defaults to Error).
19
+ * @param fn The synchronous function to execute.
20
+ *@param disableLogging console.error is default way of logging on error. You can disable it by setting it true
21
+ * @returns A tuple containing the result of the function and an error (null if successful).
22
+ */
23
+ static function(fn, disableLogging) {
24
+ try {
25
+ return [
26
+ null,
27
+ fn(),
28
+ ];
29
+ }
30
+ catch (e) {
31
+ if (!disableLogging) {
32
+ console.error("ERROR in TryCatch: ", e);
33
+ }
34
+ if (e == null) {
35
+ e = new Error("Unknown error");
36
+ }
37
+ return [
38
+ e,
39
+ undefined,
40
+ ];
41
+ }
42
+ }
43
+ /**
44
+ * Executes an asynchronous function (Promise) within a try-catch block.
45
+ * @template T The resolved value type of the Promise.
46
+ * @template E The type of the error that might be rejected (defaults to Error).
47
+ * @param fn The Promise to await.
48
+ * @param disableLogging console.error is default way of logging on error. You can disable it by setting it true
49
+ * @returns A tuple containing the resolved value of the Promise and an error (null if successful).
50
+ */
51
+ static asyncFunction(fn, disableLogging) {
52
+ return __awaiter(this, void 0, void 0, function* () {
53
+ try {
54
+ const data = yield fn;
55
+ return [
56
+ null,
57
+ data,
58
+ ];
59
+ }
60
+ catch (e) {
61
+ if (!disableLogging) {
62
+ console.error("ERROR in TryCatch: ", e);
63
+ }
64
+ if (e == null) {
65
+ e = new Error("Unknown error");
66
+ }
67
+ return [
68
+ e,
69
+ undefined,
70
+ ];
71
+ }
72
+ });
73
+ }
74
+ }
@@ -0,0 +1 @@
1
+ export * from "./TryCatch.js";
@@ -0,0 +1 @@
1
+ export * from "./TryCatch.js";
@@ -0,0 +1,7 @@
1
+ export declare class COORDINATE {
2
+ static LATITUDE_MIN_LENGTH: number;
3
+ static LATITUDE_MAX_LENGTH: number;
4
+ static LONGITUDE_MIN_LENGTH: number;
5
+ static LONGITUDE_MAX_LENGTH: number;
6
+ }
7
+ export declare namespace COORDINATE { }
@@ -0,0 +1,9 @@
1
+ export declare enum CRUD {
2
+ CREATE = 1,
3
+ READ = 2,
4
+ UPDATE = 3,
5
+ DELETE = 4
6
+ }
7
+ export declare namespace CRUD {
8
+ function toString(crud: CRUD): string;
9
+ }
@@ -0,0 +1,13 @@
1
+ export declare class DATE {
2
+ }
3
+ export declare namespace DATE {
4
+ enum FORMAT {
5
+ UNIX = 1,
6
+ SECONDS = 2,
7
+ MILLISECONDS = 3,
8
+ ISO_8601 = 4
9
+ }
10
+ namespace FORMAT {
11
+ function toString(format: FORMAT): string;
12
+ }
13
+ }
@@ -0,0 +1,13 @@
1
+ export declare class DISTANCE {
2
+ }
3
+ export declare namespace DISTANCE {
4
+ enum UNIT {
5
+ FEET = "FEET",
6
+ KILOMETERS = "KILOMETERS",
7
+ MILLIMETERS = "MILLIMETERS",
8
+ CENTIMETERS = "CENTIMETERS",
9
+ METERS = "METERS",
10
+ MILES = "MILES",
11
+ YARDS = "YARDS"
12
+ }
13
+ }
@@ -0,0 +1,16 @@
1
+ export declare class DURATION {
2
+ }
3
+ export declare namespace DURATION {
4
+ enum UNIT {
5
+ NANOSECONDS = "NANOSECONDS",
6
+ MICROSECONDS = "MICROSECONDS",
7
+ MILLISECONDS = "MILLISECONDS",
8
+ SECONDS = "SECONDS",
9
+ MINUTES = "MINUTES",
10
+ HOURS = "HOURS",
11
+ DAYS = "DAYS",
12
+ YEARS = "YEARS",
13
+ DECADES = "DECADES",
14
+ CENTURIES = "CENTURIES"
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ export declare const NOT_NULL: unique symbol;
@@ -0,0 +1,6 @@
1
+ export * from './COORDINATE.js';
2
+ export * from './CRUD.js';
3
+ export * from './DATE.js';
4
+ export * from './DISTANCE.js';
5
+ export * from './DURATION.js';
6
+ export * from './NOT_NULL.js';
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./COORDINATE"), exports);
18
- __exportStar(require("./CRUD"), exports);
19
- __exportStar(require("./DATE"), exports);
20
- __exportStar(require("./DISTANCE"), exports);
21
- __exportStar(require("./DURATION"), exports);
22
- __exportStar(require("./NOT_NULL"), exports);
17
+ __exportStar(require("./COORDINATE.js"), exports);
18
+ __exportStar(require("./CRUD.js"), exports);
19
+ __exportStar(require("./DATE.js"), exports);
20
+ __exportStar(require("./DISTANCE.js"), exports);
21
+ __exportStar(require("./DURATION.js"), exports);
22
+ __exportStar(require("./NOT_NULL.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './index.browser.js';
2
+ export * from './nodejs/index.js';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./index.browser"), exports);
18
- __exportStar(require("./nodejs"), exports);
17
+ __exportStar(require("./index.browser.js"), exports);
18
+ __exportStar(require("./nodejs/index.js"), exports);
@@ -0,0 +1,2 @@
1
+ export * from './TransactionManagerLogLevel.js';
2
+ export * from './TransactionManagerTimeoutAction.js';
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TransactionManagerLogLevel"), exports);
18
- __exportStar(require("./TransactionManagerTimeoutAction"), exports);
17
+ __exportStar(require("./TransactionManagerLogLevel.js"), exports);
18
+ __exportStar(require("./TransactionManagerTimeoutAction.js"), exports);
@@ -0,0 +1,7 @@
1
+ export * from './constants/index.browser.js';
2
+ export * from './interfaces/index.browser.js';
3
+ export * from './managers/index.browser.js';
4
+ export * from './scripts/index.browser.js';
5
+ export * from './services/index.browser.js';
6
+ export * from './types/index.browser.js';
7
+ export * from './utils/index.browser.js';
@@ -14,10 +14,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./constants/index.browser"), exports);
18
- __exportStar(require("./interfaces/index.browser"), exports);
19
- __exportStar(require("./managers/index.browser"), exports);
20
- __exportStar(require("./scripts/index.browser"), exports);
21
- __exportStar(require("./services/index.browser"), exports);
22
- __exportStar(require("./types/index.browser"), exports);
23
- __exportStar(require("./utils/index.browser"), exports);
17
+ __exportStar(require("./constants/index.browser.js"), exports);
18
+ __exportStar(require("./interfaces/index.browser.js"), exports);
19
+ __exportStar(require("./managers/index.browser.js"), exports);
20
+ __exportStar(require("./scripts/index.browser.js"), exports);
21
+ __exportStar(require("./services/index.browser.js"), exports);
22
+ __exportStar(require("./types/index.browser.js"), exports);
23
+ __exportStar(require("./utils/index.browser.js"), exports);