@candlerip/shared3 0.0.100 → 0.0.101

Sign up to get free protection for your applications and to get access to all the features.
Files changed (394) hide show
  1. package/package.json +1 -1
  2. package/src/dictionary/dictionary/config.js +1 -1
  3. package/src/dictionary/translation-id/index.d.ts +5 -0
  4. package/src/dictionary/translation-id/index.js +5 -0
  5. package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.d.ts +0 -1
  6. package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.js +0 -1
  7. package/src/error/custom-error/console-custom-error/index.d.ts +2 -1
  8. package/src/error/custom-error/console-custom-error/index.js +10 -1
  9. package/src/helper/promise-all/index.d.ts +12 -1
  10. package/src/helper/promise-all/index.js +24 -1
  11. package/src/index.d.ts +1 -12
  12. package/src/index.js +1 -12
  13. package/src/page/index.d.ts +3 -2
  14. package/src/page/index.js +3 -2
  15. package/src/type/index.d.ts +1 -1
  16. package/src/type/index.js +1 -1
  17. package/src/type/null/index.d.ts +1 -0
  18. package/src/type/null/index.js +1 -0
  19. package/src/type/object/index.d.ts +3 -2
  20. package/src/type/object/index.js +3 -2
  21. package/src/type/object/properties-in-object/index.d.ts +1 -0
  22. package/src/type/object/properties-in-object/index.js +1 -0
  23. package/src/type/object/{is-object/properties-in-object/index.js → properties-in-object/type-guard.js} +2 -2
  24. package/src/type/object/property-in-object/index.d.ts +1 -0
  25. package/src/type/object/property-in-object/index.js +1 -0
  26. package/src/type/object/{is-object/property-in-object/index.js → property-in-object/type-guard.js} +1 -1
  27. package/src/type/object/{is-object/object/index.js → type-guard.js} +2 -2
  28. package/src/type/string/comma-separated/index.d.ts +1 -0
  29. package/src/type/string/comma-separated/index.js +1 -0
  30. package/src/type/string/index.d.ts +1 -1
  31. package/src/type/string/index.js +1 -1
  32. package/src/auth/index.d.ts +0 -1
  33. package/src/auth/index.js +0 -1
  34. package/src/auth/type.d.ts +0 -8
  35. package/src/aws/aws-region/config.d.ts +0 -1
  36. package/src/aws/aws-region/config.js +0 -1
  37. package/src/aws/aws-region/default.d.ts +0 -2
  38. package/src/aws/aws-region/default.js +0 -1
  39. package/src/aws/aws-region/index.d.ts +0 -3
  40. package/src/aws/aws-region/index.js +0 -3
  41. package/src/aws/aws-region/type.d.ts +0 -2
  42. package/src/aws/aws-region/type.js +0 -1
  43. package/src/aws/index.d.ts +0 -1
  44. package/src/aws/index.js +0 -1
  45. package/src/candle/burning-candle-state/config.d.ts +0 -1
  46. package/src/candle/burning-candle-state/config.js +0 -1
  47. package/src/candle/burning-candle-state/index.d.ts +0 -3
  48. package/src/candle/burning-candle-state/index.js +0 -3
  49. package/src/candle/burning-candle-state/type-guard.d.ts +0 -2
  50. package/src/candle/burning-candle-state/type-guard.js +0 -4
  51. package/src/candle/burning-candle-state/type.d.ts +0 -2
  52. package/src/candle/burning-candle-state/type.js +0 -1
  53. package/src/candle/candle-ext-person/index.d.ts +0 -1
  54. package/src/candle/candle-ext-person/index.js +0 -1
  55. package/src/candle/candle-ext-person/type.d.ts +0 -4
  56. package/src/candle/candle-ext-person/type.js +0 -1
  57. package/src/candle/candles-count/index.d.ts +0 -1
  58. package/src/candle/candles-count/index.js +0 -1
  59. package/src/candle/candles-count/type.d.ts +0 -6
  60. package/src/candle/candles-count/type.js +0 -1
  61. package/src/candle/has-candle-permission/index.d.ts +0 -1
  62. package/src/candle/has-candle-permission/index.js +0 -1
  63. package/src/candle/has-candle-permission/type.d.ts +0 -4
  64. package/src/candle/has-candle-permission/type.js +0 -1
  65. package/src/candle/has-candle-permission/util.d.ts +0 -2
  66. package/src/candle/has-candle-permission/util.js +0 -13
  67. package/src/candle/index.d.ts +0 -4
  68. package/src/candle/index.js +0 -4
  69. package/src/cookie/consent/cookie-consent/compose-cookie-consent/index.d.ts +0 -1
  70. package/src/cookie/consent/cookie-consent/compose-cookie-consent/index.js +0 -1
  71. package/src/cookie/consent/cookie-consent/compose-cookie-consent/type.d.ts +0 -2
  72. package/src/cookie/consent/cookie-consent/compose-cookie-consent/type.js +0 -1
  73. package/src/cookie/consent/cookie-consent/compose-cookie-consent/util.d.ts +0 -2
  74. package/src/cookie/consent/cookie-consent/compose-cookie-consent/util.js +0 -5
  75. package/src/cookie/consent/cookie-consent/config.d.ts +0 -3
  76. package/src/cookie/consent/cookie-consent/config.js +0 -3
  77. package/src/cookie/consent/cookie-consent/default.d.ts +0 -2
  78. package/src/cookie/consent/cookie-consent/default.js +0 -3
  79. package/src/cookie/consent/cookie-consent/index.d.ts +0 -4
  80. package/src/cookie/consent/cookie-consent/index.js +0 -4
  81. package/src/cookie/consent/cookie-consent/type.d.ts +0 -9
  82. package/src/cookie/consent/cookie-consent/type.js +0 -1
  83. package/src/cookie/consent/cookie-consent-key/config.d.ts +0 -2
  84. package/src/cookie/consent/cookie-consent-key/config.js +0 -2
  85. package/src/cookie/consent/cookie-consent-key/index.d.ts +0 -2
  86. package/src/cookie/consent/cookie-consent-key/index.js +0 -2
  87. package/src/cookie/consent/cookie-consent-key/type.d.ts +0 -2
  88. package/src/cookie/consent/cookie-consent-key/type.js +0 -1
  89. package/src/cookie/consent/index.d.ts +0 -2
  90. package/src/cookie/consent/index.js +0 -2
  91. package/src/cookie/index.d.ts +0 -1
  92. package/src/cookie/index.js +0 -1
  93. package/src/database/index.d.ts +0 -1
  94. package/src/database/index.js +0 -1
  95. package/src/database/model/candle/index.d.ts +0 -1
  96. package/src/database/model/candle/index.js +0 -1
  97. package/src/database/model/candle/type.d.ts +0 -11
  98. package/src/database/model/candle/type.js +0 -1
  99. package/src/database/model/contact/index.d.ts +0 -1
  100. package/src/database/model/contact/index.js +0 -1
  101. package/src/database/model/contact/type.d.ts +0 -9
  102. package/src/database/model/contact/type.js +0 -1
  103. package/src/database/model/country/index.d.ts +0 -1
  104. package/src/database/model/country/index.js +0 -1
  105. package/src/database/model/country/type.d.ts +0 -13
  106. package/src/database/model/country/type.js +0 -1
  107. package/src/database/model/error-log/index.d.ts +0 -1
  108. package/src/database/model/error-log/index.js +0 -1
  109. package/src/database/model/error-log/type.d.ts +0 -7
  110. package/src/database/model/error-log/type.js +0 -1
  111. package/src/database/model/index.d.ts +0 -6
  112. package/src/database/model/index.js +0 -6
  113. package/src/database/model/person/index.d.ts +0 -2
  114. package/src/database/model/person/index.js +0 -2
  115. package/src/database/model/person/person-image/index.d.ts +0 -1
  116. package/src/database/model/person/person-image/index.js +0 -1
  117. package/src/database/model/person/person-image/type.d.ts +0 -10
  118. package/src/database/model/person/person-image/type.js +0 -1
  119. package/src/database/model/person/type.d.ts +0 -21
  120. package/src/database/model/person/type.js +0 -1
  121. package/src/database/model/translation/index.d.ts +0 -1
  122. package/src/database/model/translation/index.js +0 -1
  123. package/src/database/model/translation/type.d.ts +0 -7
  124. package/src/database/model/translation/type.js +0 -1
  125. package/src/date/index.d.ts +0 -1
  126. package/src/date/index.js +0 -1
  127. package/src/date/minutes/config.d.ts +0 -8
  128. package/src/date/minutes/config.js +0 -9
  129. package/src/dictionary/translation-ids/index.d.ts +0 -5
  130. package/src/dictionary/translation-ids/index.js +0 -5
  131. package/src/dictionary/translation-ids/page-translation-ids/candles-page-translation-ids/config.d.ts +0 -1
  132. package/src/dictionary/translation-ids/page-translation-ids/candles-page-translation-ids/config.js +0 -4
  133. package/src/dictionary/translation-ids/person/persons-list/index.d.ts +0 -1
  134. package/src/dictionary/translation-ids/person/persons-list/index.js +0 -1
  135. package/src/dictionary/translation-ids/time/time-abbreviation/index.d.ts +0 -1
  136. package/src/dictionary/translation-ids/time/time-abbreviation/index.js +0 -1
  137. package/src/error/custom-error/console-custom-error/util.d.ts +0 -2
  138. package/src/error/custom-error/console-custom-error/util.js +0 -10
  139. package/src/filter-sort/filter-sort/candle-filter-sort/domains/index.d.ts +0 -12
  140. package/src/filter-sort/filter-sort/candle-filter-sort/domains/index.js +0 -1
  141. package/src/filter-sort/filter-sort/candle-filter-sort/index.d.ts +0 -1
  142. package/src/filter-sort/filter-sort/candle-filter-sort/index.js +0 -1
  143. package/src/filter-sort/filter-sort/index.d.ts +0 -2
  144. package/src/filter-sort/filter-sort/index.js +0 -2
  145. package/src/filter-sort/filter-sort/person-filter-sort/domains/index.d.ts +0 -14
  146. package/src/filter-sort/filter-sort/person-filter-sort/domains/index.js +0 -1
  147. package/src/filter-sort/filter-sort/person-filter-sort/index.d.ts +0 -1
  148. package/src/filter-sort/filter-sort/person-filter-sort/index.js +0 -1
  149. package/src/filter-sort/index.d.ts +0 -4
  150. package/src/filter-sort/index.js +0 -4
  151. package/src/filter-sort/sort/domains/index.d.ts +0 -5
  152. package/src/filter-sort/sort/domains/index.js +0 -1
  153. package/src/filter-sort/sort/index.d.ts +0 -1
  154. package/src/filter-sort/sort/index.js +0 -1
  155. package/src/filter-sort/sort-name/candle-sort-name/configs/index.d.ts +0 -1
  156. package/src/filter-sort/sort-name/candle-sort-name/configs/index.js +0 -1
  157. package/src/filter-sort/sort-name/candle-sort-name/domains/index.d.ts +0 -2
  158. package/src/filter-sort/sort-name/candle-sort-name/domains/index.js +0 -1
  159. package/src/filter-sort/sort-name/candle-sort-name/index.d.ts +0 -3
  160. package/src/filter-sort/sort-name/candle-sort-name/index.js +0 -3
  161. package/src/filter-sort/sort-name/candle-sort-name/type-guards/index.d.ts +0 -1
  162. package/src/filter-sort/sort-name/candle-sort-name/type-guards/index.js +0 -1
  163. package/src/filter-sort/sort-name/candle-sort-name/type-guards/is-candle-sort-name/index.d.ts +0 -2
  164. package/src/filter-sort/sort-name/candle-sort-name/type-guards/is-candle-sort-name/index.js +0 -4
  165. package/src/filter-sort/sort-name/index.d.ts +0 -2
  166. package/src/filter-sort/sort-name/index.js +0 -2
  167. package/src/filter-sort/sort-name/person-sort-name/configs/index.d.ts +0 -1
  168. package/src/filter-sort/sort-name/person-sort-name/configs/index.js +0 -1
  169. package/src/filter-sort/sort-name/person-sort-name/domains/index.d.ts +0 -2
  170. package/src/filter-sort/sort-name/person-sort-name/domains/index.js +0 -1
  171. package/src/filter-sort/sort-name/person-sort-name/index.d.ts +0 -3
  172. package/src/filter-sort/sort-name/person-sort-name/index.js +0 -3
  173. package/src/filter-sort/sort-name/person-sort-name/type-guards/index.d.ts +0 -1
  174. package/src/filter-sort/sort-name/person-sort-name/type-guards/index.js +0 -1
  175. package/src/filter-sort/sort-name/person-sort-name/type-guards/is-person-sort-name/index.d.ts +0 -2
  176. package/src/filter-sort/sort-name/person-sort-name/type-guards/is-person-sort-name/index.js +0 -4
  177. package/src/filter-sort/sort-order/configs/index.d.ts +0 -1
  178. package/src/filter-sort/sort-order/configs/index.js +0 -1
  179. package/src/filter-sort/sort-order/domains/index.d.ts +0 -2
  180. package/src/filter-sort/sort-order/domains/index.js +0 -1
  181. package/src/filter-sort/sort-order/index.d.ts +0 -3
  182. package/src/filter-sort/sort-order/index.js +0 -3
  183. package/src/filter-sort/sort-order/type-guards/index.d.ts +0 -1
  184. package/src/filter-sort/sort-order/type-guards/index.js +0 -1
  185. package/src/filter-sort/sort-order/type-guards/is-sort-order/index.d.ts +0 -2
  186. package/src/filter-sort/sort-order/type-guards/is-sort-order/index.js +0 -4
  187. package/src/geographical/county-code/config.d.ts +0 -1
  188. package/src/geographical/county-code/config.js +0 -248
  189. package/src/geographical/county-code/index.d.ts +0 -3
  190. package/src/geographical/county-code/index.js +0 -3
  191. package/src/geographical/county-code/type-guard.d.ts +0 -2
  192. package/src/geographical/county-code/type-guard.js +0 -4
  193. package/src/geographical/county-code/type.d.ts +0 -2
  194. package/src/geographical/county-code/type.js +0 -1
  195. package/src/geographical/index.d.ts +0 -1
  196. package/src/geographical/index.js +0 -1
  197. package/src/helper/promise-all/util.d.ts +0 -12
  198. package/src/helper/promise-all/util.js +0 -24
  199. package/src/image/convert-base-64-image/index.d.ts +0 -1
  200. package/src/image/convert-base-64-image/index.js +0 -1
  201. package/src/image/convert-base-64-image/type.d.ts +0 -1
  202. package/src/image/convert-base-64-image/type.js +0 -1
  203. package/src/image/convert-base-64-image/util.d.ts +0 -2
  204. package/src/image/convert-base-64-image/util.js +0 -1
  205. package/src/image/image/index.d.ts +0 -1
  206. package/src/image/image/index.js +0 -1
  207. package/src/image/image/type.d.ts +0 -5
  208. package/src/image/image/type.js +0 -1
  209. package/src/image/image-dimension/index.d.ts +0 -1
  210. package/src/image/image-dimension/index.js +0 -1
  211. package/src/image/image-dimension/type.d.ts +0 -5
  212. package/src/image/image-dimension/type.js +0 -1
  213. package/src/image/index.d.ts +0 -3
  214. package/src/image/index.js +0 -3
  215. package/src/page/page/index.d.ts +0 -3
  216. package/src/page/page/index.js +0 -3
  217. package/src/page/page/type.js +0 -1
  218. package/src/page/page-data/candle-details/index.d.ts +0 -1
  219. package/src/page/page-data/candle-details/index.js +0 -1
  220. package/src/page/page-data/candle-details/type.d.ts +0 -6
  221. package/src/page/page-data/candle-details/type.js +0 -1
  222. package/src/page/page-data/candles-page-data.type.d.ts +0 -7
  223. package/src/page/page-data/candles-page-data.type.js +0 -1
  224. package/src/page/page-data/edit-candle/index.d.ts +0 -1
  225. package/src/page/page-data/edit-candle/index.js +0 -1
  226. package/src/page/page-data/edit-candle/type.d.ts +0 -8
  227. package/src/page/page-data/edit-candle/type.js +0 -1
  228. package/src/page/page-data/index.d.ts +0 -4
  229. package/src/page/page-data/index.js +0 -4
  230. package/src/page/page-data/light-candle/index.d.ts +0 -1
  231. package/src/page/page-data/light-candle/index.js +0 -1
  232. package/src/page/page-data/light-candle/type.d.ts +0 -6
  233. package/src/page/page-data/light-candle/type.js +0 -1
  234. package/src/person/birth-place-country/index.d.ts +0 -1
  235. package/src/person/birth-place-country/index.js +0 -1
  236. package/src/person/birth-place-country/type.d.ts +0 -4
  237. package/src/person/birth-place-country/type.js +0 -1
  238. package/src/person/index.d.ts +0 -3
  239. package/src/person/index.js +0 -3
  240. package/src/person/person-image/index.d.ts +0 -2
  241. package/src/person/person-image/index.js +0 -2
  242. package/src/person/person-image/person-image-file-name/config.d.ts +0 -1
  243. package/src/person/person-image/person-image-file-name/config.js +0 -2
  244. package/src/person/person-image/person-image-file-name/index.d.ts +0 -2
  245. package/src/person/person-image/person-image-file-name/index.js +0 -2
  246. package/src/person/person-image/person-image-file-name/type.d.ts +0 -2
  247. package/src/person/person-image/person-image-file-name/type.js +0 -1
  248. package/src/person/person-image/person-image-width/config.d.ts +0 -1
  249. package/src/person/person-image/person-image-width/config.js +0 -1
  250. package/src/person/person-image/person-image-width/index.d.ts +0 -2
  251. package/src/person/person-image/person-image-width/index.js +0 -2
  252. package/src/person/person-image/person-image-width/type.d.ts +0 -2
  253. package/src/person/person-image/person-image-width/type.js +0 -1
  254. package/src/person/persons-count/index.d.ts +0 -1
  255. package/src/person/persons-count/index.js +0 -1
  256. package/src/person/persons-count/type.d.ts +0 -3
  257. package/src/person/persons-count/type.js +0 -1
  258. package/src/ssr/index.d.ts +0 -1
  259. package/src/ssr/index.js +0 -1
  260. package/src/ssr/server-side-props/candle-details-page/index.d.ts +0 -1
  261. package/src/ssr/server-side-props/candle-details-page/index.js +0 -1
  262. package/src/ssr/server-side-props/candle-details-page/type.d.ts +0 -11
  263. package/src/ssr/server-side-props/candle-details-page/type.js +0 -1
  264. package/src/ssr/server-side-props/candles-page-server-side-props.type.d.ts +0 -13
  265. package/src/ssr/server-side-props/candles-page-server-side-props.type.js +0 -1
  266. package/src/ssr/server-side-props/contact-page/index.d.ts +0 -1
  267. package/src/ssr/server-side-props/contact-page/index.js +0 -1
  268. package/src/ssr/server-side-props/contact-page/type.d.ts +0 -9
  269. package/src/ssr/server-side-props/contact-page/type.js +0 -1
  270. package/src/ssr/server-side-props/cookie-policy-page/index.d.ts +0 -1
  271. package/src/ssr/server-side-props/cookie-policy-page/index.js +0 -1
  272. package/src/ssr/server-side-props/cookie-policy-page/type.d.ts +0 -9
  273. package/src/ssr/server-side-props/cookie-policy-page/type.js +0 -1
  274. package/src/ssr/server-side-props/edit-candle-page/index.d.ts +0 -1
  275. package/src/ssr/server-side-props/edit-candle-page/index.js +0 -1
  276. package/src/ssr/server-side-props/edit-candle-page/type.d.ts +0 -11
  277. package/src/ssr/server-side-props/edit-candle-page/type.js +0 -1
  278. package/src/ssr/server-side-props/help-page/index.d.ts +0 -1
  279. package/src/ssr/server-side-props/help-page/index.js +0 -1
  280. package/src/ssr/server-side-props/help-page/type.d.ts +0 -9
  281. package/src/ssr/server-side-props/help-page/type.js +0 -1
  282. package/src/ssr/server-side-props/index.d.ts +0 -9
  283. package/src/ssr/server-side-props/index.js +0 -9
  284. package/src/ssr/server-side-props/light-candle-page/index.d.ts +0 -1
  285. package/src/ssr/server-side-props/light-candle-page/index.js +0 -1
  286. package/src/ssr/server-side-props/light-candle-page/type.d.ts +0 -11
  287. package/src/ssr/server-side-props/light-candle-page/type.js +0 -1
  288. package/src/ssr/server-side-props/terms-and-conditions-page/index.d.ts +0 -1
  289. package/src/ssr/server-side-props/terms-and-conditions-page/index.js +0 -1
  290. package/src/ssr/server-side-props/terms-and-conditions-page/type.d.ts +0 -9
  291. package/src/ssr/server-side-props/terms-and-conditions-page/type.js +0 -1
  292. package/src/ssr/server-side-props/type.d.ts +0 -9
  293. package/src/ssr/server-side-props/type.js +0 -1
  294. package/src/type/object/add-prefix-to-object-props/index.d.ts +0 -1
  295. package/src/type/object/add-prefix-to-object-props/index.js +0 -1
  296. package/src/type/object/add-prefix-to-object-props/type.d.ts +0 -1
  297. package/src/type/object/add-prefix-to-object-props/type.js +0 -1
  298. package/src/type/object/add-prefix-to-object-props/util.d.ts +0 -2
  299. package/src/type/object/add-prefix-to-object-props/util.js +0 -1
  300. package/src/type/object/is-object/index.d.ts +0 -3
  301. package/src/type/object/is-object/index.js +0 -3
  302. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-card/config.d.ts +0 -0
  303. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-card/config.js +0 -0
  304. /package/src/{date/minutes → dictionary/translation-id/candle/candle-card}/index.d.ts +0 -0
  305. /package/src/{date/minutes → dictionary/translation-id/candle/candle-card}/index.js +0 -0
  306. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-cards/config.d.ts +0 -0
  307. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-cards/config.js +0 -0
  308. /package/src/dictionary/{translation-ids/candle/candle-card → translation-id/candle/candle-cards}/index.d.ts +0 -0
  309. /package/src/dictionary/{translation-ids/candle/candle-card → translation-id/candle/candle-cards}/index.js +0 -0
  310. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-image/config.d.ts +0 -0
  311. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-image/config.js +0 -0
  312. /package/src/dictionary/{translation-ids/candle/candle-cards → translation-id/candle/candle-image}/index.d.ts +0 -0
  313. /package/src/dictionary/{translation-ids/candle/candle-cards → translation-id/candle/candle-image}/index.js +0 -0
  314. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-maintenance/config.d.ts +0 -0
  315. /package/src/dictionary/{translation-ids → translation-id}/candle/candle-maintenance/config.js +0 -0
  316. /package/src/dictionary/{translation-ids/candle/candle-image → translation-id/candle/candle-maintenance}/index.d.ts +0 -0
  317. /package/src/dictionary/{translation-ids/candle/candle-image → translation-id/candle/candle-maintenance}/index.js +0 -0
  318. /package/src/dictionary/{translation-ids → translation-id}/candle/candles-list/config.d.ts +0 -0
  319. /package/src/dictionary/{translation-ids → translation-id}/candle/candles-list/config.js +0 -0
  320. /package/src/dictionary/{translation-ids/candle/candle-maintenance → translation-id/candle/candles-list}/index.d.ts +0 -0
  321. /package/src/dictionary/{translation-ids/candle/candle-maintenance → translation-id/candle/candles-list}/index.js +0 -0
  322. /package/src/dictionary/{translation-ids → translation-id}/candle/index.d.ts +0 -0
  323. /package/src/dictionary/{translation-ids → translation-id}/candle/index.js +0 -0
  324. /package/src/dictionary/{translation-ids → translation-id}/common-page/config.d.ts +0 -0
  325. /package/src/dictionary/{translation-ids → translation-id}/common-page/config.js +0 -0
  326. /package/src/dictionary/{translation-ids/candle/candles-list → translation-id/common-page}/index.d.ts +0 -0
  327. /package/src/dictionary/{translation-ids/candle/candles-list → translation-id/common-page}/index.js +0 -0
  328. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/add-person-page-translation-ids/config.d.ts +0 -0
  329. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/add-person-page-translation-ids/config.js +0 -0
  330. /package/src/dictionary/{translation-ids/common-page → translation-id/page/add-person-page-translation-ids}/index.d.ts +0 -0
  331. /package/src/dictionary/{translation-ids/common-page → translation-id/page/add-person-page-translation-ids}/index.js +0 -0
  332. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/edit-person-page-translation-ids/config.d.ts +0 -0
  333. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/edit-person-page-translation-ids/config.js +0 -0
  334. /package/src/dictionary/{translation-ids/page-translation-ids/add-person-page-translation-ids → translation-id/page/edit-person-page-translation-ids}/index.d.ts +0 -0
  335. /package/src/dictionary/{translation-ids/page-translation-ids/add-person-page-translation-ids → translation-id/page/edit-person-page-translation-ids}/index.js +0 -0
  336. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-candles-page-translation-ids/config.d.ts +0 -0
  337. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-candles-page-translation-ids/config.js +0 -0
  338. /package/src/dictionary/{translation-ids/page-translation-ids/candles-page-translation-ids → translation-id/page/person-candles-page-translation-ids}/index.d.ts +0 -0
  339. /package/src/dictionary/{translation-ids/page-translation-ids/candles-page-translation-ids → translation-id/page/person-candles-page-translation-ids}/index.js +0 -0
  340. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-details-page-translation-ids/config.d.ts +0 -0
  341. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-details-page-translation-ids/config.js +0 -0
  342. /package/src/dictionary/{translation-ids/page-translation-ids/edit-person-page-translation-ids → translation-id/page/person-details-page-translation-ids}/index.d.ts +0 -0
  343. /package/src/dictionary/{translation-ids/page-translation-ids/edit-person-page-translation-ids → translation-id/page/person-details-page-translation-ids}/index.js +0 -0
  344. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-map-page-translation-ids/config.d.ts +0 -0
  345. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-map-page-translation-ids/config.js +0 -0
  346. /package/src/dictionary/{translation-ids/page-translation-ids/person-candles-page-translation-ids → translation-id/page/persons-map-page-translation-ids}/index.d.ts +0 -0
  347. /package/src/dictionary/{translation-ids/page-translation-ids/person-candles-page-translation-ids → translation-id/page/persons-map-page-translation-ids}/index.js +0 -0
  348. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-page-translation-ids/config.d.ts +0 -0
  349. /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-page-translation-ids/config.js +0 -0
  350. /package/src/dictionary/{translation-ids/page-translation-ids/person-details-page-translation-ids → translation-id/page/persons-page-translation-ids}/index.d.ts +0 -0
  351. /package/src/dictionary/{translation-ids/page-translation-ids/person-details-page-translation-ids → translation-id/page/persons-page-translation-ids}/index.js +0 -0
  352. /package/src/dictionary/{translation-ids → translation-id}/person/index.d.ts +0 -0
  353. /package/src/dictionary/{translation-ids → translation-id}/person/index.js +0 -0
  354. /package/src/dictionary/{translation-ids → translation-id}/person/person-card/config.d.ts +0 -0
  355. /package/src/dictionary/{translation-ids → translation-id}/person/person-card/config.js +0 -0
  356. /package/src/dictionary/{translation-ids/page-translation-ids/persons-map-page-translation-ids → translation-id/person/person-card}/index.d.ts +0 -0
  357. /package/src/dictionary/{translation-ids/page-translation-ids/persons-map-page-translation-ids → translation-id/person/person-card}/index.js +0 -0
  358. /package/src/dictionary/{translation-ids → translation-id}/person/person-cards/config.d.ts +0 -0
  359. /package/src/dictionary/{translation-ids → translation-id}/person/person-cards/config.js +0 -0
  360. /package/src/dictionary/{translation-ids/page-translation-ids/persons-page-translation-ids → translation-id/person/person-cards}/index.d.ts +0 -0
  361. /package/src/dictionary/{translation-ids/page-translation-ids/persons-page-translation-ids → translation-id/person/person-cards}/index.js +0 -0
  362. /package/src/dictionary/{translation-ids → translation-id}/person/person-image/config.d.ts +0 -0
  363. /package/src/dictionary/{translation-ids → translation-id}/person/person-image/config.js +0 -0
  364. /package/src/dictionary/{translation-ids/person/person-card → translation-id/person/person-image}/index.d.ts +0 -0
  365. /package/src/dictionary/{translation-ids/person/person-card → translation-id/person/person-image}/index.js +0 -0
  366. /package/src/dictionary/{translation-ids → translation-id}/person/person-maintenance/config.d.ts +0 -0
  367. /package/src/dictionary/{translation-ids → translation-id}/person/person-maintenance/config.js +0 -0
  368. /package/src/dictionary/{translation-ids/person/person-cards → translation-id/person/person-maintenance}/index.d.ts +0 -0
  369. /package/src/dictionary/{translation-ids/person/person-cards → translation-id/person/person-maintenance}/index.js +0 -0
  370. /package/src/dictionary/{translation-ids → translation-id}/person/persons-list/config.d.ts +0 -0
  371. /package/src/dictionary/{translation-ids → translation-id}/person/persons-list/config.js +0 -0
  372. /package/src/dictionary/{translation-ids/person/person-image → translation-id/person/persons-list}/index.d.ts +0 -0
  373. /package/src/dictionary/{translation-ids/person/person-image → translation-id/person/persons-list}/index.js +0 -0
  374. /package/src/dictionary/{translation-ids → translation-id}/time/index.d.ts +0 -0
  375. /package/src/dictionary/{translation-ids → translation-id}/time/index.js +0 -0
  376. /package/src/dictionary/{translation-ids → translation-id}/time/time-abbreviation/config.d.ts +0 -0
  377. /package/src/dictionary/{translation-ids → translation-id}/time/time-abbreviation/config.js +0 -0
  378. /package/src/dictionary/{translation-ids/person/person-maintenance → translation-id/time/time-abbreviation}/index.d.ts +0 -0
  379. /package/src/dictionary/{translation-ids/person/person-maintenance → translation-id/time/time-abbreviation}/index.js +0 -0
  380. /package/src/page/{page/config.d.ts → config.d.ts} +0 -0
  381. /package/src/page/{page/config.js → config.js} +0 -0
  382. /package/src/page/{page/type-guard.d.ts → type-guard.d.ts} +0 -0
  383. /package/src/page/{page/type-guard.js → type-guard.js} +0 -0
  384. /package/src/page/{page/type.d.ts → type.d.ts} +0 -0
  385. /package/src/{auth → page}/type.js +0 -0
  386. /package/src/type/{is-null/index.d.ts → null/type-guard.d.ts} +0 -0
  387. /package/src/type/{is-null/index.js → null/type-guard.js} +0 -0
  388. /package/src/type/object/{is-object/properties-in-object/index.d.ts → properties-in-object/type-guard.d.ts} +0 -0
  389. /package/src/type/object/{is-object/property-in-object/index.d.ts → property-in-object/type-guard.d.ts} +0 -0
  390. /package/src/type/object/{is-object/object/index.d.ts → type-guard.d.ts} +0 -0
  391. /package/src/type/string/{validate-comma-separated-string → comma-separated}/types.d.ts +0 -0
  392. /package/src/type/string/{validate-comma-separated-string → comma-separated}/types.js +0 -0
  393. /package/src/type/string/{validate-comma-separated-string/index.d.ts → comma-separated/validate.d.ts} +0 -0
  394. /package/src/type/string/{validate-comma-separated-string/index.js → comma-separated/validate.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@candlerip/shared3",
3
- "version": "0.0.100",
3
+ "version": "0.0.101",
4
4
  "type": "module",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -1,4 +1,4 @@
1
- import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, CANDLES_LIST_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-ids/index.js';
1
+ import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, CANDLES_LIST_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-id/index.js';
2
2
  export const DICTIONARY_CONFIG = {
3
3
  'candle-details-page': {
4
4
  translationIds: [
@@ -1,2 +1,7 @@
1
+ export * from './candle/index.js';
2
+ export * from './common-page/index.js';
3
+ export * from './page/index.js';
4
+ export * from './person/index.js';
5
+ export * from './time/index.js';
1
6
  export * from './config.js';
2
7
  export * from './type.js';
@@ -1,2 +1,7 @@
1
+ export * from './candle/index.js';
2
+ export * from './common-page/index.js';
3
+ export * from './page/index.js';
4
+ export * from './person/index.js';
5
+ export * from './time/index.js';
1
6
  export * from './config.js';
2
7
  export * from './type.js';
@@ -1,5 +1,4 @@
1
1
  export * from './add-person-page-translation-ids/index.js';
2
- export * from './candles-page-translation-ids/index.js';
3
2
  export * from './edit-person-page-translation-ids/index.js';
4
3
  export * from './person-candles-page-translation-ids/index.js';
5
4
  export * from './person-details-page-translation-ids/index.js';
@@ -1,5 +1,4 @@
1
1
  export * from './add-person-page-translation-ids/index.js';
2
- export * from './candles-page-translation-ids/index.js';
3
2
  export * from './edit-person-page-translation-ids/index.js';
4
3
  export * from './person-candles-page-translation-ids/index.js';
5
4
  export * from './person-details-page-translation-ids/index.js';
@@ -1 +1,2 @@
1
- export * from './util.js';
1
+ import { CustomError } from '../type.js';
2
+ export declare const consoleCustomError: (customError: CustomError) => void;
@@ -1 +1,10 @@
1
- export * from './util.js';
1
+ export const consoleCustomError = (customError) => {
2
+ console.error('***ERROR***:', customError.message);
3
+ console.error('ID:', customError.id);
4
+ if (customError.projectName) {
5
+ console.error('PROJECT_NAME:', customError.projectName);
6
+ }
7
+ if (customError.info) {
8
+ console.error('INFO:', customError.info);
9
+ }
10
+ };
@@ -1 +1,12 @@
1
- export * from './util.js';
1
+ import { CustomError } from '../../error/index.js';
2
+ export declare const promiseAll: <T>(promises: Promise<{
3
+ customError: CustomError;
4
+ } | {
5
+ data: unknown;
6
+ }>[], keys?: string[]) => Promise<{
7
+ customErrors: {
8
+ customError: CustomError;
9
+ }[];
10
+ } | {
11
+ data: T;
12
+ }>;
@@ -1 +1,24 @@
1
- export * from './util.js';
1
+ export const promiseAll = async (promises, keys) => {
2
+ const resp = await Promise.all(promises);
3
+ const customErrors = resp.filter((it) => 'customError' in it);
4
+ const values = resp.filter((it) => 'data' in it).map((it) => it.data);
5
+ if (customErrors.length > 0) {
6
+ return { customErrors };
7
+ }
8
+ if (!keys) {
9
+ let data = {};
10
+ values.forEach((it) => {
11
+ data = Object.assign(data, it);
12
+ });
13
+ return {
14
+ data: data,
15
+ };
16
+ }
17
+ const data = {};
18
+ values.forEach((it, i) => {
19
+ data[keys[i]] = it;
20
+ });
21
+ return {
22
+ data: data,
23
+ };
24
+ };
package/src/index.d.ts CHANGED
@@ -1,18 +1,7 @@
1
- export * from './aws/index.js';
2
- export * from './auth/index.js';
3
- export * from './candle/index.js';
4
- export * from './cookie/index.js';
5
- export * from './database/index.js';
6
- export * from './date/index.js';
1
+ export * from './dictionary/index.js';
7
2
  export * from './environment/index.js';
8
3
  export * from './error/index.js';
9
- export * from './filter-sort/index.js';
10
- export * from './geographical/index.js';
11
4
  export * from './helper/index.js';
12
- export * from './image/index.js';
13
5
  export * from './page/index.js';
14
- export * from './person/index.js';
15
6
  export * from './project/index.js';
16
- export * from './ssr/index.js';
17
- export * from './dictionary/index.js';
18
7
  export * from './type/index.js';
package/src/index.js CHANGED
@@ -1,18 +1,7 @@
1
- export * from './aws/index.js';
2
- export * from './auth/index.js';
3
- export * from './candle/index.js';
4
- export * from './cookie/index.js';
5
- export * from './database/index.js';
6
- export * from './date/index.js';
1
+ export * from './dictionary/index.js';
7
2
  export * from './environment/index.js';
8
3
  export * from './error/index.js';
9
- export * from './filter-sort/index.js';
10
- export * from './geographical/index.js';
11
4
  export * from './helper/index.js';
12
- export * from './image/index.js';
13
5
  export * from './page/index.js';
14
- export * from './person/index.js';
15
6
  export * from './project/index.js';
16
- export * from './ssr/index.js';
17
- export * from './dictionary/index.js';
18
7
  export * from './type/index.js';
@@ -1,2 +1,3 @@
1
- export * from './page/index.js';
2
- export * from './page-data/index.js';
1
+ export * from './config.js';
2
+ export * from './type.js';
3
+ export * from './type-guard.js';
package/src/page/index.js CHANGED
@@ -1,2 +1,3 @@
1
- export * from './page/index.js';
2
- export * from './page-data/index.js';
1
+ export * from './config.js';
2
+ export * from './type.js';
3
+ export * from './type-guard.js';
@@ -3,4 +3,4 @@ export * from './object/index.js';
3
3
  export * from './string/index.js';
4
4
  export * from './type/index.js';
5
5
  export * from './undefined/index.js';
6
- export * from './is-null/index.js';
6
+ export * from './null/index.js';
package/src/type/index.js CHANGED
@@ -3,4 +3,4 @@ export * from './object/index.js';
3
3
  export * from './string/index.js';
4
4
  export * from './type/index.js';
5
5
  export * from './undefined/index.js';
6
- export * from './is-null/index.js';
6
+ export * from './null/index.js';
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -1,2 +1,3 @@
1
- export * from './add-prefix-to-object-props/util.js';
2
- export * from './is-object/index.js';
1
+ export * from './properties-in-object/index.js';
2
+ export * from './property-in-object/index.js';
3
+ export * from './type-guard.js';
@@ -1,2 +1,3 @@
1
- export * from './add-prefix-to-object-props/util.js';
2
- export * from './is-object/index.js';
1
+ export * from './properties-in-object/index.js';
2
+ export * from './property-in-object/index.js';
3
+ export * from './type-guard.js';
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -1,5 +1,5 @@
1
- import { isObject } from '../object/index.js';
2
- import { isPropertyInObject } from '../property-in-object/index.js';
1
+ import { isObject } from '../type-guard.js';
2
+ import { isPropertyInObject } from '../property-in-object/type-guard.js';
3
3
  export const isPropertiesInObject = (props, data, typeGuard) => {
4
4
  if (!isObject(data)) {
5
5
  return false;
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -0,0 +1 @@
1
+ export * from './type-guard.js';
@@ -1,4 +1,4 @@
1
- import { isObject } from '../object/index.js';
1
+ import { isObject } from '../type-guard.js';
2
2
  export const isPropertyInObject = (prop, data, typeGuard) => {
3
3
  if (!isObject(data)) {
4
4
  return false;
@@ -1,5 +1,5 @@
1
- import { isArray } from '../../../array/index.js';
2
- import { isNull } from '../../../is-null/index.js';
1
+ import { isArray } from '../array/index.js';
2
+ import { isNull } from '../null/index.js';
3
3
  export const isObject = (data) => {
4
4
  if (typeof data !== 'object') {
5
5
  return false;
@@ -0,0 +1 @@
1
+ export * from './validate.js';
@@ -0,0 +1 @@
1
+ export * from './validate.js';
@@ -1,3 +1,3 @@
1
1
  export * from './type-guard.js';
2
2
  export * from './validate.js';
3
- export * from './validate-comma-separated-string/index.js';
3
+ export * from './comma-separated/index.js';
@@ -1,3 +1,3 @@
1
1
  export * from './type-guard.js';
2
2
  export * from './validate.js';
3
- export * from './validate-comma-separated-string/index.js';
3
+ export * from './comma-separated/index.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
package/src/auth/index.js DELETED
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1,8 +0,0 @@
1
- export interface Auth {
2
- accessToken?: string;
3
- isAuthenticated: boolean;
4
- user?: {
5
- [key in string]: any;
6
- };
7
- userId?: string;
8
- }
@@ -1 +0,0 @@
1
- export declare const AWS_REGIONS: readonly ["eu-central-1", "us-east-1"];
@@ -1 +0,0 @@
1
- export const AWS_REGIONS = ['eu-central-1', 'us-east-1'];
@@ -1,2 +0,0 @@
1
- import { AwsRegion } from './type.js';
2
- export declare const DEFAULT_AWS_REGION: AwsRegion;
@@ -1 +0,0 @@
1
- export const DEFAULT_AWS_REGION = 'eu-central-1';
@@ -1,3 +0,0 @@
1
- export * from './config.js';
2
- export * from './default.js';
3
- export * from './type.js';
@@ -1,3 +0,0 @@
1
- export * from './config.js';
2
- export * from './default.js';
3
- export * from './type.js';
@@ -1,2 +0,0 @@
1
- import { AWS_REGIONS } from './config.js';
2
- export type AwsRegion = (typeof AWS_REGIONS)[number];
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './aws-region/index.js';
package/src/aws/index.js DELETED
@@ -1 +0,0 @@
1
- export * from './aws-region/index.js';
@@ -1 +0,0 @@
1
- export declare const BURNING_CANDLE_STATES: readonly ["burning", "burned"];
@@ -1 +0,0 @@
1
- export const BURNING_CANDLE_STATES = ['burning', 'burned'];
@@ -1,3 +0,0 @@
1
- export * from './config.js';
2
- export * from './type.js';
3
- export * from './type-guard.js';
@@ -1,3 +0,0 @@
1
- export * from './config.js';
2
- export * from './type.js';
3
- export * from './type-guard.js';
@@ -1,2 +0,0 @@
1
- import { BurningCandleState } from './type.js';
2
- export declare const isBurningCandleState: (data?: unknown) => data is BurningCandleState;
@@ -1,4 +0,0 @@
1
- import { BURNING_CANDLE_STATES } from './config.js';
2
- export const isBurningCandleState = (data) => {
3
- return BURNING_CANDLE_STATES.some((it) => data === it);
4
- };
@@ -1,2 +0,0 @@
1
- import { BURNING_CANDLE_STATES } from './config.js';
2
- export type BurningCandleState = (typeof BURNING_CANDLE_STATES)[number];
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1,4 +0,0 @@
1
- import { Candle, Person } from '../../database/index.js';
2
- export type CandleExtPerson = Candle & {
3
- person: Person;
4
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1,6 +0,0 @@
1
- export type CandlesCount = {
2
- candlesCount: {
3
- burning: number;
4
- burned: number;
5
- };
6
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './util.js';
@@ -1 +0,0 @@
1
- export * from './util.js';
@@ -1,4 +0,0 @@
1
- export type HasCandlePermission = (userId: string | undefined, operation: 'delete' | 'edit' | 'relight', options: {
2
- candleUserId?: string;
3
- personUserId?: string;
4
- }) => boolean;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { HasCandlePermission } from './type.js';
2
- export declare const hasCandlePermission: HasCandlePermission;
@@ -1,13 +0,0 @@
1
- export const hasCandlePermission = (userId, operation, options) => {
2
- const { candleUserId, personUserId } = options;
3
- if (!userId) {
4
- return false;
5
- }
6
- if (userId === candleUserId) {
7
- return true;
8
- }
9
- if (userId === personUserId && operation === 'delete') {
10
- return true;
11
- }
12
- return false;
13
- };
@@ -1,4 +0,0 @@
1
- export * from './candle-ext-person/index.js';
2
- export * from './candles-count/index.js';
3
- export * from './has-candle-permission/index.js';
4
- export * from './burning-candle-state/index.js';
@@ -1,4 +0,0 @@
1
- export * from './candle-ext-person/index.js';
2
- export * from './candles-count/index.js';
3
- export * from './has-candle-permission/index.js';
4
- export * from './burning-candle-state/index.js';
@@ -1 +0,0 @@
1
- export * from './util.js';
@@ -1 +0,0 @@
1
- export * from './util.js';
@@ -1,2 +0,0 @@
1
- import { CookieConsent } from '../type.js';
2
- export type ComposeCookieConsent = (type: 'accept' | 'reject') => CookieConsent;
@@ -1,2 +0,0 @@
1
- import { ComposeCookieConsent } from './type.js';
2
- export declare const composeCookieConsent: ComposeCookieConsent;
@@ -1,5 +0,0 @@
1
- import { COOKIE_CONSENT_KEYS } from '../../cookie-consent-key/index.js';
2
- export const composeCookieConsent = (type) => COOKIE_CONSENT_KEYS.reduce((it, key) => ({
3
- ...it,
4
- [key]: type === 'accept',
5
- }), {});
@@ -1,3 +0,0 @@
1
- export declare const COOKIE_CONSENT_CONFIG: {
2
- readonly language: "boolean";
3
- };
@@ -1,3 +0,0 @@
1
- export const COOKIE_CONSENT_CONFIG = {
2
- language: 'boolean',
3
- };
@@ -1,2 +0,0 @@
1
- import { CookieConsent } from './type.js';
2
- export declare const DEFAULT_COOKIE_CONSENT: CookieConsent;
@@ -1,3 +0,0 @@
1
- export const DEFAULT_COOKIE_CONSENT = {
2
- language: false,
3
- };
@@ -1,4 +0,0 @@
1
- export * from './compose-cookie-consent/index.js';
2
- export * from './config.js';
3
- export * from './default.js';
4
- export * from './type.js';
@@ -1,4 +0,0 @@
1
- export * from './compose-cookie-consent/index.js';
2
- export * from './config.js';
3
- export * from './default.js';
4
- export * from './type.js';
@@ -1,9 +0,0 @@
1
- import { CookieConsentKey } from '../cookie-consent-key/index.js';
2
- import { COOKIE_CONSENT_CONFIG } from './config.js';
3
- export type CookieConsent = {
4
- [key in CookieConsentKey]: TypeMap[(typeof COOKIE_CONSENT_CONFIG)[key]];
5
- };
6
- interface TypeMap {
7
- boolean: boolean;
8
- }
9
- export {};
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- import { COOKIE_CONSENT_CONFIG } from '../cookie-consent/config.js';
2
- export declare const COOKIE_CONSENT_KEYS: Array<keyof typeof COOKIE_CONSENT_CONFIG>;
@@ -1,2 +0,0 @@
1
- import { COOKIE_CONSENT_CONFIG } from '../cookie-consent/config.js';
2
- export const COOKIE_CONSENT_KEYS = Object.keys(COOKIE_CONSENT_CONFIG);
@@ -1,2 +0,0 @@
1
- export * from './config.js';
2
- export * from './type.js';
@@ -1,2 +0,0 @@
1
- export * from './config.js';
2
- export * from './type.js';
@@ -1,2 +0,0 @@
1
- import { COOKIE_CONSENT_KEYS } from './config.js';
2
- export type CookieConsentKey = (typeof COOKIE_CONSENT_KEYS)[number];
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './cookie-consent/index.js';
2
- export * from './cookie-consent-key/index.js';
@@ -1,2 +0,0 @@
1
- export * from './cookie-consent/index.js';
2
- export * from './cookie-consent-key/index.js';
@@ -1 +0,0 @@
1
- export * from './consent/index.js';
@@ -1 +0,0 @@
1
- export * from './consent/index.js';
@@ -1 +0,0 @@
1
- export * from './model/index.js';
@@ -1 +0,0 @@
1
- export * from './model/index.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1,11 +0,0 @@
1
- export interface Candle {
2
- _id: string;
3
- burningEndsAt: Date;
4
- burningMinutes: number;
5
- description?: string;
6
- litName: string;
7
- personId: string;
8
- userId?: string;
9
- createdAt: Date;
10
- updatedAt: Date;
11
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1,9 +0,0 @@
1
- export interface Contact {
2
- _id: string;
3
- email: string;
4
- message: string;
5
- name?: string;
6
- subject?: string;
7
- createdAt: Date;
8
- updatedAt: Date;
9
- }
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export * from './type.js';
@@ -1 +0,0 @@
1
- export * from './type.js';