@candlerip/shared3 0.0.100 → 0.0.101
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/src/dictionary/dictionary/config.js +1 -1
- package/src/dictionary/translation-id/index.d.ts +5 -0
- package/src/dictionary/translation-id/index.js +5 -0
- package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.d.ts +0 -1
- package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.js +0 -1
- package/src/error/custom-error/console-custom-error/index.d.ts +2 -1
- package/src/error/custom-error/console-custom-error/index.js +10 -1
- package/src/helper/promise-all/index.d.ts +12 -1
- package/src/helper/promise-all/index.js +24 -1
- package/src/index.d.ts +1 -12
- package/src/index.js +1 -12
- package/src/page/index.d.ts +3 -2
- package/src/page/index.js +3 -2
- package/src/type/index.d.ts +1 -1
- package/src/type/index.js +1 -1
- package/src/type/null/index.d.ts +1 -0
- package/src/type/null/index.js +1 -0
- package/src/type/object/index.d.ts +3 -2
- package/src/type/object/index.js +3 -2
- package/src/type/object/properties-in-object/index.d.ts +1 -0
- package/src/type/object/properties-in-object/index.js +1 -0
- package/src/type/object/{is-object/properties-in-object/index.js → properties-in-object/type-guard.js} +2 -2
- package/src/type/object/property-in-object/index.d.ts +1 -0
- package/src/type/object/property-in-object/index.js +1 -0
- package/src/type/object/{is-object/property-in-object/index.js → property-in-object/type-guard.js} +1 -1
- package/src/type/object/{is-object/object/index.js → type-guard.js} +2 -2
- package/src/type/string/comma-separated/index.d.ts +1 -0
- package/src/type/string/comma-separated/index.js +1 -0
- package/src/type/string/index.d.ts +1 -1
- package/src/type/string/index.js +1 -1
- package/src/auth/index.d.ts +0 -1
- package/src/auth/index.js +0 -1
- package/src/auth/type.d.ts +0 -8
- package/src/aws/aws-region/config.d.ts +0 -1
- package/src/aws/aws-region/config.js +0 -1
- package/src/aws/aws-region/default.d.ts +0 -2
- package/src/aws/aws-region/default.js +0 -1
- package/src/aws/aws-region/index.d.ts +0 -3
- package/src/aws/aws-region/index.js +0 -3
- package/src/aws/aws-region/type.d.ts +0 -2
- package/src/aws/aws-region/type.js +0 -1
- package/src/aws/index.d.ts +0 -1
- package/src/aws/index.js +0 -1
- package/src/candle/burning-candle-state/config.d.ts +0 -1
- package/src/candle/burning-candle-state/config.js +0 -1
- package/src/candle/burning-candle-state/index.d.ts +0 -3
- package/src/candle/burning-candle-state/index.js +0 -3
- package/src/candle/burning-candle-state/type-guard.d.ts +0 -2
- package/src/candle/burning-candle-state/type-guard.js +0 -4
- package/src/candle/burning-candle-state/type.d.ts +0 -2
- package/src/candle/burning-candle-state/type.js +0 -1
- package/src/candle/candle-ext-person/index.d.ts +0 -1
- package/src/candle/candle-ext-person/index.js +0 -1
- package/src/candle/candle-ext-person/type.d.ts +0 -4
- package/src/candle/candle-ext-person/type.js +0 -1
- package/src/candle/candles-count/index.d.ts +0 -1
- package/src/candle/candles-count/index.js +0 -1
- package/src/candle/candles-count/type.d.ts +0 -6
- package/src/candle/candles-count/type.js +0 -1
- package/src/candle/has-candle-permission/index.d.ts +0 -1
- package/src/candle/has-candle-permission/index.js +0 -1
- package/src/candle/has-candle-permission/type.d.ts +0 -4
- package/src/candle/has-candle-permission/type.js +0 -1
- package/src/candle/has-candle-permission/util.d.ts +0 -2
- package/src/candle/has-candle-permission/util.js +0 -13
- package/src/candle/index.d.ts +0 -4
- package/src/candle/index.js +0 -4
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/index.d.ts +0 -1
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/index.js +0 -1
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/type.d.ts +0 -2
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/type.js +0 -1
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/util.d.ts +0 -2
- package/src/cookie/consent/cookie-consent/compose-cookie-consent/util.js +0 -5
- package/src/cookie/consent/cookie-consent/config.d.ts +0 -3
- package/src/cookie/consent/cookie-consent/config.js +0 -3
- package/src/cookie/consent/cookie-consent/default.d.ts +0 -2
- package/src/cookie/consent/cookie-consent/default.js +0 -3
- package/src/cookie/consent/cookie-consent/index.d.ts +0 -4
- package/src/cookie/consent/cookie-consent/index.js +0 -4
- package/src/cookie/consent/cookie-consent/type.d.ts +0 -9
- package/src/cookie/consent/cookie-consent/type.js +0 -1
- package/src/cookie/consent/cookie-consent-key/config.d.ts +0 -2
- package/src/cookie/consent/cookie-consent-key/config.js +0 -2
- package/src/cookie/consent/cookie-consent-key/index.d.ts +0 -2
- package/src/cookie/consent/cookie-consent-key/index.js +0 -2
- package/src/cookie/consent/cookie-consent-key/type.d.ts +0 -2
- package/src/cookie/consent/cookie-consent-key/type.js +0 -1
- package/src/cookie/consent/index.d.ts +0 -2
- package/src/cookie/consent/index.js +0 -2
- package/src/cookie/index.d.ts +0 -1
- package/src/cookie/index.js +0 -1
- package/src/database/index.d.ts +0 -1
- package/src/database/index.js +0 -1
- package/src/database/model/candle/index.d.ts +0 -1
- package/src/database/model/candle/index.js +0 -1
- package/src/database/model/candle/type.d.ts +0 -11
- package/src/database/model/candle/type.js +0 -1
- package/src/database/model/contact/index.d.ts +0 -1
- package/src/database/model/contact/index.js +0 -1
- package/src/database/model/contact/type.d.ts +0 -9
- package/src/database/model/contact/type.js +0 -1
- package/src/database/model/country/index.d.ts +0 -1
- package/src/database/model/country/index.js +0 -1
- package/src/database/model/country/type.d.ts +0 -13
- package/src/database/model/country/type.js +0 -1
- package/src/database/model/error-log/index.d.ts +0 -1
- package/src/database/model/error-log/index.js +0 -1
- package/src/database/model/error-log/type.d.ts +0 -7
- package/src/database/model/error-log/type.js +0 -1
- package/src/database/model/index.d.ts +0 -6
- package/src/database/model/index.js +0 -6
- package/src/database/model/person/index.d.ts +0 -2
- package/src/database/model/person/index.js +0 -2
- package/src/database/model/person/person-image/index.d.ts +0 -1
- package/src/database/model/person/person-image/index.js +0 -1
- package/src/database/model/person/person-image/type.d.ts +0 -10
- package/src/database/model/person/person-image/type.js +0 -1
- package/src/database/model/person/type.d.ts +0 -21
- package/src/database/model/person/type.js +0 -1
- package/src/database/model/translation/index.d.ts +0 -1
- package/src/database/model/translation/index.js +0 -1
- package/src/database/model/translation/type.d.ts +0 -7
- package/src/database/model/translation/type.js +0 -1
- package/src/date/index.d.ts +0 -1
- package/src/date/index.js +0 -1
- package/src/date/minutes/config.d.ts +0 -8
- package/src/date/minutes/config.js +0 -9
- package/src/dictionary/translation-ids/index.d.ts +0 -5
- package/src/dictionary/translation-ids/index.js +0 -5
- package/src/dictionary/translation-ids/page-translation-ids/candles-page-translation-ids/config.d.ts +0 -1
- package/src/dictionary/translation-ids/page-translation-ids/candles-page-translation-ids/config.js +0 -4
- package/src/dictionary/translation-ids/person/persons-list/index.d.ts +0 -1
- package/src/dictionary/translation-ids/person/persons-list/index.js +0 -1
- package/src/dictionary/translation-ids/time/time-abbreviation/index.d.ts +0 -1
- package/src/dictionary/translation-ids/time/time-abbreviation/index.js +0 -1
- package/src/error/custom-error/console-custom-error/util.d.ts +0 -2
- package/src/error/custom-error/console-custom-error/util.js +0 -10
- package/src/filter-sort/filter-sort/candle-filter-sort/domains/index.d.ts +0 -12
- package/src/filter-sort/filter-sort/candle-filter-sort/domains/index.js +0 -1
- package/src/filter-sort/filter-sort/candle-filter-sort/index.d.ts +0 -1
- package/src/filter-sort/filter-sort/candle-filter-sort/index.js +0 -1
- package/src/filter-sort/filter-sort/index.d.ts +0 -2
- package/src/filter-sort/filter-sort/index.js +0 -2
- package/src/filter-sort/filter-sort/person-filter-sort/domains/index.d.ts +0 -14
- package/src/filter-sort/filter-sort/person-filter-sort/domains/index.js +0 -1
- package/src/filter-sort/filter-sort/person-filter-sort/index.d.ts +0 -1
- package/src/filter-sort/filter-sort/person-filter-sort/index.js +0 -1
- package/src/filter-sort/index.d.ts +0 -4
- package/src/filter-sort/index.js +0 -4
- package/src/filter-sort/sort/domains/index.d.ts +0 -5
- package/src/filter-sort/sort/domains/index.js +0 -1
- package/src/filter-sort/sort/index.d.ts +0 -1
- package/src/filter-sort/sort/index.js +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/configs/index.d.ts +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/configs/index.js +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/domains/index.d.ts +0 -2
- package/src/filter-sort/sort-name/candle-sort-name/domains/index.js +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/index.d.ts +0 -3
- package/src/filter-sort/sort-name/candle-sort-name/index.js +0 -3
- package/src/filter-sort/sort-name/candle-sort-name/type-guards/index.d.ts +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/type-guards/index.js +0 -1
- package/src/filter-sort/sort-name/candle-sort-name/type-guards/is-candle-sort-name/index.d.ts +0 -2
- package/src/filter-sort/sort-name/candle-sort-name/type-guards/is-candle-sort-name/index.js +0 -4
- package/src/filter-sort/sort-name/index.d.ts +0 -2
- package/src/filter-sort/sort-name/index.js +0 -2
- package/src/filter-sort/sort-name/person-sort-name/configs/index.d.ts +0 -1
- package/src/filter-sort/sort-name/person-sort-name/configs/index.js +0 -1
- package/src/filter-sort/sort-name/person-sort-name/domains/index.d.ts +0 -2
- package/src/filter-sort/sort-name/person-sort-name/domains/index.js +0 -1
- package/src/filter-sort/sort-name/person-sort-name/index.d.ts +0 -3
- package/src/filter-sort/sort-name/person-sort-name/index.js +0 -3
- package/src/filter-sort/sort-name/person-sort-name/type-guards/index.d.ts +0 -1
- package/src/filter-sort/sort-name/person-sort-name/type-guards/index.js +0 -1
- package/src/filter-sort/sort-name/person-sort-name/type-guards/is-person-sort-name/index.d.ts +0 -2
- package/src/filter-sort/sort-name/person-sort-name/type-guards/is-person-sort-name/index.js +0 -4
- package/src/filter-sort/sort-order/configs/index.d.ts +0 -1
- package/src/filter-sort/sort-order/configs/index.js +0 -1
- package/src/filter-sort/sort-order/domains/index.d.ts +0 -2
- package/src/filter-sort/sort-order/domains/index.js +0 -1
- package/src/filter-sort/sort-order/index.d.ts +0 -3
- package/src/filter-sort/sort-order/index.js +0 -3
- package/src/filter-sort/sort-order/type-guards/index.d.ts +0 -1
- package/src/filter-sort/sort-order/type-guards/index.js +0 -1
- package/src/filter-sort/sort-order/type-guards/is-sort-order/index.d.ts +0 -2
- package/src/filter-sort/sort-order/type-guards/is-sort-order/index.js +0 -4
- package/src/geographical/county-code/config.d.ts +0 -1
- package/src/geographical/county-code/config.js +0 -248
- package/src/geographical/county-code/index.d.ts +0 -3
- package/src/geographical/county-code/index.js +0 -3
- package/src/geographical/county-code/type-guard.d.ts +0 -2
- package/src/geographical/county-code/type-guard.js +0 -4
- package/src/geographical/county-code/type.d.ts +0 -2
- package/src/geographical/county-code/type.js +0 -1
- package/src/geographical/index.d.ts +0 -1
- package/src/geographical/index.js +0 -1
- package/src/helper/promise-all/util.d.ts +0 -12
- package/src/helper/promise-all/util.js +0 -24
- package/src/image/convert-base-64-image/index.d.ts +0 -1
- package/src/image/convert-base-64-image/index.js +0 -1
- package/src/image/convert-base-64-image/type.d.ts +0 -1
- package/src/image/convert-base-64-image/type.js +0 -1
- package/src/image/convert-base-64-image/util.d.ts +0 -2
- package/src/image/convert-base-64-image/util.js +0 -1
- package/src/image/image/index.d.ts +0 -1
- package/src/image/image/index.js +0 -1
- package/src/image/image/type.d.ts +0 -5
- package/src/image/image/type.js +0 -1
- package/src/image/image-dimension/index.d.ts +0 -1
- package/src/image/image-dimension/index.js +0 -1
- package/src/image/image-dimension/type.d.ts +0 -5
- package/src/image/image-dimension/type.js +0 -1
- package/src/image/index.d.ts +0 -3
- package/src/image/index.js +0 -3
- package/src/page/page/index.d.ts +0 -3
- package/src/page/page/index.js +0 -3
- package/src/page/page/type.js +0 -1
- package/src/page/page-data/candle-details/index.d.ts +0 -1
- package/src/page/page-data/candle-details/index.js +0 -1
- package/src/page/page-data/candle-details/type.d.ts +0 -6
- package/src/page/page-data/candle-details/type.js +0 -1
- package/src/page/page-data/candles-page-data.type.d.ts +0 -7
- package/src/page/page-data/candles-page-data.type.js +0 -1
- package/src/page/page-data/edit-candle/index.d.ts +0 -1
- package/src/page/page-data/edit-candle/index.js +0 -1
- package/src/page/page-data/edit-candle/type.d.ts +0 -8
- package/src/page/page-data/edit-candle/type.js +0 -1
- package/src/page/page-data/index.d.ts +0 -4
- package/src/page/page-data/index.js +0 -4
- package/src/page/page-data/light-candle/index.d.ts +0 -1
- package/src/page/page-data/light-candle/index.js +0 -1
- package/src/page/page-data/light-candle/type.d.ts +0 -6
- package/src/page/page-data/light-candle/type.js +0 -1
- package/src/person/birth-place-country/index.d.ts +0 -1
- package/src/person/birth-place-country/index.js +0 -1
- package/src/person/birth-place-country/type.d.ts +0 -4
- package/src/person/birth-place-country/type.js +0 -1
- package/src/person/index.d.ts +0 -3
- package/src/person/index.js +0 -3
- package/src/person/person-image/index.d.ts +0 -2
- package/src/person/person-image/index.js +0 -2
- package/src/person/person-image/person-image-file-name/config.d.ts +0 -1
- package/src/person/person-image/person-image-file-name/config.js +0 -2
- package/src/person/person-image/person-image-file-name/index.d.ts +0 -2
- package/src/person/person-image/person-image-file-name/index.js +0 -2
- package/src/person/person-image/person-image-file-name/type.d.ts +0 -2
- package/src/person/person-image/person-image-file-name/type.js +0 -1
- package/src/person/person-image/person-image-width/config.d.ts +0 -1
- package/src/person/person-image/person-image-width/config.js +0 -1
- package/src/person/person-image/person-image-width/index.d.ts +0 -2
- package/src/person/person-image/person-image-width/index.js +0 -2
- package/src/person/person-image/person-image-width/type.d.ts +0 -2
- package/src/person/person-image/person-image-width/type.js +0 -1
- package/src/person/persons-count/index.d.ts +0 -1
- package/src/person/persons-count/index.js +0 -1
- package/src/person/persons-count/type.d.ts +0 -3
- package/src/person/persons-count/type.js +0 -1
- package/src/ssr/index.d.ts +0 -1
- package/src/ssr/index.js +0 -1
- package/src/ssr/server-side-props/candle-details-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/candle-details-page/index.js +0 -1
- package/src/ssr/server-side-props/candle-details-page/type.d.ts +0 -11
- package/src/ssr/server-side-props/candle-details-page/type.js +0 -1
- package/src/ssr/server-side-props/candles-page-server-side-props.type.d.ts +0 -13
- package/src/ssr/server-side-props/candles-page-server-side-props.type.js +0 -1
- package/src/ssr/server-side-props/contact-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/contact-page/index.js +0 -1
- package/src/ssr/server-side-props/contact-page/type.d.ts +0 -9
- package/src/ssr/server-side-props/contact-page/type.js +0 -1
- package/src/ssr/server-side-props/cookie-policy-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/cookie-policy-page/index.js +0 -1
- package/src/ssr/server-side-props/cookie-policy-page/type.d.ts +0 -9
- package/src/ssr/server-side-props/cookie-policy-page/type.js +0 -1
- package/src/ssr/server-side-props/edit-candle-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/edit-candle-page/index.js +0 -1
- package/src/ssr/server-side-props/edit-candle-page/type.d.ts +0 -11
- package/src/ssr/server-side-props/edit-candle-page/type.js +0 -1
- package/src/ssr/server-side-props/help-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/help-page/index.js +0 -1
- package/src/ssr/server-side-props/help-page/type.d.ts +0 -9
- package/src/ssr/server-side-props/help-page/type.js +0 -1
- package/src/ssr/server-side-props/index.d.ts +0 -9
- package/src/ssr/server-side-props/index.js +0 -9
- package/src/ssr/server-side-props/light-candle-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/light-candle-page/index.js +0 -1
- package/src/ssr/server-side-props/light-candle-page/type.d.ts +0 -11
- package/src/ssr/server-side-props/light-candle-page/type.js +0 -1
- package/src/ssr/server-side-props/terms-and-conditions-page/index.d.ts +0 -1
- package/src/ssr/server-side-props/terms-and-conditions-page/index.js +0 -1
- package/src/ssr/server-side-props/terms-and-conditions-page/type.d.ts +0 -9
- package/src/ssr/server-side-props/terms-and-conditions-page/type.js +0 -1
- package/src/ssr/server-side-props/type.d.ts +0 -9
- package/src/ssr/server-side-props/type.js +0 -1
- package/src/type/object/add-prefix-to-object-props/index.d.ts +0 -1
- package/src/type/object/add-prefix-to-object-props/index.js +0 -1
- package/src/type/object/add-prefix-to-object-props/type.d.ts +0 -1
- package/src/type/object/add-prefix-to-object-props/type.js +0 -1
- package/src/type/object/add-prefix-to-object-props/util.d.ts +0 -2
- package/src/type/object/add-prefix-to-object-props/util.js +0 -1
- package/src/type/object/is-object/index.d.ts +0 -3
- package/src/type/object/is-object/index.js +0 -3
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-card/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-card/config.js +0 -0
- /package/src/{date/minutes → dictionary/translation-id/candle/candle-card}/index.d.ts +0 -0
- /package/src/{date/minutes → dictionary/translation-id/candle/candle-card}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-cards/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-cards/config.js +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-card → translation-id/candle/candle-cards}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-card → translation-id/candle/candle-cards}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-image/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-image/config.js +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-cards → translation-id/candle/candle-image}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-cards → translation-id/candle/candle-image}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-maintenance/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candle-maintenance/config.js +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-image → translation-id/candle/candle-maintenance}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-image → translation-id/candle/candle-maintenance}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candles-list/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/candles-list/config.js +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-maintenance → translation-id/candle/candles-list}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/candle/candle-maintenance → translation-id/candle/candles-list}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/candle/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/common-page/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/common-page/config.js +0 -0
- /package/src/dictionary/{translation-ids/candle/candles-list → translation-id/common-page}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/candle/candles-list → translation-id/common-page}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/add-person-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/add-person-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/common-page → translation-id/page/add-person-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/common-page → translation-id/page/add-person-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/edit-person-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/edit-person-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/add-person-page-translation-ids → translation-id/page/edit-person-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/add-person-page-translation-ids → translation-id/page/edit-person-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-candles-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-candles-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/candles-page-translation-ids → translation-id/page/person-candles-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/candles-page-translation-ids → translation-id/page/person-candles-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-details-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/person-details-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/edit-person-page-translation-ids → translation-id/page/person-details-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/edit-person-page-translation-ids → translation-id/page/person-details-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-map-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-map-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/person-candles-page-translation-ids → translation-id/page/persons-map-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/person-candles-page-translation-ids → translation-id/page/persons-map-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-page-translation-ids/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/persons-page-translation-ids/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/person-details-page-translation-ids → translation-id/page/persons-page-translation-ids}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/person-details-page-translation-ids → translation-id/page/persons-page-translation-ids}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-card/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-card/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/persons-map-page-translation-ids → translation-id/person/person-card}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/persons-map-page-translation-ids → translation-id/person/person-card}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-cards/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-cards/config.js +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/persons-page-translation-ids → translation-id/person/person-cards}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/page-translation-ids/persons-page-translation-ids → translation-id/person/person-cards}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-image/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-image/config.js +0 -0
- /package/src/dictionary/{translation-ids/person/person-card → translation-id/person/person-image}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/person/person-card → translation-id/person/person-image}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-maintenance/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/person-maintenance/config.js +0 -0
- /package/src/dictionary/{translation-ids/person/person-cards → translation-id/person/person-maintenance}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/person/person-cards → translation-id/person/person-maintenance}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/persons-list/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/person/persons-list/config.js +0 -0
- /package/src/dictionary/{translation-ids/person/person-image → translation-id/person/persons-list}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/person/person-image → translation-id/person/persons-list}/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/time/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/time/index.js +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/time/time-abbreviation/config.d.ts +0 -0
- /package/src/dictionary/{translation-ids → translation-id}/time/time-abbreviation/config.js +0 -0
- /package/src/dictionary/{translation-ids/person/person-maintenance → translation-id/time/time-abbreviation}/index.d.ts +0 -0
- /package/src/dictionary/{translation-ids/person/person-maintenance → translation-id/time/time-abbreviation}/index.js +0 -0
- /package/src/page/{page/config.d.ts → config.d.ts} +0 -0
- /package/src/page/{page/config.js → config.js} +0 -0
- /package/src/page/{page/type-guard.d.ts → type-guard.d.ts} +0 -0
- /package/src/page/{page/type-guard.js → type-guard.js} +0 -0
- /package/src/page/{page/type.d.ts → type.d.ts} +0 -0
- /package/src/{auth → page}/type.js +0 -0
- /package/src/type/{is-null/index.d.ts → null/type-guard.d.ts} +0 -0
- /package/src/type/{is-null/index.js → null/type-guard.js} +0 -0
- /package/src/type/object/{is-object/properties-in-object/index.d.ts → properties-in-object/type-guard.d.ts} +0 -0
- /package/src/type/object/{is-object/property-in-object/index.d.ts → property-in-object/type-guard.d.ts} +0 -0
- /package/src/type/object/{is-object/object/index.d.ts → type-guard.d.ts} +0 -0
- /package/src/type/string/{validate-comma-separated-string → comma-separated}/types.d.ts +0 -0
- /package/src/type/string/{validate-comma-separated-string → comma-separated}/types.js +0 -0
- /package/src/type/string/{validate-comma-separated-string/index.d.ts → comma-separated/validate.d.ts} +0 -0
- /package/src/type/string/{validate-comma-separated-string/index.js → comma-separated/validate.js} +0 -0
package/package.json
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, CANDLES_LIST_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-
|
1
|
+
import { CANDLE_CARDS_TRANSLATION_IDS, CANDLE_IMAGE_TRANSLATION_IDS, CANDLE_MAINTENANCE_TRANSLATION_IDS, CANDLES_LIST_TRANSLATION_IDS, COMMON_PAGE_TRANSLATION_IDS, PERSON_CARDS_TRANSLATION_IDS, PERSON_IMAGE_TRANSLATION_IDS, } from '../translation-id/index.js';
|
2
2
|
export const DICTIONARY_CONFIG = {
|
3
3
|
'candle-details-page': {
|
4
4
|
translationIds: [
|
package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.d.ts
RENAMED
@@ -1,5 +1,4 @@
|
|
1
1
|
export * from './add-person-page-translation-ids/index.js';
|
2
|
-
export * from './candles-page-translation-ids/index.js';
|
3
2
|
export * from './edit-person-page-translation-ids/index.js';
|
4
3
|
export * from './person-candles-page-translation-ids/index.js';
|
5
4
|
export * from './person-details-page-translation-ids/index.js';
|
package/src/dictionary/{translation-ids/page-translation-ids → translation-id/page}/index.js
RENAMED
@@ -1,5 +1,4 @@
|
|
1
1
|
export * from './add-person-page-translation-ids/index.js';
|
2
|
-
export * from './candles-page-translation-ids/index.js';
|
3
2
|
export * from './edit-person-page-translation-ids/index.js';
|
4
3
|
export * from './person-candles-page-translation-ids/index.js';
|
5
4
|
export * from './person-details-page-translation-ids/index.js';
|
@@ -1 +1,2 @@
|
|
1
|
-
|
1
|
+
import { CustomError } from '../type.js';
|
2
|
+
export declare const consoleCustomError: (customError: CustomError) => void;
|
@@ -1 +1,10 @@
|
|
1
|
-
export
|
1
|
+
export const consoleCustomError = (customError) => {
|
2
|
+
console.error('***ERROR***:', customError.message);
|
3
|
+
console.error('ID:', customError.id);
|
4
|
+
if (customError.projectName) {
|
5
|
+
console.error('PROJECT_NAME:', customError.projectName);
|
6
|
+
}
|
7
|
+
if (customError.info) {
|
8
|
+
console.error('INFO:', customError.info);
|
9
|
+
}
|
10
|
+
};
|
@@ -1 +1,12 @@
|
|
1
|
-
|
1
|
+
import { CustomError } from '../../error/index.js';
|
2
|
+
export declare const promiseAll: <T>(promises: Promise<{
|
3
|
+
customError: CustomError;
|
4
|
+
} | {
|
5
|
+
data: unknown;
|
6
|
+
}>[], keys?: string[]) => Promise<{
|
7
|
+
customErrors: {
|
8
|
+
customError: CustomError;
|
9
|
+
}[];
|
10
|
+
} | {
|
11
|
+
data: T;
|
12
|
+
}>;
|
@@ -1 +1,24 @@
|
|
1
|
-
export
|
1
|
+
export const promiseAll = async (promises, keys) => {
|
2
|
+
const resp = await Promise.all(promises);
|
3
|
+
const customErrors = resp.filter((it) => 'customError' in it);
|
4
|
+
const values = resp.filter((it) => 'data' in it).map((it) => it.data);
|
5
|
+
if (customErrors.length > 0) {
|
6
|
+
return { customErrors };
|
7
|
+
}
|
8
|
+
if (!keys) {
|
9
|
+
let data = {};
|
10
|
+
values.forEach((it) => {
|
11
|
+
data = Object.assign(data, it);
|
12
|
+
});
|
13
|
+
return {
|
14
|
+
data: data,
|
15
|
+
};
|
16
|
+
}
|
17
|
+
const data = {};
|
18
|
+
values.forEach((it, i) => {
|
19
|
+
data[keys[i]] = it;
|
20
|
+
});
|
21
|
+
return {
|
22
|
+
data: data,
|
23
|
+
};
|
24
|
+
};
|
package/src/index.d.ts
CHANGED
@@ -1,18 +1,7 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './auth/index.js';
|
3
|
-
export * from './candle/index.js';
|
4
|
-
export * from './cookie/index.js';
|
5
|
-
export * from './database/index.js';
|
6
|
-
export * from './date/index.js';
|
1
|
+
export * from './dictionary/index.js';
|
7
2
|
export * from './environment/index.js';
|
8
3
|
export * from './error/index.js';
|
9
|
-
export * from './filter-sort/index.js';
|
10
|
-
export * from './geographical/index.js';
|
11
4
|
export * from './helper/index.js';
|
12
|
-
export * from './image/index.js';
|
13
5
|
export * from './page/index.js';
|
14
|
-
export * from './person/index.js';
|
15
6
|
export * from './project/index.js';
|
16
|
-
export * from './ssr/index.js';
|
17
|
-
export * from './dictionary/index.js';
|
18
7
|
export * from './type/index.js';
|
package/src/index.js
CHANGED
@@ -1,18 +1,7 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './auth/index.js';
|
3
|
-
export * from './candle/index.js';
|
4
|
-
export * from './cookie/index.js';
|
5
|
-
export * from './database/index.js';
|
6
|
-
export * from './date/index.js';
|
1
|
+
export * from './dictionary/index.js';
|
7
2
|
export * from './environment/index.js';
|
8
3
|
export * from './error/index.js';
|
9
|
-
export * from './filter-sort/index.js';
|
10
|
-
export * from './geographical/index.js';
|
11
4
|
export * from './helper/index.js';
|
12
|
-
export * from './image/index.js';
|
13
5
|
export * from './page/index.js';
|
14
|
-
export * from './person/index.js';
|
15
6
|
export * from './project/index.js';
|
16
|
-
export * from './ssr/index.js';
|
17
|
-
export * from './dictionary/index.js';
|
18
7
|
export * from './type/index.js';
|
package/src/page/index.d.ts
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './config.js';
|
2
|
+
export * from './type.js';
|
3
|
+
export * from './type-guard.js';
|
package/src/page/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './config.js';
|
2
|
+
export * from './type.js';
|
3
|
+
export * from './type-guard.js';
|
package/src/type/index.d.ts
CHANGED
package/src/type/index.js
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -1,2 +1,3 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './properties-in-object/index.js';
|
2
|
+
export * from './property-in-object/index.js';
|
3
|
+
export * from './type-guard.js';
|
package/src/type/object/index.js
CHANGED
@@ -1,2 +1,3 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
1
|
+
export * from './properties-in-object/index.js';
|
2
|
+
export * from './property-in-object/index.js';
|
3
|
+
export * from './type-guard.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isObject } from '../
|
2
|
-
import { isPropertyInObject } from '../property-in-object/
|
1
|
+
import { isObject } from '../type-guard.js';
|
2
|
+
import { isPropertyInObject } from '../property-in-object/type-guard.js';
|
3
3
|
export const isPropertiesInObject = (props, data, typeGuard) => {
|
4
4
|
if (!isObject(data)) {
|
5
5
|
return false;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './type-guard.js';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { isArray } from '
|
2
|
-
import { isNull } from '
|
1
|
+
import { isArray } from '../array/index.js';
|
2
|
+
import { isNull } from '../null/index.js';
|
3
3
|
export const isObject = (data) => {
|
4
4
|
if (typeof data !== 'object') {
|
5
5
|
return false;
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './validate.js';
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './validate.js';
|
package/src/type/string/index.js
CHANGED
package/src/auth/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
package/src/auth/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
package/src/auth/type.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export declare const AWS_REGIONS: readonly ["eu-central-1", "us-east-1"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const AWS_REGIONS = ['eu-central-1', 'us-east-1'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const DEFAULT_AWS_REGION = 'eu-central-1';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
package/src/aws/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './aws-region/index.js';
|
package/src/aws/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './aws-region/index.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare const BURNING_CANDLE_STATES: readonly ["burning", "burned"];
|
@@ -1 +0,0 @@
|
|
1
|
-
export const BURNING_CANDLE_STATES = ['burning', 'burned'];
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './util.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './util.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,13 +0,0 @@
|
|
1
|
-
export const hasCandlePermission = (userId, operation, options) => {
|
2
|
-
const { candleUserId, personUserId } = options;
|
3
|
-
if (!userId) {
|
4
|
-
return false;
|
5
|
-
}
|
6
|
-
if (userId === candleUserId) {
|
7
|
-
return true;
|
8
|
-
}
|
9
|
-
if (userId === personUserId && operation === 'delete') {
|
10
|
-
return true;
|
11
|
-
}
|
12
|
-
return false;
|
13
|
-
};
|
package/src/candle/index.d.ts
DELETED
package/src/candle/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './util.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './util.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { CookieConsentKey } from '../cookie-consent-key/index.js';
|
2
|
-
import { COOKIE_CONSENT_CONFIG } from './config.js';
|
3
|
-
export type CookieConsent = {
|
4
|
-
[key in CookieConsentKey]: TypeMap[(typeof COOKIE_CONSENT_CONFIG)[key]];
|
5
|
-
};
|
6
|
-
interface TypeMap {
|
7
|
-
boolean: boolean;
|
8
|
-
}
|
9
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
package/src/cookie/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './consent/index.js';
|
package/src/cookie/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './consent/index.js';
|
package/src/database/index.d.ts
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './model/index.js';
|
package/src/database/index.js
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
export * from './model/index.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export {};
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|
@@ -1 +0,0 @@
|
|
1
|
-
export * from './type.js';
|