@infrab4a/connect 1.0.0-beta.1 → 1.0.0-beta.10
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/bundles/infrab4a-connect.umd.js +1576 -246
- package/bundles/infrab4a-connect.umd.js.map +1 -1
- package/domain/catalog/models/category.d.ts +23 -0
- package/domain/catalog/models/enums/shops.enum.d.ts +5 -0
- package/domain/catalog/models/product.d.ts +36 -0
- package/domain/catalog/models/types/product-review.type.d.ts +15 -0
- package/domain/catalog/models/variant.d.ts +18 -0
- package/domain/catalog/repositories/category.repository.d.ts +15 -0
- package/domain/catalog/repositories/product.repository.d.ts +5 -0
- package/domain/catalog/repositories/subscription-product.repository.d.ts +4 -0
- package/domain/catalog/repositories/variant.repository.d.ts +4 -0
- package/domain/generic/model/base.model.d.ts +10 -0
- package/domain/generic/model/index.d.ts +3 -0
- package/domain/generic/model/types/base-model-builder.type.d.ts +15 -0
- package/domain/generic/model/types/identifier-model.type.d.ts +7 -0
- package/domain/generic/model/types/index.d.ts +5 -0
- package/domain/generic/model/types/model-base-structure.type.d.ts +6 -0
- package/domain/generic/model/types/non-function-properties.type.d.ts +12 -0
- package/domain/generic/model/types/non-function-property-name.type.d.ts +4 -0
- package/domain/generic/repository/create.repository.d.ts +8 -0
- package/domain/generic/repository/crud.repository.d.ts +19 -0
- package/domain/generic/repository/delete.repository.d.ts +7 -0
- package/domain/generic/repository/enums/where.enum.d.ts +13 -0
- package/domain/generic/repository/find.repository.d.ts +10 -0
- package/domain/generic/repository/get.repository.d.ts +5 -0
- package/domain/generic/repository/read.repository.d.ts +14 -0
- package/domain/generic/repository/types/index.d.ts +6 -0
- package/domain/generic/repository/types/repository-find-filters.type.d.ts +13 -0
- package/domain/generic/repository/types/repository-update-params.type.d.ts +11 -0
- package/domain/generic/repository/types/where-options.type.d.ts +2 -0
- package/domain/generic/repository/update.repository.d.ts +6 -0
- package/domain/index.d.ts +6 -0
- package/domain/location/models/address.d.ts +22 -0
- package/domain/shop-settings/models/home.d.ts +17 -0
- package/domain/shop-settings/models/shop-menu.d.ts +7 -0
- package/domain/shop-settings/models/types/home-data.type.d.ts +15 -0
- package/domain/shop-settings/models/types/index.d.ts +5 -0
- package/domain/shop-settings/repositories/home.repository.d.ts +4 -0
- package/domain/shop-settings/repositories/shop-menu.repository.d.ts +4 -0
- package/domain/shopping/models/buy-2-win.d.ts +16 -0
- package/domain/shopping/models/checkout.d.ts +27 -0
- package/domain/shopping/models/coupons/coupon.d.ts +26 -0
- package/domain/shopping/models/coupons/enums/coupon-subtypes.enum.d.ts +4 -0
- package/domain/shopping/models/coupons/enums/coupon-types.enum.d.ts +6 -0
- package/domain/shopping/models/coupons/enums/index.d.ts +3 -0
- package/domain/shopping/models/coupons/financial-coupon.d.ts +9 -0
- package/domain/shopping/models/coupons/index.d.ts +3 -0
- package/domain/shopping/models/payment.d.ts +67 -0
- package/domain/shopping/models/shipping-method.d.ts +16 -0
- package/domain/shopping/models/subscription/checkout.d.ts +21 -0
- package/domain/shopping/models/subscription/plan.d.ts +10 -0
- package/domain/shopping/repositories/buy-2-win.repository.d.ts +4 -0
- package/domain/shopping/repositories/checkout.repository.d.ts +4 -0
- package/domain/shopping/repositories/coupon.repository.d.ts +4 -0
- package/domain/shopping/repositories/order.repository.d.ts +4 -0
- package/domain/shopping/repositories/payment.repository.d.ts +4 -0
- package/domain/shopping/repositories/subscription/checkout.repository.d.ts +4 -0
- package/domain/shopping/repositories/subscription/plan.repository.d.ts +4 -0
- package/domain/users/models/beauty-profile.d.ts +11 -0
- package/domain/users/models/lead.d.ts +7 -0
- package/domain/users/models/subscription/edition.d.ts +16 -0
- package/domain/users/models/subscription/payment.d.ts +13 -0
- package/domain/users/models/subscription/subscription.d.ts +28 -0
- package/domain/users/models/user-address.d.ts +7 -0
- package/domain/users/models/user-payment-method.d.ts +14 -0
- package/domain/users/models/user.d.ts +26 -0
- package/domain/users/repositories/beauty-profile.repository.d.ts +4 -0
- package/domain/users/repositories/edition.repository.d.ts +4 -0
- package/domain/users/repositories/lead.repository.d.ts +4 -0
- package/domain/users/repositories/subscription-payment.repository.d.ts +4 -0
- package/domain/users/repositories/subscription.repository.d.ts +4 -0
- package/domain/users/repositories/user-address.repository.d.ts +4 -0
- package/domain/users/repositories/user-payment-method.repository.d.ts +4 -0
- package/domain/users/repositories/user.repository.d.ts +6 -0
- package/domain/users/services/authentication.service.d.ts +12 -0
- package/domain/users/use-cases/index.d.ts +4 -0
- package/domain/users/use-cases/recovery-password.d.ts +6 -0
- package/esm2015/domain/catalog/index.js +3 -0
- package/esm2015/domain/catalog/models/category.js +10 -0
- package/esm2015/domain/catalog/models/enums/index.js +2 -0
- package/esm2015/domain/catalog/models/enums/shops.enum.js +7 -0
- package/esm2015/domain/catalog/models/index.js +6 -0
- package/esm2015/domain/catalog/models/product.js +14 -0
- package/esm2015/domain/catalog/models/types/category-condition.type.js +2 -0
- package/esm2015/domain/catalog/models/types/category-filter.type.js +2 -0
- package/esm2015/domain/catalog/models/types/index.js +8 -0
- package/esm2015/domain/catalog/models/types/product-review.type.js +2 -0
- package/esm2015/domain/catalog/models/types/shops-description.type.js +2 -0
- package/esm2015/domain/catalog/models/types/shops-price.type.js +2 -0
- package/esm2015/domain/catalog/models/types/stock.type.js +2 -0
- package/esm2015/domain/catalog/models/types/variant-grade.type.js +2 -0
- package/esm2015/domain/catalog/models/variant.js +10 -0
- package/esm2015/domain/catalog/repositories/category.repository.js +2 -0
- package/esm2015/domain/catalog/repositories/index.js +5 -0
- package/esm2015/domain/catalog/repositories/product.repository.js +2 -0
- package/esm2015/domain/catalog/repositories/subscription-product.repository.js +2 -0
- package/esm2015/domain/catalog/repositories/variant.repository.js +2 -0
- package/esm2015/domain/generic/index.js +3 -0
- package/esm2015/domain/generic/model/base.model.js +23 -0
- package/esm2015/domain/generic/model/identifier-fields.js +2 -0
- package/esm2015/domain/generic/model/index.js +4 -0
- package/esm2015/domain/generic/model/types/base-model-builder.type.js +2 -0
- package/esm2015/domain/generic/model/types/identifier-model.type.js +2 -0
- package/esm2015/domain/generic/model/types/index.js +6 -0
- package/esm2015/domain/generic/model/types/model-base-structure.type.js +2 -0
- package/esm2015/domain/generic/model/types/non-function-properties.type.js +2 -0
- package/esm2015/domain/generic/model/types/non-function-property-name.type.js +2 -0
- package/esm2015/domain/generic/repository/create.repository.js +2 -0
- package/esm2015/domain/generic/repository/crud.repository.js +2 -0
- package/esm2015/domain/generic/repository/delete.repository.js +2 -0
- package/esm2015/domain/generic/repository/enums/index.js +3 -0
- package/esm2015/domain/generic/repository/enums/update-option-actions.enum.js +9 -0
- package/esm2015/domain/generic/repository/enums/where.enum.js +15 -0
- package/esm2015/domain/generic/repository/find.repository.js +2 -0
- package/esm2015/domain/generic/repository/get.repository.js +2 -0
- package/esm2015/domain/generic/repository/index.js +10 -0
- package/esm2015/domain/generic/repository/read.repository.js +2 -0
- package/esm2015/domain/generic/repository/types/index.js +7 -0
- package/esm2015/domain/generic/repository/types/repository-find-filters.type.js +2 -0
- package/esm2015/domain/generic/repository/types/repository-find-result.type.js +2 -0
- package/esm2015/domain/generic/repository/types/repository-limit-options.type.js +2 -0
- package/esm2015/domain/generic/repository/types/repository-order-by-list.type.js +2 -0
- package/esm2015/domain/generic/repository/types/repository-update-params.type.js +2 -0
- package/esm2015/domain/generic/repository/types/where-options.type.js +2 -0
- package/esm2015/domain/generic/repository/update.repository.js +2 -0
- package/esm2015/domain/index.js +7 -0
- package/esm2015/domain/location/index.js +2 -0
- package/esm2015/domain/location/models/address.js +7 -0
- package/esm2015/domain/location/models/index.js +3 -0
- package/esm2015/domain/location/models/types/index.js +4 -0
- package/esm2015/domain/location/models/types/location-bound.type.js +2 -0
- package/esm2015/domain/location/models/types/location-geometry.type.js +2 -0
- package/esm2015/domain/location/models/types/location-lat-lng.type.js +2 -0
- package/esm2015/domain/shop-settings/enums/filter-type.enum.js +21 -0
- package/esm2015/domain/shop-settings/enums/index.js +3 -0
- package/esm2015/domain/shop-settings/enums/questions-filters.enum.js +21 -0
- package/esm2015/domain/shop-settings/helpers/beauty-questions.helper.js +46 -0
- package/esm2015/domain/shop-settings/helpers/index.js +2 -0
- package/esm2015/domain/shop-settings/index.js +5 -0
- package/esm2015/domain/shop-settings/models/home.js +7 -0
- package/esm2015/domain/shop-settings/models/index.js +4 -0
- package/esm2015/domain/shop-settings/models/shop-menu.js +7 -0
- package/esm2015/domain/shop-settings/models/types/banner.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/benefit.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/home-data.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/index.js +6 -0
- package/esm2015/domain/shop-settings/models/types/menu-nav.type.js +2 -0
- package/esm2015/domain/shop-settings/models/types/sub-menu.type.js +2 -0
- package/esm2015/domain/shop-settings/repositories/home.repository.js +2 -0
- package/esm2015/domain/shop-settings/repositories/index.js +3 -0
- package/esm2015/domain/shop-settings/repositories/shop-menu.repository.js +2 -0
- package/esm2015/domain/shopping/index.js +3 -0
- package/esm2015/domain/shopping/models/buy-2-win.js +14 -0
- package/esm2015/domain/shopping/models/checkout.js +38 -0
- package/esm2015/domain/shopping/models/coupons/coupon.js +23 -0
- package/esm2015/domain/shopping/models/coupons/enums/coupon-subtypes.enum.js +6 -0
- package/esm2015/domain/shopping/models/coupons/enums/coupon-types.enum.js +8 -0
- package/esm2015/domain/shopping/models/coupons/enums/exclusivities.enum.js +7 -0
- package/esm2015/domain/shopping/models/coupons/enums/index.js +4 -0
- package/esm2015/domain/shopping/models/coupons/financial-coupon.js +28 -0
- package/esm2015/domain/shopping/models/coupons/index.js +4 -0
- package/esm2015/domain/shopping/models/enums/checkout-types.enum.js +6 -0
- package/esm2015/domain/shopping/models/enums/index.js +3 -0
- package/esm2015/domain/shopping/models/enums/order-status.enum.js +12 -0
- package/esm2015/domain/shopping/models/index.js +12 -0
- package/esm2015/domain/shopping/models/line-item.js +4 -0
- package/esm2015/domain/shopping/models/order.js +11 -0
- package/esm2015/domain/shopping/models/payment.js +169 -0
- package/esm2015/domain/shopping/models/shipping-method.js +7 -0
- package/esm2015/domain/shopping/models/subscription/checkout.js +28 -0
- package/esm2015/domain/shopping/models/subscription/index.js +3 -0
- package/esm2015/domain/shopping/models/subscription/plan.js +7 -0
- package/esm2015/domain/shopping/models/types/index.js +8 -0
- package/esm2015/domain/shopping/models/types/payment-address.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-billing.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-card.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-customer.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-document.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-item.type.js +2 -0
- package/esm2015/domain/shopping/models/types/payment-shipping.type.js +2 -0
- package/esm2015/domain/shopping/repositories/buy-2-win.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/checkout.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/coupon.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/index.js +8 -0
- package/esm2015/domain/shopping/repositories/legacy-order.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/order.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/payment.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/subscription/checkout.repository.js +2 -0
- package/esm2015/domain/shopping/repositories/subscription/index.js +3 -0
- package/esm2015/domain/shopping/repositories/subscription/plan.repository.js +2 -0
- package/esm2015/domain/users/errors/index.js +4 -0
- package/esm2015/domain/users/errors/unauthorized.error.js +7 -0
- package/esm2015/domain/users/errors/user-already-registered.error.js +7 -0
- package/esm2015/domain/users/errors/weak-password.error.js +7 -0
- package/esm2015/domain/users/index.js +6 -0
- package/esm2015/domain/users/models/beauty-profile.js +12 -0
- package/esm2015/domain/users/models/enums/accessory-importances.enum.js +7 -0
- package/esm2015/domain/users/models/enums/area.enum.js +13 -0
- package/esm2015/domain/users/models/enums/beard-problems.enum.js +11 -0
- package/esm2015/domain/users/models/enums/beard-sizes.enum.js +9 -0
- package/esm2015/domain/users/models/enums/beauty-product-importances.enum.js +8 -0
- package/esm2015/domain/users/models/enums/body-problems.enum.js +13 -0
- package/esm2015/domain/users/models/enums/body-shapes.enum.js +9 -0
- package/esm2015/domain/users/models/enums/body-tattoos.enum.js +7 -0
- package/esm2015/domain/users/models/enums/face-skin-oilinesses.enum.js +9 -0
- package/esm2015/domain/users/models/enums/face-skin-problems.enum.js +12 -0
- package/esm2015/domain/users/models/enums/face-skin-tones.enum.js +10 -0
- package/esm2015/domain/users/models/enums/family-incomes.enum.js +10 -0
- package/esm2015/domain/users/models/enums/fragrance-importances.enum.js +7 -0
- package/esm2015/domain/users/models/enums/hair-colors.enum.js +12 -0
- package/esm2015/domain/users/models/enums/hair-problems.enum.js +12 -0
- package/esm2015/domain/users/models/enums/hair-strands.enum.js +10 -0
- package/esm2015/domain/users/models/enums/hair-types.enum.js +9 -0
- package/esm2015/domain/users/models/enums/index.js +21 -0
- package/esm2015/domain/users/models/enums/office-position.enum.js +8 -0
- package/esm2015/domain/users/models/enums/product-spents.enum.js +10 -0
- package/esm2015/domain/users/models/enums/user-type.enum.js +10 -0
- package/esm2015/domain/users/models/index.js +8 -0
- package/esm2015/domain/users/models/lead.js +7 -0
- package/esm2015/domain/users/models/subscription/edition.js +7 -0
- package/esm2015/domain/users/models/subscription/enums/billing-status.enum.js +5 -0
- package/esm2015/domain/users/models/subscription/enums/edition-status.enum.js +6 -0
- package/esm2015/domain/users/models/subscription/enums/index.js +5 -0
- package/esm2015/domain/users/models/subscription/enums/payment-type.enum.js +7 -0
- package/esm2015/domain/users/models/subscription/enums/status.enum.js +6 -0
- package/esm2015/domain/users/models/subscription/index.js +5 -0
- package/esm2015/domain/users/models/subscription/payment.js +14 -0
- package/esm2015/domain/users/models/subscription/subscription.js +43 -0
- package/esm2015/domain/users/models/user-address.js +7 -0
- package/esm2015/domain/users/models/user-payment-method.js +7 -0
- package/esm2015/domain/users/models/user.js +26 -0
- package/esm2015/domain/users/repositories/beauty-profile.repository.js +2 -0
- package/esm2015/domain/users/repositories/edition.repository.js +2 -0
- package/esm2015/domain/users/repositories/index.js +9 -0
- package/esm2015/domain/users/repositories/lead.repository.js +2 -0
- package/esm2015/domain/users/repositories/subscription-payment.repository.js +2 -0
- package/esm2015/domain/users/repositories/subscription.repository.js +2 -0
- package/esm2015/domain/users/repositories/user-address.repository.js +2 -0
- package/esm2015/domain/users/repositories/user-payment-method.repository.js +2 -0
- package/esm2015/domain/users/repositories/user.repository.js +2 -0
- package/esm2015/domain/users/services/authentication.service.js +2 -0
- package/esm2015/domain/users/services/index.js +4 -0
- package/esm2015/domain/users/services/register.service.js +2 -0
- package/esm2015/domain/users/services/types/basic-user-data.type.js +2 -0
- package/esm2015/domain/users/services/types/index.js +2 -0
- package/esm2015/domain/users/use-cases/authentication.js +40 -0
- package/esm2015/domain/users/use-cases/index.js +5 -0
- package/esm2015/domain/users/use-cases/recovery-password.js +12 -0
- package/esm2015/domain/users/use-cases/register.js +34 -0
- package/esm2015/domain/users/use-cases/signout.js +12 -0
- package/esm2015/errors/duplicated-results.error.js +7 -0
- package/esm2015/errors/index.js +5 -0
- package/esm2015/errors/invalid-argument.error.js +7 -0
- package/esm2015/errors/not-found.error.js +7 -0
- package/esm2015/errors/required-argument.error.js +8 -0
- package/esm2015/index.js +6 -0
- package/esm2015/infra/elasticsearch/adapters/axios.adapter.js +22 -0
- package/esm2015/infra/elasticsearch/adapters/elastic-search.adapter.js +2 -0
- package/esm2015/infra/elasticsearch/adapters/index.js +3 -0
- package/esm2015/infra/elasticsearch/index.js +4 -0
- package/esm2015/infra/elasticsearch/indexes/index.js +2 -0
- package/esm2015/infra/elasticsearch/indexes/products-index.js +59 -0
- package/esm2015/infra/elasticsearch/types/elastic-search-result.js +2 -0
- package/esm2015/infra/elasticsearch/types/index.js +2 -0
- package/esm2015/infra/firebase/auth/authentication-firebase-auth.service.js +52 -0
- package/esm2015/infra/firebase/auth/index.js +3 -0
- package/esm2015/infra/firebase/auth/register-firebase-auth.service.js +26 -0
- package/esm2015/infra/firebase/auth/types/firebase-user-with-id.type.js +2 -0
- package/esm2015/infra/firebase/firestore/index.js +4 -0
- package/esm2015/infra/firebase/firestore/mixins/index.js +10 -0
- package/esm2015/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +31 -0
- package/esm2015/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +10 -0
- package/esm2015/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +18 -0
- package/esm2015/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +86 -0
- package/esm2015/infra/firebase/firestore/mixins/with-firestore.mixin.js +23 -0
- package/esm2015/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +24 -0
- package/esm2015/infra/firebase/firestore/mixins/with-helpers.mixin.js +17 -0
- package/esm2015/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +11 -0
- package/esm2015/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +45 -0
- package/esm2015/infra/firebase/firestore/models/user-search.js +7 -0
- package/esm2015/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +70 -0
- package/esm2015/infra/firebase/firestore/repositories/catalog/index.js +5 -0
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +25 -0
- package/esm2015/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/index.js +5 -0
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +56 -0
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/index.js +3 -0
- package/esm2015/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +29 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/index.js +9 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +9 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/users/index.js +10 -0
- package/esm2015/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/users/user-firestore.repository.js +70 -0
- package/esm2015/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +14 -0
- package/esm2015/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +12 -0
- package/esm2015/infra/firebase/firestore/types/firestore-sub.repository.type.js +2 -0
- package/esm2015/infra/firebase/firestore/types/firestore.helpers.type.js +2 -0
- package/esm2015/infra/firebase/firestore/types/firestore.repository.type.js +2 -0
- package/esm2015/infra/firebase/firestore/types/index.js +4 -0
- package/esm2015/infra/firebase/index.js +3 -0
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.js +13 -0
- package/esm2015/infra/hasura-graphql/enums/hasura-graphql-where.enum.js +15 -0
- package/esm2015/infra/hasura-graphql/enums/index.js +3 -0
- package/esm2015/infra/hasura-graphql/index.js +4 -0
- package/esm2015/infra/hasura-graphql/mixins/helpers/attribute-option.helper.js +32 -0
- package/esm2015/infra/hasura-graphql/mixins/helpers/filter-option.helper.js +18 -0
- package/esm2015/infra/hasura-graphql/mixins/helpers/graphql-field.helper.js +74 -0
- package/esm2015/infra/hasura-graphql/mixins/helpers/index.js +4 -0
- package/esm2015/infra/hasura-graphql/mixins/index.js +8 -0
- package/esm2015/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.js +27 -0
- package/esm2015/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.js +10 -0
- package/esm2015/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.js +29 -0
- package/esm2015/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.js +86 -0
- package/esm2015/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.js +34 -0
- package/esm2015/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.js +94 -0
- package/esm2015/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.js +53 -0
- package/esm2015/infra/hasura-graphql/models/category-hasura-graphql.js +4 -0
- package/esm2015/infra/hasura-graphql/models/index.js +4 -0
- package/esm2015/infra/hasura-graphql/models/product-hasura-graphql.js +4 -0
- package/esm2015/infra/hasura-graphql/models/variant-hasura-graphql.js +9 -0
- package/esm2015/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.js +107 -0
- package/esm2015/infra/hasura-graphql/repositories/catalog/index.js +4 -0
- package/esm2015/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.js +108 -0
- package/esm2015/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.js +61 -0
- package/esm2015/infra/hasura-graphql/repositories/index.js +2 -0
- package/esm2015/infra/hasura-graphql/types/fields.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/graphql.repository.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-auth-options.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-fields.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/hasura-graphql-headers.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/index.js +9 -0
- package/esm2015/infra/hasura-graphql/types/nested-field.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/query-builder-options.type.js +2 -0
- package/esm2015/infra/hasura-graphql/types/variable-options.type.js +2 -0
- package/esm2015/infra/index.js +4 -0
- package/esm2015/infrab4a-connect.js +2 -2
- package/esm2015/utils/index.js +8 -0
- package/esm2015/utils/is-uuid.js +3 -0
- package/esm2015/utils/mixins/base.mixin.js +6 -0
- package/esm2015/utils/mixins/index.js +4 -0
- package/esm2015/utils/mixins/merge-constructor-params.type.js +2 -0
- package/esm2015/utils/mixins/mixin-ctor.type.js +2 -0
- package/esm2015/utils/parse-datetime.js +14 -0
- package/esm2015/utils/types/array-element.type.js +2 -0
- package/esm2015/utils/types/index.js +3 -0
- package/esm2015/utils/types/prop.type.js +2 -0
- package/fesm2015/infrab4a-connect.js +1036 -149
- package/fesm2015/infrab4a-connect.js.map +1 -1
- package/index.d.ts +5 -0
- package/infra/elasticsearch/adapters/axios.adapter.d.ts +11 -0
- package/infra/elasticsearch/adapters/elastic-search.adapter.d.ts +4 -0
- package/infra/elasticsearch/adapters/index.d.ts +2 -0
- package/infra/elasticsearch/index.d.ts +3 -0
- package/infra/elasticsearch/indexes/index.d.ts +1 -0
- package/infra/elasticsearch/indexes/products-index.d.ts +11 -0
- package/infra/elasticsearch/types/elastic-search-result.d.ts +7 -0
- package/infra/elasticsearch/types/index.d.ts +1 -0
- package/infra/firebase/auth/authentication-firebase-auth.service.d.ts +12 -0
- package/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +4 -0
- package/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +11 -0
- package/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +7 -0
- package/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +7 -0
- package/infra/firebase/firestore/models/user-search.d.ts +9 -0
- package/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +17 -0
- package/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +9 -0
- package/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +16 -0
- package/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +12 -0
- package/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +8 -0
- package/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +19 -0
- package/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +13 -0
- package/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +9 -0
- package/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +6 -0
- package/infra/firebase/firestore/types/firestore.helpers.type.d.ts +8 -0
- package/infra/firebase/firestore/types/firestore.repository.type.d.ts +12 -0
- package/infra/hasura-graphql/enums/hasura-graphql-column-type.enum.d.ts +11 -0
- package/infra/hasura-graphql/enums/hasura-graphql-where.enum.d.ts +13 -0
- package/infra/hasura-graphql/enums/index.d.ts +2 -0
- package/infra/hasura-graphql/index.d.ts +3 -0
- package/infra/hasura-graphql/mixins/helpers/attribute-option.helper.d.ts +17 -0
- package/infra/hasura-graphql/mixins/helpers/filter-option.helper.d.ts +6 -0
- package/infra/hasura-graphql/mixins/helpers/graphql-field.helper.d.ts +8 -0
- package/infra/hasura-graphql/mixins/helpers/index.d.ts +3 -0
- package/infra/hasura-graphql/mixins/index.d.ts +7 -0
- package/infra/hasura-graphql/mixins/with-create-hasura-graphql.mixin.d.ts +8 -0
- package/infra/hasura-graphql/mixins/with-crud-hasura-graphql.mixin.d.ts +11 -0
- package/infra/hasura-graphql/mixins/with-delete-hasura-graphql.mixin.d.ts +7 -0
- package/infra/hasura-graphql/mixins/with-find-hasura-graphql.mixin.d.ts +30 -0
- package/infra/hasura-graphql/mixins/with-get-hasura-graphql.mixin.d.ts +24 -0
- package/infra/hasura-graphql/mixins/with-hasura-graphql.mixin.d.ts +11 -0
- package/infra/hasura-graphql/mixins/with-update-hasura-graphql.mixin.d.ts +14 -0
- package/infra/hasura-graphql/models/category-hasura-graphql.d.ts +6 -0
- package/infra/hasura-graphql/models/index.d.ts +3 -0
- package/infra/hasura-graphql/models/product-hasura-graphql.d.ts +7 -0
- package/infra/hasura-graphql/models/variant-hasura-graphql.d.ts +9 -0
- package/infra/hasura-graphql/repositories/catalog/category-hasura-graphql.repository.d.ts +22 -0
- package/infra/hasura-graphql/repositories/catalog/index.d.ts +3 -0
- package/infra/hasura-graphql/repositories/catalog/product-hasura-graphql.repository.d.ts +11 -0
- package/infra/hasura-graphql/repositories/catalog/variant-hasura-graphql.repository.d.ts +10 -0
- package/infra/hasura-graphql/repositories/index.d.ts +1 -0
- package/infra/hasura-graphql/types/fields.type.d.ts +2 -0
- package/infra/hasura-graphql/types/graphql.repository.type.d.ts +21 -0
- package/infra/hasura-graphql/types/hasura-graphql-auth-options.type.d.ts +8 -0
- package/infra/hasura-graphql/types/hasura-graphql-fields.type.d.ts +42 -0
- package/infra/hasura-graphql/types/hasura-graphql-headers.type.d.ts +7 -0
- package/infra/hasura-graphql/types/index.d.ts +8 -0
- package/infra/hasura-graphql/types/nested-field.type.d.ts +7 -0
- package/infra/hasura-graphql/types/query-builder-options.type.d.ts +7 -0
- package/infra/hasura-graphql/types/variable-options.type.d.ts +9 -0
- package/infra/index.d.ts +3 -0
- package/infrab4a-connect.d.ts +1 -1
- package/package.json +4 -1
- package/utils/index.d.ts +7 -0
- package/utils/is-uuid.d.ts +1 -0
- package/utils/mixins/index.d.ts +3 -0
- package/utils/mixins/merge-constructor-params.type.d.ts +3 -0
- package/utils/mixins/mixin-ctor.type.d.ts +1 -0
- package/utils/parse-datetime.d.ts +1 -0
- package/utils/types/array-element.type.d.ts +1 -0
- package/utils/types/index.d.ts +2 -0
- package/esm2015/lib/domain/catalog/index.js +0 -3
- package/esm2015/lib/domain/catalog/models/category.js +0 -7
- package/esm2015/lib/domain/catalog/models/enums/index.js +0 -2
- package/esm2015/lib/domain/catalog/models/enums/shops.enum.js +0 -6
- package/esm2015/lib/domain/catalog/models/index.js +0 -6
- package/esm2015/lib/domain/catalog/models/product.js +0 -11
- package/esm2015/lib/domain/catalog/models/types/category-condition.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/category-filter.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/index.js +0 -8
- package/esm2015/lib/domain/catalog/models/types/product-review.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/shops-description.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/shops-price.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/stock.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/types/variant-grade.type.js +0 -2
- package/esm2015/lib/domain/catalog/models/variant.js +0 -7
- package/esm2015/lib/domain/catalog/repositories/category.repository.js +0 -2
- package/esm2015/lib/domain/catalog/repositories/index.js +0 -5
- package/esm2015/lib/domain/catalog/repositories/product.repository.js +0 -2
- package/esm2015/lib/domain/catalog/repositories/subscription-product.repository.js +0 -2
- package/esm2015/lib/domain/catalog/repositories/variant.repository.js +0 -2
- package/esm2015/lib/domain/general/index.js +0 -3
- package/esm2015/lib/domain/general/model/base-model-with-identifier-fields.js +0 -2
- package/esm2015/lib/domain/general/model/base.model.js +0 -13
- package/esm2015/lib/domain/general/model/identifier-fields.js +0 -2
- package/esm2015/lib/domain/general/model/index.js +0 -5
- package/esm2015/lib/domain/general/model/types/base-model-builder.type.js +0 -2
- package/esm2015/lib/domain/general/model/types/index.js +0 -4
- package/esm2015/lib/domain/general/model/types/non-function-properties.type.js +0 -2
- package/esm2015/lib/domain/general/model/types/non-function-property-name.type.js +0 -2
- package/esm2015/lib/domain/general/repository/create.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/crud.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/delete.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/enums/index.js +0 -3
- package/esm2015/lib/domain/general/repository/enums/update-option-actions.enum.js +0 -9
- package/esm2015/lib/domain/general/repository/enums/where.enum.js +0 -12
- package/esm2015/lib/domain/general/repository/find.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/get.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/index.js +0 -10
- package/esm2015/lib/domain/general/repository/read.repository.js +0 -2
- package/esm2015/lib/domain/general/repository/types/index.js +0 -6
- package/esm2015/lib/domain/general/repository/types/repository-find-filters.type.js +0 -2
- package/esm2015/lib/domain/general/repository/types/repository-find-result.type.js +0 -2
- package/esm2015/lib/domain/general/repository/types/repository-limit-options.type.js +0 -2
- package/esm2015/lib/domain/general/repository/types/repository-order-by-list.type.js +0 -2
- package/esm2015/lib/domain/general/repository/types/repository-update-params.type.js +0 -2
- package/esm2015/lib/domain/general/repository/update.repository.js +0 -2
- package/esm2015/lib/domain/index.js +0 -7
- package/esm2015/lib/domain/location/index.js +0 -2
- package/esm2015/lib/domain/location/models/address.js +0 -4
- package/esm2015/lib/domain/location/models/index.js +0 -3
- package/esm2015/lib/domain/location/models/types/index.js +0 -4
- package/esm2015/lib/domain/location/models/types/location-bound.type.js +0 -2
- package/esm2015/lib/domain/location/models/types/location-geometry.type.js +0 -2
- package/esm2015/lib/domain/location/models/types/location-lat-lng.type.js +0 -2
- package/esm2015/lib/domain/shop-settings/enums/filter-type.enum.js +0 -21
- package/esm2015/lib/domain/shop-settings/enums/index.js +0 -3
- package/esm2015/lib/domain/shop-settings/enums/questions-filters.enum.js +0 -21
- package/esm2015/lib/domain/shop-settings/helpers/beauty-questions.helper.js +0 -46
- package/esm2015/lib/domain/shop-settings/helpers/index.js +0 -2
- package/esm2015/lib/domain/shop-settings/index.js +0 -5
- package/esm2015/lib/domain/shop-settings/models/home.js +0 -7
- package/esm2015/lib/domain/shop-settings/models/index.js +0 -4
- package/esm2015/lib/domain/shop-settings/models/shop-menu.js +0 -7
- package/esm2015/lib/domain/shop-settings/models/types/banner.type.js +0 -2
- package/esm2015/lib/domain/shop-settings/models/types/benefit.type.js +0 -2
- package/esm2015/lib/domain/shop-settings/models/types/index.js +0 -5
- package/esm2015/lib/domain/shop-settings/models/types/menu-nav.type.js +0 -2
- package/esm2015/lib/domain/shop-settings/models/types/sub-menu.type.js +0 -2
- package/esm2015/lib/domain/shop-settings/repositories/home.repository.js +0 -2
- package/esm2015/lib/domain/shop-settings/repositories/index.js +0 -3
- package/esm2015/lib/domain/shop-settings/repositories/shop-menu.repository.js +0 -2
- package/esm2015/lib/domain/shopping/index.js +0 -3
- package/esm2015/lib/domain/shopping/models/buy-2-win.js +0 -14
- package/esm2015/lib/domain/shopping/models/checkout.js +0 -38
- package/esm2015/lib/domain/shopping/models/coupons/club-coupon.js +0 -23
- package/esm2015/lib/domain/shopping/models/coupons/coupon.js +0 -31
- package/esm2015/lib/domain/shopping/models/coupons/enums/discount-type.enum.js +0 -7
- package/esm2015/lib/domain/shopping/models/coupons/enums/exclusivities.enum.js +0 -7
- package/esm2015/lib/domain/shopping/models/coupons/enums/index.js +0 -3
- package/esm2015/lib/domain/shopping/models/coupons/index.js +0 -5
- package/esm2015/lib/domain/shopping/models/coupons/store-coupon.js +0 -23
- package/esm2015/lib/domain/shopping/models/enums/checkout-types.enum.js +0 -6
- package/esm2015/lib/domain/shopping/models/enums/index.js +0 -3
- package/esm2015/lib/domain/shopping/models/enums/order-status.enum.js +0 -12
- package/esm2015/lib/domain/shopping/models/index.js +0 -12
- package/esm2015/lib/domain/shopping/models/line-item.js +0 -4
- package/esm2015/lib/domain/shopping/models/order.js +0 -11
- package/esm2015/lib/domain/shopping/models/payment.js +0 -169
- package/esm2015/lib/domain/shopping/models/shipping-method.js +0 -7
- package/esm2015/lib/domain/shopping/models/subscription/checkout.js +0 -28
- package/esm2015/lib/domain/shopping/models/subscription/index.js +0 -3
- package/esm2015/lib/domain/shopping/models/subscription/plan.js +0 -7
- package/esm2015/lib/domain/shopping/models/types/index.js +0 -8
- package/esm2015/lib/domain/shopping/models/types/payment-address.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-billing.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-card.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-customer.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-document.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-item.type.js +0 -2
- package/esm2015/lib/domain/shopping/models/types/payment-shipping.type.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/buy-2-win.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/checkout.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/coupon.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/index.js +0 -8
- package/esm2015/lib/domain/shopping/repositories/legacy-order.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/order.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/payment.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/subscription/checkout.repository.js +0 -2
- package/esm2015/lib/domain/shopping/repositories/subscription/index.js +0 -3
- package/esm2015/lib/domain/shopping/repositories/subscription/plan.repository.js +0 -2
- package/esm2015/lib/domain/users/errors/index.js +0 -4
- package/esm2015/lib/domain/users/errors/unauthorized.error.js +0 -7
- package/esm2015/lib/domain/users/errors/user-already-registered.error.js +0 -7
- package/esm2015/lib/domain/users/errors/weak-password.error.js +0 -7
- package/esm2015/lib/domain/users/index.js +0 -6
- package/esm2015/lib/domain/users/models/beauty-profile.js +0 -12
- package/esm2015/lib/domain/users/models/enums/accessory-importances.enum.js +0 -7
- package/esm2015/lib/domain/users/models/enums/area.enum.js +0 -13
- package/esm2015/lib/domain/users/models/enums/beard-problems.enum.js +0 -11
- package/esm2015/lib/domain/users/models/enums/beard-sizes.enum.js +0 -9
- package/esm2015/lib/domain/users/models/enums/beauty-product-importances.enum.js +0 -8
- package/esm2015/lib/domain/users/models/enums/body-problems.enum.js +0 -13
- package/esm2015/lib/domain/users/models/enums/body-shapes.enum.js +0 -9
- package/esm2015/lib/domain/users/models/enums/body-tattoos.enum.js +0 -7
- package/esm2015/lib/domain/users/models/enums/face-skin-oilinesses.enum.js +0 -9
- package/esm2015/lib/domain/users/models/enums/face-skin-problems.enum.js +0 -12
- package/esm2015/lib/domain/users/models/enums/face-skin-tones.enum.js +0 -10
- package/esm2015/lib/domain/users/models/enums/family-incomes.enum.js +0 -10
- package/esm2015/lib/domain/users/models/enums/fragrance-importances.enum.js +0 -7
- package/esm2015/lib/domain/users/models/enums/hair-colors.enum.js +0 -12
- package/esm2015/lib/domain/users/models/enums/hair-problems.enum.js +0 -12
- package/esm2015/lib/domain/users/models/enums/hair-strands.enum.js +0 -10
- package/esm2015/lib/domain/users/models/enums/hair-types.enum.js +0 -9
- package/esm2015/lib/domain/users/models/enums/index.js +0 -21
- package/esm2015/lib/domain/users/models/enums/office-position.enum.js +0 -8
- package/esm2015/lib/domain/users/models/enums/product-spents.enum.js +0 -10
- package/esm2015/lib/domain/users/models/enums/user-type.enum.js +0 -10
- package/esm2015/lib/domain/users/models/index.js +0 -8
- package/esm2015/lib/domain/users/models/lead.js +0 -7
- package/esm2015/lib/domain/users/models/subscription/edition.js +0 -7
- package/esm2015/lib/domain/users/models/subscription/enums/billing-status.enum.js +0 -5
- package/esm2015/lib/domain/users/models/subscription/enums/edition-status.enum.js +0 -6
- package/esm2015/lib/domain/users/models/subscription/enums/index.js +0 -5
- package/esm2015/lib/domain/users/models/subscription/enums/payment-type.enum.js +0 -7
- package/esm2015/lib/domain/users/models/subscription/enums/status.enum.js +0 -6
- package/esm2015/lib/domain/users/models/subscription/index.js +0 -5
- package/esm2015/lib/domain/users/models/subscription/payment.js +0 -14
- package/esm2015/lib/domain/users/models/subscription/subscription.js +0 -43
- package/esm2015/lib/domain/users/models/user-address.js +0 -7
- package/esm2015/lib/domain/users/models/user-payment-method.js +0 -7
- package/esm2015/lib/domain/users/models/user.js +0 -26
- package/esm2015/lib/domain/users/repositories/beauty-profile.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/edition.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/index.js +0 -9
- package/esm2015/lib/domain/users/repositories/lead.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/subscription-payment.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/subscription.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/user-address.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/user-payment-method.repository.js +0 -2
- package/esm2015/lib/domain/users/repositories/user.repository.js +0 -2
- package/esm2015/lib/domain/users/services/authentication.service.js +0 -2
- package/esm2015/lib/domain/users/services/index.js +0 -4
- package/esm2015/lib/domain/users/services/register.service.js +0 -2
- package/esm2015/lib/domain/users/services/types/basic-user-data.type.js +0 -2
- package/esm2015/lib/domain/users/services/types/index.js +0 -2
- package/esm2015/lib/domain/users/use-cases/authentication.js +0 -40
- package/esm2015/lib/domain/users/use-cases/index.js +0 -4
- package/esm2015/lib/domain/users/use-cases/register.js +0 -34
- package/esm2015/lib/domain/users/use-cases/signout.js +0 -12
- package/esm2015/lib/errors/duplicated-results.error.js +0 -7
- package/esm2015/lib/errors/index.js +0 -5
- package/esm2015/lib/errors/invalid-argument.error.js +0 -7
- package/esm2015/lib/errors/not-found.error.js +0 -7
- package/esm2015/lib/errors/required-argument.error.js +0 -8
- package/esm2015/lib/index.js +0 -5
- package/esm2015/lib/infra/firebase/auth/authentication-firebase-auth.service.js +0 -47
- package/esm2015/lib/infra/firebase/auth/index.js +0 -3
- package/esm2015/lib/infra/firebase/auth/register-firebase-auth.service.js +0 -26
- package/esm2015/lib/infra/firebase/auth/types/firebase-user-with-id.type.js +0 -2
- package/esm2015/lib/infra/firebase/firestore/index.js +0 -4
- package/esm2015/lib/infra/firebase/firestore/mixins/index.js +0 -10
- package/esm2015/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.js +0 -31
- package/esm2015/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.js +0 -10
- package/esm2015/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.js +0 -18
- package/esm2015/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.js +0 -76
- package/esm2015/lib/infra/firebase/firestore/mixins/with-firestore.mixin.js +0 -26
- package/esm2015/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.js +0 -24
- package/esm2015/lib/infra/firebase/firestore/mixins/with-helpers.mixin.js +0 -17
- package/esm2015/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.js +0 -11
- package/esm2015/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.js +0 -45
- package/esm2015/lib/infra/firebase/firestore/models/user-search.js +0 -7
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.js +0 -78
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/index.js +0 -5
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.js +0 -23
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/index.js +0 -5
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/index.js +0 -3
- package/esm2015/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.js +0 -39
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/index.js +0 -9
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.js +0 -9
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/users/index.js +0 -10
- package/esm2015/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.js +0 -70
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.js +0 -14
- package/esm2015/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.js +0 -12
- package/esm2015/lib/infra/firebase/firestore/types/firestore-sub.repository.type.js +0 -2
- package/esm2015/lib/infra/firebase/firestore/types/firestore.helpers.type.js +0 -2
- package/esm2015/lib/infra/firebase/firestore/types/firestore.repository.type.js +0 -2
- package/esm2015/lib/infra/firebase/firestore/types/index.js +0 -4
- package/esm2015/lib/infra/firebase/index.js +0 -3
- package/esm2015/lib/infra/index.js +0 -2
- package/esm2015/lib/utils/index.js +0 -5
- package/esm2015/lib/utils/mixins/base.mixin.js +0 -6
- package/esm2015/lib/utils/mixins/index.js +0 -3
- package/esm2015/lib/utils/mixins/mixin-ctor.type.js +0 -2
- package/esm2015/lib/utils/types/index.js +0 -2
- package/esm2015/lib/utils/types/prop.type.js +0 -2
- package/esm2015/public-api.js +0 -3
- package/lib/domain/catalog/models/category.d.ts +0 -22
- package/lib/domain/catalog/models/enums/shops.enum.d.ts +0 -4
- package/lib/domain/catalog/models/product.d.ts +0 -33
- package/lib/domain/catalog/models/types/product-review.type.d.ts +0 -14
- package/lib/domain/catalog/models/variant.d.ts +0 -14
- package/lib/domain/catalog/repositories/category.repository.d.ts +0 -12
- package/lib/domain/catalog/repositories/product.repository.d.ts +0 -5
- package/lib/domain/catalog/repositories/subscription-product.repository.d.ts +0 -4
- package/lib/domain/catalog/repositories/variant.repository.d.ts +0 -4
- package/lib/domain/general/model/base-model-with-identifier-fields.d.ts +0 -3
- package/lib/domain/general/model/base.model.d.ts +0 -6
- package/lib/domain/general/model/index.d.ts +0 -4
- package/lib/domain/general/model/types/base-model-builder.type.d.ts +0 -5
- package/lib/domain/general/model/types/index.d.ts +0 -3
- package/lib/domain/general/model/types/non-function-properties.type.d.ts +0 -2
- package/lib/domain/general/model/types/non-function-property-name.type.d.ts +0 -3
- package/lib/domain/general/repository/create.repository.d.ts +0 -5
- package/lib/domain/general/repository/crud.repository.d.ts +0 -7
- package/lib/domain/general/repository/delete.repository.d.ts +0 -5
- package/lib/domain/general/repository/enums/where.enum.d.ts +0 -10
- package/lib/domain/general/repository/find.repository.d.ts +0 -5
- package/lib/domain/general/repository/get.repository.d.ts +0 -5
- package/lib/domain/general/repository/read.repository.d.ts +0 -5
- package/lib/domain/general/repository/types/index.d.ts +0 -5
- package/lib/domain/general/repository/types/repository-find-filters.type.d.ts +0 -14
- package/lib/domain/general/repository/types/repository-update-params.type.d.ts +0 -11
- package/lib/domain/general/repository/update.repository.d.ts +0 -5
- package/lib/domain/index.d.ts +0 -6
- package/lib/domain/location/models/address.d.ts +0 -21
- package/lib/domain/shop-settings/models/home.d.ts +0 -17
- package/lib/domain/shop-settings/models/shop-menu.d.ts +0 -7
- package/lib/domain/shop-settings/models/types/index.d.ts +0 -4
- package/lib/domain/shop-settings/repositories/home.repository.d.ts +0 -4
- package/lib/domain/shop-settings/repositories/shop-menu.repository.d.ts +0 -4
- package/lib/domain/shopping/models/buy-2-win.d.ts +0 -18
- package/lib/domain/shopping/models/checkout.d.ts +0 -28
- package/lib/domain/shopping/models/coupons/club-coupon.d.ts +0 -9
- package/lib/domain/shopping/models/coupons/coupon.d.ts +0 -28
- package/lib/domain/shopping/models/coupons/enums/discount-type.enum.d.ts +0 -5
- package/lib/domain/shopping/models/coupons/enums/index.d.ts +0 -2
- package/lib/domain/shopping/models/coupons/index.d.ts +0 -4
- package/lib/domain/shopping/models/coupons/store-coupon.d.ts +0 -8
- package/lib/domain/shopping/models/payment.d.ts +0 -69
- package/lib/domain/shopping/models/shipping-method.d.ts +0 -18
- package/lib/domain/shopping/models/subscription/checkout.d.ts +0 -23
- package/lib/domain/shopping/models/subscription/plan.d.ts +0 -12
- package/lib/domain/shopping/repositories/buy-2-win.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/checkout.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/coupon.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/order.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/payment.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/subscription/checkout.repository.d.ts +0 -4
- package/lib/domain/shopping/repositories/subscription/plan.repository.d.ts +0 -4
- package/lib/domain/users/models/beauty-profile.d.ts +0 -12
- package/lib/domain/users/models/lead.d.ts +0 -9
- package/lib/domain/users/models/subscription/edition.d.ts +0 -15
- package/lib/domain/users/models/subscription/payment.d.ts +0 -14
- package/lib/domain/users/models/subscription/subscription.d.ts +0 -30
- package/lib/domain/users/models/user-address.d.ts +0 -7
- package/lib/domain/users/models/user-payment-method.d.ts +0 -13
- package/lib/domain/users/models/user.d.ts +0 -24
- package/lib/domain/users/repositories/beauty-profile.repository.d.ts +0 -4
- package/lib/domain/users/repositories/edition.repository.d.ts +0 -4
- package/lib/domain/users/repositories/lead.repository.d.ts +0 -4
- package/lib/domain/users/repositories/subscription-payment.repository.d.ts +0 -4
- package/lib/domain/users/repositories/subscription.repository.d.ts +0 -4
- package/lib/domain/users/repositories/user-address.repository.d.ts +0 -4
- package/lib/domain/users/repositories/user-payment-method.repository.d.ts +0 -4
- package/lib/domain/users/repositories/user.repository.d.ts +0 -6
- package/lib/domain/users/services/authentication.service.d.ts +0 -11
- package/lib/domain/users/use-cases/index.d.ts +0 -3
- package/lib/index.d.ts +0 -4
- package/lib/infra/firebase/auth/authentication-firebase-auth.service.d.ts +0 -11
- package/lib/infra/firebase/firestore/mixins/with-create-firestore.mixin.d.ts +0 -17
- package/lib/infra/firebase/firestore/mixins/with-crud-firestore.mixin.d.ts +0 -29
- package/lib/infra/firebase/firestore/mixins/with-delete-firestore.mixin.d.ts +0 -15
- package/lib/infra/firebase/firestore/mixins/with-find-firestore.mixin.d.ts +0 -20
- package/lib/infra/firebase/firestore/mixins/with-firestore.mixin.d.ts +0 -15
- package/lib/infra/firebase/firestore/mixins/with-get-firestore.mixin.d.ts +0 -15
- package/lib/infra/firebase/firestore/mixins/with-helpers.mixin.d.ts +0 -10
- package/lib/infra/firebase/firestore/mixins/with-sub-collection.mixin.d.ts +0 -14
- package/lib/infra/firebase/firestore/mixins/with-update-firestore.mixin.d.ts +0 -16
- package/lib/infra/firebase/firestore/models/user-search.d.ts +0 -9
- package/lib/infra/firebase/firestore/repositories/catalog/category-firestore.repository.d.ts +0 -55
- package/lib/infra/firebase/firestore/repositories/catalog/product-firestore.repository.d.ts +0 -50
- package/lib/infra/firebase/firestore/repositories/catalog/product-variant-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/catalog/subscription-product-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shop-settings/home-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shop-settings/shop-menu-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/buy-2-win-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/checkout-subscription-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/coupon-firestore.repository.d.ts +0 -53
- package/lib/infra/firebase/firestore/repositories/shopping/order-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/payment-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/shopping/subscription-plan-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/users/lead-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/users/subscription-edition-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/subscription-firestore.repository.d.ts +0 -49
- package/lib/infra/firebase/firestore/repositories/users/subscription-payment-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/user-address-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/user-beauty-profile-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/user-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/user-payment-method-firestore.repository.d.ts +0 -60
- package/lib/infra/firebase/firestore/repositories/users/user-search-firestore.repository.d.ts +0 -50
- package/lib/infra/firebase/firestore/types/firestore-sub.repository.type.d.ts +0 -6
- package/lib/infra/firebase/firestore/types/firestore.helpers.type.d.ts +0 -8
- package/lib/infra/firebase/firestore/types/firestore.repository.type.d.ts +0 -8
- package/lib/infra/index.d.ts +0 -1
- package/lib/utils/index.d.ts +0 -4
- package/lib/utils/mixins/index.d.ts +0 -2
- package/lib/utils/mixins/mixin-ctor.type.d.ts +0 -1
- package/lib/utils/types/index.d.ts +0 -1
- package/public-api.d.ts +0 -2
- /package/{lib/domain → domain}/catalog/index.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/enums/index.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/index.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/category-condition.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/category-filter.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/index.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/shops-description.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/shops-price.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/stock.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/models/types/variant-grade.type.d.ts +0 -0
- /package/{lib/domain → domain}/catalog/repositories/index.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/index.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/model/identifier-fields.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/enums/index.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/enums/update-option-actions.enum.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/index.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/types/repository-find-result.type.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/types/repository-limit-options.type.d.ts +0 -0
- /package/{lib/domain/general → domain/generic}/repository/types/repository-order-by-list.type.d.ts +0 -0
- /package/{lib/domain → domain}/location/index.d.ts +0 -0
- /package/{lib/domain → domain}/location/models/index.d.ts +0 -0
- /package/{lib/domain → domain}/location/models/types/index.d.ts +0 -0
- /package/{lib/domain → domain}/location/models/types/location-bound.type.d.ts +0 -0
- /package/{lib/domain → domain}/location/models/types/location-geometry.type.d.ts +0 -0
- /package/{lib/domain → domain}/location/models/types/location-lat-lng.type.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/enums/filter-type.enum.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/enums/index.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/enums/questions-filters.enum.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/helpers/beauty-questions.helper.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/helpers/index.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/index.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/models/index.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/models/types/banner.type.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/models/types/benefit.type.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/models/types/menu-nav.type.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/models/types/sub-menu.type.d.ts +0 -0
- /package/{lib/domain → domain}/shop-settings/repositories/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/coupons/enums/exclusivities.enum.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/enums/checkout-types.enum.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/enums/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/enums/order-status.enum.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/line-item.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/order.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/subscription/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-address.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-billing.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-card.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-customer.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-document.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-item.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/models/types/payment-shipping.type.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/repositories/index.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/repositories/legacy-order.repository.d.ts +0 -0
- /package/{lib/domain → domain}/shopping/repositories/subscription/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/errors/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/errors/unauthorized.error.d.ts +0 -0
- /package/{lib/domain → domain}/users/errors/user-already-registered.error.d.ts +0 -0
- /package/{lib/domain → domain}/users/errors/weak-password.error.d.ts +0 -0
- /package/{lib/domain → domain}/users/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/accessory-importances.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/area.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/beard-problems.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/beard-sizes.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/beauty-product-importances.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/body-problems.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/body-shapes.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/body-tattoos.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/face-skin-oilinesses.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/face-skin-problems.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/face-skin-tones.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/family-incomes.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/fragrance-importances.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/hair-colors.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/hair-problems.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/hair-strands.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/hair-types.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/office-position.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/product-spents.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/enums/user-type.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/enums/billing-status.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/enums/edition-status.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/enums/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/enums/payment-type.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/enums/status.enum.d.ts +0 -0
- /package/{lib/domain → domain}/users/models/subscription/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/repositories/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/services/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/services/register.service.d.ts +0 -0
- /package/{lib/domain → domain}/users/services/types/basic-user-data.type.d.ts +0 -0
- /package/{lib/domain → domain}/users/services/types/index.d.ts +0 -0
- /package/{lib/domain → domain}/users/use-cases/authentication.d.ts +0 -0
- /package/{lib/domain → domain}/users/use-cases/register.d.ts +0 -0
- /package/{lib/domain → domain}/users/use-cases/signout.d.ts +0 -0
- /package/{lib/errors → errors}/duplicated-results.error.d.ts +0 -0
- /package/{lib/errors → errors}/index.d.ts +0 -0
- /package/{lib/errors → errors}/invalid-argument.error.d.ts +0 -0
- /package/{lib/errors → errors}/not-found.error.d.ts +0 -0
- /package/{lib/errors → errors}/required-argument.error.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/auth/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/auth/register-firebase-auth.service.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/auth/types/firebase-user-with-id.type.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/mixins/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/catalog/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/shop-settings/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/shopping/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/shopping/legacy-order-firestore.repository.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/repositories/users/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/firestore/types/index.d.ts +0 -0
- /package/{lib/infra → infra}/firebase/index.d.ts +0 -0
- /package/{lib/utils → utils}/mixins/base.mixin.d.ts +0 -0
- /package/{lib/utils → utils}/types/prop.type.d.ts +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModelBaseStructure, CrudRepository } from '../../../domain';
|
|
2
|
+
import { GraphQLRepository } from '../types';
|
|
3
|
+
import { MergeConstructorParams, MixinCtor } from '../../../utils';
|
|
4
|
+
import { CreateConstructorParams } from './with-create-hasura-graphql.mixin';
|
|
5
|
+
import { ConstructorParams } from './with-hasura-graphql.mixin';
|
|
6
|
+
import { DeleteConstructorParams } from './with-delete-hasura-graphql.mixin';
|
|
7
|
+
import { GetConstructorParams } from './with-get-hasura-graphql.mixin';
|
|
8
|
+
import { UpdateConstructorParams, UpdateHasuraGraphQLRepositoryType } from './with-update-hasura-graphql.mixin';
|
|
9
|
+
export declare const withCrudHasuraGraphQL: <TBase extends ModelBaseStructure<any, any>, Repository = CrudRepository<TBase, import("../../../domain").CrudParams<TBase>>, TMixinBase extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: MixinCtor<GraphQLRepository<TBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<TBase> & Repository & import("../../../domain").UpdateRepository<TBase, import("../../../domain").RepositoryUpdateParams<TBase>> & {
|
|
10
|
+
paramsToPlain(params: import("../../../domain").RepositoryUpdateParams<TBase>): Partial<TBase>;
|
|
11
|
+
}, MergeConstructorParams<ConstructorParams<TBase> & CreateConstructorParams & DeleteConstructorParams & GetConstructorParams & UpdateConstructorParams, ConstructorParameters<TMixinBase>>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DeleteRepository, DeleteRepositoryParams, ModelBaseStructure } from '../../../domain';
|
|
2
|
+
import { GraphQLRepository } from '../types';
|
|
3
|
+
import { MergeConstructorParams, MixinCtor } from '../../../utils';
|
|
4
|
+
export declare type DeleteConstructorParams = {
|
|
5
|
+
deleteGraphQLOperation?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const withDeleteHasuraGraphQL: <MBase extends ModelBaseStructure<any, any>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & DeleteRepository<MBase, DeleteRepositoryParams<MBase>> & InstanceType<TMixinBase>, MergeConstructorParams<DeleteConstructorParams, ConstructorParameters<TMixinBase>>>;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ModelBaseStructure, NonFunctionAndIdentifierPropertyNames, NonFunctionPropertyNames, RepositoryFindFielters, RepositoryFindFieltersOptions, RepositoryFindResult, RepositoryLimitOptions, RepositoryOrderBy } from '../../../domain';
|
|
2
|
+
import { ColumnOptions, GraphQLRepository, HasuraGraphQLFields, VariableOptions } from '../types';
|
|
3
|
+
import { HasuraGraphQLWhere } from '../enums';
|
|
4
|
+
import { MixinCtor } from '../../../utils';
|
|
5
|
+
export declare const withFindHasuraGraphQL: <MBase extends ModelBaseStructure<any, any>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
|
|
6
|
+
new (...args: any[]): {
|
|
7
|
+
find(options?: {
|
|
8
|
+
filters?: RepositoryFindFielters<MBase>;
|
|
9
|
+
limits?: RepositoryLimitOptions<MBase>;
|
|
10
|
+
orderBy?: RepositoryOrderBy<MBase>;
|
|
11
|
+
}): Promise<RepositoryFindResult<MBase>>;
|
|
12
|
+
makeGraphQLWhere: (filter: RepositoryFindFielters<MBase>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
|
|
13
|
+
buildWhereSentence: (field: NonFunctionAndIdentifierPropertyNames<MBase>, options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, keyof MBase>>, fields: HasuraGraphQLFields<MBase>) => VariableOptions;
|
|
14
|
+
buildOperatorSentence: (options: RepositoryFindFieltersOptions<MBase, any>, fieldOption: ColumnOptions<any, any>) => VariableOptions;
|
|
15
|
+
getHasuraOperator: (options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, keyof MBase>>, fieldOption: ColumnOptions<any, any>) => HasuraGraphQLWhere;
|
|
16
|
+
getHasuraJsonbOperator: (options: RepositoryFindFieltersOptions<MBase, NonFunctionPropertyNames<MBase, keyof MBase>>) => HasuraGraphQLWhere;
|
|
17
|
+
tableName: string;
|
|
18
|
+
model: import("../../../domain").BaseModelBuilder<MBase, NonFunctionAndIdentifierPropertyNames<MBase>, MBase & {
|
|
19
|
+
prototype: unknown;
|
|
20
|
+
}>;
|
|
21
|
+
fields: HasuraGraphQLFields<MBase>;
|
|
22
|
+
endpoint: string;
|
|
23
|
+
authOptions: import("../types").HasuraGraphQLAuthOptions;
|
|
24
|
+
mutation: <ReturnFields = any>(operation: string, fields?: HasuraGraphQLFields<MBase>, variables?: VariableOptions) => Promise<ReturnFields>;
|
|
25
|
+
query: <ReturnFields_1 = any>(operation: string | import("../types").GraphQLParams<MBase>[], fields?: HasuraGraphQLFields<MBase>, variables?: VariableOptions) => Promise<ReturnFields_1>;
|
|
26
|
+
getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
|
|
27
|
+
convertDataFromHasura: (data: Record<string, string | number>) => MBase;
|
|
28
|
+
convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
|
|
29
|
+
};
|
|
30
|
+
} & TMixinBase;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ModelBaseStructure, GetRepositoryParams } from '../../../domain';
|
|
2
|
+
import { GraphQLRepository } from '../types';
|
|
3
|
+
import { MixinCtor } from '../../../utils';
|
|
4
|
+
export declare type GetConstructorParams = {
|
|
5
|
+
getGraphQLOperation?: string;
|
|
6
|
+
};
|
|
7
|
+
export declare const withGetHasuraGraphQL: <MBase extends ModelBaseStructure<any, any>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => {
|
|
8
|
+
new (...params: any[]): {
|
|
9
|
+
getGraphQLOperation: string;
|
|
10
|
+
get(identifiers: GetRepositoryParams<MBase>): Promise<MBase>;
|
|
11
|
+
tableName: string;
|
|
12
|
+
model: import("../../../domain").BaseModelBuilder<MBase, import("../../../domain").NonFunctionAndIdentifierPropertyNames<MBase>, MBase & {
|
|
13
|
+
prototype: unknown;
|
|
14
|
+
}>;
|
|
15
|
+
fields: import("../types").HasuraGraphQLFields<MBase>;
|
|
16
|
+
endpoint: string;
|
|
17
|
+
authOptions: import("../types").HasuraGraphQLAuthOptions;
|
|
18
|
+
mutation: <ReturnFields = any>(operation: string, fields?: import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields>;
|
|
19
|
+
query: <ReturnFields_1 = any>(operation: string | import("../types").GraphQLParams<MBase>[], fields?: import("../types").HasuraGraphQLFields<MBase>, variables?: import("../types").VariableOptions) => Promise<ReturnFields_1>;
|
|
20
|
+
getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
|
|
21
|
+
convertDataFromHasura: (data: Record<string, string | number>) => MBase;
|
|
22
|
+
convertDataToHasura(instance: MBase, update?: boolean): Record<string, string | number>;
|
|
23
|
+
};
|
|
24
|
+
} & TMixinBase;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { GraphQLRepository, HasuraGraphQLAuthOptions, HasuraGraphQLFields } from '../types';
|
|
2
|
+
import { MergeConstructorParams, MixinCtor } from '../../../utils';
|
|
3
|
+
import { BaseModelBuilder, ModelBaseStructure } from '../../../domain';
|
|
4
|
+
export declare type ConstructorParams<Model extends ModelBaseStructure> = {
|
|
5
|
+
tableName: string;
|
|
6
|
+
model: BaseModelBuilder<Model>;
|
|
7
|
+
fields: HasuraGraphQLFields<Model>;
|
|
8
|
+
endpoint: string;
|
|
9
|
+
authOptions: HasuraGraphQLAuthOptions;
|
|
10
|
+
};
|
|
11
|
+
export declare const withHasuraGraphQL: <MBase extends ModelBaseStructure<any, any>, T extends MixinCtor<any, any[]> = MixinCtor<any, any[]>>(MixinBase: T) => MixinCtor<GraphQLRepository<MBase>, MergeConstructorParams<ConstructorParams<MBase>, ConstructorParameters<T>>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ModelBaseStructure, RepositoryUpdateParams, UpdateRepository } from '../../../domain';
|
|
2
|
+
import { GraphQLRepository } from '../types';
|
|
3
|
+
import { MergeConstructorParams, MixinCtor } from '../../../utils';
|
|
4
|
+
export declare type UpdateHasuraGraphQLRepositoryType<MBase extends ModelBaseStructure> = UpdateRepository<MBase> & {
|
|
5
|
+
paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
|
|
6
|
+
};
|
|
7
|
+
export declare type UpdateConstructorParams = {
|
|
8
|
+
updateGraphQLOperation?: string;
|
|
9
|
+
updateGraphQLObjectType?: string;
|
|
10
|
+
updateGraphQLPKType?: string;
|
|
11
|
+
};
|
|
12
|
+
export declare const withUpdateHasuraGraphQL: <MBase extends ModelBaseStructure<any, any>, TMixinBase extends MixinCtor<GraphQLRepository<MBase>, any[]>>(MixinBase: MixinCtor<GraphQLRepository<MBase>, any[]> & TMixinBase) => MixinCtor<GraphQLRepository<MBase> & UpdateRepository<MBase, RepositoryUpdateParams<MBase>> & {
|
|
13
|
+
paramsToPlain(params: RepositoryUpdateParams<MBase>): Partial<MBase>;
|
|
14
|
+
} & InstanceType<TMixinBase>, MergeConstructorParams<UpdateConstructorParams, ConstructorParameters<TMixinBase>>>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Variant } from '../../../domain';
|
|
2
|
+
export declare class VariantHasuraGraphQL extends Variant {
|
|
3
|
+
firestoreId?: string;
|
|
4
|
+
fullPrice?: number;
|
|
5
|
+
subscriberDiscountPercentage?: number;
|
|
6
|
+
subscriberPrice?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
hasVariants?: boolean;
|
|
9
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Category, CategoryRepository, GetRepositoryParams, Product, Shops } from '../../../../domain';
|
|
2
|
+
import { CategoryHasuraGraphQL } from '../../models';
|
|
3
|
+
import { HasuraGraphQLAuthOptions } from '../../types';
|
|
4
|
+
import { ProductHasuraGraphQLRepository } from './product-hasura-graphql.repository';
|
|
5
|
+
declare const CategoryHasuraGraphQLRepository_base: import("../../../../utils").MixinCtor<import("../../types").GraphQLRepository<CategoryHasuraGraphQL> & import("../../../../domain").CrudRepository<CategoryHasuraGraphQL, import("../../../../domain").CrudParams<CategoryHasuraGraphQL>> & import("../../../../domain").UpdateRepository<CategoryHasuraGraphQL, import("../../../../domain").RepositoryUpdateParams<CategoryHasuraGraphQL>> & {
|
|
6
|
+
paramsToPlain(params: import("../../../../domain").RepositoryUpdateParams<CategoryHasuraGraphQL>): Partial<CategoryHasuraGraphQL>;
|
|
7
|
+
}, [import("../../mixins").ConstructorParams<CategoryHasuraGraphQL> & import("../../mixins").CreateConstructorParams & import("../../mixins").DeleteConstructorParams & import("../../mixins").GetConstructorParams & import("../../mixins").UpdateConstructorParams, ...any[]]>;
|
|
8
|
+
export declare class CategoryHasuraGraphQLRepository extends CategoryHasuraGraphQLRepository_base implements CategoryRepository {
|
|
9
|
+
private readonly productRepository;
|
|
10
|
+
constructor(endpoint: string, authOptions: HasuraGraphQLAuthOptions, productRepository: ProductHasuraGraphQLRepository);
|
|
11
|
+
get(identifiers: GetRepositoryParams<CategoryHasuraGraphQL>): Promise<CategoryHasuraGraphQL>;
|
|
12
|
+
getCategoryBySlug(slug: string, shop: Shops): Promise<Category>;
|
|
13
|
+
getCategoriesForHome(categoryIds: string[], limit?: number): Promise<{
|
|
14
|
+
category: Category;
|
|
15
|
+
products: Product[];
|
|
16
|
+
}[]>;
|
|
17
|
+
mountCategory(category: Category, options?: {
|
|
18
|
+
limit?: number;
|
|
19
|
+
hasStock?: boolean;
|
|
20
|
+
}): Promise<Product[]>;
|
|
21
|
+
}
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HasuraGraphQLAuthOptions } from '../../types';
|
|
2
|
+
import { ProductHasuraGraphQL } from '../../models';
|
|
3
|
+
import { ProductRepository, Shops } from '../../../../domain';
|
|
4
|
+
declare const ProductHasuraGraphQLRepository_base: import("../../../../utils").MixinCtor<import("../../types").GraphQLRepository<ProductHasuraGraphQL> & import("../../../../domain").CrudRepository<ProductHasuraGraphQL, import("../../../../domain").CrudParams<ProductHasuraGraphQL>> & import("../../../../domain").UpdateRepository<ProductHasuraGraphQL, import("../../../../domain").RepositoryUpdateParams<ProductHasuraGraphQL>> & {
|
|
5
|
+
paramsToPlain(params: import("../../../../domain").RepositoryUpdateParams<ProductHasuraGraphQL>): Partial<ProductHasuraGraphQL>;
|
|
6
|
+
}, [import("../../mixins").ConstructorParams<ProductHasuraGraphQL> & import("../../mixins").CreateConstructorParams & import("../../mixins").DeleteConstructorParams & import("../../mixins").GetConstructorParams & import("../../mixins").UpdateConstructorParams, ...any[]]>;
|
|
7
|
+
export declare class ProductHasuraGraphQLRepository extends ProductHasuraGraphQLRepository_base implements ProductRepository {
|
|
8
|
+
constructor(endpoint: string, authOptions: HasuraGraphQLAuthOptions);
|
|
9
|
+
getBySlug(slug: string, shop: Shops): Promise<ProductHasuraGraphQL>;
|
|
10
|
+
}
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HasuraGraphQLAuthOptions } from '../../types';
|
|
2
|
+
import { VariantHasuraGraphQL } from '../../models';
|
|
3
|
+
import { VariantRepository } from '../../../../domain';
|
|
4
|
+
declare const VariantHasuraGraphQLRepository_base: import("../../../../utils").MixinCtor<import("../../types").GraphQLRepository<VariantHasuraGraphQL> & import("../../../../domain").CrudRepository<VariantHasuraGraphQL, import("../../../../domain").CrudParams<VariantHasuraGraphQL>> & import("../../../../domain").UpdateRepository<VariantHasuraGraphQL, import("../../../../domain").RepositoryUpdateParams<VariantHasuraGraphQL>> & {
|
|
5
|
+
paramsToPlain(params: import("../../../../domain").RepositoryUpdateParams<VariantHasuraGraphQL>): Partial<VariantHasuraGraphQL>;
|
|
6
|
+
}, [import("../../mixins").ConstructorParams<VariantHasuraGraphQL> & import("../../mixins").CreateConstructorParams & import("../../mixins").DeleteConstructorParams & import("../../mixins").GetConstructorParams & import("../../mixins").UpdateConstructorParams, ...any[]]>;
|
|
7
|
+
export declare class VariantHasuraGraphQLRepository extends VariantHasuraGraphQLRepository_base implements VariantRepository {
|
|
8
|
+
constructor(endpoint: string, authOptions: HasuraGraphQLAuthOptions);
|
|
9
|
+
}
|
|
10
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './catalog';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BaseModelBuilder, ModelBaseStructure } from '../../../domain';
|
|
2
|
+
import { HasuraGraphQLAuthOptions } from './hasura-graphql-auth-options.type';
|
|
3
|
+
import { HasuraGraphQLFields } from './hasura-graphql-fields.type';
|
|
4
|
+
import { VariableOptions } from './variable-options.type';
|
|
5
|
+
export declare type GraphQLParams<Model extends ModelBaseStructure> = {
|
|
6
|
+
operation: string;
|
|
7
|
+
fields?: HasuraGraphQLFields<Model>;
|
|
8
|
+
variables?: VariableOptions;
|
|
9
|
+
};
|
|
10
|
+
export declare type GraphQLRepository<Model extends ModelBaseStructure> = {
|
|
11
|
+
tableName: string;
|
|
12
|
+
model: BaseModelBuilder<Model>;
|
|
13
|
+
fields: HasuraGraphQLFields<Model>;
|
|
14
|
+
endpoint: string;
|
|
15
|
+
authOptions: HasuraGraphQLAuthOptions;
|
|
16
|
+
mutation: <ReturnFields = any>(operation: string, fields?: HasuraGraphQLFields<Model>, variables?: VariableOptions) => Promise<ReturnFields>;
|
|
17
|
+
query: <ReturnFields = any>(operation: string | GraphQLParams<Model>[], fields?: HasuraGraphQLFields<Model>, variables?: VariableOptions) => Promise<ReturnFields>;
|
|
18
|
+
getAttributeGraphQLTypeOf: <FieldValue>(value: FieldValue) => string;
|
|
19
|
+
convertDataFromHasura: (data: Record<string, string | number>) => Model;
|
|
20
|
+
convertDataToHasura(instance: Model, update?: boolean): Record<string, string | number>;
|
|
21
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { HasuraGraphQLColumnType } from '../enums';
|
|
2
|
+
import { ModelBaseStructure, NestedRepositoryFindFieltersOptions, NonFunctionAndIdentifierPropertyNames, RepositoryFindField } from '../../../domain';
|
|
3
|
+
import { PropType } from '../../../utils';
|
|
4
|
+
export declare type ColumnOptions<FieldType, Model extends ModelBaseStructure, ValueFrom = string | number | boolean | Record<string, any>> = {
|
|
5
|
+
type?: HasuraGraphQLColumnType;
|
|
6
|
+
columnName?: string;
|
|
7
|
+
fields?: any[];
|
|
8
|
+
foreignKeyColumn?: any;
|
|
9
|
+
from?: (value: ValueFrom | ValueFrom[], data?: any) => FieldType;
|
|
10
|
+
to?: (value: FieldType, instance?: Model) => ValueFrom;
|
|
11
|
+
bindFindFilter?: (sentence: NestedRepositoryFindFieltersOptions<FieldType>) => Record<string, RepositoryFindField<any, any> | ValueFrom>;
|
|
12
|
+
bindPersistData?: (value: FieldType, instance?: Model) => Record<string, ValueFrom>;
|
|
13
|
+
};
|
|
14
|
+
export declare type ColumnModelOptions<Model extends ModelBaseStructure, ParentModel extends ModelBaseStructure> = ColumnOptions<Model, ParentModel> & {
|
|
15
|
+
fields?: HasuraGraphQLFields<Model>;
|
|
16
|
+
foreignKeyColumn?: {
|
|
17
|
+
[key in NonFunctionAndIdentifierPropertyNames<Model>]?: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
export declare type AggregateOptionNames = 'avg' | 'count' | 'max' | 'min' | 'stddev' | 'stddev_pop' | 'stddev_samp' | 'sum' | 'var_pop' | 'var_samp' | 'variance';
|
|
21
|
+
export declare type AggregateOptionFields<Model extends ModelBaseStructure, Type, Properties extends keyof Model = keyof Model> = {
|
|
22
|
+
[K in Properties]: PropType<Model, K> extends Type ? K : never;
|
|
23
|
+
}[Properties];
|
|
24
|
+
export declare type AggregateOptions<Model extends ModelBaseStructure> = {
|
|
25
|
+
avg?: Array<AggregateOptionFields<Model, number>>;
|
|
26
|
+
max?: Array<AggregateOptionFields<Model, number | Date>>;
|
|
27
|
+
min?: Array<AggregateOptionFields<Model, number | Date>>;
|
|
28
|
+
stddev?: Array<AggregateOptionFields<Model, number>>;
|
|
29
|
+
stddev_pop?: Array<AggregateOptionFields<Model, number>>;
|
|
30
|
+
stddev_samp?: Array<AggregateOptionFields<Model, number>>;
|
|
31
|
+
sum?: Array<AggregateOptionFields<Model, number>>;
|
|
32
|
+
var_pop?: Array<AggregateOptionFields<Model, number>>;
|
|
33
|
+
var_samp?: Array<AggregateOptionFields<Model, number>>;
|
|
34
|
+
variance?: Array<AggregateOptionFields<Model, number>>;
|
|
35
|
+
};
|
|
36
|
+
export declare type HasuraGraphQLFields<Model extends ModelBaseStructure> = (NonFunctionAndIdentifierPropertyNames<Model> | {
|
|
37
|
+
[key in NonFunctionAndIdentifierPropertyNames<Model>]?: PropType<Model, key> extends ModelBaseStructure ? HasuraGraphQLFields<PropType<Model, key>> : never;
|
|
38
|
+
} | {
|
|
39
|
+
[key in NonFunctionAndIdentifierPropertyNames<Model>]?: key extends 'aggregate' ? never : PropType<Model, key> extends ModelBaseStructure ? ColumnModelOptions<PropType<Model, key>, Model> : ColumnOptions<PropType<Model, key>, Model>;
|
|
40
|
+
} | {
|
|
41
|
+
aggregate: Array<AggregateOptions<Model> | 'count'>;
|
|
42
|
+
})[];
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from './fields.type';
|
|
2
|
+
export * from './graphql.repository.type';
|
|
3
|
+
export * from './nested-field.type';
|
|
4
|
+
export * from './query-builder-options.type';
|
|
5
|
+
export * from './variable-options.type';
|
|
6
|
+
export * from './hasura-graphql-auth-options.type';
|
|
7
|
+
export * from './hasura-graphql-fields.type';
|
|
8
|
+
export * from './hasura-graphql-headers.type';
|
package/infra/index.d.ts
ADDED
package/infrab4a-connect.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infrab4a/connect",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org"
|
|
6
6
|
},
|
|
@@ -9,8 +9,11 @@
|
|
|
9
9
|
"url": "https://github.com/B4AGroup/b4a-firebase-libs"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
+
"axios": "^0.27.2",
|
|
12
13
|
"class-transformer": "^0.4.0",
|
|
14
|
+
"date-fns": "^2.28.0",
|
|
13
15
|
"firebase": "7.24.0",
|
|
16
|
+
"gql-query-builder": "^3.7.0",
|
|
14
17
|
"lodash": "^4.17.21",
|
|
15
18
|
"reflect-metadata": "^0.1.13",
|
|
16
19
|
"ts-md5": "^1.2.9",
|
package/utils/index.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { add, addDays, addBusinessDays, addMonths, addYears, endOfDay, format, formatISO9075, parseISO, startOfDay, sub } from 'date-fns';
|
|
2
|
+
import { chunk, isBoolean, isDate, isEmpty, isInteger, isNaN, isNil, isNumber, isObject, isString, now, omit, pick, set } from 'lodash';
|
|
3
|
+
export * from './mixins';
|
|
4
|
+
export * from './is-uuid';
|
|
5
|
+
export * from './types';
|
|
6
|
+
export * from './parse-datetime';
|
|
7
|
+
export { add, addDays, addBusinessDays, addMonths, addYears, chunk, endOfDay, format, formatISO9075, isBoolean, isDate, isEmpty, isInteger, isNil, isNaN, isNumber, isObject, isString, parseISO, now, omit, pick, set, startOfDay, sub, };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const isUUID: (value: string) => boolean;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare type Tail<T extends any[]> = T extends [any, ...infer U] ? U : never;
|
|
2
|
+
export declare type MergeConstructorParams<NewParams, CurrentParams extends any[]> = CurrentParams extends [] ? [NewParams, ...any] : CurrentParams[0] extends never ? [NewParams, ...any] : [CurrentParams[0] & NewParams, ...Tail<CurrentParams>];
|
|
3
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type MixinCtor<T = any, A extends any[] = any[]> = new (...args: A) => T;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const parseDateTime: (value: string) => string | Date;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ArrayElement<ArrayType extends readonly unknown[]> = ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './models';
|
|
2
|
-
export * from './repositories';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxVQUFVLENBQUE7QUFDeEIsY0FBYyxnQkFBZ0IsQ0FBQSIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vbW9kZWxzJ1xuZXhwb3J0ICogZnJvbSAnLi9yZXBvc2l0b3JpZXMnXG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../../general/model';
|
|
2
|
-
export class Category extends BaseModel {
|
|
3
|
-
identifierFields() {
|
|
4
|
-
return ['id'];
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnkuanMiLCJzb3VyY2VSb290IjoiIiwic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9uXG4gIHByb2R1Y3RzPzogc3RyaW5nW11cbiAgZmlsdGVycz86IENhdGVnb3J5RmlsdGVyW11cbiAgY3JlYXRlZEF0OiBEYXRlXG4gIHVwZGF0ZWRBdDogRGF0ZVxuICBzaG9wOiBTaG9wc1xuICBwdWJsaXNoZWQ6IGJvb2xlYW5cblxuICBpZGVudGlmaWVyRmllbGRzKCk6IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxDYXRlZ29yeT5bXSB7XG4gICAgcmV0dXJuIFsnaWQnXVxuICB9XG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export * from './shops.enum';
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvbW9kZWxzL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsY0FBYyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9zaG9wcy5lbnVtJ1xuIl19
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export var Shops;
|
|
2
|
-
(function (Shops) {
|
|
3
|
-
Shops["MENSMARKET"] = "mensmarket";
|
|
4
|
-
Shops["GLAMSHOP"] = "Glamshop";
|
|
5
|
-
})(Shops || (Shops = {}));
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcHMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9tb2RlbHMvZW51bXMvc2hvcHMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxLQUdYO0FBSEQsV0FBWSxLQUFLO0lBQ2Ysa0NBQXlCLENBQUE7SUFDekIsOEJBQXFCLENBQUE7QUFDdkIsQ0FBQyxFQUhXLEtBQUssS0FBTCxLQUFLLFFBR2hCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gU2hvcHMge1xuICBNRU5TTUFSS0VUID0gYG1lbnNtYXJrZXRgLFxuICBHTEFNU0hPUCA9ICdHbGFtc2hvcCcsXG59XG4iXX0=
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './enums';
|
|
2
|
-
export * from './types';
|
|
3
|
-
export * from './category';
|
|
4
|
-
export * from './product';
|
|
5
|
-
export * from './variant';
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsU0FBUyxDQUFBO0FBQ3ZCLGNBQWMsU0FBUyxDQUFBO0FBQ3ZCLGNBQWMsWUFBWSxDQUFBO0FBQzFCLGNBQWMsV0FBVyxDQUFBO0FBQ3pCLGNBQWMsV0FBVyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9lbnVtcydcbmV4cG9ydCAqIGZyb20gJy4vdHlwZXMnXG5leHBvcnQgKiBmcm9tICcuL2NhdGVnb3J5J1xuZXhwb3J0ICogZnJvbSAnLi9wcm9kdWN0J1xuZXhwb3J0ICogZnJvbSAnLi92YXJpYW50J1xuIl19
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../../general/model';
|
|
2
|
-
export class Product extends BaseModel {
|
|
3
|
-
identifierFields() {
|
|
4
|
-
return ['id'];
|
|
5
|
-
}
|
|
6
|
-
getInfoByShop(shop) {
|
|
7
|
-
var _a, _b, _c, _d, _e, _f;
|
|
8
|
-
return Object.assign(Object.assign(Object.assign({}, (((_b = (_a = this.description) === null || _a === void 0 ? void 0 : _a[shop]) === null || _b === void 0 ? void 0 : _b.description) ? { description: (_d = (_c = this.description) === null || _c === void 0 ? void 0 : _c[shop]) === null || _d === void 0 ? void 0 : _d.description } : {})), (((_e = this.price) === null || _e === void 0 ? void 0 : _e[shop]) || {})), (((_f = this.stock) === null || _f === void 0 ? void 0 : _f[shop]) || {}));
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvZHVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9tb2RlbHMvcHJvZHVjdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUE4QyxNQUFNLHFCQUFxQixDQUFBO0FBTTNGLE1BQU0sT0FBTyxPQUFRLFNBQVEsU0FBa0I7SUEyQjdDLGdCQUFnQjtRQUNkLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQTtJQUNmLENBQUM7SUFFRCxhQUFhLENBQUMsSUFBVzs7UUFDdkIscURBQ0ssQ0FBQyxDQUFBLE1BQUEsTUFBQSxJQUFJLENBQUMsV0FBVywwQ0FBRyxJQUFJLENBQUMsMENBQUUsV0FBVyxFQUFDLENBQUMsQ0FBQyxFQUFFLFdBQVcsRUFBRSxNQUFBLE1BQUEsSUFBSSxDQ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Iiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvbW9kZWxzL3R5cGVzL2NhdGVnb3J5LWNvbmRpdGlvbi50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDYXRlZ29yeUNvbmRpdGlvbiA9IHtcbiAgdGFncz86IHN0cmluZ1tdXG4gIGJyYW5kPzogc3RyaW5nXG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2F0ZWdvcnktZmlsdGVyLnR5cGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvbW9kZWxzL3R5cGVzL2NhdGVnb3J5LWZpbHRlci50eXBlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgdHlwZSBDYXRlZ29yeUZpbHRlciA9IHtcbiAgbmFtZT86IHN0cmluZ1xuICB0YWdzPzogc3RyaW5nW11cbn1cbiJdfQ==
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export * from './shops-description.type';
|
|
2
|
-
export * from './shops-price.type';
|
|
3
|
-
export * from './stock.type';
|
|
4
|
-
export * from './category-condition.type';
|
|
5
|
-
export * from './category-filter.type';
|
|
6
|
-
export * from './product-review.type';
|
|
7
|
-
export * from './variant-grade.type';
|
|
8
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNl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@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hvcHMtcHJpY2UudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9tb2RlbHMvdHlwZXMvc2hvcHMtcHJpY2UudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgU2hvcHMgfSBmcm9tICcuLi9lbnVtcy9zaG9wcy5lbnVtJ1xuXG5leHBvcnQgdHlwZSBTaG9wUHJpY2UgPSB7XG4gIHByaWNlOiBudW1iZXJcbiAgZnVsbFByaWNlOiBudW1iZXJcbiAgc3Vic2NyaWJlckRpc2NvdW50UGVyY2VudGFnZT86IG51bWJlclxuICBzdWJzY3JpYmVyUHJpY2U/OiBudW1iZXJcbn1cblxuZXhwb3J0IHR5cGUgU2hvcHNQcmljZSA9IHtcbiAgW0sgaW4gU2hvcHNdPzogU2hvcFByaWNlXG59XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3RvY2sudHlwZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9tb2RlbHMvdHlwZXMvc3RvY2sudHlwZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHR5cGUgU3RvY2sgPSB7XG4gIHF1YW50aXR5OiBudW1iZXJcbn1cbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC1ncmFkZS50eXBlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL2RvbWFpbi9jYXRhbG9nL21vZGVscy90eXBlcy92YXJpYW50LWdyYWRlLnR5cGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB0eXBlIFZhcmlhbnRHcmFkZSA9IHtcbiAgdGl0bGU6IHN0cmluZ1xuICB2YWx1ZTogc3RyaW5nXG59XG4iXX0=
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { BaseModel } from '../../general/model';
|
|
2
|
-
export class Variant extends BaseModel {
|
|
3
|
-
identifierFields() {
|
|
4
|
-
return ['id'];
|
|
5
|
-
}
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9tb2RlbHMvdmFyaWFudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsU0FBUyxFQUE4QyxNQUFNLHFCQUFxQixDQUFBO0FBSTNGLE1BQU0sT0FBTyxPQUFRLFNBQVEsU0FBa0I7SUFXN0MsZ0JBQWdCO1FBQ2QsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFBO0lBQ2YsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOls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i9tb2RlbHMvY2F0ZWdvcnknXG5pbXBvcnQgeyBDcnVkUmVwb3NpdG9yeSB9IGZyb20gJy4uLy4uL2dlbmVyYWwvcmVwb3NpdG9yeS9jcnVkLnJlcG9zaXRvcnknXG5pbXBvcnQgeyBTaG9wcyB9IGZyb20gJy4uL21vZGVscy9lbnVtcy9zaG9wcy5lbnVtJ1xuaW1wb3J0IHsgUHJvZHVjdCB9IGZyb20gJy4uL21vZGVscydcblxuZXhwb3J0IGludGVyZmFjZSBDYXRlZ29yeVJlcG9zaXRvcnkgZXh0ZW5kcyBDcnVkUmVwb3NpdG9yeTxDYXRlZ29yeT4ge1xuICBnZXRDYXRlZ29yeUJ5U2x1ZyhzbHVnOiBzdHJpbmcsIHNob3A6IFNob3BzKTogUHJvbWlzZTxDYXRlZ29yeT5cbiAgZ2V0Q2F0ZWdvcmllc0ZvckhvbWUoY2F0ZWdvcnlJZHM6IHN0cmluZ1tdLCBsaW1pdD86IG51bWJlcik6IFByb21pc2U8eyBjYXRlZ29yeTogQ2F0ZWdvcnk7IHByb2R1Y3RzOiBQcm9kdWN0W10gfVtdPlxuICBtb3VudENhdGVnb3J5KGNhdGVnb3J5OiBDYXRlZ29yeSk6IFByb21pc2U8UHJvZHVjdFtdPlxufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './category.repository';
|
|
2
|
-
export * from './product.repository';
|
|
3
|
-
export * from './subscription-product.repository';
|
|
4
|
-
export * from './variant.repository';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2NhdGFsb2cvcmVwb3NpdG9yaWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsdUJBQXV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 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLXByb2R1Y3QucmVwb3NpdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vY2F0YWxvZy9yZXBvc2l0b3JpZXMvc3Vic2NyaXB0aW9uLXByb2R1Y3QucmVwb3NpdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ3J1ZFJlcG9zaXRvcnkgfSBmcm9tICcuLi8uLi9nZW5lcmFsL3JlcG9zaXRvcnkvY3J1ZC5yZXBvc2l0b3J5J1xuaW1wb3J0IHsgUHJvZHVjdCB9IGZyb20gJy4uL21vZGVscydcblxuZXhwb3J0IGludGVyZmFjZSBTdWJzY3JpcHRpb25Qcm9kdWN0UmVwb3NpdG9yeSBleHRlbmRzIENydWRSZXBvc2l0b3J5PFByb2R1Y3Q+IHt9XG4iXX0=
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmFyaWFudC5yZXBvc2l0b3J5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL2RvbWFpbi9jYXRhbG9nL3JlcG9zaXRvcmllcy92YXJpYW50LnJlcG9zaXRvcnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IENydWRSZXBvc2l0b3J5IH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9yZXBvc2l0b3J5L2NydWQucmVwb3NpdG9yeSdcbmltcG9ydCB7IFZhcmlhbnQgfSBmcm9tICcuLi9tb2RlbHMvdmFyaWFudCdcblxuZXhwb3J0IGludGVyZmFjZSBWYXJpYW50UmVwb3NpdG9yeSBleHRlbmRzIENydWRSZXBvc2l0b3J5PFZhcmlhbnQ+IHt9XG4iXX0=
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export * from './model';
|
|
2
|
-
export * from './repository';
|
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2dlbmVyYWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxTQUFTLENBQUE7QUFDdkIsY0FBYyxjQUFjLENBQUEiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL21vZGVsJ1xuZXhwb3J0ICogZnJvbSAnLi9yZXBvc2l0b3J5J1xuIl19
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export {};
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS1tb2RlbC13aXRoLWlkZW50aWZpZXItZmllbGRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29ubmVjdC9zcmMvbGliL2RvbWFpbi9nZW5lcmFsL21vZGVsL2Jhc2UtbW9kZWwtd2l0aC1pZGVudGlmaWVyLWZpZWxkcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQmFzZU1vZGVsIH0gZnJvbSAnLi9iYXNlLm1vZGVsJ1xuaW1wb3J0IHsgSWRlbnRpZmllckZpZWxkcyB9IGZyb20gJy4vaWRlbnRpZmllci1maWVsZHMnXG5cbmV4cG9ydCB0eXBlIEJhc2VNb2RlbFdpdGhJZGVudGlmaWVyPE1vZGVsPiA9IEJhc2VNb2RlbDxNb2RlbD4gJiBJZGVudGlmaWVyRmllbGRzPE1vZGVsPlxuIl19
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { plainToClass, classToPlain } from 'class-transformer';
|
|
2
|
-
export class BaseModel {
|
|
3
|
-
constructor(args) {
|
|
4
|
-
Object.assign(this, args);
|
|
5
|
-
}
|
|
6
|
-
static toInstance(data) {
|
|
7
|
-
return plainToClass(this, data);
|
|
8
|
-
}
|
|
9
|
-
toPlain() {
|
|
10
|
-
return classToPlain(this, { exposeUnsetFields: false });
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmFzZS5tb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2Nvbm5lY3Qvc3JjL2xpYi9kb21haW4vZ2VuZXJhbC9tb2RlbC9iYXNlLm1vZGVsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxZQUFZLEVBQUUsWUFBWSxFQUFFLE1BQU0sbUJBQW1CLENBQUE7QUFJOUQsTUFBTSxPQUFPLFNBQVM7SUFDcEIsWUFBWSxJQUFxQjtRQUMvQixNQUFNLENBQUMsTUFBTSxDQUFDLElBQUksRUFBRSxJQUFJLENBQUMsQ0FBQTtJQUMzQixDQUFDO0lBRUQsTUFBTSxDQUFDLFVBQVUsQ0FBZ0MsSUFBOEI7UUFDN0UsT0FBTyxZQUFZLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBUSxDQUFBO0lBQ3hD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Zmllci1maWVsZHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lcyB9IGZyb20gJy4vdHlwZXMvbm9uLWZ1bmN0aW9uLXByb3BlcnR5LW5hbWUudHlwZSdcblxuZXhwb3J0IGludGVyZmFjZSBJZGVudGlmaWVyRmllbGRzPE1vZGVsPiB7XG4gIGlkZW50aWZpZXJGaWVsZHM6ICgpID0+IE5vbkZ1bmN0aW9uUHJvcGVydHlOYW1lczxNb2RlbD5bXVxufVxuIl19
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export * from './base.model';
|
|
2
|
-
export * from './identifier-fields';
|
|
3
|
-
export * from './base-model-with-identifier-fields';
|
|
4
|
-
export * from './types';
|
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb25uZWN0L3NyYy9saWIvZG9tYWluL2dlbmVyYWwvbW9kZWwvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxjQUFjLENBQUE7QUFDNUIsY0FBYyxxQkFBcUIsQ0FBQTtBQUNuQyxjQUFjLHFDQUFxQyxDQUFBO0FBQ25ELGNBQWMsU0FBUyxDQUFBIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9iYXNlLm1vZGVsJ1xuZXhwb3J0ICogZnJvbSAnLi9pZGVudGlmaWVyLWZpZWxkcydcbmV4cG9ydCAqIGZyb20gJy4vYmFzZS1tb2RlbC13aXRoLWlkZW50aWZpZXItZmllbGRzJ1xuZXhwb3J0ICogZnJvbSAnLi90eXBlcydcbiJdfQ==
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
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