@candlerip/shared 0.0.68 → 0.0.70
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.
- package/background-image/config.d.ts +7 -0
- package/background-image/config.js +8 -0
- package/background-image/domain.d.ts +1 -0
- package/background-image/index.d.ts +2 -0
- package/background-image/index.js +2 -0
- package/candle/burning-candle-state/config.d.ts +1 -0
- package/candle/burning-candle-state/config.js +1 -0
- package/candle/burning-candle-state/index.d.ts +3 -0
- package/candle/burning-candle-state/index.js +3 -0
- package/candle/burning-candle-state/type-guard.d.ts +2 -0
- package/candle/burning-candle-state/type-guard.js +2 -0
- package/candle/burning-candle-state/type.d.ts +2 -0
- package/candle/candle/domains/index.d.ts +35 -0
- package/candle/candle/domains/index.js +1 -0
- package/candle/candle/index.d.ts +1 -0
- package/candle/candle/index.js +1 -0
- package/candle/candle-lighting-profile/domains/index.d.ts +5 -0
- package/candle/candle-lighting-profile/domains/index.js +1 -0
- package/candle/candle-lighting-profile/index.d.ts +1 -0
- package/candle/candle-lighting-profile/index.js +1 -0
- package/candle/index.d.ts +3 -0
- package/candle/index.js +3 -0
- package/dictionary/country-dictionary/domains.d.ts +4 -0
- package/dictionary/country-dictionary/domains.js +1 -0
- package/dictionary/country-dictionary/index.d.ts +2 -0
- package/dictionary/country-dictionary/index.js +2 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.d.ts +2 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/index.js +4 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.d.ts +6 -0
- package/dictionary/country-dictionary/utils/convert-countries-to-dictionary/type.js +1 -0
- package/dictionary/country-dictionary/utils/index.d.ts +1 -0
- package/dictionary/country-dictionary/utils/index.js +1 -0
- package/dictionary/dictionary/configs.d.ts +47 -0
- package/dictionary/dictionary/configs.js +268 -0
- package/dictionary/dictionary/domains.d.ts +4 -0
- package/dictionary/dictionary/domains.js +1 -0
- package/dictionary/dictionary/index.d.ts +2 -0
- package/dictionary/dictionary/index.js +2 -0
- package/dictionary/index.d.ts +2 -0
- package/dictionary/index.js +2 -0
- package/environment/index.d.ts +0 -2
- package/environment/index.js +0 -2
- package/filter-sort/candle-filter-sort/default.d.ts +2 -0
- package/filter-sort/candle-filter-sort/default.js +5 -0
- package/filter-sort/candle-filter-sort/index.d.ts +2 -0
- package/filter-sort/candle-filter-sort/index.js +2 -0
- package/filter-sort/candle-filter-sort/type.d.ts +12 -0
- package/filter-sort/candle-filter-sort/type.js +1 -0
- package/filter-sort/index.d.ts +4 -0
- package/filter-sort/index.js +4 -0
- package/filter-sort/person-filter-sort/default.d.ts +2 -0
- package/filter-sort/person-filter-sort/default.js +5 -0
- package/filter-sort/person-filter-sort/index.d.ts +2 -0
- package/filter-sort/person-filter-sort/index.js +2 -0
- package/filter-sort/person-filter-sort/type.d.ts +14 -0
- package/filter-sort/person-filter-sort/type.js +1 -0
- package/filter-sort/sort-name/candle-sort-name/config.d.ts +1 -0
- package/filter-sort/sort-name/candle-sort-name/config.js +1 -0
- package/filter-sort/sort-name/candle-sort-name/index.d.ts +3 -0
- package/filter-sort/sort-name/candle-sort-name/index.js +3 -0
- package/filter-sort/sort-name/candle-sort-name/type-guard.d.ts +2 -0
- package/filter-sort/sort-name/candle-sort-name/type-guard.js +4 -0
- package/filter-sort/sort-name/candle-sort-name/type.d.ts +2 -0
- package/filter-sort/sort-name/candle-sort-name/type.js +1 -0
- package/filter-sort/sort-name/index.d.ts +2 -0
- package/filter-sort/sort-name/index.js +2 -0
- package/filter-sort/sort-name/person-sort-name/config.d.ts +1 -0
- package/filter-sort/sort-name/person-sort-name/config.js +1 -0
- package/filter-sort/sort-name/person-sort-name/index.d.ts +3 -0
- package/filter-sort/sort-name/person-sort-name/index.js +3 -0
- package/filter-sort/sort-name/person-sort-name/type-guard.d.ts +2 -0
- package/filter-sort/sort-name/person-sort-name/type-guard.js +4 -0
- package/filter-sort/sort-name/person-sort-name/type.d.ts +2 -0
- package/filter-sort/sort-name/person-sort-name/type.js +1 -0
- package/filter-sort/sort-order/config.d.ts +1 -0
- package/filter-sort/sort-order/config.js +1 -0
- package/filter-sort/sort-order/index.d.ts +3 -0
- package/filter-sort/sort-order/index.js +3 -0
- package/filter-sort/sort-order/type-guard.d.ts +2 -0
- package/filter-sort/sort-order/type-guard.js +4 -0
- package/filter-sort/sort-order/type.d.ts +2 -0
- package/filter-sort/sort-order/type.js +1 -0
- package/geographical/country/domains.d.ts +17 -0
- package/geographical/country/domains.js +1 -0
- package/geographical/county-code/configs.d.ts +1 -0
- package/geographical/county-code/configs.js +248 -0
- package/geographical/county-code/domains.d.ts +2 -0
- package/geographical/county-code/domains.js +1 -0
- package/{environment/environment-variable-name → geographical/county-code}/index.d.ts +1 -1
- package/{environment/environment-variable-name → geographical/county-code}/index.js +1 -1
- package/geographical/county-code/type-guards.d.ts +2 -0
- package/geographical/county-code/type-guards.js +4 -0
- package/geographical/index.d.ts +2 -0
- package/geographical/index.js +2 -0
- package/helpers/index.d.ts +1 -0
- package/helpers/index.js +1 -0
- package/helpers/promise-all/index.d.ts +12 -0
- package/helpers/promise-all/index.js +24 -0
- package/image/image/domains/index.d.ts +5 -0
- package/image/image/domains/index.js +1 -0
- package/image/image/index.d.ts +1 -0
- package/image/image/index.js +1 -0
- package/image/image-dimension/domains/index.d.ts +5 -0
- package/image/image-dimension/domains/index.js +1 -0
- package/image/image-dimension/index.d.ts +1 -0
- package/image/image-dimension/index.js +1 -0
- package/image/index.d.ts +2 -0
- package/image/index.js +2 -0
- package/index.d.ts +16 -1
- package/index.js +16 -1
- package/package.json +1 -1
- package/page/configs.d.ts +1 -0
- package/page/configs.js +17 -0
- package/page/domains.d.ts +2 -0
- package/page/domains.js +1 -0
- package/page/index.d.ts +3 -0
- package/page/index.js +3 -0
- package/page/type-guards.d.ts +2 -0
- package/page/type-guards.js +4 -0
- package/page-data/candle-details/domains.d.ts +7 -0
- package/page-data/candle-details/domains.js +1 -0
- package/page-data/candle-details/index.d.ts +1 -0
- package/page-data/candle-details/index.js +1 -0
- package/page-data/candles/domains.d.ts +9 -0
- package/page-data/candles/domains.js +1 -0
- package/page-data/candles/index.d.ts +1 -0
- package/page-data/candles/index.js +1 -0
- package/page-data/edit-candle/domains.d.ts +6 -0
- package/page-data/edit-candle/domains.js +1 -0
- package/page-data/edit-candle/index.d.ts +1 -0
- package/page-data/edit-candle/index.js +1 -0
- package/page-data/home/domains.d.ts +28 -0
- package/page-data/home/domains.js +1 -0
- package/page-data/home/index.d.ts +1 -0
- package/page-data/home/index.js +1 -0
- package/page-data/index.d.ts +9 -0
- package/page-data/index.js +9 -0
- package/page-data/light-candle/domains.d.ts +8 -0
- package/page-data/light-candle/domains.js +1 -0
- package/page-data/light-candle/index.d.ts +1 -0
- package/page-data/light-candle/index.js +1 -0
- package/page-data/person-candles/domains.d.ts +13 -0
- package/page-data/person-candles/domains.js +1 -0
- package/page-data/person-candles/index.d.ts +1 -0
- package/page-data/person-candles/index.js +1 -0
- package/page-data/person-details/domains.d.ts +12 -0
- package/page-data/person-details/domains.js +1 -0
- package/page-data/person-details/index.d.ts +1 -0
- package/page-data/person-details/index.js +1 -0
- package/page-data/persons/domains.d.ts +15 -0
- package/page-data/persons/domains.js +1 -0
- package/page-data/persons/index.d.ts +1 -0
- package/page-data/persons/index.js +1 -0
- package/page-data/persons-map/domains.d.ts +12 -0
- package/page-data/persons-map/domains.js +1 -0
- package/page-data/persons-map/index.d.ts +1 -0
- package/page-data/persons-map/index.js +1 -0
- package/page-menu/configs.d.ts +1 -0
- package/page-menu/configs.js +12 -0
- package/page-menu/domains.d.ts +2 -0
- package/page-menu/domains.js +1 -0
- package/page-menu/index.d.ts +3 -0
- package/page-menu/index.js +3 -0
- package/page-menu/type-guards.d.ts +2 -0
- package/page-menu/type-guards.js +2 -0
- package/person/index.d.ts +2 -0
- package/person/index.js +2 -0
- package/person/person-image/file-name/config.d.ts +1 -0
- package/person/person-image/file-name/config.js +2 -0
- package/person/person-image/file-name/index.d.ts +2 -0
- package/person/person-image/file-name/index.js +2 -0
- package/person/person-image/file-name/type.d.ts +2 -0
- package/person/person-image/file-name/type.js +1 -0
- package/person/person-image/index.d.ts +3 -0
- package/person/person-image/index.js +3 -0
- package/person/person-image/type.d.ts +10 -0
- package/person/person-image/type.js +1 -0
- package/person/person-image/width/config.d.ts +1 -0
- package/person/person-image/width/config.js +1 -0
- package/person/person-image/width/index.d.ts +2 -0
- package/person/person-image/width/index.js +2 -0
- package/person/person-image/width/type.d.ts +2 -0
- package/person/person-image/width/type.js +1 -0
- package/person/type.d.ts +29 -0
- package/person/type.js +1 -0
- package/request/api/api/config.d.ts +1 -0
- package/request/api/api/config.js +17 -0
- package/request/api/api/domain.d.ts +2 -0
- package/request/api/api/domain.js +1 -0
- package/request/api/api/index.d.ts +2 -0
- package/request/api/api/index.js +2 -0
- package/request/api/api-route/config.d.ts +9 -0
- package/request/api/api-route/config.js +62 -0
- package/request/api/api-route/index.d.ts +1 -0
- package/request/api/api-route/index.js +1 -0
- package/request/api/index.d.ts +3 -0
- package/request/api/index.js +3 -0
- package/request/api-request/index.d.ts +2 -0
- package/request/api-request/index.js +47 -0
- package/request/api-request/type.d.ts +14 -0
- package/request/api-request/type.js +1 -0
- package/request/index.d.ts +4 -0
- package/request/index.js +4 -0
- package/request/request-query/compose-request-query/index.d.ts +2 -0
- package/request/request-query/compose-request-query/index.js +12 -0
- package/request/request-query/compose-request-query/type.d.ts +1 -0
- package/request/request-query/compose-request-query/type.js +1 -0
- package/request/request-query/index.d.ts +1 -0
- package/request/request-query/index.js +1 -0
- package/request/response/index.d.ts +1 -0
- package/request/response/index.js +1 -0
- package/request/response/response-text/compose-response-text/index.d.ts +2 -0
- package/request/response/response-text/compose-response-text/index.js +2 -0
- package/request/response/response-text/compose-response-text/type.d.ts +2 -0
- package/request/response/response-text/compose-response-text/type.js +1 -0
- package/request/response/response-text/config.d.ts +8 -0
- package/request/response/response-text/config.js +30 -0
- package/request/response/response-text/index.d.ts +2 -0
- package/request/response/response-text/index.js +2 -0
- package/server-data/candle-details/domains.d.ts +6 -0
- package/server-data/candle-details/domains.js +1 -0
- package/server-data/candle-details/index.d.ts +1 -0
- package/server-data/candle-details/index.js +1 -0
- package/server-data/candles/domains.d.ts +6 -0
- package/server-data/candles/domains.js +1 -0
- package/server-data/candles/index.d.ts +1 -0
- package/server-data/candles/index.js +1 -0
- package/server-data/edit-candle/domains.d.ts +5 -0
- package/server-data/edit-candle/domains.js +1 -0
- package/server-data/edit-candle/index.d.ts +1 -0
- package/server-data/edit-candle/index.js +1 -0
- package/server-data/home/domains.d.ts +5 -0
- package/server-data/home/domains.js +1 -0
- package/server-data/home/index.d.ts +1 -0
- package/server-data/home/index.js +1 -0
- package/server-data/index.d.ts +9 -0
- package/server-data/index.js +9 -0
- package/server-data/light-candle/domains.d.ts +5 -0
- package/server-data/light-candle/domains.js +1 -0
- package/server-data/light-candle/index.d.ts +1 -0
- package/server-data/light-candle/index.js +1 -0
- package/server-data/person-candles/domains.d.ts +5 -0
- package/server-data/person-candles/domains.js +1 -0
- package/server-data/person-candles/index.d.ts +1 -0
- package/server-data/person-candles/index.js +1 -0
- package/server-data/person-details/domains.d.ts +6 -0
- package/server-data/person-details/domains.js +1 -0
- package/server-data/person-details/index.d.ts +1 -0
- package/server-data/person-details/index.js +1 -0
- package/server-data/persons/domains.d.ts +5 -0
- package/server-data/persons/domains.js +1 -0
- package/server-data/persons/index.d.ts +1 -0
- package/server-data/persons/index.js +1 -0
- package/server-data/persons-map/domains.d.ts +5 -0
- package/server-data/persons-map/domains.js +1 -0
- package/server-data/persons-map/index.d.ts +1 -0
- package/server-data/persons-map/index.js +1 -0
- package/styles/index.d.ts +1 -0
- package/styles/index.js +1 -0
- package/styles/screen/index.d.ts +2 -0
- package/styles/screen/index.js +2 -0
- package/styles/screen/screen/configs.d.ts +2 -0
- package/styles/screen/screen/configs.js +2 -0
- package/styles/screen/screen/domains.d.ts +3 -0
- package/styles/screen/screen/domains.js +1 -0
- package/styles/screen/screen/index.d.ts +3 -0
- package/styles/screen/screen/index.js +3 -0
- package/styles/screen/screen/utils/get-screen-by-width/index.d.ts +2 -0
- package/styles/screen/screen/utils/get-screen-by-width/index.js +15 -0
- package/styles/screen/screen/utils/get-screen-by-width/type.d.ts +2 -0
- package/styles/screen/screen/utils/get-screen-by-width/type.js +1 -0
- package/styles/screen/screen/utils/index.d.ts +1 -0
- package/styles/screen/screen/utils/index.js +1 -0
- package/styles/screen/screen-width/configs.d.ts +2 -0
- package/styles/screen/screen-width/configs.js +32 -0
- package/styles/screen/screen-width/domains.d.ts +7 -0
- package/styles/screen/screen-width/domains.js +1 -0
- package/styles/screen/screen-width/index.d.ts +3 -0
- package/styles/screen/screen-width/index.js +3 -0
- package/styles/screen/screen-width/utils/compose-screen-widths/index.d.ts +2 -0
- package/styles/screen/screen-width/utils/compose-screen-widths/index.js +14 -0
- package/styles/screen/screen-width/utils/compose-screen-widths/type.d.ts +2 -0
- package/styles/screen/screen-width/utils/compose-screen-widths/type.js +1 -0
- package/styles/screen/screen-width/utils/index.d.ts +1 -0
- package/styles/screen/screen-width/utils/index.js +1 -0
- package/translation/index.d.ts +3 -0
- package/translation/index.js +3 -0
- package/translation/language/configs.d.ts +1 -0
- package/translation/language/configs.js +1 -0
- package/translation/language/defaults.d.ts +2 -0
- package/translation/language/defaults.js +1 -0
- package/translation/language/domains.d.ts +2 -0
- package/translation/language/domains.js +1 -0
- package/translation/language/index.d.ts +5 -0
- package/translation/language/index.js +5 -0
- package/translation/language/type-guards.d.ts +2 -0
- package/translation/language/type-guards.js +2 -0
- package/translation/language/validates/index.d.ts +2 -0
- package/translation/language/validates/index.js +2 -0
- package/translation/language/validates/validate-language/index.d.ts +2 -0
- package/translation/language/validates/validate-language/index.js +3 -0
- package/translation/language/validates/validate-language/type.d.ts +7 -0
- package/translation/language/validates/validate-language/type.js +1 -0
- package/translation/language/validates/validate-page/index.d.ts +2 -0
- package/translation/language/validates/validate-page/index.js +3 -0
- package/translation/language/validates/validate-page/type.d.ts +6 -0
- package/translation/language/validates/validate-page/type.js +1 -0
- package/translation/translation/domains/index.d.ts +7 -0
- package/translation/translation/domains/index.js +1 -0
- package/translation/translation/index.d.ts +1 -0
- package/translation/translation/index.js +1 -0
- package/translation/translation-code/excluded-translation-code/configs.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/configs.js +12 -0
- package/translation/translation-code/excluded-translation-code/domains.d.ts +4 -0
- package/translation/translation-code/excluded-translation-code/domains.js +1 -0
- package/translation/translation-code/excluded-translation-code/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/index.js +2 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/index.js +20 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.d.ts +7 -0
- package/translation/translation-code/excluded-translation-code/utils/compose-excluded-translation-codes/type.js +1 -0
- package/translation/translation-code/excluded-translation-code/utils/index.d.ts +2 -0
- package/translation/translation-code/excluded-translation-code/utils/index.js +2 -0
- package/translation/translation-code/index.d.ts +2 -0
- package/translation/translation-code/index.js +2 -0
- package/translation/translation-code/translation-code/candle/candle-card/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-card/config.js +10 -0
- package/translation/translation-code/translation-code/candle/candle-card/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-card/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/config.js +4 -0
- package/translation/translation-code/translation-code/candle/candle-cards/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-cards/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/config.js +3 -0
- package/translation/translation-code/translation-code/candle/candle-image/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-image/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/config.js +10 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candle-maintenance/index.js +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/config.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/config.js +19 -0
- package/translation/translation-code/translation-code/candle/candles-list/index.d.ts +1 -0
- package/translation/translation-code/translation-code/candle/candles-list/index.js +1 -0
- package/translation/translation-code/translation-code/candle/index.d.ts +5 -0
- package/translation/translation-code/translation-code/candle/index.js +5 -0
- package/translation/translation-code/translation-code/common-page/config.d.ts +1 -0
- package/translation/translation-code/translation-code/common-page/config.js +29 -0
- package/translation/translation-code/translation-code/common-page/index.d.ts +1 -0
- package/translation/translation-code/translation-code/common-page/index.js +1 -0
- package/translation/translation-code/translation-code/configs.d.ts +1 -0
- package/translation/translation-code/translation-code/configs.js +434 -0
- package/translation/translation-code/translation-code/country/country-code/config.d.ts +1 -0
- package/translation/translation-code/translation-code/country/country-code/config.js +250 -0
- package/translation/translation-code/translation-code/country/country-code/index.d.ts +1 -0
- package/translation/translation-code/translation-code/country/country-code/index.js +1 -0
- package/translation/translation-code/translation-code/country/index.d.ts +1 -0
- package/translation/translation-code/translation-code/country/index.js +1 -0
- package/translation/translation-code/translation-code/domains.d.ts +2 -0
- package/translation/translation-code/translation-code/domains.js +1 -0
- package/translation/translation-code/translation-code/index.d.ts +7 -0
- package/translation/translation-code/translation-code/index.js +7 -0
- package/translation/translation-code/translation-code/person/index.d.ts +5 -0
- package/translation/translation-code/translation-code/person/index.js +5 -0
- package/translation/translation-code/translation-code/person/person-card/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-card/config.js +4 -0
- package/translation/translation-code/translation-code/person/person-card/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-card/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-cards/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-cards/config.js +4 -0
- package/translation/translation-code/translation-code/person/person-cards/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-cards/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-image/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-image/config.js +3 -0
- package/translation/translation-code/translation-code/person/person-image/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-image/index.js +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/config.js +28 -0
- package/translation/translation-code/translation-code/person/person-maintenance/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/person-maintenance/index.js +1 -0
- package/translation/translation-code/translation-code/person/persons-list/config.d.ts +1 -0
- package/translation/translation-code/translation-code/person/persons-list/config.js +19 -0
- package/translation/translation-code/translation-code/person/persons-list/index.d.ts +1 -0
- package/translation/translation-code/translation-code/person/persons-list/index.js +1 -0
- package/translation/translation-code/translation-code/time/index.d.ts +1 -0
- package/translation/translation-code/translation-code/time/index.js +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/config.d.ts +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/config.js +3 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/index.d.ts +1 -0
- package/translation/translation-code/translation-code/time/time-abbreviation/index.js +1 -0
- package/type/array/index.d.ts +1 -0
- package/type/array/index.js +1 -0
- package/type/array/validates/index.d.ts +2 -0
- package/type/array/validates/index.js +15 -0
- package/type/array/validates/type.d.ts +2 -0
- package/type/array/validates/type.js +1 -0
- package/type/boolean/index.d.ts +1 -0
- package/type/boolean/index.js +1 -0
- package/type/boolean/type-guard.d.ts +1 -0
- package/type/boolean/type-guard.js +1 -0
- package/type/index.d.ts +5 -0
- package/type/index.js +5 -0
- package/type/number/index.d.ts +1 -0
- package/type/number/index.js +1 -0
- package/type/number/type-guard.d.ts +1 -0
- package/type/number/type-guard.js +1 -0
- package/type/object/index.d.ts +2 -0
- package/type/object/index.js +2 -0
- package/type/object/properties-in-object/index.d.ts +1 -0
- package/type/object/properties-in-object/index.js +1 -0
- package/type/object/properties-in-object/type-guard.d.ts +1 -0
- package/type/object/properties-in-object/type-guard.js +8 -0
- package/type/object/property-in-object/index.d.ts +1 -0
- package/type/object/property-in-object/index.js +1 -0
- package/type/object/property-in-object/type-guard.d.ts +1 -0
- package/type/object/property-in-object/type-guard.js +13 -0
- package/type/readonly/index.d.ts +1 -0
- package/type/readonly/index.js +1 -0
- package/type/readonly/remove-readonly/index.d.ts +5 -0
- package/type/readonly/remove-readonly/index.js +1 -0
- package/type/strict-with-error/domains.d.ts +17 -0
- package/type/strict-with-error/domains.js +1 -0
- package/type/strict-with-error/index.d.ts +1 -0
- package/type/strict-with-error/index.js +1 -0
- package/type/string/index.d.ts +2 -0
- package/type/string/index.js +2 -0
- package/type/string/validate-comma-separated-string/index.d.ts +2 -0
- package/type/string/validate-comma-separated-string/index.js +17 -0
- package/type/string/validate-comma-separated-string/types.d.ts +6 -0
- package/type/string/validate-comma-separated-string/types.js +1 -0
- package/type/string/validate-string/index.d.ts +2 -0
- package/type/string/validate-string/index.js +20 -0
- package/type/string/validate-string/type.d.ts +6 -0
- package/type/string/validate-string/type.js +1 -0
- package/type/type/index.d.ts +2 -0
- package/type/type/index.js +2 -0
- package/type/type/type-guards.d.ts +1 -0
- package/type/type/type-guards.js +6 -0
- package/type/type/utils/index.d.ts +1 -0
- package/type/type/utils/index.js +1 -0
- package/type/type/utils/validate-by-values/index.d.ts +2 -0
- package/type/type/utils/validate-by-values/index.js +20 -0
- package/type/type/utils/validate-by-values/type.d.ts +6 -0
- package/type/type/utils/validate-by-values/type.js +1 -0
- package/type/undefined/index.d.ts +1 -0
- package/type/undefined/index.js +1 -0
- package/type/undefined/type-guard.d.ts +1 -0
- package/type/undefined/type-guard.js +1 -0
- package/validator/index.d.ts +1 -0
- package/validator/index.js +1 -0
- package/validator/validator-regexp/config.d.ts +5 -0
- package/validator/validator-regexp/config.js +5 -0
- package/validator/validator-regexp/index.d.ts +2 -0
- package/validator/validator-regexp/index.js +2 -0
- package/validator/validator-regexp/type.d.ts +2 -0
- package/validator/validator-regexp/type.js +1 -0
- package/environment/environment-variable-name/constants.d.ts +0 -2
- package/environment/environment-variable-name/constants.js +0 -23
- package/environment/environment-variable-name/domains.d.ts +0 -2
- package/environment/environment-variable-name/type-guards.d.ts +0 -2
- package/environment/environment-variable-name/type-guards.js +0 -2
- package/environment/environment-variables/domains.d.ts +0 -23
- /package/{environment/environment-variable-name/domains.js → background-image/domain.js} +0 -0
- /package/{environment/environment-variables/domains.js → candle/burning-candle-state/type.js} +0 -0
- /package/{environment/environment-variables → geographical/country}/index.d.ts +0 -0
- /package/{environment/environment-variables → geographical/country}/index.js +0 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { COUNTRY_CODES, EXCLUDED_TRANSLATION_CODES, isPageMenu, isUndefined } from '../../../../../index.js';
|
|
2
|
+
export const composeExcludedTranslationCodes = (page, options) => {
|
|
3
|
+
let excludedIds = [];
|
|
4
|
+
if (options) {
|
|
5
|
+
const { isAuthenticated, excludeCookieConsent, remainingCountryCodes } = options;
|
|
6
|
+
if (!isUndefined(isAuthenticated)) {
|
|
7
|
+
excludedIds.push(isAuthenticated ? 'login' : 'logout');
|
|
8
|
+
}
|
|
9
|
+
if (excludeCookieConsent) {
|
|
10
|
+
excludedIds = excludedIds.concat(EXCLUDED_TRANSLATION_CODES.cookieConsent);
|
|
11
|
+
}
|
|
12
|
+
if (remainingCountryCodes) {
|
|
13
|
+
excludedIds = excludedIds.concat(COUNTRY_CODES.filter((countryCode) => !remainingCountryCodes.includes(countryCode)).map((countryCode) => `countryCode.${countryCode}`));
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
if (isPageMenu(page)) {
|
|
17
|
+
excludedIds.push(`pageMenu.${page}`);
|
|
18
|
+
}
|
|
19
|
+
return excludedIds;
|
|
20
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CountryCode, Page, TranslationCode } from '../../../../../index.js';
|
|
2
|
+
export type ComposeExcludedTranslationCodes = (page: Page, options?: ExcludedTranslationCodeOptions) => TranslationCode[];
|
|
3
|
+
export type ExcludedTranslationCodeOptions = {
|
|
4
|
+
isAuthenticated?: boolean;
|
|
5
|
+
excludeCookieConsent?: boolean;
|
|
6
|
+
remainingCountryCodes?: CountryCode[];
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLE_CARD_TRANSLATION_CODES: readonly ["imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute"];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TIME_ABBREVIATION_TRANSLATION_CODES } from '../../time/index.js';
|
|
2
|
+
import { CANDLE_IMAGE_TRANSLATION_CODES } from '../candle-image/index.js';
|
|
3
|
+
export const CANDLE_CARD_TRANSLATION_CODES = [
|
|
4
|
+
...CANDLE_IMAGE_TRANSLATION_CODES,
|
|
5
|
+
'burnedOutCandle',
|
|
6
|
+
'burnsSoFar',
|
|
7
|
+
...TIME_ABBREVIATION_TRANSLATION_CODES,
|
|
8
|
+
];
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10
|
+
const CHECK = CANDLE_CARD_TRANSLATION_CODES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLE_CARDS_TRANSLATION_CODES: readonly ["imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLE_IMAGE_TRANSLATION_CODES: readonly ["imageCannotBeLoaded"];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLE_MAINTENANCE_TRANSLATION_CODES: readonly ["auth.candleLitWarning", "reset", "candle.description", "form.error.maxLength", "form.error.required", "litName"];
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export const CANDLE_MAINTENANCE_TRANSLATION_CODES = [
|
|
2
|
+
'auth.candleLitWarning',
|
|
3
|
+
'reset',
|
|
4
|
+
'candle.description',
|
|
5
|
+
'form.error.maxLength',
|
|
6
|
+
'form.error.required',
|
|
7
|
+
'litName',
|
|
8
|
+
];
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
10
|
+
const CHECK = CANDLE_MAINTENANCE_TRANSLATION_CODES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CANDLES_LIST_TRANSLATION_CODES: readonly ["imageCannotBeLoaded", "burnedOutCandle", "burnsSoFar", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "select", "burningEndsAt", "burningStartsAt", "burnedCandles", "burningCandles", "myCandles", "createdAt", "litName", "candles", "candle", "candlesInCount", "reset", "sort"];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { CANDLE_CARDS_TRANSLATION_CODES } from '../candle-cards/index.js';
|
|
2
|
+
export const CANDLES_LIST_TRANSLATION_CODES = [
|
|
3
|
+
...CANDLE_CARDS_TRANSLATION_CODES,
|
|
4
|
+
'select',
|
|
5
|
+
'burningEndsAt',
|
|
6
|
+
'burningStartsAt',
|
|
7
|
+
'burnedCandles',
|
|
8
|
+
'burningCandles',
|
|
9
|
+
'myCandles',
|
|
10
|
+
'createdAt',
|
|
11
|
+
'litName',
|
|
12
|
+
'candles',
|
|
13
|
+
'candle',
|
|
14
|
+
'candlesInCount',
|
|
15
|
+
'reset',
|
|
16
|
+
'sort',
|
|
17
|
+
];
|
|
18
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
19
|
+
const CHECK = CANDLE_CARDS_TRANSLATION_CODES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const COMMON_PAGE_TRANSLATION_CODES: 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"];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export const COMMON_PAGE_TRANSLATION_CODES = [
|
|
2
|
+
'acceptAll',
|
|
3
|
+
'cookie-policy-page',
|
|
4
|
+
'customize',
|
|
5
|
+
'rejectAll',
|
|
6
|
+
'save',
|
|
7
|
+
'cookieConsentForm.description',
|
|
8
|
+
'cookieConsentForm.languageFormDescription',
|
|
9
|
+
'cookieConsentForm.title',
|
|
10
|
+
'author',
|
|
11
|
+
'motto1',
|
|
12
|
+
'motto2',
|
|
13
|
+
'motto3',
|
|
14
|
+
'login',
|
|
15
|
+
'logout',
|
|
16
|
+
'english',
|
|
17
|
+
'hungarian',
|
|
18
|
+
'pageMenu.add-person-page',
|
|
19
|
+
'pageMenu.candles-page',
|
|
20
|
+
'pageMenu.contact-page',
|
|
21
|
+
'pageMenu.cookie-policy-page',
|
|
22
|
+
'pageMenu.help-page',
|
|
23
|
+
'pageMenu.persons-page',
|
|
24
|
+
'pageMenu.persons-map-page',
|
|
25
|
+
'pageMenu.terms-and-conditions-page',
|
|
26
|
+
'shareOnFacebook',
|
|
27
|
+
];
|
|
28
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
29
|
+
const CHECK = COMMON_PAGE_TRANSLATION_CODES;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './config.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TRANSLATION_CODES: readonly ["acceptAll", "add-person-page", "add-person-page.maintenance.submitError", "add-person-page.maintenance.submitSuccess", "auth.cannotBeChangedLaterWarning", "auth.candleLitWarning", "auth.loginRequired", "author", "burnedCandles", "burnedOutCandle", "burningCandles", "burningEndsAt", "burningStartsAt", "burnsSoFar", "cancel", "candle-details-page", "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", "candle", "candlesInCount", "candles", "candles-page", "candle.description", "caseSensitive", "contact-page", "contact-page.infoTitle", "contact-page.sendMessage.submitError", "contact-page.sendMessage.submitSuccess", "contact-page.sendMessageTitle", "cookieConsentForm.title", "cookieConsentForm.description", "cookieConsentForm.languageFormDescription", "cookie-policy-page", "count", "createdAt", "customize", "dropZone.acceptedFormats", "dropZone.drapActive", "dropZone.dropZone", "dropZone.sizeLimit", "edit-candle-page", "edit-candle-page.maintenance.submitError", "edit-candle-page.maintenance.submitSuccess", "edit-person-page", "edit-person-page.maintenance.submitError", "edit-person-page.maintenance.submitSuccess", "email", "english", "errorLoadingData", "facebook", "help-page.addPersonRule1", "help-page.addPersonRule2", "help-page.addPersonRule3", "help-page.addPersonRule4", "help-page.addPersonTitle", "help-page.candlesParagraph1", "help-page.candlesParagraph2", "help-page.candlesParagraph3", "help-page.intro", "help-page.lightACandleRule1", "help-page.lightACandleRule2", "help-page.lightACandleTitle", "help-page.personsParagraph", "help-page", "home-page", "home-page.proposal", "home-page.lastLitCandles", "home-page.lastUploadedPersons", "home-page.quickCandleLighting.placeOfTheCandle.placehodler", "home-page.quickCandleLighting", "home-page.statistics", "home-page.welcome.description1", "home-page.welcome.description2", "home-page.welcome", "hungarian", "form.error.date", "form.error.email", "form.error.invalid", "form.error.maxLength", "form.error.message", "form.error.required", "image", "invalidImage", "noMoreImages", "tooBigImage", "imageCannotBeLoaded", "imageClickToSeeOriginal", "imageNotSet", "lightACandle", "light-candle-page", "light-candle-page.maintenance.submitError", "light-candle-page.maintenance.submitSuccess", "lightTheCandle", "litName", "loading", "login", "loginPage.login.submitError", "loginPage.login.showPassword", "logout", "map", "message", "modify", "more", "motto1", "motto2", "motto3", "myCandles", "myPersons", "name", "ok", "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", "password", "person", "person.birthDate", "person.birthPlaceCountry", "person.deathDate", "person.description", "person.name", "person-candles-page", "person-candles-page.addCandle.description", "person-details-page", "person-details-page.deletePerson.submitError", "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", "persons-page", "persons", "personsInCount", "persons-page.addPerson.description", "persons-page.personsList.hasImage", "persons-page.personsList", "persons-map-page.map.description", "persons-map-page", "proposable", "redirecting", "rejectAll", "reset", "save", "savedSuccessfully", "select", "send", "shareOnFacebook", "sort", "subject", "timeAbbreviationDay", "timeAbbreviationHour", "timeAbbreviationMinute", "terms-and-conditions-page.applicableLawParagraph", "terms-and-conditions-page.applicableLawTitle", "terms-and-conditions-page.conditionsOfUseParagraph", "terms-and-conditions-page.conditionsOfUseTitle", "terms-and-conditions-page.disputesParagraph", "terms-and-conditions-page.disputesTitle", "terms-and-conditions-page.intellectualPropertyParagraph", "terms-and-conditions-page.intellectualPropertyTitle", "terms-and-conditions-page.intro", "terms-and-conditions-page.limitationAndLiabilityParagraph", "terms-and-conditions-page.limitationAndLiabilityTitle", "terms-and-conditions-page", "terms-and-conditions-page.userAccountsParagraph", "terms-and-conditions-page.userAccountsTitle", "username", "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"];
|