@powfix/core-js 0.17.2 → 0.18.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 (487) hide show
  1. package/dist/browser/cjs/browser/index.js +17 -0
  2. package/dist/browser/cjs/{utils → browser/utils}/UUID.js +42 -19
  3. package/dist/browser/cjs/browser/utils/index.js +17 -0
  4. package/dist/browser/cjs/index.browser.js +2 -7
  5. package/dist/{node/cjs → browser/cjs/shared}/index.js +0 -1
  6. package/dist/{node/cjs/utils/index.browser.js → browser/cjs/shared/utils/index.js} +0 -1
  7. package/dist/browser/esm/browser/index.mjs +1 -0
  8. package/dist/browser/esm/{utils → browser/utils}/UUID.mjs +42 -19
  9. package/dist/browser/esm/browser/utils/index.mjs +1 -0
  10. package/dist/browser/esm/index.browser.mjs +2 -7
  11. package/dist/{node/esm → browser/esm/shared}/index.mjs +0 -1
  12. package/dist/{node/esm/utils/index.browser.mjs → browser/esm/shared/utils/index.mjs} +0 -1
  13. package/dist/browser/types/browser/index.d.ts +1 -0
  14. package/dist/browser/types/{utils → browser/utils}/UUID.d.ts +5 -1
  15. package/dist/browser/types/browser/utils/index.d.ts +1 -0
  16. package/dist/browser/types/index.browser.d.ts +2 -7
  17. package/dist/{node/types → browser/types/shared}/index.d.ts +0 -1
  18. package/dist/{node/types/utils/index.browser.d.ts → browser/types/shared/utils/index.d.ts} +0 -1
  19. package/dist/node/cjs/{utils → browser/utils}/UUID.js +42 -19
  20. package/dist/node/cjs/{interfaces/index.js → index.nodejs.js} +1 -1
  21. package/dist/node/cjs/nodejs/index.js +17 -0
  22. package/dist/node/cjs/nodejs/utils/UUID.js +7 -0
  23. package/dist/node/cjs/{constants/nodejs → nodejs/utils}/index.js +3 -2
  24. package/dist/node/cjs/{utils/nodejs → nodejs/utils}/sequelize-utils/SequelizeUtils.js +2 -2
  25. package/dist/node/cjs/{constants → nodejs/utils/sequelize-utils}/index.js +2 -2
  26. package/dist/node/cjs/shared/index.js +23 -0
  27. package/dist/{browser/cjs/utils/index.browser.js → node/cjs/shared/utils/index.js} +0 -1
  28. package/dist/node/esm/{utils → browser/utils}/UUID.mjs +42 -19
  29. package/dist/node/esm/index.nodejs.mjs +2 -0
  30. package/dist/node/esm/nodejs/index.mjs +1 -0
  31. package/dist/node/esm/nodejs/utils/UUID.mjs +3 -0
  32. package/dist/node/esm/nodejs/utils/index.mjs +3 -0
  33. package/dist/node/esm/{utils/nodejs → nodejs/utils}/sequelize-utils/SequelizeUtils.mjs +2 -2
  34. package/dist/node/esm/nodejs/utils/sequelize-utils/index.mjs +2 -0
  35. package/dist/node/esm/shared/index.mjs +7 -0
  36. package/dist/{browser/esm/utils/index.browser.mjs → node/esm/shared/utils/index.mjs} +0 -1
  37. package/dist/node/types/{utils → browser/utils}/UUID.d.ts +5 -1
  38. package/dist/node/types/index.nodejs.d.ts +2 -0
  39. package/dist/node/types/nodejs/index.d.ts +1 -0
  40. package/dist/node/types/{utils/nodejs → nodejs/utils}/HookUtils.d.ts +1 -1
  41. package/dist/node/types/nodejs/utils/UUID.d.ts +3 -0
  42. package/dist/node/types/nodejs/utils/index.d.ts +3 -0
  43. package/dist/node/types/nodejs/utils/sequelize-utils/index.d.ts +2 -0
  44. package/dist/node/types/shared/index.d.ts +7 -0
  45. package/dist/{browser/types/utils/index.browser.d.ts → node/types/shared/utils/index.d.ts} +0 -1
  46. package/package.json +5 -5
  47. package/dist/node/cjs/constants/nodejs/TransactionManagerLogLevel.js +0 -11
  48. package/dist/node/cjs/constants/nodejs/TransactionManagerTimeoutAction.js +0 -8
  49. package/dist/node/cjs/index.browser.js +0 -23
  50. package/dist/node/cjs/managers/TransactionManager.js +0 -151
  51. package/dist/node/cjs/managers/TransactionManager.types.js +0 -2
  52. package/dist/node/cjs/managers/index.js +0 -18
  53. package/dist/node/cjs/scripts/index.js +0 -17
  54. package/dist/node/cjs/services/index.js +0 -18
  55. package/dist/node/cjs/services/redis/RedisClient.js +0 -75
  56. package/dist/node/cjs/services/redis/RedisPublisher.js +0 -64
  57. package/dist/node/cjs/services/redis/RedisSubscriber.js +0 -73
  58. package/dist/node/cjs/services/redis/index.js +0 -20
  59. package/dist/node/cjs/types/UpsertResult.js +0 -2
  60. package/dist/node/cjs/types/index.js +0 -19
  61. package/dist/node/cjs/types/mariaDb.js +0 -2
  62. package/dist/node/cjs/utils/index.js +0 -18
  63. package/dist/node/cjs/utils/nodejs/index.js +0 -20
  64. package/dist/node/cjs/utils/nodejs/sequelize-utils/index.js +0 -5
  65. package/dist/node/esm/constants/index.mjs +0 -2
  66. package/dist/node/esm/constants/nodejs/TransactionManagerLogLevel.mjs +0 -8
  67. package/dist/node/esm/constants/nodejs/TransactionManagerTimeoutAction.mjs +0 -5
  68. package/dist/node/esm/constants/nodejs/index.mjs +0 -2
  69. package/dist/node/esm/index.browser.mjs +0 -7
  70. package/dist/node/esm/interfaces/index.mjs +0 -2
  71. package/dist/node/esm/managers/TransactionManager.mjs +0 -144
  72. package/dist/node/esm/managers/TransactionManager.types.mjs +0 -1
  73. package/dist/node/esm/managers/index.mjs +0 -2
  74. package/dist/node/esm/scripts/index.mjs +0 -1
  75. package/dist/node/esm/services/index.mjs +0 -2
  76. package/dist/node/esm/services/redis/RedisClient.mjs +0 -71
  77. package/dist/node/esm/services/redis/RedisPublisher.mjs +0 -60
  78. package/dist/node/esm/services/redis/RedisSubscriber.mjs +0 -69
  79. package/dist/node/esm/services/redis/index.mjs +0 -4
  80. package/dist/node/esm/types/UpsertResult.mjs +0 -1
  81. package/dist/node/esm/types/index.mjs +0 -3
  82. package/dist/node/esm/types/mariaDb.mjs +0 -1
  83. package/dist/node/esm/utils/index.mjs +0 -2
  84. package/dist/node/esm/utils/nodejs/index.mjs +0 -2
  85. package/dist/node/esm/utils/nodejs/sequelize-utils/index.mjs +0 -1
  86. package/dist/node/types/constants/index.d.ts +0 -2
  87. package/dist/node/types/constants/nodejs/TransactionManagerLogLevel.d.ts +0 -7
  88. package/dist/node/types/constants/nodejs/TransactionManagerTimeoutAction.d.ts +0 -4
  89. package/dist/node/types/constants/nodejs/index.d.ts +0 -2
  90. package/dist/node/types/index.browser.d.ts +0 -7
  91. package/dist/node/types/interfaces/index.d.ts +0 -2
  92. package/dist/node/types/managers/TransactionManager.d.ts +0 -27
  93. package/dist/node/types/managers/TransactionManager.types.d.ts +0 -9
  94. package/dist/node/types/managers/index.d.ts +0 -2
  95. package/dist/node/types/scripts/index.d.ts +0 -1
  96. package/dist/node/types/services/index.d.ts +0 -2
  97. package/dist/node/types/services/redis/RedisClient.d.ts +0 -21
  98. package/dist/node/types/services/redis/RedisPublisher.d.ts +0 -13
  99. package/dist/node/types/services/redis/RedisSubscriber.d.ts +0 -11
  100. package/dist/node/types/services/redis/index.d.ts +0 -3
  101. package/dist/node/types/types/UpsertResult.d.ts +0 -2
  102. package/dist/node/types/types/index.d.ts +0 -3
  103. package/dist/node/types/types/mariaDb.d.ts +0 -8
  104. package/dist/node/types/utils/index.d.ts +0 -2
  105. package/dist/node/types/utils/nodejs/index.d.ts +0 -2
  106. package/dist/node/types/utils/nodejs/sequelize-utils/index.d.ts +0 -1
  107. /package/dist/browser/cjs/{constants → shared/constants}/COORDINATE.js +0 -0
  108. /package/dist/browser/cjs/{constants → shared/constants}/CRUD.js +0 -0
  109. /package/dist/browser/cjs/{constants → shared/constants}/DATE.js +0 -0
  110. /package/dist/browser/cjs/{constants → shared/constants}/DISTANCE.js +0 -0
  111. /package/dist/browser/cjs/{constants → shared/constants}/DURATION.js +0 -0
  112. /package/dist/browser/cjs/{constants → shared/constants}/NOT_NULL.js +0 -0
  113. /package/dist/browser/cjs/{constants/index.browser.js → shared/constants/index.js} +0 -0
  114. /package/dist/browser/cjs/{interfaces → shared/interfaces}/Coordinate.js +0 -0
  115. /package/dist/browser/cjs/{interfaces → shared/interfaces}/Point2.js +0 -0
  116. /package/dist/browser/cjs/{interfaces → shared/interfaces}/Point3.js +0 -0
  117. /package/dist/browser/cjs/{interfaces → shared/interfaces}/StorageProvider.js +0 -0
  118. /package/dist/browser/cjs/{interfaces/index.browser.js → shared/interfaces/index.js} +0 -0
  119. /package/dist/browser/cjs/{managers → shared/managers}/SessionManager.js +0 -0
  120. /package/dist/browser/cjs/{managers → shared/managers}/SessionManager.type.js +0 -0
  121. /package/dist/browser/cjs/{managers/index.browser.js → shared/managers/index.js} +0 -0
  122. /package/dist/browser/cjs/{scripts → shared/scripts}/base64Polyfill.js +0 -0
  123. /package/dist/browser/cjs/{scripts/index.browser.js → shared/scripts/index.js} +0 -0
  124. /package/dist/browser/cjs/{services/index.browser.js → shared/services/index.js} +0 -0
  125. /package/dist/browser/cjs/{services → shared/services}/time/TimeService.js +0 -0
  126. /package/dist/browser/cjs/{services → shared/services}/time/TimeService.type.js +0 -0
  127. /package/dist/browser/cjs/{services → shared/services}/time/index.js +0 -0
  128. /package/dist/browser/cjs/{types → shared/types}/IntRage.js +0 -0
  129. /package/dist/browser/cjs/{types → shared/types}/PartialExcept.js +0 -0
  130. /package/dist/browser/cjs/{types/index.browser.js → shared/types/index.js} +0 -0
  131. /package/dist/browser/cjs/{utils → shared/utils}/ArrayUtils.js +0 -0
  132. /package/dist/browser/cjs/{utils → shared/utils}/AxiosUtils.js +0 -0
  133. /package/dist/browser/cjs/{utils → shared/utils}/BooleanUtils.js +0 -0
  134. /package/dist/browser/cjs/{utils → shared/utils}/Calc.js +0 -0
  135. /package/dist/browser/cjs/{utils → shared/utils}/CoordinateUtils.js +0 -0
  136. /package/dist/browser/cjs/{utils → shared/utils}/DateUtils.js +0 -0
  137. /package/dist/browser/cjs/{utils → shared/utils}/I18nUtils.js +0 -0
  138. /package/dist/browser/cjs/{utils → shared/utils}/JuminNumberUtils.js +0 -0
  139. /package/dist/browser/cjs/{utils → shared/utils}/NumberUtils.js +0 -0
  140. /package/dist/browser/cjs/{utils → shared/utils}/ObjectIdUtils.js +0 -0
  141. /package/dist/browser/cjs/{utils → shared/utils}/Point3Utils.js +0 -0
  142. /package/dist/browser/cjs/{utils → shared/utils}/RandomUtils.js +0 -0
  143. /package/dist/browser/cjs/{utils → shared/utils}/Sequencer.js +0 -0
  144. /package/dist/browser/cjs/{utils → shared/utils}/StringUtils.js +0 -0
  145. /package/dist/browser/cjs/{utils → shared/utils}/Uint8ArrayUtils.js +0 -0
  146. /package/dist/browser/cjs/{utils → shared/utils}/UuidUtils.js +0 -0
  147. /package/dist/browser/cjs/{utils → shared/utils}/Validator.js +0 -0
  148. /package/dist/browser/cjs/{utils → shared/utils}/global/atob.js +0 -0
  149. /package/dist/browser/cjs/{utils → shared/utils}/global/base64.js +0 -0
  150. /package/dist/browser/cjs/{utils → shared/utils}/global/between.js +0 -0
  151. /package/dist/browser/cjs/{utils → shared/utils}/global/btoa.js +0 -0
  152. /package/dist/browser/cjs/{utils → shared/utils}/global/castArray.js +0 -0
  153. /package/dist/browser/cjs/{utils → shared/utils}/global/circularDistance.js +0 -0
  154. /package/dist/browser/cjs/{utils → shared/utils}/global/fallbackIfEqual.js +0 -0
  155. /package/dist/browser/cjs/{utils → shared/utils}/global/fallbackIfNull.js +0 -0
  156. /package/dist/browser/cjs/{utils → shared/utils}/global/fallbackIfUndefined.js +0 -0
  157. /package/dist/browser/cjs/{utils → shared/utils}/global/firstNonNullish.js +0 -0
  158. /package/dist/browser/cjs/{utils → shared/utils}/global/flat.js +0 -0
  159. /package/dist/browser/cjs/{utils → shared/utils}/global/index.js +0 -0
  160. /package/dist/browser/cjs/{utils → shared/utils}/global/processFirstNonNullish.js +0 -0
  161. /package/dist/browser/cjs/{utils → shared/utils}/global/pureEnum.js +0 -0
  162. /package/dist/browser/cjs/{utils → shared/utils}/global/sleep.js +0 -0
  163. /package/dist/browser/cjs/{utils → shared/utils}/try-catch/TryCatch.js +0 -0
  164. /package/dist/browser/cjs/{utils → shared/utils}/try-catch/index.js +0 -0
  165. /package/dist/browser/esm/{constants → shared/constants}/COORDINATE.mjs +0 -0
  166. /package/dist/browser/esm/{constants → shared/constants}/CRUD.mjs +0 -0
  167. /package/dist/browser/esm/{constants → shared/constants}/DATE.mjs +0 -0
  168. /package/dist/browser/esm/{constants → shared/constants}/DISTANCE.mjs +0 -0
  169. /package/dist/browser/esm/{constants → shared/constants}/DURATION.mjs +0 -0
  170. /package/dist/browser/esm/{constants → shared/constants}/NOT_NULL.mjs +0 -0
  171. /package/dist/browser/esm/{constants/index.browser.mjs → shared/constants/index.mjs} +0 -0
  172. /package/dist/browser/esm/{interfaces → shared/interfaces}/Coordinate.mjs +0 -0
  173. /package/dist/browser/esm/{interfaces → shared/interfaces}/Point2.mjs +0 -0
  174. /package/dist/browser/esm/{interfaces → shared/interfaces}/Point3.mjs +0 -0
  175. /package/dist/browser/esm/{interfaces → shared/interfaces}/StorageProvider.mjs +0 -0
  176. /package/dist/browser/esm/{interfaces/index.browser.mjs → shared/interfaces/index.mjs} +0 -0
  177. /package/dist/browser/esm/{managers → shared/managers}/SessionManager.mjs +0 -0
  178. /package/dist/browser/esm/{managers → shared/managers}/SessionManager.type.mjs +0 -0
  179. /package/dist/browser/esm/{managers/index.browser.mjs → shared/managers/index.mjs} +0 -0
  180. /package/dist/browser/esm/{scripts → shared/scripts}/base64Polyfill.mjs +0 -0
  181. /package/dist/browser/esm/{scripts/index.browser.mjs → shared/scripts/index.mjs} +0 -0
  182. /package/dist/browser/esm/{services/index.browser.mjs → shared/services/index.mjs} +0 -0
  183. /package/dist/browser/esm/{services → shared/services}/time/TimeService.mjs +0 -0
  184. /package/dist/browser/esm/{services → shared/services}/time/TimeService.type.mjs +0 -0
  185. /package/dist/browser/esm/{services → shared/services}/time/index.mjs +0 -0
  186. /package/dist/browser/esm/{types → shared/types}/IntRage.mjs +0 -0
  187. /package/dist/browser/esm/{types → shared/types}/PartialExcept.mjs +0 -0
  188. /package/dist/browser/esm/{types/index.browser.mjs → shared/types/index.mjs} +0 -0
  189. /package/dist/browser/esm/{utils → shared/utils}/ArrayUtils.mjs +0 -0
  190. /package/dist/browser/esm/{utils → shared/utils}/AxiosUtils.mjs +0 -0
  191. /package/dist/browser/esm/{utils → shared/utils}/BooleanUtils.mjs +0 -0
  192. /package/dist/browser/esm/{utils → shared/utils}/Calc.mjs +0 -0
  193. /package/dist/browser/esm/{utils → shared/utils}/CoordinateUtils.mjs +0 -0
  194. /package/dist/browser/esm/{utils → shared/utils}/DateUtils.mjs +0 -0
  195. /package/dist/browser/esm/{utils → shared/utils}/I18nUtils.mjs +0 -0
  196. /package/dist/browser/esm/{utils → shared/utils}/JuminNumberUtils.mjs +0 -0
  197. /package/dist/browser/esm/{utils → shared/utils}/NumberUtils.mjs +0 -0
  198. /package/dist/browser/esm/{utils → shared/utils}/ObjectIdUtils.mjs +0 -0
  199. /package/dist/browser/esm/{utils → shared/utils}/Point3Utils.mjs +0 -0
  200. /package/dist/browser/esm/{utils → shared/utils}/RandomUtils.mjs +0 -0
  201. /package/dist/browser/esm/{utils → shared/utils}/Sequencer.mjs +0 -0
  202. /package/dist/browser/esm/{utils → shared/utils}/StringUtils.mjs +0 -0
  203. /package/dist/browser/esm/{utils → shared/utils}/Uint8ArrayUtils.mjs +0 -0
  204. /package/dist/browser/esm/{utils → shared/utils}/UuidUtils.mjs +0 -0
  205. /package/dist/browser/esm/{utils → shared/utils}/Validator.mjs +0 -0
  206. /package/dist/browser/esm/{utils → shared/utils}/global/atob.mjs +0 -0
  207. /package/dist/browser/esm/{utils → shared/utils}/global/base64.mjs +0 -0
  208. /package/dist/browser/esm/{utils → shared/utils}/global/between.mjs +0 -0
  209. /package/dist/browser/esm/{utils → shared/utils}/global/btoa.mjs +0 -0
  210. /package/dist/browser/esm/{utils → shared/utils}/global/castArray.mjs +0 -0
  211. /package/dist/browser/esm/{utils → shared/utils}/global/circularDistance.mjs +0 -0
  212. /package/dist/browser/esm/{utils → shared/utils}/global/fallbackIfEqual.mjs +0 -0
  213. /package/dist/browser/esm/{utils → shared/utils}/global/fallbackIfNull.mjs +0 -0
  214. /package/dist/browser/esm/{utils → shared/utils}/global/fallbackIfUndefined.mjs +0 -0
  215. /package/dist/browser/esm/{utils → shared/utils}/global/firstNonNullish.mjs +0 -0
  216. /package/dist/browser/esm/{utils → shared/utils}/global/flat.mjs +0 -0
  217. /package/dist/browser/esm/{utils → shared/utils}/global/index.mjs +0 -0
  218. /package/dist/browser/esm/{utils → shared/utils}/global/processFirstNonNullish.mjs +0 -0
  219. /package/dist/browser/esm/{utils → shared/utils}/global/pureEnum.mjs +0 -0
  220. /package/dist/browser/esm/{utils → shared/utils}/global/sleep.mjs +0 -0
  221. /package/dist/browser/esm/{utils → shared/utils}/try-catch/TryCatch.mjs +0 -0
  222. /package/dist/browser/esm/{utils → shared/utils}/try-catch/index.mjs +0 -0
  223. /package/dist/browser/types/{constants → shared/constants}/COORDINATE.d.ts +0 -0
  224. /package/dist/browser/types/{constants → shared/constants}/CRUD.d.ts +0 -0
  225. /package/dist/browser/types/{constants → shared/constants}/DATE.d.ts +0 -0
  226. /package/dist/browser/types/{constants → shared/constants}/DISTANCE.d.ts +0 -0
  227. /package/dist/browser/types/{constants → shared/constants}/DURATION.d.ts +0 -0
  228. /package/dist/browser/types/{constants → shared/constants}/NOT_NULL.d.ts +0 -0
  229. /package/dist/browser/types/{constants/index.browser.d.ts → shared/constants/index.d.ts} +0 -0
  230. /package/dist/browser/types/{interfaces → shared/interfaces}/Coordinate.d.ts +0 -0
  231. /package/dist/browser/types/{interfaces → shared/interfaces}/Point2.d.ts +0 -0
  232. /package/dist/browser/types/{interfaces → shared/interfaces}/Point3.d.ts +0 -0
  233. /package/dist/browser/types/{interfaces → shared/interfaces}/StorageProvider.d.ts +0 -0
  234. /package/dist/browser/types/{interfaces/index.browser.d.ts → shared/interfaces/index.d.ts} +0 -0
  235. /package/dist/browser/types/{managers → shared/managers}/SessionManager.d.ts +0 -0
  236. /package/dist/browser/types/{managers → shared/managers}/SessionManager.type.d.ts +0 -0
  237. /package/dist/browser/types/{managers/index.browser.d.ts → shared/managers/index.d.ts} +0 -0
  238. /package/dist/browser/types/{scripts → shared/scripts}/base64Polyfill.d.ts +0 -0
  239. /package/dist/browser/types/{scripts/index.browser.d.ts → shared/scripts/index.d.ts} +0 -0
  240. /package/dist/browser/types/{services/index.browser.d.ts → shared/services/index.d.ts} +0 -0
  241. /package/dist/browser/types/{services → shared/services}/time/TimeService.d.ts +0 -0
  242. /package/dist/browser/types/{services → shared/services}/time/TimeService.type.d.ts +0 -0
  243. /package/dist/browser/types/{services → shared/services}/time/index.d.ts +0 -0
  244. /package/dist/browser/types/{types → shared/types}/IntRage.d.ts +0 -0
  245. /package/dist/browser/types/{types → shared/types}/PartialExcept.d.ts +0 -0
  246. /package/dist/browser/types/{types/index.browser.d.ts → shared/types/index.d.ts} +0 -0
  247. /package/dist/browser/types/{utils → shared/utils}/ArrayUtils.d.ts +0 -0
  248. /package/dist/browser/types/{utils → shared/utils}/AxiosUtils.d.ts +0 -0
  249. /package/dist/browser/types/{utils → shared/utils}/BooleanUtils.d.ts +0 -0
  250. /package/dist/browser/types/{utils → shared/utils}/Calc.d.ts +0 -0
  251. /package/dist/browser/types/{utils → shared/utils}/CoordinateUtils.d.ts +0 -0
  252. /package/dist/browser/types/{utils → shared/utils}/DateUtils.d.ts +0 -0
  253. /package/dist/browser/types/{utils → shared/utils}/I18nUtils.d.ts +0 -0
  254. /package/dist/browser/types/{utils → shared/utils}/JuminNumberUtils.d.ts +0 -0
  255. /package/dist/browser/types/{utils → shared/utils}/NumberUtils.d.ts +0 -0
  256. /package/dist/browser/types/{utils → shared/utils}/ObjectIdUtils.d.ts +0 -0
  257. /package/dist/browser/types/{utils → shared/utils}/Point3Utils.d.ts +0 -0
  258. /package/dist/browser/types/{utils → shared/utils}/RandomUtils.d.ts +0 -0
  259. /package/dist/browser/types/{utils → shared/utils}/Sequencer.d.ts +0 -0
  260. /package/dist/browser/types/{utils → shared/utils}/StringUtils.d.ts +0 -0
  261. /package/dist/browser/types/{utils → shared/utils}/Uint8ArrayUtils.d.ts +0 -0
  262. /package/dist/browser/types/{utils → shared/utils}/UuidUtils.d.ts +0 -0
  263. /package/dist/browser/types/{utils → shared/utils}/Validator.d.ts +0 -0
  264. /package/dist/browser/types/{utils → shared/utils}/global/atob.d.ts +0 -0
  265. /package/dist/browser/types/{utils → shared/utils}/global/base64.d.ts +0 -0
  266. /package/dist/browser/types/{utils → shared/utils}/global/between.d.ts +0 -0
  267. /package/dist/browser/types/{utils → shared/utils}/global/btoa.d.ts +0 -0
  268. /package/dist/browser/types/{utils → shared/utils}/global/castArray.d.ts +0 -0
  269. /package/dist/browser/types/{utils → shared/utils}/global/circularDistance.d.ts +0 -0
  270. /package/dist/browser/types/{utils → shared/utils}/global/fallbackIfEqual.d.ts +0 -0
  271. /package/dist/browser/types/{utils → shared/utils}/global/fallbackIfNull.d.ts +0 -0
  272. /package/dist/browser/types/{utils → shared/utils}/global/fallbackIfUndefined.d.ts +0 -0
  273. /package/dist/browser/types/{utils → shared/utils}/global/firstNonNullish.d.ts +0 -0
  274. /package/dist/browser/types/{utils → shared/utils}/global/flat.d.ts +0 -0
  275. /package/dist/browser/types/{utils → shared/utils}/global/index.d.ts +0 -0
  276. /package/dist/browser/types/{utils → shared/utils}/global/processFirstNonNullish.d.ts +0 -0
  277. /package/dist/browser/types/{utils → shared/utils}/global/pureEnum.d.ts +0 -0
  278. /package/dist/browser/types/{utils → shared/utils}/global/sleep.d.ts +0 -0
  279. /package/dist/browser/types/{utils → shared/utils}/try-catch/TryCatch.d.ts +0 -0
  280. /package/dist/browser/types/{utils → shared/utils}/try-catch/index.d.ts +0 -0
  281. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/index.js +0 -0
  282. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/Hook.js +0 -0
  283. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookFn.js +0 -0
  284. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookType.js +0 -0
  285. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/ReloadOption.js +0 -0
  286. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/TransactionOption.js +0 -0
  287. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/UpsertOptions.js +0 -0
  288. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/index.js +0 -0
  289. /package/dist/node/cjs/{interfaces/nodejs → nodejs/interfaces}/index.js +0 -0
  290. /package/dist/node/cjs/{utils/nodejs → nodejs/utils}/HookUtils.js +0 -0
  291. /package/dist/node/cjs/{utils/nodejs → nodejs/utils}/sequelize-utils/types.js +0 -0
  292. /package/dist/node/cjs/{constants → shared/constants}/COORDINATE.js +0 -0
  293. /package/dist/node/cjs/{constants → shared/constants}/CRUD.js +0 -0
  294. /package/dist/node/cjs/{constants → shared/constants}/DATE.js +0 -0
  295. /package/dist/node/cjs/{constants → shared/constants}/DISTANCE.js +0 -0
  296. /package/dist/node/cjs/{constants → shared/constants}/DURATION.js +0 -0
  297. /package/dist/node/cjs/{constants → shared/constants}/NOT_NULL.js +0 -0
  298. /package/dist/node/cjs/{constants/index.browser.js → shared/constants/index.js} +0 -0
  299. /package/dist/node/cjs/{interfaces → shared/interfaces}/Coordinate.js +0 -0
  300. /package/dist/node/cjs/{interfaces → shared/interfaces}/Point2.js +0 -0
  301. /package/dist/node/cjs/{interfaces → shared/interfaces}/Point3.js +0 -0
  302. /package/dist/node/cjs/{interfaces → shared/interfaces}/StorageProvider.js +0 -0
  303. /package/dist/node/cjs/{interfaces/index.browser.js → shared/interfaces/index.js} +0 -0
  304. /package/dist/node/cjs/{managers → shared/managers}/SessionManager.js +0 -0
  305. /package/dist/node/cjs/{managers → shared/managers}/SessionManager.type.js +0 -0
  306. /package/dist/node/cjs/{managers/index.browser.js → shared/managers/index.js} +0 -0
  307. /package/dist/node/cjs/{scripts → shared/scripts}/base64Polyfill.js +0 -0
  308. /package/dist/node/cjs/{scripts/index.browser.js → shared/scripts/index.js} +0 -0
  309. /package/dist/node/cjs/{services/index.browser.js → shared/services/index.js} +0 -0
  310. /package/dist/node/cjs/{services → shared/services}/time/TimeService.js +0 -0
  311. /package/dist/node/cjs/{services → shared/services}/time/TimeService.type.js +0 -0
  312. /package/dist/node/cjs/{services → shared/services}/time/index.js +0 -0
  313. /package/dist/node/cjs/{types → shared/types}/IntRage.js +0 -0
  314. /package/dist/node/cjs/{types → shared/types}/PartialExcept.js +0 -0
  315. /package/dist/node/cjs/{types/index.browser.js → shared/types/index.js} +0 -0
  316. /package/dist/node/cjs/{utils → shared/utils}/ArrayUtils.js +0 -0
  317. /package/dist/node/cjs/{utils → shared/utils}/AxiosUtils.js +0 -0
  318. /package/dist/node/cjs/{utils → shared/utils}/BooleanUtils.js +0 -0
  319. /package/dist/node/cjs/{utils → shared/utils}/Calc.js +0 -0
  320. /package/dist/node/cjs/{utils → shared/utils}/CoordinateUtils.js +0 -0
  321. /package/dist/node/cjs/{utils → shared/utils}/DateUtils.js +0 -0
  322. /package/dist/node/cjs/{utils → shared/utils}/I18nUtils.js +0 -0
  323. /package/dist/node/cjs/{utils → shared/utils}/JuminNumberUtils.js +0 -0
  324. /package/dist/node/cjs/{utils → shared/utils}/NumberUtils.js +0 -0
  325. /package/dist/node/cjs/{utils → shared/utils}/ObjectIdUtils.js +0 -0
  326. /package/dist/node/cjs/{utils → shared/utils}/Point3Utils.js +0 -0
  327. /package/dist/node/cjs/{utils → shared/utils}/RandomUtils.js +0 -0
  328. /package/dist/node/cjs/{utils → shared/utils}/Sequencer.js +0 -0
  329. /package/dist/node/cjs/{utils → shared/utils}/StringUtils.js +0 -0
  330. /package/dist/node/cjs/{utils → shared/utils}/Uint8ArrayUtils.js +0 -0
  331. /package/dist/node/cjs/{utils → shared/utils}/UuidUtils.js +0 -0
  332. /package/dist/node/cjs/{utils → shared/utils}/Validator.js +0 -0
  333. /package/dist/node/cjs/{utils → shared/utils}/global/atob.js +0 -0
  334. /package/dist/node/cjs/{utils → shared/utils}/global/base64.js +0 -0
  335. /package/dist/node/cjs/{utils → shared/utils}/global/between.js +0 -0
  336. /package/dist/node/cjs/{utils → shared/utils}/global/btoa.js +0 -0
  337. /package/dist/node/cjs/{utils → shared/utils}/global/castArray.js +0 -0
  338. /package/dist/node/cjs/{utils → shared/utils}/global/circularDistance.js +0 -0
  339. /package/dist/node/cjs/{utils → shared/utils}/global/fallbackIfEqual.js +0 -0
  340. /package/dist/node/cjs/{utils → shared/utils}/global/fallbackIfNull.js +0 -0
  341. /package/dist/node/cjs/{utils → shared/utils}/global/fallbackIfUndefined.js +0 -0
  342. /package/dist/node/cjs/{utils → shared/utils}/global/firstNonNullish.js +0 -0
  343. /package/dist/node/cjs/{utils → shared/utils}/global/flat.js +0 -0
  344. /package/dist/node/cjs/{utils → shared/utils}/global/index.js +0 -0
  345. /package/dist/node/cjs/{utils → shared/utils}/global/processFirstNonNullish.js +0 -0
  346. /package/dist/node/cjs/{utils → shared/utils}/global/pureEnum.js +0 -0
  347. /package/dist/node/cjs/{utils → shared/utils}/global/sleep.js +0 -0
  348. /package/dist/node/cjs/{utils → shared/utils}/try-catch/TryCatch.js +0 -0
  349. /package/dist/node/cjs/{utils → shared/utils}/try-catch/index.js +0 -0
  350. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/index.mjs +0 -0
  351. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/Hook.mjs +0 -0
  352. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookFn.mjs +0 -0
  353. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookType.mjs +0 -0
  354. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/ReloadOption.mjs +0 -0
  355. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/TransactionOption.mjs +0 -0
  356. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/UpsertOptions.mjs +0 -0
  357. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/index.mjs +0 -0
  358. /package/dist/node/esm/{interfaces/nodejs → nodejs/interfaces}/index.mjs +0 -0
  359. /package/dist/node/esm/{utils/nodejs → nodejs/utils}/HookUtils.mjs +0 -0
  360. /package/dist/node/esm/{utils/nodejs → nodejs/utils}/sequelize-utils/types.mjs +0 -0
  361. /package/dist/node/esm/{constants → shared/constants}/COORDINATE.mjs +0 -0
  362. /package/dist/node/esm/{constants → shared/constants}/CRUD.mjs +0 -0
  363. /package/dist/node/esm/{constants → shared/constants}/DATE.mjs +0 -0
  364. /package/dist/node/esm/{constants → shared/constants}/DISTANCE.mjs +0 -0
  365. /package/dist/node/esm/{constants → shared/constants}/DURATION.mjs +0 -0
  366. /package/dist/node/esm/{constants → shared/constants}/NOT_NULL.mjs +0 -0
  367. /package/dist/node/esm/{constants/index.browser.mjs → shared/constants/index.mjs} +0 -0
  368. /package/dist/node/esm/{interfaces → shared/interfaces}/Coordinate.mjs +0 -0
  369. /package/dist/node/esm/{interfaces → shared/interfaces}/Point2.mjs +0 -0
  370. /package/dist/node/esm/{interfaces → shared/interfaces}/Point3.mjs +0 -0
  371. /package/dist/node/esm/{interfaces → shared/interfaces}/StorageProvider.mjs +0 -0
  372. /package/dist/node/esm/{interfaces/index.browser.mjs → shared/interfaces/index.mjs} +0 -0
  373. /package/dist/node/esm/{managers → shared/managers}/SessionManager.mjs +0 -0
  374. /package/dist/node/esm/{managers → shared/managers}/SessionManager.type.mjs +0 -0
  375. /package/dist/node/esm/{managers/index.browser.mjs → shared/managers/index.mjs} +0 -0
  376. /package/dist/node/esm/{scripts → shared/scripts}/base64Polyfill.mjs +0 -0
  377. /package/dist/node/esm/{scripts/index.browser.mjs → shared/scripts/index.mjs} +0 -0
  378. /package/dist/node/esm/{services/index.browser.mjs → shared/services/index.mjs} +0 -0
  379. /package/dist/node/esm/{services → shared/services}/time/TimeService.mjs +0 -0
  380. /package/dist/node/esm/{services → shared/services}/time/TimeService.type.mjs +0 -0
  381. /package/dist/node/esm/{services → shared/services}/time/index.mjs +0 -0
  382. /package/dist/node/esm/{types → shared/types}/IntRage.mjs +0 -0
  383. /package/dist/node/esm/{types → shared/types}/PartialExcept.mjs +0 -0
  384. /package/dist/node/esm/{types/index.browser.mjs → shared/types/index.mjs} +0 -0
  385. /package/dist/node/esm/{utils → shared/utils}/ArrayUtils.mjs +0 -0
  386. /package/dist/node/esm/{utils → shared/utils}/AxiosUtils.mjs +0 -0
  387. /package/dist/node/esm/{utils → shared/utils}/BooleanUtils.mjs +0 -0
  388. /package/dist/node/esm/{utils → shared/utils}/Calc.mjs +0 -0
  389. /package/dist/node/esm/{utils → shared/utils}/CoordinateUtils.mjs +0 -0
  390. /package/dist/node/esm/{utils → shared/utils}/DateUtils.mjs +0 -0
  391. /package/dist/node/esm/{utils → shared/utils}/I18nUtils.mjs +0 -0
  392. /package/dist/node/esm/{utils → shared/utils}/JuminNumberUtils.mjs +0 -0
  393. /package/dist/node/esm/{utils → shared/utils}/NumberUtils.mjs +0 -0
  394. /package/dist/node/esm/{utils → shared/utils}/ObjectIdUtils.mjs +0 -0
  395. /package/dist/node/esm/{utils → shared/utils}/Point3Utils.mjs +0 -0
  396. /package/dist/node/esm/{utils → shared/utils}/RandomUtils.mjs +0 -0
  397. /package/dist/node/esm/{utils → shared/utils}/Sequencer.mjs +0 -0
  398. /package/dist/node/esm/{utils → shared/utils}/StringUtils.mjs +0 -0
  399. /package/dist/node/esm/{utils → shared/utils}/Uint8ArrayUtils.mjs +0 -0
  400. /package/dist/node/esm/{utils → shared/utils}/UuidUtils.mjs +0 -0
  401. /package/dist/node/esm/{utils → shared/utils}/Validator.mjs +0 -0
  402. /package/dist/node/esm/{utils → shared/utils}/global/atob.mjs +0 -0
  403. /package/dist/node/esm/{utils → shared/utils}/global/base64.mjs +0 -0
  404. /package/dist/node/esm/{utils → shared/utils}/global/between.mjs +0 -0
  405. /package/dist/node/esm/{utils → shared/utils}/global/btoa.mjs +0 -0
  406. /package/dist/node/esm/{utils → shared/utils}/global/castArray.mjs +0 -0
  407. /package/dist/node/esm/{utils → shared/utils}/global/circularDistance.mjs +0 -0
  408. /package/dist/node/esm/{utils → shared/utils}/global/fallbackIfEqual.mjs +0 -0
  409. /package/dist/node/esm/{utils → shared/utils}/global/fallbackIfNull.mjs +0 -0
  410. /package/dist/node/esm/{utils → shared/utils}/global/fallbackIfUndefined.mjs +0 -0
  411. /package/dist/node/esm/{utils → shared/utils}/global/firstNonNullish.mjs +0 -0
  412. /package/dist/node/esm/{utils → shared/utils}/global/flat.mjs +0 -0
  413. /package/dist/node/esm/{utils → shared/utils}/global/index.mjs +0 -0
  414. /package/dist/node/esm/{utils → shared/utils}/global/processFirstNonNullish.mjs +0 -0
  415. /package/dist/node/esm/{utils → shared/utils}/global/pureEnum.mjs +0 -0
  416. /package/dist/node/esm/{utils → shared/utils}/global/sleep.mjs +0 -0
  417. /package/dist/node/esm/{utils → shared/utils}/try-catch/TryCatch.mjs +0 -0
  418. /package/dist/node/esm/{utils → shared/utils}/try-catch/index.mjs +0 -0
  419. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/index.d.ts +0 -0
  420. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/Hook.d.ts +0 -0
  421. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookFn.d.ts +0 -0
  422. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/HookType.d.ts +0 -0
  423. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/ReloadOption.d.ts +0 -0
  424. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/TransactionOption.d.ts +0 -0
  425. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/UpsertOptions.d.ts +0 -0
  426. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/db/sequelize/index.d.ts +0 -0
  427. /package/dist/node/types/{interfaces/nodejs → nodejs/interfaces}/index.d.ts +0 -0
  428. /package/dist/node/types/{utils/nodejs → nodejs/utils}/sequelize-utils/SequelizeUtils.d.ts +0 -0
  429. /package/dist/node/types/{utils/nodejs → nodejs/utils}/sequelize-utils/types.d.ts +0 -0
  430. /package/dist/node/types/{constants → shared/constants}/COORDINATE.d.ts +0 -0
  431. /package/dist/node/types/{constants → shared/constants}/CRUD.d.ts +0 -0
  432. /package/dist/node/types/{constants → shared/constants}/DATE.d.ts +0 -0
  433. /package/dist/node/types/{constants → shared/constants}/DISTANCE.d.ts +0 -0
  434. /package/dist/node/types/{constants → shared/constants}/DURATION.d.ts +0 -0
  435. /package/dist/node/types/{constants → shared/constants}/NOT_NULL.d.ts +0 -0
  436. /package/dist/node/types/{constants/index.browser.d.ts → shared/constants/index.d.ts} +0 -0
  437. /package/dist/node/types/{interfaces → shared/interfaces}/Coordinate.d.ts +0 -0
  438. /package/dist/node/types/{interfaces → shared/interfaces}/Point2.d.ts +0 -0
  439. /package/dist/node/types/{interfaces → shared/interfaces}/Point3.d.ts +0 -0
  440. /package/dist/node/types/{interfaces → shared/interfaces}/StorageProvider.d.ts +0 -0
  441. /package/dist/node/types/{interfaces/index.browser.d.ts → shared/interfaces/index.d.ts} +0 -0
  442. /package/dist/node/types/{managers → shared/managers}/SessionManager.d.ts +0 -0
  443. /package/dist/node/types/{managers → shared/managers}/SessionManager.type.d.ts +0 -0
  444. /package/dist/node/types/{managers/index.browser.d.ts → shared/managers/index.d.ts} +0 -0
  445. /package/dist/node/types/{scripts → shared/scripts}/base64Polyfill.d.ts +0 -0
  446. /package/dist/node/types/{scripts/index.browser.d.ts → shared/scripts/index.d.ts} +0 -0
  447. /package/dist/node/types/{services/index.browser.d.ts → shared/services/index.d.ts} +0 -0
  448. /package/dist/node/types/{services → shared/services}/time/TimeService.d.ts +0 -0
  449. /package/dist/node/types/{services → shared/services}/time/TimeService.type.d.ts +0 -0
  450. /package/dist/node/types/{services → shared/services}/time/index.d.ts +0 -0
  451. /package/dist/node/types/{types → shared/types}/IntRage.d.ts +0 -0
  452. /package/dist/node/types/{types → shared/types}/PartialExcept.d.ts +0 -0
  453. /package/dist/node/types/{types/index.browser.d.ts → shared/types/index.d.ts} +0 -0
  454. /package/dist/node/types/{utils → shared/utils}/ArrayUtils.d.ts +0 -0
  455. /package/dist/node/types/{utils → shared/utils}/AxiosUtils.d.ts +0 -0
  456. /package/dist/node/types/{utils → shared/utils}/BooleanUtils.d.ts +0 -0
  457. /package/dist/node/types/{utils → shared/utils}/Calc.d.ts +0 -0
  458. /package/dist/node/types/{utils → shared/utils}/CoordinateUtils.d.ts +0 -0
  459. /package/dist/node/types/{utils → shared/utils}/DateUtils.d.ts +0 -0
  460. /package/dist/node/types/{utils → shared/utils}/I18nUtils.d.ts +0 -0
  461. /package/dist/node/types/{utils → shared/utils}/JuminNumberUtils.d.ts +0 -0
  462. /package/dist/node/types/{utils → shared/utils}/NumberUtils.d.ts +0 -0
  463. /package/dist/node/types/{utils → shared/utils}/ObjectIdUtils.d.ts +0 -0
  464. /package/dist/node/types/{utils → shared/utils}/Point3Utils.d.ts +0 -0
  465. /package/dist/node/types/{utils → shared/utils}/RandomUtils.d.ts +0 -0
  466. /package/dist/node/types/{utils → shared/utils}/Sequencer.d.ts +0 -0
  467. /package/dist/node/types/{utils → shared/utils}/StringUtils.d.ts +0 -0
  468. /package/dist/node/types/{utils → shared/utils}/Uint8ArrayUtils.d.ts +0 -0
  469. /package/dist/node/types/{utils → shared/utils}/UuidUtils.d.ts +0 -0
  470. /package/dist/node/types/{utils → shared/utils}/Validator.d.ts +0 -0
  471. /package/dist/node/types/{utils → shared/utils}/global/atob.d.ts +0 -0
  472. /package/dist/node/types/{utils → shared/utils}/global/base64.d.ts +0 -0
  473. /package/dist/node/types/{utils → shared/utils}/global/between.d.ts +0 -0
  474. /package/dist/node/types/{utils → shared/utils}/global/btoa.d.ts +0 -0
  475. /package/dist/node/types/{utils → shared/utils}/global/castArray.d.ts +0 -0
  476. /package/dist/node/types/{utils → shared/utils}/global/circularDistance.d.ts +0 -0
  477. /package/dist/node/types/{utils → shared/utils}/global/fallbackIfEqual.d.ts +0 -0
  478. /package/dist/node/types/{utils → shared/utils}/global/fallbackIfNull.d.ts +0 -0
  479. /package/dist/node/types/{utils → shared/utils}/global/fallbackIfUndefined.d.ts +0 -0
  480. /package/dist/node/types/{utils → shared/utils}/global/firstNonNullish.d.ts +0 -0
  481. /package/dist/node/types/{utils → shared/utils}/global/flat.d.ts +0 -0
  482. /package/dist/node/types/{utils → shared/utils}/global/index.d.ts +0 -0
  483. /package/dist/node/types/{utils → shared/utils}/global/processFirstNonNullish.d.ts +0 -0
  484. /package/dist/node/types/{utils → shared/utils}/global/pureEnum.d.ts +0 -0
  485. /package/dist/node/types/{utils → shared/utils}/global/sleep.d.ts +0 -0
  486. /package/dist/node/types/{utils → shared/utils}/try-catch/TryCatch.d.ts +0 -0
  487. /package/dist/node/types/{utils → shared/utils}/try-catch/index.d.ts +0 -0
@@ -0,0 +1,7 @@
1
+ export * from './constants/index.mjs';
2
+ export * from './interfaces/index.mjs';
3
+ export * from './managers/index.mjs';
4
+ export * from './scripts/index.mjs';
5
+ export * from './services/index.mjs';
6
+ export * from './types/index.mjs';
7
+ export * from './utils/index.mjs';
@@ -3,7 +3,6 @@ export * from './ArrayUtils.mjs';
3
3
  export * from './AxiosUtils.mjs';
4
4
  export * from './StringUtils.mjs';
5
5
  export * from './Uint8ArrayUtils.mjs';
6
- export * from './UUID.mjs';
7
6
  export * from './UuidUtils.mjs';
8
7
  export * from './BooleanUtils.mjs';
9
8
  export * from './Calc.mjs';
@@ -5,12 +5,16 @@ export declare class UUID {
5
5
  private static stripHyphens;
6
6
  private static parseString;
7
7
  static fromString(str: string): UUID;
8
+ private static parseBytes;
9
+ static fromBytes(bytes: ArrayBufferView): UUID;
8
10
  static nil(): UUID;
11
+ static equals(...uuids: UUID[]): boolean;
12
+ static compare(uuid1: UUID, uuid2: UUID): number;
9
13
  private readonly bytes;
10
14
  private _str?;
11
15
  private _hex?;
12
16
  constructor(input: string | ArrayBufferView);
13
- equals(other: UUID): boolean;
17
+ equals(...uuids: UUID[]): boolean;
14
18
  compare(other: UUID): number;
15
19
  toString(): string;
16
20
  toHex(): string;
@@ -0,0 +1,2 @@
1
+ export * from './shared';
2
+ export * from './nodejs';
@@ -0,0 +1 @@
1
+ export * from './utils';
@@ -1,4 +1,4 @@
1
- import { Hook, HookFn } from "../../interfaces";
1
+ import { Hook, HookFn } from "../interfaces";
2
2
  import { ModelCtor } from "sequelize-typescript";
3
3
  export declare class HookUtils {
4
4
  static getFkChanges<T>(pFkValue: T | null | undefined, cFkValue: T | null | undefined): {
@@ -0,0 +1,3 @@
1
+ import { UUID as BaseUUID } from "../../browser/utils/UUID";
2
+ export declare class UUID extends BaseUUID {
3
+ }
@@ -0,0 +1,3 @@
1
+ export * from './sequelize-utils';
2
+ export * from './HookUtils';
3
+ export * from './UUID';
@@ -0,0 +1,2 @@
1
+ export * from './SequelizeUtils';
2
+ export * from './types';
@@ -0,0 +1,7 @@
1
+ export * from './constants';
2
+ export * from './interfaces';
3
+ export * from './managers';
4
+ export * from './scripts';
5
+ export * from './services';
6
+ export * from './types';
7
+ export * from './utils';
@@ -3,7 +3,6 @@ export * from './ArrayUtils';
3
3
  export * from './AxiosUtils';
4
4
  export * from './StringUtils';
5
5
  export * from './Uint8ArrayUtils';
6
- export * from './UUID';
7
6
  export * from './UuidUtils';
8
7
  export * from './BooleanUtils';
9
8
  export * from './Calc';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powfix/core-js",
3
- "version": "0.17.2",
3
+ "version": "0.18.0",
4
4
  "description": "core package",
5
5
  "author": "Kwon Kyung-Min <powfix@gmail.com>",
6
6
  "private": false,
@@ -23,10 +23,10 @@
23
23
  "types": "./dist/browser/types/index.browser.d.ts"
24
24
  },
25
25
  "./node": {
26
- "require": "./dist/node/cjs/index.js",
27
- "import": "./dist/node/esm/index.mjs",
28
- "default": "./dist/node/cjs/index.js",
29
- "types": "./dist/node/types/index.d.ts"
26
+ "require": "./dist/node/cjs/index.node.js",
27
+ "import": "./dist/node/esm/index.node.mjs",
28
+ "default": "./dist/node/cjs/index.node.js",
29
+ "types": "./dist/node/types/index.node.d.ts"
30
30
  }
31
31
  },
32
32
  "scripts": {
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionManagerLogLevel = void 0;
4
- var TransactionManagerLogLevel;
5
- (function (TransactionManagerLogLevel) {
6
- TransactionManagerLogLevel[TransactionManagerLogLevel["VERBOSE"] = 1] = "VERBOSE";
7
- TransactionManagerLogLevel[TransactionManagerLogLevel["INFO"] = 2] = "INFO";
8
- TransactionManagerLogLevel[TransactionManagerLogLevel["WARNING"] = 3] = "WARNING";
9
- TransactionManagerLogLevel[TransactionManagerLogLevel["ERROR"] = 4] = "ERROR";
10
- TransactionManagerLogLevel[TransactionManagerLogLevel["CRITICAL"] = 5] = "CRITICAL";
11
- })(TransactionManagerLogLevel || (exports.TransactionManagerLogLevel = TransactionManagerLogLevel = {}));
@@ -1,8 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TransactionManagerTimeoutAction = void 0;
4
- var TransactionManagerTimeoutAction;
5
- (function (TransactionManagerTimeoutAction) {
6
- TransactionManagerTimeoutAction[TransactionManagerTimeoutAction["COMMIT"] = 1] = "COMMIT";
7
- TransactionManagerTimeoutAction[TransactionManagerTimeoutAction["ROLLBACK"] = 2] = "ROLLBACK";
8
- })(TransactionManagerTimeoutAction || (exports.TransactionManagerTimeoutAction = TransactionManagerTimeoutAction = {}));
@@ -1,23 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
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);
@@ -1,151 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
- Object.defineProperty(exports, "__esModule", { value: true });
15
- exports.TransactionManager = void 0;
16
- const eventemitter3_1 = __importDefault(require("eventemitter3"));
17
- const constants_1 = require("../constants");
18
- const LOG_TAG = '[TransactionManager]';
19
- class TransactionManager {
20
- constructor() {
21
- // Members
22
- this.logLevel = constants_1.TransactionManagerLogLevel.VERBOSE;
23
- this.transactionTimeoutMap = new Map();
24
- // Emitter
25
- this.emitter = new eventemitter3_1.default();
26
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.VERBOSE) {
27
- console.log(LOG_TAG, 'TransactionManager instance initialized');
28
- }
29
- }
30
- static getInstance() {
31
- return this.instance || (this.instance = new TransactionManager());
32
- }
33
- getTransactionLogArg(transaction) {
34
- const id = transaction === null || transaction === void 0 ? void 0 : transaction.id;
35
- return id ? `transaction(${id})` : '';
36
- }
37
- setLogLevel(logLevel) {
38
- this.logLevel = logLevel;
39
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.VERBOSE) {
40
- console.log(LOG_TAG, 'log level changed to', logLevel);
41
- }
42
- }
43
- addListener(event, fn) {
44
- this.emitter.addListener(event, fn);
45
- }
46
- removeListener(event, fn) {
47
- this.emitter.removeListener(event, fn);
48
- }
49
- add(transaction, option) {
50
- var _a, _b;
51
- if (this.transactionTimeoutMap.has(transaction)) {
52
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.ERROR) {
53
- console.error(LOG_TAG, 'transaction already exists');
54
- }
55
- return;
56
- }
57
- const action = (_a = option === null || option === void 0 ? void 0 : option.timeoutAction) !== null && _a !== void 0 ? _a : TransactionManager.DEFAULT_ACTION;
58
- const timeout = (_b = option === null || option === void 0 ? void 0 : option.timeout) !== null && _b !== void 0 ? _b : TransactionManager.DEFAULT_TIMEOUT;
59
- const handler = setTimeout(this.timeout.bind(this), timeout, transaction, action);
60
- this.transactionTimeoutMap.set(transaction, {
61
- handler,
62
- action,
63
- });
64
- // Callback
65
- transaction.afterCommit(this.afterCommit.bind(this));
66
- }
67
- remove(transaction) {
68
- const transactionTimeout = this.transactionTimeoutMap.get(transaction);
69
- if (transactionTimeout != null) {
70
- clearTimeout(transactionTimeout.handler);
71
- this.transactionTimeoutMap.delete(transaction);
72
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.VERBOSE) {
73
- console.log(LOG_TAG, this.getTransactionLogArg(transaction), 'removed');
74
- }
75
- }
76
- }
77
- flush(action) {
78
- return Promise.allSettled(Array.from(this.transactionTimeoutMap.entries()).map((_a) => __awaiter(this, [_a], void 0, function* ([transaction, transactionTimeout]) {
79
- const handled = yield this.execute(transaction, action !== null && action !== void 0 ? action : transactionTimeout.action, 'flush');
80
- this.remove(transaction);
81
- return {
82
- handled,
83
- transaction,
84
- };
85
- })));
86
- }
87
- execute(transaction, action, reason) {
88
- return __awaiter(this, void 0, void 0, function* () {
89
- let handled = false;
90
- const finished = transaction === null || transaction === void 0 ? void 0 : transaction.finished;
91
- if (finished != null) {
92
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.VERBOSE) {
93
- console.log(LOG_TAG, this.getTransactionLogArg(transaction), `is already handled(${finished}) after`, reason);
94
- }
95
- this.remove(transaction);
96
- return handled;
97
- }
98
- try {
99
- let finished;
100
- switch (action) {
101
- case constants_1.TransactionManagerTimeoutAction.ROLLBACK: {
102
- yield transaction.rollback();
103
- finished = 'rollback';
104
- break;
105
- }
106
- case constants_1.TransactionManagerTimeoutAction.COMMIT: {
107
- yield transaction.commit();
108
- finished = 'commit';
109
- break;
110
- }
111
- default: {
112
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.ERROR) {
113
- console.error(LOG_TAG, `unknown action`, action);
114
- }
115
- break;
116
- }
117
- }
118
- handled = finished != null;
119
- if (finished != null) {
120
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.ERROR) {
121
- console.error(LOG_TAG, this.getTransactionLogArg(transaction), `handled(${finished}) after`, reason);
122
- }
123
- }
124
- else {
125
- if (this.logLevel <= constants_1.TransactionManagerLogLevel.ERROR) {
126
- console.error(LOG_TAG, this.getTransactionLogArg(transaction), `not handled 🚫`);
127
- }
128
- }
129
- }
130
- catch (e) {
131
- console.error(e);
132
- }
133
- finally {
134
- this.remove(transaction);
135
- }
136
- return handled;
137
- });
138
- }
139
- timeout(transaction, action) {
140
- return __awaiter(this, void 0, void 0, function* () {
141
- const handled = yield this.execute(transaction, action, 'timeout');
142
- this.emitter.emit('onUnhandledTransaction', transaction, handled);
143
- });
144
- }
145
- afterCommit(transaction) {
146
- this.remove(transaction);
147
- }
148
- }
149
- exports.TransactionManager = TransactionManager;
150
- TransactionManager.DEFAULT_TIMEOUT = 60 * 1000;
151
- TransactionManager.DEFAULT_ACTION = constants_1.TransactionManagerTimeoutAction.ROLLBACK;
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./TransactionManager"), exports);
18
- __exportStar(require("./TransactionManager.types"), exports);
@@ -1,17 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./index.browser"), exports);
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./index.browser"), exports);
18
- __exportStar(require("./redis"), exports);
@@ -1,75 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RedisClient = void 0;
13
- const redis_1 = require("redis");
14
- const LOG_PREFIX = 'RedisClient';
15
- class RedisClient {
16
- constructor(options) {
17
- this.options = {};
18
- this.status = RedisClient.Status.STOPPED;
19
- console.log(Date.now(), LOG_PREFIX, 'initialized');
20
- if (options) {
21
- this.options = options;
22
- }
23
- if (options === null || options === void 0 ? void 0 : options.redisOptions) {
24
- this.client = (0, redis_1.createClient)(options.redisOptions);
25
- }
26
- else {
27
- this.client = (0, redis_1.createClient)({});
28
- }
29
- }
30
- getStatus() {
31
- return this.status;
32
- }
33
- start() {
34
- return __awaiter(this, void 0, void 0, function* () {
35
- console.log(LOG_PREFIX, 'trying to start');
36
- // register event callback
37
- this.client.on('connect', this.handleOnConnect);
38
- this.client.on('error', this.handleOnError);
39
- console.log('before connect');
40
- yield this.client.connect();
41
- console.log('after connect');
42
- this.status = RedisClient.Status.RUNNING;
43
- console.log(LOG_PREFIX, 'now started');
44
- return this.status;
45
- });
46
- }
47
- stop() {
48
- return __awaiter(this, void 0, void 0, function* () {
49
- console.log(LOG_PREFIX, 'trying to stop');
50
- // unregister event callback
51
- this.client.off('connect', this.handleOnConnect);
52
- this.client.off('error', this.handleOnError);
53
- if (this.client.isOpen) {
54
- yield this.client.disconnect();
55
- }
56
- this.status = RedisClient.Status.STOPPED;
57
- console.log(LOG_PREFIX, 'now stopped');
58
- return this.status;
59
- });
60
- }
61
- handleOnConnect() {
62
- console.log(LOG_PREFIX, 'connected');
63
- }
64
- handleOnError(error) {
65
- console.error(LOG_PREFIX, error);
66
- }
67
- }
68
- exports.RedisClient = RedisClient;
69
- (function (RedisClient) {
70
- let Status;
71
- (function (Status) {
72
- Status[Status["RUNNING"] = 0] = "RUNNING";
73
- Status[Status["STOPPED"] = 1] = "STOPPED";
74
- })(Status = RedisClient.Status || (RedisClient.Status = {}));
75
- })(RedisClient || (exports.RedisClient = RedisClient = {}));
@@ -1,64 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RedisPublisher = void 0;
13
- const RedisClient_1 = require("./RedisClient");
14
- const LOG_TAG = '[REDIS-PUB]';
15
- class RedisPublisher extends RedisClient_1.RedisClient {
16
- constructor(options) {
17
- super(options);
18
- this.logging = 'length';
19
- console.log(Date.now(), "RedisPublisher", 'initialized');
20
- }
21
- start() {
22
- const _super = Object.create(null, {
23
- start: { get: () => super.start }
24
- });
25
- return __awaiter(this, void 0, void 0, function* () {
26
- return _super.start.call(this);
27
- });
28
- }
29
- stop() {
30
- const _super = Object.create(null, {
31
- stop: { get: () => super.stop }
32
- });
33
- return __awaiter(this, void 0, void 0, function* () {
34
- return _super.stop.call(this);
35
- });
36
- }
37
- setLogging(logging) {
38
- this.logging = logging;
39
- }
40
- getLogging() {
41
- return this.logging;
42
- }
43
- // Make public method
44
- publish(channel, data) {
45
- return __awaiter(this, void 0, void 0, function* () {
46
- const stringifyData = typeof data !== 'string' ? JSON.stringify(data) : data;
47
- switch (this.logging) {
48
- case "none": {
49
- break;
50
- }
51
- case "length": {
52
- console.log(new Date().toISOString(), LOG_TAG, channel, `[len=${stringifyData.length}]`);
53
- break;
54
- }
55
- case "data": {
56
- console.log(new Date().toISOString(), LOG_TAG, channel, stringifyData);
57
- break;
58
- }
59
- }
60
- yield this.client.publish(channel, stringifyData);
61
- });
62
- }
63
- }
64
- exports.RedisPublisher = RedisPublisher;
@@ -1,73 +0,0 @@
1
- "use strict";
2
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
- return new (P || (P = Promise))(function (resolve, reject) {
5
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
- step((generator = generator.apply(thisArg, _arguments || [])).next());
9
- });
10
- };
11
- Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.RedisSubscriber = void 0;
13
- const RedisClient_1 = require("./RedisClient");
14
- const utils_1 = require("../../utils");
15
- class RedisSubscriber extends RedisClient_1.RedisClient {
16
- constructor(options) {
17
- super(options);
18
- console.log(Date.now(), 'Subscriber', 'initialized');
19
- }
20
- subscribe(channels, listener, bufferMode) {
21
- return __awaiter(this, void 0, void 0, function* () {
22
- for (const channel of (0, utils_1.castArray)(channels)) {
23
- if ((/\*/g).test(channel)) {
24
- yield this.client.pSubscribe(channel, listener, bufferMode);
25
- }
26
- else {
27
- yield this.client.subscribe(channel, listener, bufferMode);
28
- }
29
- }
30
- });
31
- }
32
- unsubscribe(channels, listener, bufferMode) {
33
- return __awaiter(this, void 0, void 0, function* () {
34
- for (const channel of (0, utils_1.castArray)(channels)) {
35
- if ((/\*/g).test(channel)) {
36
- yield this.client.pUnsubscribe(channel, listener, bufferMode);
37
- }
38
- else {
39
- yield this.client.unsubscribe(channel, listener, bufferMode);
40
- }
41
- }
42
- });
43
- }
44
- start() {
45
- const _super = Object.create(null, {
46
- start: { get: () => super.start }
47
- });
48
- return __awaiter(this, void 0, void 0, function* () {
49
- const status = yield _super.start.call(this);
50
- yield this.registerListeners();
51
- return status;
52
- });
53
- }
54
- stop() {
55
- const _super = Object.create(null, {
56
- stop: { get: () => super.stop }
57
- });
58
- return __awaiter(this, void 0, void 0, function* () {
59
- const status = yield _super.stop.call(this);
60
- yield this.unregisterListeners();
61
- return status;
62
- });
63
- }
64
- registerListeners() {
65
- return __awaiter(this, void 0, void 0, function* () {
66
- });
67
- }
68
- unregisterListeners() {
69
- return __awaiter(this, void 0, void 0, function* () {
70
- });
71
- }
72
- }
73
- exports.RedisSubscriber = RedisSubscriber;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- // Files
18
- __exportStar(require("./RedisClient"), exports);
19
- __exportStar(require("./RedisPublisher"), exports);
20
- __exportStar(require("./RedisSubscriber"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./index.browser"), exports);
18
- __exportStar(require("./UpsertResult"), exports);
19
- __exportStar(require("./mariaDb"), exports);
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,18 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./index.browser"), exports);
18
- __exportStar(require("./nodejs"), exports);