@candlerip/shared3 0.0.50 → 0.0.52

Sign up to get free protection for your applications and to get access to all the features.
Files changed (296) hide show
  1. package/package.json +1 -1
  2. package/src/database/domains/candle/index.d.ts +11 -0
  3. package/src/database/domains/contact/index.d.ts +9 -0
  4. package/src/database/domains/country/index.d.ts +13 -0
  5. package/src/database/domains/dictionary/index.d.ts +7 -0
  6. package/src/database/domains/index.d.ts +6 -0
  7. package/src/database/domains/index.js +6 -0
  8. package/src/database/domains/person/image/index.d.ts +10 -0
  9. package/src/database/domains/person/index.d.ts +21 -0
  10. package/src/date/configs/index.d.ts +2 -0
  11. package/src/date/configs/index.js +2 -0
  12. package/src/date/configs/one-day-in-minutes/index.d.ts +1 -0
  13. package/src/date/configs/one-day-in-minutes/index.js +1 -0
  14. package/src/date/configs/one-year-in-minutes/index.d.ts +1 -0
  15. package/src/date/configs/one-year-in-minutes/index.js +1 -0
  16. package/src/date/index.d.ts +2 -0
  17. package/src/date/index.js +2 -0
  18. package/src/date/utils/add-minutes-to-date/index.d.ts +2 -0
  19. package/src/date/utils/add-minutes-to-date/index.js +5 -0
  20. package/src/date/utils/add-minutes-to-date/types.d.ts +1 -0
  21. package/src/date/utils/add-minutes-to-date/types.js +1 -0
  22. package/src/date/utils/index.d.ts +1 -0
  23. package/src/date/utils/index.js +1 -0
  24. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-card-dictionary-ids/index.d.ts +1 -0
  25. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-card-dictionary-ids/index.js +10 -0
  26. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-cards-dictionary-ids/index.d.ts +1 -0
  27. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-cards-dictionary-ids/index.js +4 -0
  28. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-image-dictionary-ids/index.d.ts +1 -0
  29. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-image-dictionary-ids/index.js +3 -0
  30. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-maintenance-dictionary-ids/index.d.ts +1 -0
  31. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candle-maintenance-dictionary-ids/index.js +10 -0
  32. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candles-list-dictionary-ids/index.d.ts +1 -0
  33. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/candles-list-dictionary-ids/index.js +17 -0
  34. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/index.d.ts +5 -0
  35. package/src/dictionary/dictionary-id/configs/candle-dictionary-ids/index.js +5 -0
  36. package/src/dictionary/dictionary-id/configs/dictionary-ids/index.d.ts +1 -0
  37. package/src/dictionary/dictionary-id/configs/dictionary-ids/index.js +171 -0
  38. package/src/dictionary/dictionary-id/configs/index.d.ts +5 -0
  39. package/src/dictionary/dictionary-id/configs/index.js +5 -0
  40. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/add-candle-page-dictionary-ids/index.d.ts +1 -0
  41. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/add-candle-page-dictionary-ids/index.js +11 -0
  42. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/add-person-page-dictionary-ids/index.d.ts +1 -0
  43. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/add-person-page-dictionary-ids/index.js +11 -0
  44. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/candle-details-page-dictionary-ids/index.d.ts +1 -0
  45. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/candle-details-page-dictionary-ids/index.js +29 -0
  46. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/candles-page-dictionary-ids/index.d.ts +1 -0
  47. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/candles-page-dictionary-ids/index.js +4 -0
  48. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/common-page-dictionary-ids/index.d.ts +1 -0
  49. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/common-page-dictionary-ids/index.js +28 -0
  50. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/contact-page-dictionary-ids/index.d.ts +1 -0
  51. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/contact-page-dictionary-ids/index.js +19 -0
  52. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/cookie-policy-page-dictionary-ids/index.d.ts +1 -0
  53. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/cookie-policy-page-dictionary-ids/index.js +10 -0
  54. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/edit-candle-page-dictionary-ids/index.d.ts +1 -0
  55. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/edit-candle-page-dictionary-ids/index.js +11 -0
  56. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/edit-person-page-dictionary-ids/index.d.ts +1 -0
  57. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/edit-person-page-dictionary-ids/index.js +10 -0
  58. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/help-page-dictionary-ids/index.d.ts +1 -0
  59. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/help-page-dictionary-ids/index.js +20 -0
  60. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/home-page-dictionary-ids/index.d.ts +1 -0
  61. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/home-page-dictionary-ids/index.js +37 -0
  62. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/index.d.ts +17 -0
  63. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/index.js +17 -0
  64. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/person-candles-page-dictionary-ids/index.d.ts +1 -0
  65. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/person-candles-page-dictionary-ids/index.js +14 -0
  66. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/person-details-page-dictionary-ids/index.d.ts +1 -0
  67. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/person-details-page-dictionary-ids/index.js +28 -0
  68. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/persons-map-page-dictionary-ids/index.d.ts +1 -0
  69. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/persons-map-page-dictionary-ids/index.js +3 -0
  70. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/persons-page-dictionary-ids/index.d.ts +1 -0
  71. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/persons-page-dictionary-ids/index.js +24 -0
  72. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/redirect-page-dictionary-ids/index.d.ts +1 -0
  73. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/redirect-page-dictionary-ids/index.js +3 -0
  74. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/terms-and-conditions-page-dictionary-ids/index.d.ts +1 -0
  75. package/src/dictionary/dictionary-id/configs/page-dictionary-ids/terms-and-conditions-page-dictionary-ids/index.js +18 -0
  76. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/index.d.ts +5 -0
  77. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/index.js +5 -0
  78. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-card-dictionary-ids/index.d.ts +1 -0
  79. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-card-dictionary-ids/index.js +4 -0
  80. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-cards-dictionary-ids/index.d.ts +1 -0
  81. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-cards-dictionary-ids/index.js +4 -0
  82. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-image-dictionary-ids/index.d.ts +1 -0
  83. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-image-dictionary-ids/index.js +3 -0
  84. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-maintenance-dictionary-ids/index.d.ts +1 -0
  85. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/person-maintenance-dictionary-ids/index.js +28 -0
  86. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/persons-list-dictionary-ids/index.d.ts +1 -0
  87. package/src/dictionary/dictionary-id/configs/person-dictionary-ids/persons-list-dictionary-ids/index.js +19 -0
  88. package/src/dictionary/dictionary-id/configs/time-dictionary-ids/index.d.ts +1 -0
  89. package/src/dictionary/dictionary-id/configs/time-dictionary-ids/index.js +1 -0
  90. package/src/dictionary/dictionary-id/configs/time-dictionary-ids/time-abbreviation-dictionary-ids/index.d.ts +1 -0
  91. package/src/dictionary/dictionary-id/configs/time-dictionary-ids/time-abbreviation-dictionary-ids/index.js +3 -0
  92. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-card-dictionary/index.d.ts +10 -0
  93. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-card-dictionary/index.js +1 -0
  94. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-cards-dictionary/index.d.ts +4 -0
  95. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-cards-dictionary/index.js +1 -0
  96. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-image-dictionary/index.d.ts +3 -0
  97. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-image-dictionary/index.js +1 -0
  98. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-maintenance-dictionary/index.d.ts +19 -0
  99. package/src/dictionary/dictionary-id/domains/candle-dictionary/candle-maintenance-dictionary/index.js +1 -0
  100. package/src/dictionary/dictionary-id/domains/candle-dictionary/candles-list-dictionary/index.d.ts +23 -0
  101. package/src/dictionary/dictionary-id/domains/candle-dictionary/candles-list-dictionary/index.js +1 -0
  102. package/src/dictionary/dictionary-id/domains/candle-dictionary/index.d.ts +5 -0
  103. package/src/dictionary/dictionary-id/domains/candle-dictionary/index.js +5 -0
  104. package/src/dictionary/dictionary-id/domains/country-dictionary/index.d.ts +5 -0
  105. package/src/dictionary/dictionary-id/domains/country-dictionary/index.js +1 -0
  106. package/src/dictionary/dictionary-id/domains/dictionary-id/index.d.ts +2 -0
  107. package/src/dictionary/dictionary-id/domains/dictionary-id/index.js +1 -0
  108. package/src/dictionary/dictionary-id/domains/drop-zone-dictionary/index.d.ts +12 -0
  109. package/src/dictionary/dictionary-id/domains/drop-zone-dictionary/index.js +1 -0
  110. package/src/dictionary/dictionary-id/domains/filter-sort-dictionary/index.d.ts +1 -0
  111. package/src/dictionary/dictionary-id/domains/filter-sort-dictionary/index.js +1 -0
  112. package/src/dictionary/dictionary-id/domains/filter-sort-dictionary/reset-and-sort-dictionary/index.d.ts +8 -0
  113. package/src/dictionary/dictionary-id/domains/filter-sort-dictionary/reset-and-sort-dictionary/index.js +1 -0
  114. package/src/dictionary/dictionary-id/domains/index.d.ts +8 -0
  115. package/src/dictionary/dictionary-id/domains/index.js +8 -0
  116. package/src/dictionary/dictionary-id/domains/page-dictionary/add-candle-page-dictionary/index.d.ts +12 -0
  117. package/src/dictionary/dictionary-id/domains/page-dictionary/add-candle-page-dictionary/index.js +1 -0
  118. package/src/dictionary/dictionary-id/domains/page-dictionary/add-person-page-dictionary/index.d.ts +13 -0
  119. package/src/dictionary/dictionary-id/domains/page-dictionary/add-person-page-dictionary/index.js +1 -0
  120. package/src/dictionary/dictionary-id/domains/page-dictionary/candle-details-page-dictionary/index.d.ts +53 -0
  121. package/src/dictionary/dictionary-id/domains/page-dictionary/candle-details-page-dictionary/index.js +1 -0
  122. package/src/dictionary/dictionary-id/domains/page-dictionary/candles-page-dictionary/index.d.ts +9 -0
  123. package/src/dictionary/dictionary-id/domains/page-dictionary/candles-page-dictionary/index.js +1 -0
  124. package/src/dictionary/dictionary-id/domains/page-dictionary/common-page-dictionary/index.d.ts +47 -0
  125. package/src/dictionary/dictionary-id/domains/page-dictionary/common-page-dictionary/index.js +1 -0
  126. package/src/dictionary/dictionary-id/domains/page-dictionary/contact-page-dictionary/index.d.ts +36 -0
  127. package/src/dictionary/dictionary-id/domains/page-dictionary/contact-page-dictionary/index.js +1 -0
  128. package/src/dictionary/dictionary-id/domains/page-dictionary/cookie-policy-page-dictionary/index.d.ts +21 -0
  129. package/src/dictionary/dictionary-id/domains/page-dictionary/cookie-policy-page-dictionary/index.js +1 -0
  130. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-candle-page-dictionary/index.d.ts +12 -0
  131. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-candle-page-dictionary/index.js +1 -0
  132. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-person-page-dictionary/index.d.ts +13 -0
  133. package/src/dictionary/dictionary-id/domains/page-dictionary/edit-person-page-dictionary/index.js +1 -0
  134. package/src/dictionary/dictionary-id/domains/page-dictionary/help-page-dictionary/index.d.ts +25 -0
  135. package/src/dictionary/dictionary-id/domains/page-dictionary/help-page-dictionary/index.js +1 -0
  136. package/src/dictionary/dictionary-id/domains/page-dictionary/home-page-dictionary/index.d.ts +38 -0
  137. package/src/dictionary/dictionary-id/domains/page-dictionary/home-page-dictionary/index.js +1 -0
  138. package/src/dictionary/dictionary-id/domains/page-dictionary/index.d.ts +18 -0
  139. package/src/dictionary/dictionary-id/domains/page-dictionary/index.js +18 -0
  140. package/src/dictionary/dictionary-id/domains/page-dictionary/page-dictionary/index.d.ts +17 -0
  141. package/src/dictionary/dictionary-id/domains/page-dictionary/page-dictionary/index.js +1 -0
  142. package/src/dictionary/dictionary-id/domains/page-dictionary/person-candles-page-dictionary/index.d.ts +17 -0
  143. package/src/dictionary/dictionary-id/domains/page-dictionary/person-candles-page-dictionary/index.js +1 -0
  144. package/src/dictionary/dictionary-id/domains/page-dictionary/person-details-page-dictionary/index.d.ts +52 -0
  145. package/src/dictionary/dictionary-id/domains/page-dictionary/person-details-page-dictionary/index.js +1 -0
  146. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-map-page-dictionary/index.d.ts +11 -0
  147. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-map-page-dictionary/index.js +1 -0
  148. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-page-dictionary/index.d.ts +15 -0
  149. package/src/dictionary/dictionary-id/domains/page-dictionary/persons-page-dictionary/index.js +1 -0
  150. package/src/dictionary/dictionary-id/domains/page-dictionary/redirect-page-dictionary/index.d.ts +7 -0
  151. package/src/dictionary/dictionary-id/domains/page-dictionary/redirect-page-dictionary/index.js +1 -0
  152. package/src/dictionary/dictionary-id/domains/page-dictionary/terms-and-conditions-page-dictionary/index.d.ts +23 -0
  153. package/src/dictionary/dictionary-id/domains/page-dictionary/terms-and-conditions-page-dictionary/index.js +1 -0
  154. package/src/dictionary/dictionary-id/domains/person-dictionary/index.d.ts +5 -0
  155. package/src/dictionary/dictionary-id/domains/person-dictionary/index.js +5 -0
  156. package/src/dictionary/dictionary-id/domains/person-dictionary/person-card-dictionary/index.d.ts +7 -0
  157. package/src/dictionary/dictionary-id/domains/person-dictionary/person-card-dictionary/index.js +1 -0
  158. package/src/dictionary/dictionary-id/domains/person-dictionary/person-cards-dictionary/index.d.ts +4 -0
  159. package/src/dictionary/dictionary-id/domains/person-dictionary/person-cards-dictionary/index.js +1 -0
  160. package/src/dictionary/dictionary-id/domains/person-dictionary/person-image-dictionary/index.d.ts +5 -0
  161. package/src/dictionary/dictionary-id/domains/person-dictionary/person-image-dictionary/index.js +1 -0
  162. package/src/dictionary/dictionary-id/domains/person-dictionary/person-maintenance-dictionary/index.d.ts +33 -0
  163. package/src/dictionary/dictionary-id/domains/person-dictionary/person-maintenance-dictionary/index.js +1 -0
  164. package/src/dictionary/dictionary-id/domains/person-dictionary/persons-list-dictionary/index.d.ts +29 -0
  165. package/src/dictionary/dictionary-id/domains/person-dictionary/persons-list-dictionary/index.js +1 -0
  166. package/src/dictionary/dictionary-id/domains/time-dictionary/index.d.ts +1 -0
  167. package/src/dictionary/dictionary-id/domains/time-dictionary/index.js +1 -0
  168. package/src/dictionary/dictionary-id/domains/time-dictionary/time-abbreviation-dictionary/index.d.ts +5 -0
  169. package/src/dictionary/dictionary-id/domains/time-dictionary/time-abbreviation-dictionary/index.js +1 -0
  170. package/src/dictionary/index.d.ts +2 -0
  171. package/src/dictionary/index.js +2 -0
  172. package/src/dictionary/language/domains/index.js +1 -0
  173. package/src/dictionary/language/validates/validate-language/types.js +1 -0
  174. package/src/environment/env-file/utils/load-env-file/index.d.ts +8 -2
  175. package/src/environment/env-file/utils/load-env-file/index.js +9 -10
  176. package/src/environment/environment-variable/configs/index.d.ts +23 -0
  177. package/src/environment/environment-variable/configs/index.js +23 -0
  178. package/src/environment/environment-variable/index.d.ts +1 -0
  179. package/src/environment/environment-variable/index.js +1 -0
  180. package/src/environment/environment-variable-name/configs/index.d.ts +2 -3
  181. package/src/environment/environment-variable-name/configs/index.js +2 -3
  182. package/src/environment/environment-variables/configs/index.d.ts +11 -21
  183. package/src/environment/environment-variables/configs/index.js +32 -21
  184. package/src/environment/environment-variables/domains/index.d.ts +12 -3
  185. package/src/environment/environment-variables/workers/environment-variables-worker/index.js +5 -11
  186. package/src/environment/environment-variables/workers/environment-variables-worker/types.d.ts +4 -3
  187. package/src/geographical/birth-place-country/domains/index.d.ts +4 -0
  188. package/src/geographical/birth-place-country/domains/index.js +1 -0
  189. package/src/geographical/county-code/configs/index.d.ts +1 -0
  190. package/src/geographical/county-code/configs/index.js +248 -0
  191. package/src/geographical/county-code/domains/index.d.ts +2 -0
  192. package/src/geographical/county-code/domains/index.js +1 -0
  193. package/src/geographical/county-code/index.d.ts +3 -0
  194. package/src/geographical/county-code/index.js +3 -0
  195. package/src/geographical/county-code/type-guards/index.d.ts +1 -0
  196. package/src/geographical/county-code/type-guards/index.js +1 -0
  197. package/src/geographical/county-code/type-guards/is-country-code/index.d.ts +2 -0
  198. package/src/geographical/county-code/type-guards/is-country-code/index.js +4 -0
  199. package/src/geographical/index.d.ts +2 -0
  200. package/src/geographical/index.js +2 -0
  201. package/src/image/image/domains/index.d.ts +5 -0
  202. package/src/image/image/domains/index.js +1 -0
  203. package/src/image/image/index.d.ts +1 -0
  204. package/src/image/image/index.js +1 -0
  205. package/src/image/image-dimension/domains/index.d.ts +5 -0
  206. package/src/image/image-dimension/domains/index.js +1 -0
  207. package/src/image/image-dimension/index.d.ts +1 -0
  208. package/src/image/image-dimension/index.js +1 -0
  209. package/src/image/index.d.ts +3 -0
  210. package/src/image/index.js +3 -0
  211. package/src/image/utils/convert-base64-to-image/index.d.ts +2 -0
  212. package/src/image/utils/convert-base64-to-image/index.js +1 -0
  213. package/src/image/utils/convert-base64-to-image/types.d.ts +1 -0
  214. package/src/image/utils/convert-base64-to-image/types.js +1 -0
  215. package/src/image/utils/index.d.ts +1 -0
  216. package/src/image/utils/index.js +1 -0
  217. package/src/index.d.ts +6 -1
  218. package/src/index.js +6 -1
  219. package/src/person/index.d.ts +2 -0
  220. package/src/person/index.js +2 -0
  221. package/src/person/person-image/index.d.ts +2 -0
  222. package/src/person/person-image/index.js +2 -0
  223. package/src/person/person-image/person-image-file-name/configs/index.d.ts +1 -0
  224. package/src/person/person-image/person-image-file-name/configs/index.js +2 -0
  225. package/src/person/person-image/person-image-file-name/domains/index.d.ts +2 -0
  226. package/src/person/person-image/person-image-file-name/domains/index.js +1 -0
  227. package/src/person/person-image/person-image-file-name/index.d.ts +2 -0
  228. package/src/person/person-image/person-image-file-name/index.js +2 -0
  229. package/src/person/person-image/person-image-width/configs/index.d.ts +1 -0
  230. package/src/person/person-image/person-image-width/configs/index.js +1 -0
  231. package/src/person/person-image/person-image-width/domains/index.d.ts +2 -0
  232. package/src/person/person-image/person-image-width/domains/index.js +1 -0
  233. package/src/person/person-image/person-image-width/index.d.ts +2 -0
  234. package/src/person/person-image/person-image-width/index.js +2 -0
  235. package/src/person/persons-count/domains/index.d.ts +3 -0
  236. package/src/person/persons-count/domains/index.js +1 -0
  237. package/src/person/persons-count/index.d.ts +1 -0
  238. package/src/person/persons-count/index.js +1 -0
  239. package/src/project/index.d.ts +0 -1
  240. package/src/project/index.js +0 -1
  241. package/src/project/project-name/configs/index.d.ts +1 -1
  242. package/src/project/project-name/configs/index.js +0 -1
  243. package/src/ssr/index.d.ts +1 -0
  244. package/src/ssr/index.js +1 -0
  245. package/src/ssr/server-side-props/domains/contact-page-server-side-props/index.d.ts +4 -0
  246. package/src/ssr/server-side-props/domains/contact-page-server-side-props/index.js +1 -0
  247. package/src/ssr/server-side-props/domains/index.d.ts +1 -0
  248. package/src/ssr/server-side-props/domains/index.js +1 -0
  249. package/src/ssr/server-side-props/index.d.ts +1 -0
  250. package/src/ssr/server-side-props/index.js +1 -0
  251. package/src/type/index.d.ts +0 -1
  252. package/src/type/index.js +0 -1
  253. package/src/environment/env-file/utils/load-env-file/types.d.ts +0 -7
  254. package/src/environment/environment-variable-name/configs/boolean-environment-variable-names/index.d.ts +0 -1
  255. package/src/environment/environment-variable-name/configs/boolean-environment-variable-names/index.js +0 -2
  256. package/src/environment/environment-variable-name/configs/environment-variable-names/index.d.ts +0 -2
  257. package/src/environment/environment-variable-name/configs/environment-variable-names/index.js +0 -2
  258. package/src/environment/environment-variable-name/configs/number-environment-variable-names/index.d.ts +0 -1
  259. package/src/environment/environment-variable-name/configs/number-environment-variable-names/index.js +0 -2
  260. package/src/project/project-config/configs/index.d.ts +0 -2
  261. package/src/project/project-config/configs/index.js +0 -2
  262. package/src/project/project-config/configs/project-config/index.d.ts +0 -38
  263. package/src/project/project-config/configs/project-config/index.js +0 -57
  264. package/src/project/project-config/configs/project-config-names/index.d.ts +0 -2
  265. package/src/project/project-config/configs/project-config-names/index.js +0 -2
  266. package/src/project/project-config/domains/index.d.ts +0 -2
  267. package/src/project/project-config/domains/index.js +0 -2
  268. package/src/project/project-config/domains/project-config/index.d.ts +0 -6
  269. package/src/project/project-config/domains/project-config-name/index.d.ts +0 -2
  270. package/src/translation/index.d.ts +0 -1
  271. package/src/translation/index.js +0 -1
  272. package/src/type/type-map/domains/index.d.ts +0 -5
  273. /package/src/{project/project-config/domains/project-config-name → database/domains/candle}/index.js +0 -0
  274. /package/src/{project/project-config/domains/project-config → database/domains/contact}/index.js +0 -0
  275. /package/src/{translation/language/domains → database/domains/country}/index.js +0 -0
  276. /package/src/{type/type-map/domains → database/domains/dictionary}/index.js +0 -0
  277. /package/src/{environment/env-file/utils/load-env-file/types.js → database/domains/person/image/index.js} +0 -0
  278. /package/src/{translation/language/validates/validate-language/types.js → database/domains/person/index.js} +0 -0
  279. /package/src/{project/project-config → dictionary/dictionary-id}/index.d.ts +0 -0
  280. /package/src/{project/project-config → dictionary/dictionary-id}/index.js +0 -0
  281. /package/src/{translation → dictionary}/language/configs/index.d.ts +0 -0
  282. /package/src/{translation → dictionary}/language/configs/index.js +0 -0
  283. /package/src/{translation → dictionary}/language/domains/index.d.ts +0 -0
  284. /package/src/{translation → dictionary}/language/index.d.ts +0 -0
  285. /package/src/{translation → dictionary}/language/index.js +0 -0
  286. /package/src/{translation → dictionary}/language/type-guards/index.d.ts +0 -0
  287. /package/src/{translation → dictionary}/language/type-guards/index.js +0 -0
  288. /package/src/{translation → dictionary}/language/type-guards/is-language/index.d.ts +0 -0
  289. /package/src/{translation → dictionary}/language/type-guards/is-language/index.js +0 -0
  290. /package/src/{translation → dictionary}/language/validates/index.d.ts +0 -0
  291. /package/src/{translation → dictionary}/language/validates/index.js +0 -0
  292. /package/src/{translation → dictionary}/language/validates/validate-language/index.d.ts +0 -0
  293. /package/src/{translation → dictionary}/language/validates/validate-language/index.js +0 -0
  294. /package/src/{translation → dictionary}/language/validates/validate-language/types.d.ts +0 -0
  295. /package/src/{type/type-map → geographical/birth-place-country}/index.d.ts +0 -0
  296. /package/src/{type/type-map → geographical/birth-place-country}/index.js +0 -0
@@ -0,0 +1,2 @@
1
+ export * from './language/index.js';
2
+ export * from './dictionary-id/index.js';
@@ -0,0 +1 @@
1
+ export {};
@@ -1,2 +1,8 @@
1
- import { LoadEnvFile } from './types.js';
2
- export declare const loadEnvFile: LoadEnvFile;
1
+ import { CustomError } from '../../../../error/index.js';
2
+ import { EnvironmentMode } from '../../../environment-mode/index.js';
3
+ import { EnvironmentVariables } from '../../../environment-variables/index.js';
4
+ export declare const loadEnvFile: <T extends keyof EnvironmentVariables = never, D = EnvironmentVariables[T]>(environmentMode: EnvironmentMode) => {
5
+ data: D;
6
+ } | {
7
+ customError: CustomError;
8
+ };
@@ -1,26 +1,25 @@
1
1
  import * as dotenv from 'dotenv';
2
- import { BOOLEAN_ENVIRONMENT_VARIABLE_NAMES, NUMBER_ENVIRONMENT_VARIABLE_NAMES } from '../../../environment-variable-name/index.js';
3
2
  import { customErrorWorker } from '../../../../error/index.js';
3
+ import { ENVIRONMENT_VARIABLE } from '../../../environment-variable/index.js';
4
4
  export const loadEnvFile = (environmentMode) => {
5
5
  const { composeCustomError } = customErrorWorker({ environmentMode });
6
6
  const fileName = `.env.${environmentMode}`;
7
7
  const envFile = dotenv.config({ path: `./${fileName}` });
8
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
9
8
  const { error: err, parsed } = envFile;
10
9
  if (err || !parsed) {
11
10
  return composeCustomError(`Error loading ${fileName}`, { err });
12
11
  }
13
- NUMBER_ENVIRONMENT_VARIABLE_NAMES.forEach((it) => {
14
- if (parsed[it]) {
15
- parsed[it] = parseInt(parsed[it]);
12
+ const data = {};
13
+ Object.keys(parsed).forEach((key) => {
14
+ if (ENVIRONMENT_VARIABLE[key] === 'boolean') {
15
+ return (data[key] = Boolean(parsed[key] === 'true'));
16
16
  }
17
- });
18
- BOOLEAN_ENVIRONMENT_VARIABLE_NAMES.forEach((it) => {
19
- if (parsed[it]) {
20
- parsed[it] = Boolean(parsed[it] === 'true');
17
+ if (ENVIRONMENT_VARIABLE[key] === 'number') {
18
+ return (data[key] = parseInt(parsed[key]));
21
19
  }
20
+ data[key] = parsed[key];
22
21
  });
23
22
  return {
24
- data: parsed,
23
+ data: data,
25
24
  };
26
25
  };
@@ -0,0 +1,23 @@
1
+ export declare const ENVIRONMENT_VARIABLE: {
2
+ readonly API_GATEWAY_PORT: "number";
3
+ readonly APP_NAME: "string";
4
+ readonly AUTHENTICATION_AUDIENCE: "string";
5
+ readonly AUTHENTICATION_DOMAIN: "string";
6
+ readonly CACHE_ENABLED: "boolean";
7
+ readonly CACHE_SERVICE_PORT: "number";
8
+ readonly DATABASE_URL: "string";
9
+ readonly DOMAIN_NAME: "string";
10
+ readonly FRONTEND_PORT: "number";
11
+ readonly FRONTEND_URL: "string";
12
+ readonly LOGGER_SERVICE_PORT: "number";
13
+ readonly NODE_ENV: "EnvironmentMode";
14
+ readonly RABBITMQ_MANAGEMENT_PORT: "number";
15
+ readonly RABBITMQ_PORT: "number";
16
+ readonly RABBITMQ_PWD: "string";
17
+ readonly RABBITMQ_URL: "string";
18
+ readonly RABBITMQ_USER: "string";
19
+ readonly REDIS_PORT: "number";
20
+ readonly REDIS_PWD: "string";
21
+ readonly REDIS_URL: "string";
22
+ readonly S3_IMAGES_BUCKET_NAME: "string";
23
+ };
@@ -0,0 +1,23 @@
1
+ export const ENVIRONMENT_VARIABLE = {
2
+ API_GATEWAY_PORT: 'number',
3
+ APP_NAME: 'string',
4
+ AUTHENTICATION_AUDIENCE: 'string',
5
+ AUTHENTICATION_DOMAIN: 'string',
6
+ CACHE_ENABLED: 'boolean',
7
+ CACHE_SERVICE_PORT: 'number',
8
+ DATABASE_URL: 'string',
9
+ DOMAIN_NAME: 'string',
10
+ FRONTEND_PORT: 'number',
11
+ FRONTEND_URL: 'string',
12
+ LOGGER_SERVICE_PORT: 'number',
13
+ NODE_ENV: 'EnvironmentMode',
14
+ RABBITMQ_MANAGEMENT_PORT: 'number',
15
+ RABBITMQ_PORT: 'number',
16
+ RABBITMQ_PWD: 'string',
17
+ RABBITMQ_URL: 'string',
18
+ RABBITMQ_USER: 'string',
19
+ REDIS_PORT: 'number',
20
+ REDIS_PWD: 'string',
21
+ REDIS_URL: 'string',
22
+ S3_IMAGES_BUCKET_NAME: 'string',
23
+ };
@@ -0,0 +1 @@
1
+ export * from './configs/index.js';
@@ -0,0 +1 @@
1
+ export * from './configs/index.js';
@@ -1,3 +1,2 @@
1
- export * from './boolean-environment-variable-names/index.js';
2
- export * from './environment-variable-names/index.js';
3
- export * from './number-environment-variable-names/index.js';
1
+ import { ENVIRONMENT_VARIABLE } from '../../environment-variable/configs/index.js';
2
+ export declare const ENVIRONMENT_VARIABLE_NAMES: Array<keyof typeof ENVIRONMENT_VARIABLE>;
@@ -1,3 +1,2 @@
1
- export * from './boolean-environment-variable-names/index.js';
2
- export * from './environment-variable-names/index.js';
3
- export * from './number-environment-variable-names/index.js';
1
+ import { ENVIRONMENT_VARIABLE } from '../../environment-variable/configs/index.js';
2
+ export const ENVIRONMENT_VARIABLE_NAMES = Object.keys(ENVIRONMENT_VARIABLE);
@@ -1,23 +1,13 @@
1
1
  export declare const ENVIRONMENT_VARIABLES: {
2
- readonly API_GATEWAY_PORT: "number";
3
- readonly APP_NAME: "string";
4
- readonly AUTHENTICATION_AUDIENCE: "string";
5
- readonly AUTHENTICATION_DOMAIN: "string";
6
- readonly CACHE_ENABLED: "boolean";
7
- readonly CACHE_SERVICE_PORT: "number";
8
- readonly DATABASE_URL: "string";
9
- readonly DICTIONARY_SERVICE_PORT: "number";
10
- readonly DOMAIN_NAME: "string";
11
- readonly FRONTEND_PORT: "number";
12
- readonly FRONTEND_URL: "string";
13
- readonly LOGGER_SERVICE_PORT: "number";
14
- readonly RABBITMQ_MANAGEMENT_PORT: "number";
15
- readonly RABBITMQ_PORT: "number";
16
- readonly RABBITMQ_PWD: "string";
17
- readonly RABBITMQ_URL: "string";
18
- readonly RABBITMQ_USER: "string";
19
- readonly REDIS_PORT: "number";
20
- readonly REDIS_PWD: "string";
21
- readonly REDIS_URL: "string";
22
- readonly S3_IMAGES_BUCKET_NAME: "string";
2
+ readonly 'api-gateway': readonly ["API_GATEWAY_PORT", "AUTHENTICATION_AUDIENCE", "AUTHENTICATION_DOMAIN", "CACHE_ENABLED", "DATABASE_URL", "FRONTEND_URL", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL", "S3_IMAGES_BUCKET_NAME"];
3
+ readonly backend: readonly ["API_GATEWAY_PORT", "CACHE_SERVICE_PORT", "FRONTEND_PORT", "LOGGER_SERVICE_PORT", "RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "REDIS_PORT"];
4
+ readonly 'backend-init': readonly ["APP_NAME", "DOMAIN_NAME", "S3_IMAGES_BUCKET_NAME"];
5
+ readonly 'cache-service': readonly ["CACHE_ENABLED", "CACHE_SERVICE_PORT", "DATABASE_URL", "RABBITMQ_URL", "REDIS_PWD", "REDIS_URL"];
6
+ readonly frontend: readonly ["DATABASE_URL", "FRONTEND_PORT"];
7
+ readonly images: readonly ["S3_IMAGES_BUCKET_NAME"];
8
+ readonly 'images-init': readonly ["FRONTEND_URL", "S3_IMAGES_BUCKET_NAME"];
9
+ readonly 'logger-service': readonly ["DATABASE_URL", "LOGGER_SERVICE_PORT", "RABBITMQ_URL"];
10
+ readonly nginx: readonly ["FRONTEND_PORT"];
11
+ readonly rabbitmq: readonly ["RABBITMQ_PORT", "RABBITMQ_MANAGEMENT_PORT", "RABBITMQ_PWD", "RABBITMQ_USER"];
12
+ readonly redis: readonly ["REDIS_PORT", "REDIS_PWD"];
23
13
  };
@@ -1,23 +1,34 @@
1
1
  export const ENVIRONMENT_VARIABLES = {
2
- API_GATEWAY_PORT: 'number',
3
- APP_NAME: 'string',
4
- AUTHENTICATION_AUDIENCE: 'string',
5
- AUTHENTICATION_DOMAIN: 'string',
6
- CACHE_ENABLED: 'boolean',
7
- CACHE_SERVICE_PORT: 'number',
8
- DATABASE_URL: 'string',
9
- DICTIONARY_SERVICE_PORT: 'number',
10
- DOMAIN_NAME: 'string',
11
- FRONTEND_PORT: 'number',
12
- FRONTEND_URL: 'string',
13
- LOGGER_SERVICE_PORT: 'number',
14
- RABBITMQ_MANAGEMENT_PORT: 'number',
15
- RABBITMQ_PORT: 'number',
16
- RABBITMQ_PWD: 'string',
17
- RABBITMQ_URL: 'string',
18
- RABBITMQ_USER: 'string',
19
- REDIS_PORT: 'number',
20
- REDIS_PWD: 'string',
21
- REDIS_URL: 'string',
22
- S3_IMAGES_BUCKET_NAME: 'string',
2
+ 'api-gateway': [
3
+ 'API_GATEWAY_PORT',
4
+ 'AUTHENTICATION_AUDIENCE',
5
+ 'AUTHENTICATION_DOMAIN',
6
+ 'CACHE_ENABLED',
7
+ 'DATABASE_URL',
8
+ 'FRONTEND_URL',
9
+ 'RABBITMQ_URL',
10
+ 'REDIS_PWD',
11
+ 'REDIS_URL',
12
+ 'S3_IMAGES_BUCKET_NAME',
13
+ ],
14
+ backend: [
15
+ 'API_GATEWAY_PORT',
16
+ 'CACHE_SERVICE_PORT',
17
+ 'FRONTEND_PORT',
18
+ 'LOGGER_SERVICE_PORT',
19
+ 'RABBITMQ_PORT',
20
+ 'RABBITMQ_MANAGEMENT_PORT',
21
+ 'REDIS_PORT',
22
+ ],
23
+ 'backend-init': ['APP_NAME', 'DOMAIN_NAME', 'S3_IMAGES_BUCKET_NAME'],
24
+ 'cache-service': ['CACHE_ENABLED', 'CACHE_SERVICE_PORT', 'DATABASE_URL', 'RABBITMQ_URL', 'REDIS_PWD', 'REDIS_URL'],
25
+ frontend: ['DATABASE_URL', 'FRONTEND_PORT'],
26
+ images: ['S3_IMAGES_BUCKET_NAME'],
27
+ 'images-init': ['FRONTEND_URL', 'S3_IMAGES_BUCKET_NAME'],
28
+ 'logger-service': ['DATABASE_URL', 'LOGGER_SERVICE_PORT', 'RABBITMQ_URL'],
29
+ nginx: ['FRONTEND_PORT'],
30
+ rabbitmq: ['RABBITMQ_PORT', 'RABBITMQ_MANAGEMENT_PORT', 'RABBITMQ_PWD', 'RABBITMQ_USER'],
31
+ redis: ['REDIS_PORT', 'REDIS_PWD'],
23
32
  };
33
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
34
+ const CHECK = ENVIRONMENT_VARIABLES;
@@ -1,6 +1,15 @@
1
- import { TypeMap } from '../../../type/index.js';
2
- import { EnvironmentVariableName } from '../../environment-variable-name/domains/index.js';
1
+ import { EnvironmentMode } from '../../environment-mode/index.js';
2
+ import { ENVIRONMENT_VARIABLE } from '../../environment-variable/configs/index.js';
3
3
  import { ENVIRONMENT_VARIABLES } from '../configs/index.js';
4
4
  export type EnvironmentVariables = {
5
- [key in EnvironmentVariableName]: TypeMap[(typeof ENVIRONMENT_VARIABLES)[key]];
5
+ [key in keyof typeof ENVIRONMENT_VARIABLES]: {
6
+ [key2 in (typeof ENVIRONMENT_VARIABLES)[key][number]]: TypeMap[(typeof ENVIRONMENT_VARIABLE)[key2]];
7
+ };
6
8
  };
9
+ interface TypeMap {
10
+ boolean: boolean;
11
+ EnvironmentMode: EnvironmentMode;
12
+ number: number;
13
+ string: string;
14
+ }
15
+ export {};
@@ -1,24 +1,18 @@
1
1
  import { isDevelopment as isDev, isProduction as isProd } from '../../../environment-mode/index.js';
2
2
  import { loadEnvFile } from '../../../env-file/index.js';
3
3
  export const EnvironmentVariablesWorker = (() => {
4
- const ENVIRONMENT_MODE = process.env.ENVIRONMENT_MODE;
4
+ const NODE_ENV = process.env.NODE_ENV;
5
5
  let envs;
6
6
  const get = () => envs;
7
7
  const init = () => {
8
- const resp = loadEnvFile(ENVIRONMENT_MODE);
8
+ const resp = loadEnvFile(NODE_ENV);
9
9
  if ('customError' in resp) {
10
10
  return resp;
11
11
  }
12
- envs = {
13
- ...resp.data,
14
- ENVIRONMENT_MODE,
15
- };
16
- return {
17
- data: envs,
18
- };
12
+ return resp;
19
13
  };
20
- const isDevelopment = () => isDev(ENVIRONMENT_MODE);
21
- const isProduction = () => isProd(ENVIRONMENT_MODE);
14
+ const isDevelopment = () => isDev(NODE_ENV);
15
+ const isProduction = () => isProd(NODE_ENV);
22
16
  return {
23
17
  get,
24
18
  init,
@@ -1,13 +1,14 @@
1
1
  import { CustomError } from '../../../../error/index.js';
2
+ import { EnvironmentVariables } from '../../domains/index.js';
2
3
  export type IEnvironmentVariablesWorker = {
3
4
  get: Get;
4
5
  init: Init;
5
6
  isDevelopment: IsDevelopment;
6
7
  isProduction: IsProduction;
7
8
  };
8
- export type Get = <T = never>() => T;
9
- export type Init = <T = never>() => {
10
- data: T;
9
+ export type Get = <T extends keyof EnvironmentVariables = never>() => EnvironmentVariables[T];
10
+ export type Init = <T extends keyof EnvironmentVariables = never>() => {
11
+ data: EnvironmentVariables[T];
11
12
  } | {
12
13
  customError: CustomError;
13
14
  };
@@ -0,0 +1,4 @@
1
+ import { Country } from '../../../database/index.js';
2
+ export type BirthPlaceCountry = {
3
+ birthPlaceCountry: Country;
4
+ };
@@ -0,0 +1 @@
1
+ export declare const COUNTRY_CODES: readonly ["AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", "AR", "AS", "AT", "AU", "AW", "AX", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", "BI", "BJ", "BM", "BN", "BO", "BR", "BQ", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", "CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", "CV", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", "EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "GA", "GB", "GD", "GE", "GF", "GG", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", "GU", "GW", "GY", "GZ", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IM", "IN", "IO", "IQ", "IR", "IS", "IT", "JE", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", "KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", "LT", "LU", "LV", "LY", "MA", "MC", "MD", "ME", "MG", "MH", "MK", "ML", "MM", "MN", "MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", "NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", "PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", "QA", "RE", "RO", "RS", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", "SJ", "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV", "SY", "SZ", "TC", "TD", "TF", "TG", "TH", "TJ", "TK", "TL", "TM", "TN", "TO", "TR", "TT", "TV", "TW", "TZ", "UA", "UG", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", "VU", "WF", "WS", "XK", "YE", "YT", "ZA", "ZM", "ZW"];
@@ -0,0 +1,248 @@
1
+ export const COUNTRY_CODES = [
2
+ 'AD',
3
+ 'AE',
4
+ 'AF',
5
+ 'AG',
6
+ 'AI',
7
+ 'AL',
8
+ 'AM',
9
+ 'AN',
10
+ 'AO',
11
+ 'AQ',
12
+ 'AR',
13
+ 'AS',
14
+ 'AT',
15
+ 'AU',
16
+ 'AW',
17
+ 'AX',
18
+ 'AZ',
19
+ 'BA',
20
+ 'BB',
21
+ 'BD',
22
+ 'BE',
23
+ 'BF',
24
+ 'BG',
25
+ 'BH',
26
+ 'BI',
27
+ 'BJ',
28
+ 'BM',
29
+ 'BN',
30
+ 'BO',
31
+ 'BR',
32
+ 'BQ',
33
+ 'BS',
34
+ 'BT',
35
+ 'BV',
36
+ 'BW',
37
+ 'BY',
38
+ 'BZ',
39
+ 'CA',
40
+ 'CC',
41
+ 'CD',
42
+ 'CF',
43
+ 'CG',
44
+ 'CH',
45
+ 'CI',
46
+ 'CK',
47
+ 'CL',
48
+ 'CM',
49
+ 'CN',
50
+ 'CO',
51
+ 'CR',
52
+ 'CU',
53
+ 'CV',
54
+ 'CX',
55
+ 'CY',
56
+ 'CZ',
57
+ 'DE',
58
+ 'DJ',
59
+ 'DK',
60
+ 'DM',
61
+ 'DO',
62
+ 'DZ',
63
+ 'EC',
64
+ 'EE',
65
+ 'EG',
66
+ 'EH',
67
+ 'ER',
68
+ 'ES',
69
+ 'ET',
70
+ 'FI',
71
+ 'FJ',
72
+ 'FK',
73
+ 'FM',
74
+ 'FO',
75
+ 'FR',
76
+ 'GA',
77
+ 'GB',
78
+ 'GD',
79
+ 'GE',
80
+ 'GF',
81
+ 'GG',
82
+ 'GH',
83
+ 'GI',
84
+ 'GL',
85
+ 'GM',
86
+ 'GN',
87
+ 'GP',
88
+ 'GQ',
89
+ 'GR',
90
+ 'GS',
91
+ 'GT',
92
+ 'GU',
93
+ 'GW',
94
+ 'GY',
95
+ 'GZ',
96
+ 'HK',
97
+ 'HM',
98
+ 'HN',
99
+ 'HR',
100
+ 'HT',
101
+ 'HU',
102
+ 'ID',
103
+ 'IE',
104
+ 'IL',
105
+ 'IM',
106
+ 'IN',
107
+ 'IO',
108
+ 'IQ',
109
+ 'IR',
110
+ 'IS',
111
+ 'IT',
112
+ 'JE',
113
+ 'JM',
114
+ 'JO',
115
+ 'JP',
116
+ 'KE',
117
+ 'KG',
118
+ 'KH',
119
+ 'KI',
120
+ 'KM',
121
+ 'KN',
122
+ 'KP',
123
+ 'KR',
124
+ 'KW',
125
+ 'KY',
126
+ 'KZ',
127
+ 'LA',
128
+ 'LB',
129
+ 'LC',
130
+ 'LI',
131
+ 'LK',
132
+ 'LR',
133
+ 'LS',
134
+ 'LT',
135
+ 'LU',
136
+ 'LV',
137
+ 'LY',
138
+ 'MA',
139
+ 'MC',
140
+ 'MD',
141
+ 'ME',
142
+ 'MG',
143
+ 'MH',
144
+ 'MK',
145
+ 'ML',
146
+ 'MM',
147
+ 'MN',
148
+ 'MO',
149
+ 'MP',
150
+ 'MQ',
151
+ 'MR',
152
+ 'MS',
153
+ 'MT',
154
+ 'MU',
155
+ 'MV',
156
+ 'MW',
157
+ 'MX',
158
+ 'MY',
159
+ 'MZ',
160
+ 'NA',
161
+ 'NC',
162
+ 'NE',
163
+ 'NF',
164
+ 'NG',
165
+ 'NI',
166
+ 'NL',
167
+ 'NO',
168
+ 'NP',
169
+ 'NR',
170
+ 'NU',
171
+ 'NZ',
172
+ 'OM',
173
+ 'PA',
174
+ 'PE',
175
+ 'PF',
176
+ 'PG',
177
+ 'PH',
178
+ 'PK',
179
+ 'PL',
180
+ 'PM',
181
+ 'PN',
182
+ 'PR',
183
+ 'PS',
184
+ 'PT',
185
+ 'PW',
186
+ 'PY',
187
+ 'QA',
188
+ 'RE',
189
+ 'RO',
190
+ 'RS',
191
+ 'RU',
192
+ 'RW',
193
+ 'SA',
194
+ 'SB',
195
+ 'SC',
196
+ 'SD',
197
+ 'SE',
198
+ 'SG',
199
+ 'SH',
200
+ 'SI',
201
+ 'SJ',
202
+ 'SK',
203
+ 'SL',
204
+ 'SM',
205
+ 'SN',
206
+ 'SO',
207
+ 'SR',
208
+ 'ST',
209
+ 'SV',
210
+ 'SY',
211
+ 'SZ',
212
+ 'TC',
213
+ 'TD',
214
+ 'TF',
215
+ 'TG',
216
+ 'TH',
217
+ 'TJ',
218
+ 'TK',
219
+ 'TL',
220
+ 'TM',
221
+ 'TN',
222
+ 'TO',
223
+ 'TR',
224
+ 'TT',
225
+ 'TV',
226
+ 'TW',
227
+ 'TZ',
228
+ 'UA',
229
+ 'UG',
230
+ 'US',
231
+ 'UY',
232
+ 'UZ',
233
+ 'VA',
234
+ 'VC',
235
+ 'VE',
236
+ 'VG',
237
+ 'VI',
238
+ 'VN',
239
+ 'VU',
240
+ 'WF',
241
+ 'WS',
242
+ 'XK',
243
+ 'YE',
244
+ 'YT',
245
+ 'ZA',
246
+ 'ZM',
247
+ 'ZW',
248
+ ];
@@ -0,0 +1,2 @@
1
+ import { COUNTRY_CODES } from '../configs/index.js';
2
+ export type CountryCode = (typeof COUNTRY_CODES)[number];
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,3 @@
1
+ export * from './configs/index.js';
2
+ export * from './domains/index.js';
3
+ export * from './type-guards/index.js';
@@ -0,0 +1,3 @@
1
+ export * from './configs/index.js';
2
+ export * from './domains/index.js';
3
+ export * from './type-guards/index.js';
@@ -0,0 +1 @@
1
+ export * from './is-country-code/index.js';
@@ -0,0 +1 @@
1
+ export * from './is-country-code/index.js';
@@ -0,0 +1,2 @@
1
+ import { CountryCode } from '../../domains/index.js';
2
+ export declare const isCountryCode: (data?: unknown) => data is CountryCode;
@@ -0,0 +1,4 @@
1
+ import { COUNTRY_CODES } from '../../configs/index.js';
2
+ export const isCountryCode = (data) => {
3
+ return COUNTRY_CODES.some((it) => data === it);
4
+ };
@@ -0,0 +1,2 @@
1
+ export * from './birth-place-country/index.js';
2
+ export * from './county-code/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './birth-place-country/index.js';
2
+ export * from './county-code/index.js';
@@ -0,0 +1,5 @@
1
+ import { PersonImage } from '../../../database/index.js';
2
+ export interface Image {
3
+ personImage: PersonImage;
4
+ base64Image: string;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './domains/index.js';
@@ -0,0 +1 @@
1
+ export * from './domains/index.js';
@@ -0,0 +1,5 @@
1
+ import { PersonImageWidth } from '../../../person/index.js';
2
+ export interface ImageDimension<T extends PersonImageWidth | number> {
3
+ height: number;
4
+ width: T;
5
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export * from './domains/index.js';
@@ -0,0 +1 @@
1
+ export * from './domains/index.js';
@@ -0,0 +1,3 @@
1
+ export * from './image/index.js';
2
+ export * from './image-dimension/index.js';
3
+ export * from './utils/index.js';
@@ -0,0 +1,3 @@
1
+ export * from './image/index.js';
2
+ export * from './image-dimension/index.js';
3
+ export * from './utils/index.js';
@@ -0,0 +1,2 @@
1
+ import { CconvertBase64ToImage } from './types.js';
2
+ export declare const convertBase64ToImage: CconvertBase64ToImage;