@candlerip/shared 0.0.67 → 0.0.69

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 (184) hide show
  1. package/custom-error/domains.d.ts +2 -2
  2. package/dictionary/country-dictionary/domains.d.ts +4 -0
  3. package/dictionary/country-dictionary/index.d.ts +2 -0
  4. package/dictionary/country-dictionary/index.js +2 -0
  5. package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.d.ts +2 -0
  6. package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.js +4 -0
  7. package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.d.ts +6 -0
  8. package/dictionary/country-dictionary/utils/index.d.ts +1 -0
  9. package/dictionary/country-dictionary/utils/index.js +1 -0
  10. package/dictionary/dictionary/configs.d.ts +47 -0
  11. package/dictionary/dictionary/configs.js +268 -0
  12. package/dictionary/dictionary/domains.d.ts +4 -0
  13. package/dictionary/dictionary/domains.js +1 -0
  14. package/dictionary/dictionary/index.d.ts +2 -0
  15. package/dictionary/dictionary/index.js +2 -0
  16. package/dictionary/index.d.ts +2 -0
  17. package/dictionary/index.js +2 -0
  18. package/environment/index.d.ts +0 -2
  19. package/environment/index.js +0 -2
  20. package/geographical/country/domains.d.ts +17 -0
  21. package/geographical/country/domains.js +1 -0
  22. package/geographical/county-code/configs.d.ts +1 -0
  23. package/geographical/county-code/configs.js +248 -0
  24. package/geographical/county-code/domains.d.ts +2 -0
  25. package/geographical/county-code/domains.js +1 -0
  26. package/{environment/environment-variable-name → geographical/county-code}/index.d.ts +1 -1
  27. package/{environment/environment-variable-name → geographical/county-code}/index.js +1 -1
  28. package/geographical/county-code/type-guards.d.ts +2 -0
  29. package/geographical/county-code/type-guards.js +4 -0
  30. package/geographical/index.d.ts +2 -0
  31. package/geographical/index.js +2 -0
  32. package/index.d.ts +6 -1
  33. package/index.js +6 -1
  34. package/package.json +1 -1
  35. package/page/configs.d.ts +1 -0
  36. package/page/configs.js +17 -0
  37. package/page/domains.d.ts +2 -0
  38. package/page/domains.js +1 -0
  39. package/page/index.d.ts +3 -0
  40. package/page/index.js +3 -0
  41. package/page/type-guards.d.ts +2 -0
  42. package/page/type-guards.js +4 -0
  43. package/page-menu/configs.d.ts +1 -0
  44. package/page-menu/configs.js +12 -0
  45. package/page-menu/domains.d.ts +2 -0
  46. package/page-menu/domains.js +1 -0
  47. package/page-menu/index.d.ts +3 -0
  48. package/page-menu/index.js +3 -0
  49. package/page-menu/type-guards.d.ts +2 -0
  50. package/page-menu/type-guards.js +2 -0
  51. package/service/service-name/constants.d.ts +1 -1
  52. package/service/service-name/constants.js +1 -1
  53. package/translation/index.d.ts +3 -0
  54. package/translation/index.js +3 -0
  55. package/translation/language/configs.d.ts +1 -0
  56. package/translation/language/configs.js +1 -0
  57. package/translation/language/defaults.d.ts +2 -0
  58. package/translation/language/defaults.js +1 -0
  59. package/translation/language/domains.d.ts +2 -0
  60. package/translation/language/domains.js +1 -0
  61. package/translation/language/index.d.ts +5 -0
  62. package/translation/language/index.js +5 -0
  63. package/translation/language/type-guards.d.ts +2 -0
  64. package/translation/language/type-guards.js +2 -0
  65. package/translation/language/validates/index.d.ts +2 -0
  66. package/translation/language/validates/index.js +2 -0
  67. package/translation/language/validates/validate-language/index.d.ts +2 -0
  68. package/translation/language/validates/validate-language/index.js +3 -0
  69. package/translation/language/validates/validate-language/type.d.ts +7 -0
  70. package/translation/language/validates/validate-language/type.js +1 -0
  71. package/translation/language/validates/validate-page/index.d.ts +2 -0
  72. package/translation/language/validates/validate-page/index.js +3 -0
  73. package/translation/language/validates/validate-page/type.d.ts +6 -0
  74. package/translation/language/validates/validate-page/type.js +1 -0
  75. package/translation/translation/domains/index.d.ts +7 -0
  76. package/translation/translation/domains/index.js +1 -0
  77. package/translation/translation/index.d.ts +1 -0
  78. package/translation/translation/index.js +1 -0
  79. package/translation/translation-code/excluded-translation-code/configs.d.ts +2 -0
  80. package/translation/translation-code/excluded-translation-code/configs.js +12 -0
  81. package/translation/translation-code/excluded-translation-code/domains.d.ts +4 -0
  82. package/translation/translation-code/excluded-translation-code/domains.js +1 -0
  83. package/translation/translation-code/excluded-translation-code/index.d.ts +2 -0
  84. package/translation/translation-code/excluded-translation-code/index.js +2 -0
  85. package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.d.ts +2 -0
  86. package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.js +20 -0
  87. package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.d.ts +7 -0
  88. package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.js +1 -0
  89. package/translation/translation-code/excluded-translation-code/utils/index.d.ts +2 -0
  90. package/translation/translation-code/excluded-translation-code/utils/index.js +2 -0
  91. package/translation/translation-code/index.d.ts +2 -0
  92. package/translation/translation-code/index.js +2 -0
  93. package/translation/translation-code/translation-code/candle/candle-card/config.d.ts +1 -0
  94. package/translation/translation-code/translation-code/candle/candle-card/config.js +10 -0
  95. package/translation/translation-code/translation-code/candle/candle-card/index.d.ts +1 -0
  96. package/translation/translation-code/translation-code/candle/candle-card/index.js +1 -0
  97. package/translation/translation-code/translation-code/candle/candle-cards/config.d.ts +1 -0
  98. package/translation/translation-code/translation-code/candle/candle-cards/config.js +4 -0
  99. package/translation/translation-code/translation-code/candle/candle-cards/index.d.ts +1 -0
  100. package/translation/translation-code/translation-code/candle/candle-cards/index.js +1 -0
  101. package/translation/translation-code/translation-code/candle/candle-image/config.d.ts +1 -0
  102. package/translation/translation-code/translation-code/candle/candle-image/config.js +3 -0
  103. package/translation/translation-code/translation-code/candle/candle-image/index.d.ts +1 -0
  104. package/translation/translation-code/translation-code/candle/candle-image/index.js +1 -0
  105. package/translation/translation-code/translation-code/candle/candle-maintenance/config.d.ts +1 -0
  106. package/translation/translation-code/translation-code/candle/candle-maintenance/config.js +10 -0
  107. package/translation/translation-code/translation-code/candle/candle-maintenance/index.d.ts +1 -0
  108. package/translation/translation-code/translation-code/candle/candle-maintenance/index.js +1 -0
  109. package/translation/translation-code/translation-code/candle/candles-list/config.d.ts +1 -0
  110. package/translation/translation-code/translation-code/candle/candles-list/config.js +19 -0
  111. package/translation/translation-code/translation-code/candle/candles-list/index.d.ts +1 -0
  112. package/translation/translation-code/translation-code/candle/candles-list/index.js +1 -0
  113. package/translation/translation-code/translation-code/candle/index.d.ts +5 -0
  114. package/translation/translation-code/translation-code/candle/index.js +5 -0
  115. package/translation/translation-code/translation-code/common-page/config.d.ts +1 -0
  116. package/translation/translation-code/translation-code/common-page/config.js +29 -0
  117. package/translation/translation-code/translation-code/common-page/index.d.ts +1 -0
  118. package/translation/translation-code/translation-code/common-page/index.js +1 -0
  119. package/translation/translation-code/translation-code/configs.d.ts +1 -0
  120. package/translation/translation-code/translation-code/configs.js +434 -0
  121. package/translation/translation-code/translation-code/country/country-code/config.d.ts +1 -0
  122. package/translation/translation-code/translation-code/country/country-code/config.js +250 -0
  123. package/translation/translation-code/translation-code/country/country-code/index.d.ts +1 -0
  124. package/translation/translation-code/translation-code/country/country-code/index.js +1 -0
  125. package/translation/translation-code/translation-code/country/index.d.ts +1 -0
  126. package/translation/translation-code/translation-code/country/index.js +1 -0
  127. package/translation/translation-code/translation-code/domains.d.ts +2 -0
  128. package/translation/translation-code/translation-code/domains.js +1 -0
  129. package/translation/translation-code/translation-code/index.d.ts +7 -0
  130. package/translation/translation-code/translation-code/index.js +7 -0
  131. package/translation/translation-code/translation-code/person/index.d.ts +5 -0
  132. package/translation/translation-code/translation-code/person/index.js +5 -0
  133. package/translation/translation-code/translation-code/person/person-card/config.d.ts +1 -0
  134. package/translation/translation-code/translation-code/person/person-card/config.js +4 -0
  135. package/translation/translation-code/translation-code/person/person-card/index.d.ts +1 -0
  136. package/translation/translation-code/translation-code/person/person-card/index.js +1 -0
  137. package/translation/translation-code/translation-code/person/person-cards/config.d.ts +1 -0
  138. package/translation/translation-code/translation-code/person/person-cards/config.js +4 -0
  139. package/translation/translation-code/translation-code/person/person-cards/index.d.ts +1 -0
  140. package/translation/translation-code/translation-code/person/person-cards/index.js +1 -0
  141. package/translation/translation-code/translation-code/person/person-image/config.d.ts +1 -0
  142. package/translation/translation-code/translation-code/person/person-image/config.js +3 -0
  143. package/translation/translation-code/translation-code/person/person-image/index.d.ts +1 -0
  144. package/translation/translation-code/translation-code/person/person-image/index.js +1 -0
  145. package/translation/translation-code/translation-code/person/person-maintenance/config.d.ts +1 -0
  146. package/translation/translation-code/translation-code/person/person-maintenance/config.js +28 -0
  147. package/translation/translation-code/translation-code/person/person-maintenance/index.d.ts +1 -0
  148. package/translation/translation-code/translation-code/person/person-maintenance/index.js +1 -0
  149. package/translation/translation-code/translation-code/person/persons-list/config.d.ts +1 -0
  150. package/translation/translation-code/translation-code/person/persons-list/config.js +19 -0
  151. package/translation/translation-code/translation-code/person/persons-list/index.d.ts +1 -0
  152. package/translation/translation-code/translation-code/person/persons-list/index.js +1 -0
  153. package/translation/translation-code/translation-code/time/index.d.ts +1 -0
  154. package/translation/translation-code/translation-code/time/index.js +1 -0
  155. package/translation/translation-code/translation-code/time/time-abbreviation/config.d.ts +1 -0
  156. package/translation/translation-code/translation-code/time/time-abbreviation/config.js +3 -0
  157. package/translation/translation-code/translation-code/time/time-abbreviation/index.d.ts +1 -0
  158. package/translation/translation-code/translation-code/time/time-abbreviation/index.js +1 -0
  159. package/type/index.d.ts +2 -0
  160. package/type/index.js +2 -0
  161. package/type/type/index.d.ts +2 -0
  162. package/type/type/index.js +2 -0
  163. package/type/type/type-guards.d.ts +1 -0
  164. package/type/type/type-guards.js +6 -0
  165. package/type/type/utils/index.d.ts +1 -0
  166. package/type/type/utils/index.js +1 -0
  167. package/type/type/utils/validate-by-values/index.d.ts +2 -0
  168. package/type/type/utils/validate-by-values/index.js +20 -0
  169. package/type/type/utils/validate-by-values/type.d.ts +6 -0
  170. package/type/type/utils/validate-by-values/type.js +1 -0
  171. package/type/undefined/index.d.ts +1 -0
  172. package/type/undefined/index.js +1 -0
  173. package/type/undefined/type-guard.d.ts +1 -0
  174. package/type/undefined/type-guard.js +1 -0
  175. package/environment/environment-variable-name/constants.d.ts +0 -2
  176. package/environment/environment-variable-name/constants.js +0 -23
  177. package/environment/environment-variable-name/domains.d.ts +0 -2
  178. package/environment/environment-variable-name/type-guards.d.ts +0 -2
  179. package/environment/environment-variable-name/type-guards.js +0 -2
  180. package/environment/environment-variables/domains.d.ts +0 -23
  181. /package/{environment/environment-variable-name → dictionary/country-dictionary}/domains.js +0 -0
  182. /package/{environment/environment-variables/domains.js → dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.js} +0 -0
  183. /package/{environment/environment-variables → geographical/country}/index.d.ts +0 -0
  184. /package/{environment/environment-variables → geographical/country}/index.js +0 -0
@@ -7,8 +7,8 @@ export type CustomErrorInfo = Record<string, unknown>;
7
7
  export type CustomErrorMessage = string;
8
8
  export type TCustomError<T = never> = {
9
9
  data: T;
10
- error?: never;
10
+ customError?: never;
11
11
  } | {
12
- error: CustomError;
12
+ customError: CustomError;
13
13
  data?: never;
14
14
  };
@@ -0,0 +1,4 @@
1
+ import { CountryCode } from '../../geographical/index.js';
2
+ export type CountryDictionary = {
3
+ [key in CountryCode]: string;
4
+ };
@@ -0,0 +1,2 @@
1
+ export * from './domains.js';
2
+ export * from './utils/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './domains.js';
2
+ export * from './utils/index.js';
@@ -0,0 +1,2 @@
1
+ import { ConvertCountriesToDictionary } from './type.js';
2
+ export declare const convertCountriesToDictionary: ConvertCountriesToDictionary;
@@ -0,0 +1,4 @@
1
+ export const convertCountriesToDictionary = (countries) => countries.reduce((acc, curr) => ({
2
+ ...acc,
3
+ [curr.code]: curr.translation,
4
+ }), {});
@@ -0,0 +1,6 @@
1
+ import { CountryCode } from '../../../../geographical/index.js';
2
+ import { CountryDictionary } from '../../domains.js';
3
+ export type ConvertCountriesToDictionary = (countries: Array<{
4
+ code: CountryCode;
5
+ translation: string;
6
+ }>) => CountryDictionary;
@@ -0,0 +1 @@
1
+ export * from './convert-countries-to-dictionary/index.js';
@@ -0,0 +1 @@
1
+ export * from './convert-countries-to-dictionary/index.js';
@@ -0,0 +1,47 @@
1
+ export declare const DICTIONARY_CONFIG: {
2
+ readonly 'add-person-page': {
3
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "persons", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "form.error.date", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "select", "form.error.maxLength", "proposable", "form.error.required", "name", "add-person-page", "person-details-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "errorLoadingData", "loading", "persons-page"];
4
+ };
5
+ readonly 'candle-details-page': {
6
+ readonly translationCodes: readonly ["auth.loginRequired", "acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "imageCannotBeLoaded", "burnsSoFar", "burnedOutCandle", "candle.description", "litName", "candle-details-page.deleteCandle.submitError", "candle-details-page.deleteCandle.submitSuccess", "candle-details-page.deleteCandle.question", "candle-details-page.deleteCandle", "candle-details-page.myCandle.submitError", "candle-details-page.myCandle.submitSuccess", "candle-details-page.myCandle.loginRequired", "candle-details-page.myCandle.question", "candle-details-page.myCandle", "candle-details-page.relightCandle.submitError", "candle-details-page.relightCandle.submitSuccess", "candle-details-page.relightCandle.question", "candle-details-page.relightCandle", "cancel", "ok", "edit-candle-page", "candle-details-page", "person-details-page"];
7
+ };
8
+ readonly 'candles-page': {
9
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burningEndsAt", "burningStartsAt", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort", "candles", "candles-page"];
10
+ };
11
+ readonly 'contact-page': {
12
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "contact-page", "email", "form.error.email", "form.error.invalid", "form.error.required", "reset", "send", "message", "name", "subject", "facebook"];
13
+ };
14
+ readonly 'cookie-policy-page': {
15
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "acceptAll", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page"];
16
+ };
17
+ readonly 'edit-candle-page': {
18
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "candle-details-page", "auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName", "edit-candle-page", "modify", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess"];
19
+ };
20
+ readonly 'edit-person-page': {
21
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "edit-person-page", "auth.cannotBeChangedLaterWarning", "auth.loginRequired", "add-person-page", "modify", "reset", "count", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "invalidImage", "tooBigImage", "image", "noMoreImages", "form.error.date", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "select", "form.error.maxLength", "proposable", "form.error.required", "name", "person-details-page", "edit-person-page.maintenance.submitError", "edit-person-page.maintenance.submitSuccess"];
22
+ };
23
+ readonly 'help-page': {
24
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "help-page", "help-page.intro", "persons", "help-page.personsParagraph", "help-page.addPersonTitle", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "candles", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.lightACandleTitle", "help-page.lightACandleRule1", "help-page.lightACandleRule2"];
25
+ };
26
+ readonly 'home-page': {
27
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "lightACandle", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "candles", "home-page.lastLitCandles", "burnedCandles", "burningCandles", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "persons", "home-page.lastUploadedPersons", "auth.cannotBeChangedLaterWarning", "more", "reset", "light-candle-page.maintenance.submitError", "lightTheCandle", "light-candle-page.maintenance.submitSuccess", "form.error.maxLength", "person.name", "form.error.required", "litName", "burnedCandles", "burningCandles", "candles", "persons", "home-page.statistics", "add-person-page", "auth.cannotBeChangedLaterWarning", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "persons-map-page", "home-page.proposal", "home-page"];
28
+ };
29
+ readonly 'light-candle-page': {
30
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName", "lightTheCandle", "light-candle-page.maintenance.submitError", "light-candle-page.maintenance.submitSuccess", "light-candle-page"];
31
+ };
32
+ readonly 'person-candles-page': {
33
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "light-candle-page", "person-candles-page.addCandle.description", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burningEndsAt", "burningStartsAt", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort", "person-candles-page", "person-details-page"];
34
+ };
35
+ readonly 'person-details-page': {
36
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "person-candles-page", "persons", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "proposable", "burnedCandles", "burningCandles", "person-details-page.deletePerson.submitError", "cancel", "ok", "person-details-page.deletePerson.submitSuccess", "person-details-page.deletePerson.question", "person-details-page.deletePerson", "person-details-page.myPerson.submitError", "person-details-page.myPerson.submitSuccess", "person-details-page.myPerson.loginRequired", "person-details-page.myPerson.question", "person-details-page.myPerson", "edit-person-page", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "person-details-page", "persons-page", "auth.loginRequired"];
37
+ };
38
+ readonly 'persons-page': {
39
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "auth.cannotBeChangedLaterWarning", "persons-page.addPerson.description", "login", "add-person-page", "burnedCandles", "burningCandles", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "personsInCount", "person", "reset", "sort", "name", "caseSensitive", "myPersons", "select", "persons-map-page", "person.birthPlaceCountry", "persons", "persons-page.personsList.hasImage", "createdAt", "caseSensitive", "myPersons", "persons-page.personsList.hasImage", "name", "person.birthPlaceCountry", "person", "personsInCount", "reset", "sort", "createdAt", "name", "persons-page.personsList", "persons", "persons-map-page", "persons-page"];
40
+ };
41
+ readonly 'persons-map-page': {
42
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "countryCode.AD", "countryCode.AE", "countryCode.AF", "countryCode.AG", "countryCode.AI", "countryCode.AL", "countryCode.AM", "countryCode.AN", "countryCode.AO", "countryCode.AQ", "countryCode.AR", "countryCode.AS", "countryCode.AT", "countryCode.AU", "countryCode.AW", "countryCode.AX", "countryCode.AZ", "countryCode.BA", "countryCode.BB", "countryCode.BD", "countryCode.BE", "countryCode.BF", "countryCode.BG", "countryCode.BH", "countryCode.BI", "countryCode.BJ", "countryCode.BM", "countryCode.BN", "countryCode.BO", "countryCode.BR", "countryCode.BQ", "countryCode.BS", "countryCode.BT", "countryCode.BV", "countryCode.BW", "countryCode.BY", "countryCode.BZ", "countryCode.CA", "countryCode.CC", "countryCode.CD", "countryCode.CF", "countryCode.CG", "countryCode.CH", "countryCode.CI", "countryCode.CK", "countryCode.CL", "countryCode.CM", "countryCode.CN", "countryCode.CO", "countryCode.CR", "countryCode.CU", "countryCode.CV", "countryCode.CX", "countryCode.CY", "countryCode.CZ", "countryCode.DE", "countryCode.DJ", "countryCode.DK", "countryCode.DM", "countryCode.DO", "countryCode.DZ", "countryCode.EC", "countryCode.EE", "countryCode.EG", "countryCode.EH", "countryCode.ER", "countryCode.ES", "countryCode.ET", "countryCode.FI", "countryCode.FJ", "countryCode.FK", "countryCode.FM", "countryCode.FO", "countryCode.FR", "countryCode.GA", "countryCode.GB", "countryCode.GD", "countryCode.GE", "countryCode.GF", "countryCode.GG", "countryCode.GH", "countryCode.GI", "countryCode.GL", "countryCode.GM", "countryCode.GN", "countryCode.GP", "countryCode.GQ", "countryCode.GR", "countryCode.GS", "countryCode.GT", "countryCode.GU", "countryCode.GW", "countryCode.GY", "countryCode.GZ", "countryCode.HK", "countryCode.HM", "countryCode.HN", "countryCode.HR", "countryCode.HT", "countryCode.HU", "countryCode.ID", "countryCode.IE", "countryCode.IL", "countryCode.IM", "countryCode.IN", "countryCode.IO", "countryCode.IQ", "countryCode.IR", "countryCode.IS", "countryCode.IT", "countryCode.JE", "countryCode.JM", "countryCode.JO", "countryCode.JP", "countryCode.KE", "countryCode.KG", "countryCode.KH", "countryCode.KI", "countryCode.KM", "countryCode.KN", "countryCode.KP", "countryCode.KR", "countryCode.KW", "countryCode.KY", "countryCode.KZ", "countryCode.LA", "countryCode.LB", "countryCode.LC", "countryCode.LI", "countryCode.LK", "countryCode.LR", "countryCode.LS", "countryCode.LT", "countryCode.LU", "countryCode.LV", "countryCode.LY", "countryCode.MA", "countryCode.MC", "countryCode.MD", "countryCode.ME", "countryCode.MG", "countryCode.MH", "countryCode.MK", "countryCode.ML", "countryCode.MM", "countryCode.MN", "countryCode.MO", "countryCode.MP", "countryCode.MQ", "countryCode.MR", "countryCode.MS", "countryCode.MT", "countryCode.MU", "countryCode.MV", "countryCode.MW", "countryCode.MX", "countryCode.MY", "countryCode.MZ", "countryCode.NA", "countryCode.NC", "countryCode.NE", "countryCode.NF", "countryCode.NG", "countryCode.NI", "countryCode.NL", "countryCode.NO", "countryCode.NP", "countryCode.NR", "countryCode.NU", "countryCode.NZ", "countryCode.OM", "countryCode.PA", "countryCode.PE", "countryCode.PF", "countryCode.PG", "countryCode.PH", "countryCode.PK", "countryCode.PL", "countryCode.PM", "countryCode.PN", "countryCode.PR", "countryCode.PS", "countryCode.PT", "countryCode.PW", "countryCode.PY", "countryCode.QA", "countryCode.RE", "countryCode.RO", "countryCode.RS", "countryCode.RU", "countryCode.RW", "countryCode.SA", "countryCode.SB", "countryCode.SC", "countryCode.SD", "countryCode.SE", "countryCode.SG", "countryCode.SH", "countryCode.SI", "countryCode.SJ", "countryCode.SK", "countryCode.SL", "countryCode.SM", "countryCode.SN", "countryCode.SO", "countryCode.SR", "countryCode.ST", "countryCode.SV", "countryCode.SY", "countryCode.SZ", "countryCode.TC", "countryCode.TD", "countryCode.TF", "countryCode.TG", "countryCode.TH", "countryCode.TJ", "countryCode.TK", "countryCode.TL", "countryCode.TM", "countryCode.TN", "countryCode.TO", "countryCode.TR", "countryCode.TT", "countryCode.TV", "countryCode.TW", "countryCode.TZ", "countryCode.UA", "countryCode.UG", "countryCode.US", "countryCode.UY", "countryCode.UZ", "countryCode.VA", "countryCode.VC", "countryCode.VE", "countryCode.VG", "countryCode.VI", "countryCode.VN", "countryCode.VU", "countryCode.WF", "countryCode.WS", "countryCode.XK", "countryCode.YE", "countryCode.YT", "countryCode.ZA", "countryCode.ZM", "countryCode.ZW", "persons-map-page.map.description", "persons-map-page", "map"];
43
+ };
44
+ readonly 'terms-and-conditions-page': {
45
+ readonly translationCodes: readonly ["acceptAll", "cookie-policy-page", "customize", "rejectAll", "save", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookieConsentForm.title", "author", "motto1", "motto2", "motto3", "login", "logout", "english", "hungarian", "pageMenu.add-person-page", "pageMenu.candles-page", "pageMenu.contact-page", "pageMenu.cookie-policy-page", "pageMenu.help-page", "pageMenu.persons-page", "pageMenu.persons-map-page", "pageMenu.terms-and-conditions-page", "shareOnFacebook", "terms-and-conditions-page.intro", "terms-and-conditions-page.conditionsOfUseTitle", "terms-and-conditions-page.conditionsOfUseParagraph", "terms-and-conditions-page.intellectualPropertyTitle", "terms-and-conditions-page.intellectualPropertyParagraph", "terms-and-conditions-page.userAccountsTitle", "terms-and-conditions-page.userAccountsParagraph", "terms-and-conditions-page.applicableLawTitle", "terms-and-conditions-page.applicableLawParagraph", "terms-and-conditions-page.disputesTitle", "terms-and-conditions-page.disputesParagraph", "terms-and-conditions-page.limitationAndLiabilityTitle", "terms-and-conditions-page.limitationAndLiabilityParagraph", "terms-and-conditions-page"];
46
+ };
47
+ };
@@ -0,0 +1,268 @@
1
+ import { PERSON_MAINTENANCE_TRANSLATION_CODES, CANDLE_CARDS_TRANSLATION_CODES, CANDLE_IMAGE_TRANSLATION_CODES, CANDLE_MAINTENANCE_TRANSLATION_CODES, CANDLES_LIST_TRANSLATION_CODES, COMMON_PAGE_TRANSLATION_CODES, PERSON_CARDS_TRANSLATION_CODES, PERSON_IMAGE_TRANSLATION_CODES, PERSONS_LIST_TRANSLATION_CODES, COUNTRY_CODE_TRANSLATION_CODES, } from '../../translation/index.js';
2
+ export const DICTIONARY_CONFIG = {
3
+ 'add-person-page': {
4
+ translationCodes: [
5
+ ...COMMON_PAGE_TRANSLATION_CODES,
6
+ 'persons',
7
+ ...PERSON_MAINTENANCE_TRANSLATION_CODES,
8
+ 'add-person-page',
9
+ 'person-details-page',
10
+ 'add-person-page.maintenance.submitError',
11
+ 'add-person-page.maintenance.submitSuccess',
12
+ 'errorLoadingData',
13
+ 'loading',
14
+ 'persons-page',
15
+ ],
16
+ },
17
+ 'candle-details-page': {
18
+ translationCodes: [
19
+ 'auth.loginRequired',
20
+ ...COMMON_PAGE_TRANSLATION_CODES,
21
+ 'person-candles-page',
22
+ ...CANDLE_IMAGE_TRANSLATION_CODES,
23
+ 'burnsSoFar',
24
+ 'burnedOutCandle',
25
+ 'candle.description',
26
+ 'litName',
27
+ 'candle-details-page.deleteCandle.submitError',
28
+ 'candle-details-page.deleteCandle.submitSuccess',
29
+ 'candle-details-page.deleteCandle.question',
30
+ 'candle-details-page.deleteCandle',
31
+ 'candle-details-page.myCandle.submitError',
32
+ 'candle-details-page.myCandle.submitSuccess',
33
+ 'candle-details-page.myCandle.loginRequired',
34
+ 'candle-details-page.myCandle.question',
35
+ 'candle-details-page.myCandle',
36
+ 'candle-details-page.relightCandle.submitError',
37
+ 'candle-details-page.relightCandle.submitSuccess',
38
+ 'candle-details-page.relightCandle.question',
39
+ 'candle-details-page.relightCandle',
40
+ 'cancel',
41
+ 'ok',
42
+ 'edit-candle-page',
43
+ 'candle-details-page',
44
+ 'person-details-page',
45
+ ],
46
+ },
47
+ 'candles-page': {
48
+ translationCodes: [...COMMON_PAGE_TRANSLATION_CODES, ...CANDLES_LIST_TRANSLATION_CODES, 'candles', 'candles-page'],
49
+ },
50
+ 'contact-page': {
51
+ translationCodes: [
52
+ ...COMMON_PAGE_TRANSLATION_CODES,
53
+ 'contact-page.infoTitle',
54
+ 'contact-page.sendMessage.submitError',
55
+ 'contact-page.sendMessage.submitSuccess',
56
+ 'contact-page.sendMessageTitle',
57
+ 'contact-page',
58
+ 'email',
59
+ 'form.error.email',
60
+ 'form.error.invalid',
61
+ 'form.error.required',
62
+ 'reset',
63
+ 'send',
64
+ 'message',
65
+ 'name',
66
+ 'subject',
67
+ 'facebook',
68
+ ],
69
+ },
70
+ 'cookie-policy-page': {
71
+ translationCodes: [
72
+ ...COMMON_PAGE_TRANSLATION_CODES,
73
+ 'acceptAll',
74
+ 'rejectAll',
75
+ 'save',
76
+ 'cookieConsentForm.description',
77
+ 'cookieConsentForm.languageFormDescription',
78
+ 'cookie-policy-page',
79
+ ],
80
+ },
81
+ 'edit-candle-page': {
82
+ translationCodes: [
83
+ ...COMMON_PAGE_TRANSLATION_CODES,
84
+ 'candle-details-page',
85
+ ...CANDLE_MAINTENANCE_TRANSLATION_CODES,
86
+ 'edit-candle-page',
87
+ 'modify',
88
+ 'edit-candle-page.maintenance.submitError',
89
+ 'edit-candle-page.maintenance.submitSuccess',
90
+ ],
91
+ },
92
+ 'edit-person-page': {
93
+ translationCodes: [
94
+ ...COMMON_PAGE_TRANSLATION_CODES,
95
+ 'edit-person-page',
96
+ ...PERSON_MAINTENANCE_TRANSLATION_CODES,
97
+ 'person-details-page',
98
+ 'edit-person-page.maintenance.submitError',
99
+ 'edit-person-page.maintenance.submitSuccess',
100
+ ],
101
+ },
102
+ 'help-page': {
103
+ translationCodes: [
104
+ ...COMMON_PAGE_TRANSLATION_CODES,
105
+ 'help-page',
106
+ 'help-page.intro',
107
+ 'persons',
108
+ 'help-page.personsParagraph',
109
+ 'help-page.addPersonTitle',
110
+ 'help-page.addPersonRule1',
111
+ 'help-page.addPersonRule2',
112
+ 'help-page.addPersonRule3',
113
+ 'help-page.addPersonRule4',
114
+ 'candles',
115
+ 'help-page.candlesParagraph1',
116
+ 'help-page.candlesParagraph2',
117
+ 'help-page.candlesParagraph3',
118
+ 'help-page.lightACandleTitle',
119
+ 'help-page.lightACandleRule1',
120
+ 'help-page.lightACandleRule2',
121
+ ],
122
+ },
123
+ 'home-page': {
124
+ translationCodes: [
125
+ ...COMMON_PAGE_TRANSLATION_CODES,
126
+ 'lightACandle',
127
+ ...PERSON_IMAGE_TRANSLATION_CODES,
128
+ ...CANDLE_CARDS_TRANSLATION_CODES,
129
+ 'candles',
130
+ 'home-page.lastLitCandles',
131
+ ...PERSON_CARDS_TRANSLATION_CODES,
132
+ 'persons',
133
+ 'home-page.lastUploadedPersons',
134
+ 'auth.cannotBeChangedLaterWarning',
135
+ 'more',
136
+ 'reset',
137
+ 'light-candle-page.maintenance.submitError',
138
+ 'lightTheCandle',
139
+ 'light-candle-page.maintenance.submitSuccess',
140
+ 'form.error.maxLength',
141
+ 'person.name',
142
+ 'form.error.required',
143
+ 'litName',
144
+ 'burnedCandles',
145
+ 'burningCandles',
146
+ 'candles',
147
+ 'persons',
148
+ 'home-page.statistics',
149
+ 'add-person-page',
150
+ 'auth.cannotBeChangedLaterWarning',
151
+ 'home-page.welcome.description1',
152
+ 'home-page.welcome.description2',
153
+ 'home-page.welcome',
154
+ 'persons-map-page',
155
+ 'home-page.proposal',
156
+ 'home-page',
157
+ ],
158
+ },
159
+ 'light-candle-page': {
160
+ translationCodes: [
161
+ ...COMMON_PAGE_TRANSLATION_CODES,
162
+ 'person-candles-page',
163
+ ...CANDLE_MAINTENANCE_TRANSLATION_CODES,
164
+ 'lightTheCandle',
165
+ 'light-candle-page.maintenance.submitError',
166
+ 'light-candle-page.maintenance.submitSuccess',
167
+ 'light-candle-page',
168
+ ],
169
+ },
170
+ 'person-candles-page': {
171
+ translationCodes: [
172
+ ...COMMON_PAGE_TRANSLATION_CODES,
173
+ 'auth.cannotBeChangedLaterWarning',
174
+ 'auth.candleLitWarning',
175
+ 'light-candle-page',
176
+ 'person-candles-page.addCandle.description',
177
+ ...PERSON_IMAGE_TRANSLATION_CODES,
178
+ ...CANDLES_LIST_TRANSLATION_CODES,
179
+ 'person-candles-page',
180
+ 'person-details-page',
181
+ ],
182
+ },
183
+ 'person-details-page': {
184
+ translationCodes: [
185
+ ...COMMON_PAGE_TRANSLATION_CODES,
186
+ 'person-candles-page',
187
+ 'persons',
188
+ 'person.birthDate',
189
+ 'person.birthPlaceCountry',
190
+ 'person.deathDate',
191
+ 'person.description',
192
+ 'proposable',
193
+ 'burnedCandles',
194
+ 'burningCandles',
195
+ 'person-details-page.deletePerson.submitError',
196
+ 'cancel',
197
+ 'ok',
198
+ 'person-details-page.deletePerson.submitSuccess',
199
+ 'person-details-page.deletePerson.question',
200
+ 'person-details-page.deletePerson',
201
+ 'person-details-page.myPerson.submitError',
202
+ 'person-details-page.myPerson.submitSuccess',
203
+ 'person-details-page.myPerson.loginRequired',
204
+ 'person-details-page.myPerson.question',
205
+ 'person-details-page.myPerson',
206
+ 'edit-person-page',
207
+ ...PERSON_IMAGE_TRANSLATION_CODES,
208
+ 'person-details-page',
209
+ 'persons-page',
210
+ 'auth.loginRequired',
211
+ ],
212
+ },
213
+ 'persons-page': {
214
+ translationCodes: [
215
+ ...COMMON_PAGE_TRANSLATION_CODES,
216
+ 'auth.cannotBeChangedLaterWarning',
217
+ 'persons-page.addPerson.description',
218
+ 'login',
219
+ 'add-person-page',
220
+ ...PERSONS_LIST_TRANSLATION_CODES,
221
+ 'caseSensitive',
222
+ 'myPersons',
223
+ 'persons-page.personsList.hasImage',
224
+ 'name',
225
+ 'person.birthPlaceCountry',
226
+ 'person',
227
+ 'personsInCount',
228
+ 'reset',
229
+ 'sort',
230
+ 'createdAt',
231
+ 'name',
232
+ 'persons-page.personsList',
233
+ 'persons',
234
+ 'persons-map-page',
235
+ 'persons-page',
236
+ ],
237
+ },
238
+ 'persons-map-page': {
239
+ translationCodes: [
240
+ ...COMMON_PAGE_TRANSLATION_CODES,
241
+ ...COUNTRY_CODE_TRANSLATION_CODES,
242
+ 'persons-map-page.map.description',
243
+ 'persons-map-page',
244
+ 'map',
245
+ ],
246
+ },
247
+ 'terms-and-conditions-page': {
248
+ translationCodes: [
249
+ ...COMMON_PAGE_TRANSLATION_CODES,
250
+ 'terms-and-conditions-page.intro',
251
+ 'terms-and-conditions-page.conditionsOfUseTitle',
252
+ 'terms-and-conditions-page.conditionsOfUseParagraph',
253
+ 'terms-and-conditions-page.intellectualPropertyTitle',
254
+ 'terms-and-conditions-page.intellectualPropertyParagraph',
255
+ 'terms-and-conditions-page.userAccountsTitle',
256
+ 'terms-and-conditions-page.userAccountsParagraph',
257
+ 'terms-and-conditions-page.applicableLawTitle',
258
+ 'terms-and-conditions-page.applicableLawParagraph',
259
+ 'terms-and-conditions-page.disputesTitle',
260
+ 'terms-and-conditions-page.disputesParagraph',
261
+ 'terms-and-conditions-page.limitationAndLiabilityTitle',
262
+ 'terms-and-conditions-page.limitationAndLiabilityParagraph',
263
+ 'terms-and-conditions-page',
264
+ ],
265
+ },
266
+ };
267
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
268
+ const CHECK = DICTIONARY_CONFIG;
@@ -0,0 +1,4 @@
1
+ import { TranslationCode } from '../../index.js';
2
+ export type Dictionary = {
3
+ [key in TranslationCode]: string;
4
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,2 @@
1
+ export * from './configs.js';
2
+ export * from './domains.js';
@@ -0,0 +1,2 @@
1
+ export * from './configs.js';
2
+ export * from './domains.js';
@@ -0,0 +1,2 @@
1
+ export * from './country-dictionary/index.js';
2
+ export * from './dictionary/index.js';
@@ -0,0 +1,2 @@
1
+ export * from './country-dictionary/index.js';
2
+ export * from './dictionary/index.js';
@@ -1,3 +1 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './environment-variable-name/index.js';
3
- export * from './environment-variables/index.js';
@@ -1,3 +1 @@
1
1
  export * from './environment-mode/index.js';
2
- export * from './environment-variable-name/index.js';
3
- export * from './environment-variables/index.js';
@@ -0,0 +1,17 @@
1
+ import { CountryCode } from '../county-code/index.js';
2
+ export type Country = {
3
+ _id: string;
4
+ code: CountryCode;
5
+ location: CountryLocation;
6
+ translation: {
7
+ hu: string;
8
+ en: string;
9
+ };
10
+ };
11
+ export interface CountryPersonsCount {
12
+ personsCount: number;
13
+ }
14
+ export interface CountryLocation {
15
+ coordinates: number[];
16
+ type: 'Point';
17
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -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"];