@vendure/core 1.4.7 → 1.5.2
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/cli/api/common/extract-session-token.d.ts +3 -0
- package/cli/api/common/extract-session-token.js +35 -0
- package/cli/api/common/extract-session-token.js.map +1 -0
- package/cli/api/common/get-api-type.d.ts +3 -0
- package/cli/api/common/get-api-type.js +12 -0
- package/cli/api/common/get-api-type.js.map +1 -0
- package/cli/api/common/graphql-value-transformer.d.ts +30 -0
- package/cli/api/common/graphql-value-transformer.js +199 -0
- package/cli/api/common/graphql-value-transformer.js.map +1 -0
- package/cli/api/common/id-codec.d.ts +11 -0
- package/cli/api/common/id-codec.js +94 -0
- package/cli/api/common/id-codec.js.map +1 -0
- package/cli/api/common/id-codec.service.d.ts +7 -0
- package/cli/api/common/id-codec.service.js +33 -0
- package/cli/api/common/id-codec.service.js.map +1 -0
- package/cli/api/common/parse-context.d.ts +16 -0
- package/cli/api/common/parse-context.js +39 -0
- package/cli/api/common/parse-context.js.map +1 -0
- package/cli/api/common/request-context.d.ts +55 -0
- package/cli/api/common/request-context.js +143 -0
- package/cli/api/common/request-context.js.map +1 -0
- package/cli/api/common/set-session-token.d.ts +9 -0
- package/cli/api/common/set-session-token.js +27 -0
- package/cli/api/common/set-session-token.js.map +1 -0
- package/cli/api/decorators/allow.decorator.d.ts +3 -0
- package/cli/api/decorators/allow.decorator.js +8 -0
- package/cli/api/decorators/allow.decorator.js.map +1 -0
- package/cli/api/decorators/api.decorator.d.ts +1 -0
- package/cli/api/decorators/api.decorator.js +10 -0
- package/cli/api/decorators/api.decorator.js.map +1 -0
- package/cli/api/decorators/request-context.decorator.d.ts +1 -0
- package/cli/api/decorators/request-context.decorator.js +14 -0
- package/cli/api/decorators/request-context.decorator.js.map +1 -0
- package/cli/api/decorators/transaction.decorator.d.ts +3 -0
- package/cli/api/decorators/transaction.decorator.js +11 -0
- package/cli/api/decorators/transaction.decorator.js.map +1 -0
- package/cli/api/index.d.ts +11 -0
- package/cli/api/index.js +23 -0
- package/cli/api/index.js.map +1 -0
- package/cli/api/middleware/auth-guard.d.ts +21 -0
- package/cli/api/middleware/auth-guard.js +151 -0
- package/cli/api/middleware/auth-guard.js.map +1 -0
- package/cli/api/middleware/exception-logger.filter.d.ts +6 -0
- package/cli/api/middleware/exception-logger.filter.js +82 -0
- package/cli/api/middleware/exception-logger.filter.js.map +1 -0
- package/cli/api/middleware/id-interceptor.d.ts +12 -0
- package/cli/api/middleware/id-interceptor.js +56 -0
- package/cli/api/middleware/id-interceptor.js.map +1 -0
- package/cli/api/middleware/transaction-interceptor.d.ts +12 -0
- package/cli/api/middleware/transaction-interceptor.js +46 -0
- package/cli/api/middleware/transaction-interceptor.js.map +1 -0
- package/cli/api/resolvers/admin/search.resolver.d.ts +17 -0
- package/cli/api/resolvers/admin/search.resolver.js +81 -0
- package/cli/api/resolvers/admin/search.resolver.js.map +1 -0
- package/cli/cache/index.d.ts +1 -0
- package/cli/cache/index.js +14 -0
- package/cli/cache/index.js.map +1 -0
- package/cli/cache/request-context-cache.service.d.ts +9 -0
- package/cli/cache/request-context-cache.service.js +39 -0
- package/cli/cache/request-context-cache.service.js.map +1 -0
- package/cli/cli/cli-utils.d.ts +1 -0
- package/cli/cli/cli-utils.js +8 -0
- package/cli/cli/cli-utils.js.map +1 -0
- package/cli/cli/index.d.ts +1 -0
- package/cli/cli/index.js +14 -0
- package/cli/cli/index.js.map +1 -0
- package/cli/cli/populate.d.ts +5 -0
- package/cli/cli/populate.js +106 -0
- package/cli/cli/populate.js.map +1 -0
- package/cli/cli/vendure-cli.d.ts +2 -0
- package/cli/cli/vendure-cli.js +119 -0
- package/cli/cli/vendure-cli.js.map +1 -0
- package/cli/common/async-queue.d.ts +17 -0
- package/cli/common/async-queue.js +56 -0
- package/cli/common/async-queue.js.map +1 -0
- package/cli/common/calculated-decorator.d.ts +12 -0
- package/cli/common/calculated-decorator.js +22 -0
- package/cli/common/calculated-decorator.js.map +1 -0
- package/cli/common/configurable-operation.d.ts +53 -0
- package/cli/common/configurable-operation.js +96 -0
- package/cli/common/configurable-operation.js.map +1 -0
- package/cli/common/constants.d.ts +7 -0
- package/cli/common/constants.js +66 -0
- package/cli/common/constants.js.map +1 -0
- package/cli/common/error/error-result.d.ts +8 -0
- package/cli/common/error/error-result.js +11 -0
- package/cli/common/error/error-result.js.map +1 -0
- package/cli/common/error/errors.d.ts +31 -0
- package/cli/common/error/errors.js +48 -0
- package/cli/common/error/errors.js.map +1 -0
- package/cli/common/error/generated-graphql-admin-errors.d.ts +309 -0
- package/cli/common/error/generated-graphql-admin-errors.js +446 -0
- package/cli/common/error/generated-graphql-admin-errors.js.map +1 -0
- package/cli/common/error/generated-graphql-shop-errors.d.ts +254 -0
- package/cli/common/error/generated-graphql-shop-errors.js +370 -0
- package/cli/common/error/generated-graphql-shop-errors.js.map +1 -0
- package/cli/common/finite-state-machine/finite-state-machine.d.ts +14 -0
- package/cli/common/finite-state-machine/finite-state-machine.js +55 -0
- package/cli/common/finite-state-machine/finite-state-machine.js.map +1 -0
- package/cli/common/finite-state-machine/merge-transition-definitions.d.ts +2 -0
- package/cli/common/finite-state-machine/merge-transition-definitions.js +27 -0
- package/cli/common/finite-state-machine/merge-transition-definitions.js.map +1 -0
- package/cli/common/finite-state-machine/types.d.ts +16 -0
- package/cli/common/finite-state-machine/types.js +3 -0
- package/cli/common/finite-state-machine/types.js.map +1 -0
- package/cli/common/finite-state-machine/validate-transition-definition.d.ts +5 -0
- package/cli/common/finite-state-machine/validate-transition-definition.js +41 -0
- package/cli/common/finite-state-machine/validate-transition-definition.js.map +1 -0
- package/cli/common/generate-public-id.d.ts +1 -0
- package/cli/common/generate-public-id.js +10 -0
- package/cli/common/generate-public-id.js.map +1 -0
- package/cli/common/index.d.ts +15 -0
- package/cli/common/index.js +28 -0
- package/cli/common/index.js.map +1 -0
- package/cli/common/injector.d.ts +8 -0
- package/cli/common/injector.js +16 -0
- package/cli/common/injector.js.map +1 -0
- package/cli/common/permission-definition.d.ts +23 -0
- package/cli/common/permission-definition.js +53 -0
- package/cli/common/permission-definition.js.map +1 -0
- package/cli/common/self-refreshing-cache.d.ts +15 -0
- package/cli/common/self-refreshing-cache.js +56 -0
- package/cli/common/self-refreshing-cache.js.map +1 -0
- package/cli/common/tax-utils.d.ts +4 -0
- package/cli/common/tax-utils.js +20 -0
- package/cli/common/tax-utils.js.map +1 -0
- package/cli/common/ttl-cache.d.ts +13 -0
- package/cli/common/ttl-cache.js +48 -0
- package/cli/common/ttl-cache.js.map +1 -0
- package/cli/common/types/adjustment-source.d.ts +14 -0
- package/cli/common/types/adjustment-source.js +18 -0
- package/cli/common/types/adjustment-source.js.map +1 -0
- package/cli/common/types/common-types.d.ts +97 -0
- package/cli/common/types/common-types.js +3 -0
- package/cli/common/types/common-types.js.map +1 -0
- package/cli/common/types/entity-relation-paths.d.ts +16 -0
- package/cli/common/types/entity-relation-paths.js +3 -0
- package/cli/common/types/entity-relation-paths.js.map +1 -0
- package/cli/common/types/injectable-strategy.d.ts +5 -0
- package/cli/common/types/injectable-strategy.js +3 -0
- package/cli/common/types/injectable-strategy.js.map +1 -0
- package/cli/common/types/locale-types.d.ts +43 -0
- package/cli/common/types/locale-types.js +3 -0
- package/cli/common/types/locale-types.js.map +1 -0
- package/cli/common/utils.d.ts +11 -0
- package/cli/common/utils.js +66 -0
- package/cli/common/utils.js.map +1 -0
- package/cli/config/asset-naming-strategy/asset-naming-strategy.d.ts +6 -0
- package/cli/config/asset-naming-strategy/asset-naming-strategy.js +3 -0
- package/cli/config/asset-naming-strategy/asset-naming-strategy.js.map +1 -0
- package/cli/config/asset-naming-strategy/default-asset-naming-strategy.d.ts +11 -0
- package/cli/config/asset-naming-strategy/default-asset-naming-strategy.js +55 -0
- package/cli/config/asset-naming-strategy/default-asset-naming-strategy.js.map +1 -0
- package/cli/config/asset-preview-strategy/asset-preview-strategy.d.ts +6 -0
- package/cli/config/asset-preview-strategy/asset-preview-strategy.js +3 -0
- package/cli/config/asset-preview-strategy/asset-preview-strategy.js.map +1 -0
- package/cli/config/asset-preview-strategy/no-asset-preview-strategy.d.ts +6 -0
- package/cli/config/asset-preview-strategy/no-asset-preview-strategy.js +11 -0
- package/cli/config/asset-preview-strategy/no-asset-preview-strategy.js.map +1 -0
- package/cli/config/asset-storage-strategy/asset-storage-strategy.d.ts +13 -0
- package/cli/config/asset-storage-strategy/asset-storage-strategy.js +3 -0
- package/cli/config/asset-storage-strategy/asset-storage-strategy.js.map +1 -0
- package/cli/config/asset-storage-strategy/no-asset-storage-strategy.d.ts +13 -0
- package/cli/config/asset-storage-strategy/no-asset-storage-strategy.js +30 -0
- package/cli/config/asset-storage-strategy/no-asset-storage-strategy.js.map +1 -0
- package/cli/config/auth/authentication-strategy.d.ts +10 -0
- package/cli/config/auth/authentication-strategy.js +3 -0
- package/cli/config/auth/authentication-strategy.js.map +1 -0
- package/cli/config/auth/bcrypt-password-hashing-strategy.d.ts +7 -0
- package/cli/config/auth/bcrypt-password-hashing-strategy.js +21 -0
- package/cli/config/auth/bcrypt-password-hashing-strategy.js.map +1 -0
- package/cli/config/auth/default-password-validation-strategy.d.ts +10 -0
- package/cli/config/auth/default-password-validation-strategy.js +24 -0
- package/cli/config/auth/default-password-validation-strategy.js.map +1 -0
- package/cli/config/auth/native-authentication-strategy.d.ts +21 -0
- package/cli/config/auth/native-authentication-strategy.js +87 -0
- package/cli/config/auth/native-authentication-strategy.js.map +1 -0
- package/cli/config/auth/password-hashing-strategy.d.ts +5 -0
- package/cli/config/auth/password-hashing-strategy.js +3 -0
- package/cli/config/auth/password-hashing-strategy.js.map +1 -0
- package/cli/config/auth/password-validation-strategy.d.ts +5 -0
- package/cli/config/auth/password-validation-strategy.js +3 -0
- package/cli/config/auth/password-validation-strategy.js.map +1 -0
- package/cli/config/catalog/collection-filter.d.ts +13 -0
- package/cli/config/catalog/collection-filter.js +15 -0
- package/cli/config/catalog/collection-filter.js.map +1 -0
- package/cli/config/catalog/default-collection-filters.d.ts +52 -0
- package/cli/config/catalog/default-collection-filters.js +112 -0
- package/cli/config/catalog/default-collection-filters.js.map +1 -0
- package/cli/config/catalog/default-product-variant-price-calculation-strategy.d.ts +8 -0
- package/cli/config/catalog/default-product-variant-price-calculation-strategy.js +31 -0
- package/cli/config/catalog/default-product-variant-price-calculation-strategy.js.map +1 -0
- package/cli/config/catalog/default-stock-display-strategy.d.ts +8 -0
- package/cli/config/catalog/default-stock-display-strategy.js +17 -0
- package/cli/config/catalog/default-stock-display-strategy.js.map +1 -0
- package/cli/config/catalog/product-variant-price-calculation-strategy.d.ts +13 -0
- package/cli/config/catalog/product-variant-price-calculation-strategy.js +3 -0
- package/cli/config/catalog/product-variant-price-calculation-strategy.js.map +1 -0
- package/cli/config/catalog/stock-display-strategy.d.ts +6 -0
- package/cli/config/catalog/stock-display-strategy.js +3 -0
- package/cli/config/catalog/stock-display-strategy.js.map +1 -0
- package/cli/config/config-helpers.d.ts +3 -0
- package/cli/config/config-helpers.js +15 -0
- package/cli/config/config-helpers.js.map +1 -0
- package/cli/config/config.module.d.ts +16 -0
- package/cli/config/config.module.js +120 -0
- package/cli/config/config.module.js.map +1 -0
- package/cli/config/config.service.d.ts +30 -0
- package/cli/config/config.service.js +86 -0
- package/cli/config/config.service.js.map +1 -0
- package/cli/config/custom-field/custom-field-types.d.ts +65 -0
- package/cli/config/custom-field/custom-field-types.js +3 -0
- package/cli/config/custom-field/custom-field-types.js.map +1 -0
- package/cli/config/default-config.d.ts +2 -0
- package/cli/config/default-config.js +174 -0
- package/cli/config/default-config.js.map +1 -0
- package/cli/config/entity-id-strategy/auto-increment-id-strategy.d.ts +6 -0
- package/cli/config/entity-id-strategy/auto-increment-id-strategy.js +17 -0
- package/cli/config/entity-id-strategy/auto-increment-id-strategy.js.map +1 -0
- package/cli/config/entity-id-strategy/entity-id-strategy.d.ts +7 -0
- package/cli/config/entity-id-strategy/entity-id-strategy.js +3 -0
- package/cli/config/entity-id-strategy/entity-id-strategy.js.map +1 -0
- package/cli/config/entity-id-strategy/uuid-id-strategy.d.ts +6 -0
- package/cli/config/entity-id-strategy/uuid-id-strategy.js +16 -0
- package/cli/config/entity-id-strategy/uuid-id-strategy.js.map +1 -0
- package/cli/config/fulfillment/custom-fulfillment-process.d.ts +9 -0
- package/cli/config/fulfillment/custom-fulfillment-process.js +3 -0
- package/cli/config/fulfillment/custom-fulfillment-process.js.map +1 -0
- package/cli/config/fulfillment/fulfillment-handler.d.ts +21 -0
- package/cli/config/fulfillment/fulfillment-handler.js +23 -0
- package/cli/config/fulfillment/fulfillment-handler.js.map +1 -0
- package/cli/config/fulfillment/manual-fulfillment-handler.d.ts +11 -0
- package/cli/config/fulfillment/manual-fulfillment-handler.js +26 -0
- package/cli/config/fulfillment/manual-fulfillment-handler.js.map +1 -0
- package/cli/config/index.d.ts +61 -0
- package/cli/config/index.js +74 -0
- package/cli/config/index.js.map +1 -0
- package/cli/config/job-queue/inspectable-job-queue-strategy.d.ts +12 -0
- package/cli/config/job-queue/inspectable-job-queue-strategy.js +11 -0
- package/cli/config/job-queue/inspectable-job-queue-strategy.js.map +1 -0
- package/cli/config/job-queue/job-queue-strategy.d.ts +8 -0
- package/cli/config/job-queue/job-queue-strategy.js +3 -0
- package/cli/config/job-queue/job-queue-strategy.js.map +1 -0
- package/cli/config/logger/default-logger.d.ts +24 -0
- package/cli/config/logger/default-logger.js +90 -0
- package/cli/config/logger/default-logger.js.map +1 -0
- package/cli/config/logger/noop-logger.d.ts +8 -0
- package/cli/config/logger/noop-logger.js +17 -0
- package/cli/config/logger/noop-logger.js.map +1 -0
- package/cli/config/logger/typeorm-logger.d.ts +15 -0
- package/cli/config/logger/typeorm-logger.js +74 -0
- package/cli/config/logger/typeorm-logger.js.map +1 -0
- package/cli/config/logger/vendure-logger.d.ts +32 -0
- package/cli/config/logger/vendure-logger.js +68 -0
- package/cli/config/logger/vendure-logger.js.map +1 -0
- package/cli/config/merge-config.d.ts +2 -0
- package/cli/config/merge-config.js +34 -0
- package/cli/config/merge-config.js.map +1 -0
- package/cli/config/order/changed-price-handling-strategy.d.ts +7 -0
- package/cli/config/order/changed-price-handling-strategy.js +3 -0
- package/cli/config/order/changed-price-handling-strategy.js.map +1 -0
- package/cli/config/order/custom-order-process.d.ts +9 -0
- package/cli/config/order/custom-order-process.js +3 -0
- package/cli/config/order/custom-order-process.js.map +1 -0
- package/cli/config/order/default-changed-price-handling-strategy.d.ts +6 -0
- package/cli/config/order/default-changed-price-handling-strategy.js +10 -0
- package/cli/config/order/default-changed-price-handling-strategy.js.map +1 -0
- package/cli/config/order/default-order-item-price-calculation-strategy.d.ts +7 -0
- package/cli/config/order/default-order-item-price-calculation-strategy.js +13 -0
- package/cli/config/order/default-order-item-price-calculation-strategy.js.map +1 -0
- package/cli/config/order/default-order-placed-strategy.d.ts +7 -0
- package/cli/config/order/default-order-placed-strategy.js +13 -0
- package/cli/config/order/default-order-placed-strategy.js.map +1 -0
- package/cli/config/order/default-stock-allocation-strategy.d.ts +7 -0
- package/cli/config/order/default-stock-allocation-strategy.js +11 -0
- package/cli/config/order/default-stock-allocation-strategy.js.map +1 -0
- package/cli/config/order/merge-orders-strategy.d.ts +7 -0
- package/cli/config/order/merge-orders-strategy.js +29 -0
- package/cli/config/order/merge-orders-strategy.js.map +1 -0
- package/cli/config/order/order-by-code-access-strategy.d.ts +11 -0
- package/cli/config/order/order-by-code-access-strategy.js +25 -0
- package/cli/config/order/order-by-code-access-strategy.js.map +1 -0
- package/cli/config/order/order-code-strategy.d.ts +8 -0
- package/cli/config/order/order-code-strategy.js +11 -0
- package/cli/config/order/order-code-strategy.js.map +1 -0
- package/cli/config/order/order-item-price-calculation-strategy.d.ts +9 -0
- package/cli/config/order/order-item-price-calculation-strategy.js +3 -0
- package/cli/config/order/order-item-price-calculation-strategy.js.map +1 -0
- package/cli/config/order/order-merge-strategy.d.ts +14 -0
- package/cli/config/order/order-merge-strategy.js +12 -0
- package/cli/config/order/order-merge-strategy.js.map +1 -0
- package/cli/config/order/order-placed-strategy.d.ts +7 -0
- package/cli/config/order/order-placed-strategy.js +3 -0
- package/cli/config/order/order-placed-strategy.js.map +1 -0
- package/cli/config/order/stock-allocation-strategy.d.ts +7 -0
- package/cli/config/order/stock-allocation-strategy.js +3 -0
- package/cli/config/order/stock-allocation-strategy.js.map +1 -0
- package/cli/config/order/use-existing-strategy.d.ts +6 -0
- package/cli/config/order/use-existing-strategy.js +11 -0
- package/cli/config/order/use-existing-strategy.js.map +1 -0
- package/cli/config/order/use-guest-if-existing-empty-strategy.d.ts +6 -0
- package/cli/config/order/use-guest-if-existing-empty-strategy.js +13 -0
- package/cli/config/order/use-guest-if-existing-empty-strategy.js.map +1 -0
- package/cli/config/order/use-guest-strategy.d.ts +6 -0
- package/cli/config/order/use-guest-strategy.js +11 -0
- package/cli/config/order/use-guest-strategy.js.map +1 -0
- package/cli/config/payment/custom-payment-process.d.ts +9 -0
- package/cli/config/payment/custom-payment-process.js +3 -0
- package/cli/config/payment/custom-payment-process.js.map +1 -0
- package/cli/config/payment/dummy-payment-method-handler.d.ts +17 -0
- package/cli/config/payment/dummy-payment-method-handler.js +74 -0
- package/cli/config/payment/dummy-payment-method-handler.js.map +1 -0
- package/cli/config/payment/example-payment-method-handler.d.ts +11 -0
- package/cli/config/payment/example-payment-method-handler.js +59 -0
- package/cli/config/payment/example-payment-method-handler.js.map +1 -0
- package/cli/config/payment/payment-method-eligibility-checker.d.ts +13 -0
- package/cli/config/payment/payment-method-eligibility-checker.js +15 -0
- package/cli/config/payment/payment-method-eligibility-checker.js.map +1 -0
- package/cli/config/payment/payment-method-handler.d.ts +73 -0
- package/cli/config/payment/payment-method-handler.js +36 -0
- package/cli/config/payment/payment-method-handler.js.map +1 -0
- package/cli/config/promotion/actions/buy-x-get-y-free-action.d.ts +37 -0
- package/cli/config/promotion/actions/buy-x-get-y-free-action.js +30 -0
- package/cli/config/promotion/actions/buy-x-get-y-free-action.js.map +1 -0
- package/cli/config/promotion/actions/facet-values-percentage-discount-action.d.ts +17 -0
- package/cli/config/promotion/actions/facet-values-percentage-discount-action.js +39 -0
- package/cli/config/promotion/actions/facet-values-percentage-discount-action.js.map +1 -0
- package/cli/config/promotion/actions/free-shipping-action.d.ts +2 -0
- package/cli/config/promotion/actions/free-shipping-action.js +14 -0
- package/cli/config/promotion/actions/free-shipping-action.js.map +1 -0
- package/cli/config/promotion/actions/order-fixed-discount-action.d.ts +9 -0
- package/cli/config/promotion/actions/order-fixed-discount-action.js +21 -0
- package/cli/config/promotion/actions/order-fixed-discount-action.js.map +1 -0
- package/cli/config/promotion/actions/order-percentage-discount-action.d.ts +10 -0
- package/cli/config/promotion/actions/order-percentage-discount-action.js +23 -0
- package/cli/config/promotion/actions/order-percentage-discount-action.js.map +1 -0
- package/cli/config/promotion/actions/product-percentage-discount-action.d.ts +22 -0
- package/cli/config/promotion/actions/product-percentage-discount-action.js +36 -0
- package/cli/config/promotion/actions/product-percentage-discount-action.js.map +1 -0
- package/cli/config/promotion/conditions/buy-x-get-y-free-condition.d.ts +37 -0
- package/cli/config/promotion/conditions/buy-x-get-y-free-condition.js +71 -0
- package/cli/config/promotion/conditions/buy-x-get-y-free-condition.js.map +1 -0
- package/cli/config/promotion/conditions/contains-products-condition.d.ts +19 -0
- package/cli/config/promotion/conditions/contains-products-condition.js +38 -0
- package/cli/config/promotion/conditions/contains-products-condition.js.map +1 -0
- package/cli/config/promotion/conditions/customer-group-condition.d.ts +14 -0
- package/cli/config/promotion/conditions/customer-group-condition.js +72 -0
- package/cli/config/promotion/conditions/customer-group-condition.js.map +1 -0
- package/cli/config/promotion/conditions/has-facet-values-condition.d.ts +14 -0
- package/cli/config/promotion/conditions/has-facet-values-condition.js +31 -0
- package/cli/config/promotion/conditions/has-facet-values-condition.js.map +1 -0
- package/cli/config/promotion/conditions/min-order-amount-condition.d.ts +14 -0
- package/cli/config/promotion/conditions/min-order-amount-condition.js +27 -0
- package/cli/config/promotion/conditions/min-order-amount-condition.js.map +1 -0
- package/cli/config/promotion/index.d.ts +170 -0
- package/cli/config/promotion/index.js +50 -0
- package/cli/config/promotion/index.js.map +1 -0
- package/cli/config/promotion/promotion-action.d.ts +56 -0
- package/cli/config/promotion/promotion-action.js +49 -0
- package/cli/config/promotion/promotion-action.js.map +1 -0
- package/cli/config/promotion/promotion-condition.d.ts +19 -0
- package/cli/config/promotion/promotion-condition.js +19 -0
- package/cli/config/promotion/promotion-condition.js.map +1 -0
- package/cli/config/promotion/utils/facet-value-checker.d.ts +9 -0
- package/cli/config/promotion/utils/facet-value-checker.js +31 -0
- package/cli/config/promotion/utils/facet-value-checker.js.map +1 -0
- package/cli/config/session-cache/in-memory-session-cache-strategy.d.ts +11 -0
- package/cli/config/session-cache/in-memory-session-cache-strategy.js +44 -0
- package/cli/config/session-cache/in-memory-session-cache-strategy.js.map +1 -0
- package/cli/config/session-cache/noop-session-cache-strategy.d.ts +7 -0
- package/cli/config/session-cache/noop-session-cache-strategy.js +19 -0
- package/cli/config/session-cache/noop-session-cache-strategy.js.map +1 -0
- package/cli/config/session-cache/session-cache-strategy.d.ts +25 -0
- package/cli/config/session-cache/session-cache-strategy.js +3 -0
- package/cli/config/session-cache/session-cache-strategy.js.map +1 -0
- package/cli/config/shipping-method/default-shipping-calculator.d.ts +51 -0
- package/cli/config/shipping-method/default-shipping-calculator.js +69 -0
- package/cli/config/shipping-method/default-shipping-calculator.js.map +1 -0
- package/cli/config/shipping-method/default-shipping-eligibility-checker.d.ts +19 -0
- package/cli/config/shipping-method/default-shipping-eligibility-checker.js +27 -0
- package/cli/config/shipping-method/default-shipping-eligibility-checker.js.map +1 -0
- package/cli/config/shipping-method/shipping-calculator.d.ts +20 -0
- package/cli/config/shipping-method/shipping-calculator.js +15 -0
- package/cli/config/shipping-method/shipping-calculator.js.map +1 -0
- package/cli/config/shipping-method/shipping-eligibility-checker.d.ts +19 -0
- package/cli/config/shipping-method/shipping-eligibility-checker.js +38 -0
- package/cli/config/shipping-method/shipping-eligibility-checker.js.map +1 -0
- package/cli/config/tax/default-tax-line-calculation-strategy.d.ts +5 -0
- package/cli/config/tax/default-tax-line-calculation-strategy.js +11 -0
- package/cli/config/tax/default-tax-line-calculation-strategy.js.map +1 -0
- package/cli/config/tax/default-tax-zone-strategy.d.ts +6 -0
- package/cli/config/tax/default-tax-zone-strategy.js +10 -0
- package/cli/config/tax/default-tax-zone-strategy.js.map +1 -0
- package/cli/config/tax/tax-line-calculation-strategy.d.ts +17 -0
- package/cli/config/tax/tax-line-calculation-strategy.js +3 -0
- package/cli/config/tax/tax-line-calculation-strategy.js.map +1 -0
- package/cli/config/tax/tax-zone-strategy.d.ts +6 -0
- package/cli/config/tax/tax-zone-strategy.js +3 -0
- package/cli/config/tax/tax-zone-strategy.js.map +1 -0
- package/cli/config/vendure-config.d.ts +192 -0
- package/cli/config/vendure-config.js +3 -0
- package/cli/config/vendure-config.js.map +1 -0
- package/cli/connection/connection.module.d.ts +7 -0
- package/cli/connection/connection.module.js +61 -0
- package/cli/connection/connection.module.js.map +1 -0
- package/cli/connection/transaction-subscriber.d.ts +19 -0
- package/cli/connection/transaction-subscriber.js +54 -0
- package/cli/connection/transaction-subscriber.js.map +1 -0
- package/cli/connection/transaction-wrapper.d.ts +9 -0
- package/cli/connection/transaction-wrapper.js +79 -0
- package/cli/connection/transaction-wrapper.js.map +1 -0
- package/cli/connection/transactional-connection.d.ts +25 -0
- package/cli/connection/transactional-connection.js +170 -0
- package/cli/connection/transactional-connection.js.map +1 -0
- package/cli/connection/types.d.ts +8 -0
- package/cli/connection/types.js +3 -0
- package/cli/connection/types.js.map +1 -0
- package/cli/entity/address/address.entity.d.ts +22 -0
- package/cli/entity/address/address.entity.js +80 -0
- package/cli/entity/address/address.entity.js.map +1 -0
- package/cli/entity/administrator/administrator.entity.d.ts +15 -0
- package/cli/entity/administrator/administrator.entity.js +52 -0
- package/cli/entity/administrator/administrator.entity.js.map +1 -0
- package/cli/entity/asset/asset.entity.d.ts +26 -0
- package/cli/entity/asset/asset.entity.js +79 -0
- package/cli/entity/asset/asset.entity.js.map +1 -0
- package/cli/entity/asset/orderable-asset.entity.d.ts +10 -0
- package/cli/entity/asset/orderable-asset.entity.js +34 -0
- package/cli/entity/asset/orderable-asset.entity.js.map +1 -0
- package/cli/entity/authentication-method/authentication-method.entity.d.ts +5 -0
- package/cli/entity/authentication-method/authentication-method.entity.js +27 -0
- package/cli/entity/authentication-method/authentication-method.entity.js.map +1 -0
- package/cli/entity/authentication-method/external-authentication-method.entity.d.ts +8 -0
- package/cli/entity/authentication-method/external-authentication-method.entity.js +37 -0
- package/cli/entity/authentication-method/external-authentication-method.entity.js.map +1 -0
- package/cli/entity/authentication-method/native-authentication-method.entity.d.ts +11 -0
- package/cli/entity/authentication-method/native-authentication-method.entity.js +49 -0
- package/cli/entity/authentication-method/native-authentication-method.entity.js.map +1 -0
- package/cli/entity/base/base.entity.d.ts +7 -0
- package/cli/entity/base/base.entity.js +37 -0
- package/cli/entity/base/base.entity.js.map +1 -0
- package/cli/entity/channel/channel.entity.d.ts +17 -0
- package/cli/entity/channel/channel.entity.js +67 -0
- package/cli/entity/channel/channel.entity.js.map +1 -0
- package/cli/entity/collection/collection-asset.entity.d.ts +8 -0
- package/cli/entity/collection/collection-asset.entity.js +34 -0
- package/cli/entity/collection/collection-asset.entity.js.map +1 -0
- package/cli/entity/collection/collection-translation.entity.d.ts +16 -0
- package/cli/entity/collection/collection-translation.entity.js +52 -0
- package/cli/entity/collection/collection-translation.entity.js.map +1 -0
- package/cli/entity/collection/collection.entity.d.ts +29 -0
- package/cli/entity/collection/collection.entity.js +81 -0
- package/cli/entity/collection/collection.entity.js.map +1 -0
- package/cli/entity/country/country-translation.entity.d.ts +14 -0
- package/cli/entity/country/country-translation.entity.js +44 -0
- package/cli/entity/country/country-translation.entity.js.map +1 -0
- package/cli/entity/country/country.entity.d.ts +13 -0
- package/cli/entity/country/country.entity.js +43 -0
- package/cli/entity/country/country.entity.js.map +1 -0
- package/cli/entity/custom-entity-fields.d.ts +68 -0
- package/cli/entity/custom-entity-fields.js +106 -0
- package/cli/entity/custom-entity-fields.js.map +1 -0
- package/cli/entity/customer/customer.entity.d.ts +25 -0
- package/cli/entity/customer/customer.entity.js +82 -0
- package/cli/entity/customer/customer.entity.js.map +1 -0
- package/cli/entity/customer-group/customer-group.entity.d.ts +11 -0
- package/cli/entity/customer-group/customer-group.entity.js +39 -0
- package/cli/entity/customer-group/customer-group.entity.js.map +1 -0
- package/cli/entity/entities.d.ts +124 -0
- package/cli/entity/entities.js +128 -0
- package/cli/entity/entities.js.map +1 -0
- package/cli/entity/entity-id.decorator.d.ts +18 -0
- package/cli/entity/entity-id.decorator.js +40 -0
- package/cli/entity/entity-id.decorator.js.map +1 -0
- package/cli/entity/facet/facet-translation.entity.d.ts +14 -0
- package/cli/entity/facet/facet-translation.entity.js +44 -0
- package/cli/entity/facet/facet-translation.entity.js.map +1 -0
- package/cli/entity/facet/facet.entity.d.ts +18 -0
- package/cli/entity/facet/facet.entity.js +54 -0
- package/cli/entity/facet/facet.entity.js.map +1 -0
- package/cli/entity/facet-value/facet-value-translation.entity.d.ts +13 -0
- package/cli/entity/facet-value/facet-value-translation.entity.js +44 -0
- package/cli/entity/facet-value/facet-value-translation.entity.js.map +1 -0
- package/cli/entity/facet-value/facet-value.entity.d.ts +17 -0
- package/cli/entity/facet-value/facet-value.entity.js +50 -0
- package/cli/entity/facet-value/facet-value.entity.js.map +1 -0
- package/cli/entity/fulfillment/fulfillment.entity.d.ts +15 -0
- package/cli/entity/fulfillment/fulfillment.entity.js +51 -0
- package/cli/entity/fulfillment/fulfillment.entity.js.map +1 -0
- package/cli/entity/global-settings/global-settings.entity.d.ts +12 -0
- package/cli/entity/global-settings/global-settings.entity.js +42 -0
- package/cli/entity/global-settings/global-settings.entity.js.map +1 -0
- package/cli/entity/history-entry/customer-history-entry.entity.d.ts +7 -0
- package/cli/entity/history-entry/customer-history-entry.entity.js +30 -0
- package/cli/entity/history-entry/customer-history-entry.entity.js.map +1 -0
- package/cli/entity/history-entry/history-entry.entity.d.ts +9 -0
- package/cli/entity/history-entry/history-entry.entity.js +40 -0
- package/cli/entity/history-entry/history-entry.entity.js.map +1 -0
- package/cli/entity/history-entry/order-history-entry.entity.d.ts +7 -0
- package/cli/entity/history-entry/order-history-entry.entity.js +30 -0
- package/cli/entity/history-entry/order-history-entry.entity.js.map +1 -0
- package/cli/entity/index.d.ts +52 -0
- package/cli/entity/index.js +65 -0
- package/cli/entity/index.js.map +1 -0
- package/cli/entity/order/order.entity.d.ts +48 -0
- package/cli/entity/order/order.entity.js +277 -0
- package/cli/entity/order/order.entity.js.map +1 -0
- package/cli/entity/order-item/order-item.entity.d.ts +35 -0
- package/cli/entity/order-item/order-item.entity.js +182 -0
- package/cli/entity/order-item/order-item.entity.js.map +1 -0
- package/cli/entity/order-line/order-line.entity.d.ts +44 -0
- package/cli/entity/order-line/order-line.entity.js +275 -0
- package/cli/entity/order-line/order-line.entity.js.map +1 -0
- package/cli/entity/order-modification/order-modification.entity.d.ts +21 -0
- package/cli/entity/order-modification/order-modification.entity.js +81 -0
- package/cli/entity/order-modification/order-modification.entity.js.map +1 -0
- package/cli/entity/payment/payment.entity.d.ts +17 -0
- package/cli/entity/payment/payment.entity.js +59 -0
- package/cli/entity/payment/payment.entity.js.map +1 -0
- package/cli/entity/payment-method/payment-method.entity.d.ts +18 -0
- package/cli/entity/payment-method/payment-method.entity.js +60 -0
- package/cli/entity/payment-method/payment-method.entity.js.map +1 -0
- package/cli/entity/product/product-asset.entity.d.ts +8 -0
- package/cli/entity/product/product-asset.entity.js +34 -0
- package/cli/entity/product/product-asset.entity.js.map +1 -0
- package/cli/entity/product/product-translation.entity.d.ts +16 -0
- package/cli/entity/product/product-translation.entity.js +52 -0
- package/cli/entity/product/product-translation.entity.js.map +1 -0
- package/cli/entity/product/product.entity.d.ts +28 -0
- package/cli/entity/product/product.entity.js +75 -0
- package/cli/entity/product/product.entity.js.map +1 -0
- package/cli/entity/product-option/product-option-translation.entity.d.ts +14 -0
- package/cli/entity/product-option/product-option-translation.entity.js +44 -0
- package/cli/entity/product-option/product-option-translation.entity.js.map +1 -0
- package/cli/entity/product-option/product-option.entity.d.ts +17 -0
- package/cli/entity/product-option/product-option.entity.js +53 -0
- package/cli/entity/product-option/product-option.entity.js.map +1 -0
- package/cli/entity/product-option-group/product-option-group-translation.entity.d.ts +14 -0
- package/cli/entity/product-option-group/product-option-group-translation.entity.js +44 -0
- package/cli/entity/product-option-group/product-option-group-translation.entity.js.map +1 -0
- package/cli/entity/product-option-group/product-option-group.entity.d.ts +18 -0
- package/cli/entity/product-option-group/product-option-group.entity.js +53 -0
- package/cli/entity/product-option-group/product-option-group.entity.js.map +1 -0
- package/cli/entity/product-variant/product-variant-asset.entity.d.ts +8 -0
- package/cli/entity/product-variant/product-variant-asset.entity.js +34 -0
- package/cli/entity/product-variant/product-variant-asset.entity.js.map +1 -0
- package/cli/entity/product-variant/product-variant-price.entity.d.ts +9 -0
- package/cli/entity/product-variant/product-variant-price.entity.js +39 -0
- package/cli/entity/product-variant/product-variant-price.entity.js.map +1 -0
- package/cli/entity/product-variant/product-variant-translation.entity.d.ts +14 -0
- package/cli/entity/product-variant/product-variant-translation.entity.js +44 -0
- package/cli/entity/product-variant/product-variant-translation.entity.js.map +1 -0
- package/cli/entity/product-variant/product-variant.entity.d.ts +49 -0
- package/cli/entity/product-variant/product-variant.entity.js +155 -0
- package/cli/entity/product-variant/product-variant.entity.js.map +1 -0
- package/cli/entity/promotion/promotion.entity.d.ts +56 -0
- package/cli/entity/promotion/promotion.entity.js +157 -0
- package/cli/entity/promotion/promotion.entity.js.map +1 -0
- package/cli/entity/refund/refund.entity.d.ts +21 -0
- package/cli/entity/refund/refund.entity.js +78 -0
- package/cli/entity/refund/refund.entity.js.map +1 -0
- package/cli/entity/role/role.entity.d.ts +12 -0
- package/cli/entity/role/role.entity.js +43 -0
- package/cli/entity/role/role.entity.js.map +1 -0
- package/cli/entity/session/anonymous-session.entity.d.ts +5 -0
- package/cli/entity/session/anonymous-session.entity.js +25 -0
- package/cli/entity/session/anonymous-session.entity.js.map +1 -0
- package/cli/entity/session/authenticated-session.entity.d.ts +8 -0
- package/cli/entity/session/authenticated-session.entity.js +34 -0
- package/cli/entity/session/authenticated-session.entity.js.map +1 -0
- package/cli/entity/session/session.entity.d.ts +13 -0
- package/cli/entity/session/session.entity.js +54 -0
- package/cli/entity/session/session.entity.js.map +1 -0
- package/cli/entity/shipping-line/shipping-line.entity.d.ts +24 -0
- package/cli/entity/shipping-line/shipping-line.entity.js +128 -0
- package/cli/entity/shipping-line/shipping-line.entity.js.map +1 -0
- package/cli/entity/shipping-method/shipping-method-translation.entity.d.ts +16 -0
- package/cli/entity/shipping-method/shipping-method-translation.entity.js +48 -0
- package/cli/entity/shipping-method/shipping-method-translation.entity.js.map +1 -0
- package/cli/entity/shipping-method/shipping-method.entity.d.ts +28 -0
- package/cli/entity/shipping-method/shipping-method.entity.js +92 -0
- package/cli/entity/shipping-method/shipping-method.entity.js.map +1 -0
- package/cli/entity/stock-movement/allocation.entity.d.ts +9 -0
- package/cli/entity/stock-movement/allocation.entity.js +32 -0
- package/cli/entity/stock-movement/allocation.entity.js.map +1 -0
- package/cli/entity/stock-movement/cancellation.entity.d.ts +9 -0
- package/cli/entity/stock-movement/cancellation.entity.js +32 -0
- package/cli/entity/stock-movement/cancellation.entity.js.map +1 -0
- package/cli/entity/stock-movement/release.entity.d.ts +9 -0
- package/cli/entity/stock-movement/release.entity.js +32 -0
- package/cli/entity/stock-movement/release.entity.js.map +1 -0
- package/cli/entity/stock-movement/sale.entity.d.ts +9 -0
- package/cli/entity/stock-movement/sale.entity.js +32 -0
- package/cli/entity/stock-movement/sale.entity.js.map +1 -0
- package/cli/entity/stock-movement/stock-adjustment.entity.d.ts +7 -0
- package/cli/entity/stock-movement/stock-adjustment.entity.js +27 -0
- package/cli/entity/stock-movement/stock-adjustment.entity.js.map +1 -0
- package/cli/entity/stock-movement/stock-movement.entity.d.ts +8 -0
- package/cli/entity/stock-movement/stock-movement.entity.js +36 -0
- package/cli/entity/stock-movement/stock-movement.entity.js.map +1 -0
- package/cli/entity/surcharge/surcharge.entity.d.ts +18 -0
- package/cli/entity/surcharge/surcharge.entity.js +82 -0
- package/cli/entity/surcharge/surcharge.entity.js.map +1 -0
- package/cli/entity/tag/tag.entity.d.ts +6 -0
- package/cli/entity/tag/tag.entity.js +29 -0
- package/cli/entity/tag/tag.entity.js.map +1 -0
- package/cli/entity/tax-category/tax-category.entity.d.ts +10 -0
- package/cli/entity/tax-category/tax-category.entity.js +38 -0
- package/cli/entity/tax-category/tax-category.entity.js.map +1 -0
- package/cli/entity/tax-rate/tax-rate.entity.d.ts +24 -0
- package/cli/entity/tax-rate/tax-rate.entity.js +81 -0
- package/cli/entity/tax-rate/tax-rate.entity.js.map +1 -0
- package/cli/entity/user/user.entity.d.ts +19 -0
- package/cli/entity/user/user.entity.js +69 -0
- package/cli/entity/user/user.entity.js.map +1 -0
- package/cli/entity/value-transformers.d.ts +5 -0
- package/cli/entity/value-transformers.js +13 -0
- package/cli/entity/value-transformers.js.map +1 -0
- package/cli/entity/zone/zone.entity.d.ts +11 -0
- package/cli/entity/zone/zone.entity.js +40 -0
- package/cli/entity/zone/zone.entity.js.map +1 -0
- package/cli/event-bus/event-bus.d.ts +15 -0
- package/cli/event-bus/event-bus.js +51 -0
- package/cli/event-bus/event-bus.js.map +1 -0
- package/cli/event-bus/event-bus.module.d.ts +2 -0
- package/cli/event-bus/event-bus.module.js +23 -0
- package/cli/event-bus/event-bus.module.js.map +1 -0
- package/cli/event-bus/events/account-registration-event.d.ts +8 -0
- package/cli/event-bus/events/account-registration-event.js +13 -0
- package/cli/event-bus/events/account-registration-event.js.map +1 -0
- package/cli/event-bus/events/account-verified-event.d.ts +8 -0
- package/cli/event-bus/events/account-verified-event.js +13 -0
- package/cli/event-bus/events/account-verified-event.js.map +1 -0
- package/cli/event-bus/events/administrator-event.d.ts +10 -0
- package/cli/event-bus/events/administrator-event.js +11 -0
- package/cli/event-bus/events/administrator-event.js.map +1 -0
- package/cli/event-bus/events/asset-channel-event.d.ts +11 -0
- package/cli/event-bus/events/asset-channel-event.js +15 -0
- package/cli/event-bus/events/asset-channel-event.js.map +1 -0
- package/cli/event-bus/events/asset-event.d.ts +11 -0
- package/cli/event-bus/events/asset-event.js +14 -0
- package/cli/event-bus/events/asset-event.js.map +1 -0
- package/cli/event-bus/events/attempted-login-event.d.ts +8 -0
- package/cli/event-bus/events/attempted-login-event.js +14 -0
- package/cli/event-bus/events/attempted-login-event.js.map +1 -0
- package/cli/event-bus/events/change-channel-event.d.ts +13 -0
- package/cli/event-bus/events/change-channel-event.js +16 -0
- package/cli/event-bus/events/change-channel-event.js.map +1 -0
- package/cli/event-bus/events/channel-event.d.ts +10 -0
- package/cli/event-bus/events/channel-event.js +11 -0
- package/cli/event-bus/events/channel-event.js.map +1 -0
- package/cli/event-bus/events/collection-event.d.ts +10 -0
- package/cli/event-bus/events/collection-event.js +11 -0
- package/cli/event-bus/events/collection-event.js.map +1 -0
- package/cli/event-bus/events/collection-modification-event.d.ts +10 -0
- package/cli/event-bus/events/collection-modification-event.js +14 -0
- package/cli/event-bus/events/collection-modification-event.js.map +1 -0
- package/cli/event-bus/events/country-event.d.ts +10 -0
- package/cli/event-bus/events/country-event.js +11 -0
- package/cli/event-bus/events/country-event.js.map +1 -0
- package/cli/event-bus/events/coupon-code-event.d.ts +10 -0
- package/cli/event-bus/events/coupon-code-event.js +15 -0
- package/cli/event-bus/events/coupon-code-event.js.map +1 -0
- package/cli/event-bus/events/customer-address-event.d.ts +15 -0
- package/cli/event-bus/events/customer-address-event.js +18 -0
- package/cli/event-bus/events/customer-address-event.js.map +1 -0
- package/cli/event-bus/events/customer-event.d.ts +13 -0
- package/cli/event-bus/events/customer-event.js +14 -0
- package/cli/event-bus/events/customer-event.js.map +1 -0
- package/cli/event-bus/events/customer-group-entity-event.d.ts +10 -0
- package/cli/event-bus/events/customer-group-entity-event.js +11 -0
- package/cli/event-bus/events/customer-group-entity-event.js.map +1 -0
- package/cli/event-bus/events/customer-group-event.d.ts +18 -0
- package/cli/event-bus/events/customer-group-event.js +25 -0
- package/cli/event-bus/events/customer-group-event.js.map +1 -0
- package/cli/event-bus/events/facet-event.d.ts +10 -0
- package/cli/event-bus/events/facet-event.js +11 -0
- package/cli/event-bus/events/facet-event.js.map +1 -0
- package/cli/event-bus/events/facet-value-event.d.ts +10 -0
- package/cli/event-bus/events/facet-value-event.js +11 -0
- package/cli/event-bus/events/facet-value-event.js.map +1 -0
- package/cli/event-bus/events/fulfillment-event.d.ts +14 -0
- package/cli/event-bus/events/fulfillment-event.js +11 -0
- package/cli/event-bus/events/fulfillment-event.js.map +1 -0
- package/cli/event-bus/events/fulfillment-state-transition-event.d.ts +11 -0
- package/cli/event-bus/events/fulfillment-state-transition-event.js +15 -0
- package/cli/event-bus/events/fulfillment-state-transition-event.js.map +1 -0
- package/cli/event-bus/events/global-settings-event.d.ts +7 -0
- package/cli/event-bus/events/global-settings-event.js +11 -0
- package/cli/event-bus/events/global-settings-event.js.map +1 -0
- package/cli/event-bus/events/history-entry-event.d.ts +14 -0
- package/cli/event-bus/events/history-entry-event.js +12 -0
- package/cli/event-bus/events/history-entry-event.js.map +1 -0
- package/cli/event-bus/events/identifier-change-event.d.ts +9 -0
- package/cli/event-bus/events/identifier-change-event.js +14 -0
- package/cli/event-bus/events/identifier-change-event.js.map +1 -0
- package/cli/event-bus/events/identifier-change-request-event.d.ts +8 -0
- package/cli/event-bus/events/identifier-change-request-event.js +13 -0
- package/cli/event-bus/events/identifier-change-request-event.js.map +1 -0
- package/cli/event-bus/events/login-event.d.ts +8 -0
- package/cli/event-bus/events/login-event.js +13 -0
- package/cli/event-bus/events/login-event.js.map +1 -0
- package/cli/event-bus/events/logout-event.d.ts +6 -0
- package/cli/event-bus/events/logout-event.js +12 -0
- package/cli/event-bus/events/logout-event.js.map +1 -0
- package/cli/event-bus/events/order-event.d.ts +9 -0
- package/cli/event-bus/events/order-event.js +14 -0
- package/cli/event-bus/events/order-event.js.map +1 -0
- package/cli/event-bus/events/order-line-event.d.ts +10 -0
- package/cli/event-bus/events/order-line-event.js +15 -0
- package/cli/event-bus/events/order-line-event.js.map +1 -0
- package/cli/event-bus/events/order-placed-event.d.ts +11 -0
- package/cli/event-bus/events/order-placed-event.js +15 -0
- package/cli/event-bus/events/order-placed-event.js.map +1 -0
- package/cli/event-bus/events/order-state-transition-event.d.ts +11 -0
- package/cli/event-bus/events/order-state-transition-event.js +15 -0
- package/cli/event-bus/events/order-state-transition-event.js.map +1 -0
- package/cli/event-bus/events/password-reset-event.d.ts +8 -0
- package/cli/event-bus/events/password-reset-event.js +13 -0
- package/cli/event-bus/events/password-reset-event.js.map +1 -0
- package/cli/event-bus/events/password-reset-verified-event.d.ts +8 -0
- package/cli/event-bus/events/password-reset-verified-event.js +13 -0
- package/cli/event-bus/events/password-reset-verified-event.js.map +1 -0
- package/cli/event-bus/events/payment-method-event.d.ts +10 -0
- package/cli/event-bus/events/payment-method-event.js +11 -0
- package/cli/event-bus/events/payment-method-event.js.map +1 -0
- package/cli/event-bus/events/payment-state-transition-event.d.ts +13 -0
- package/cli/event-bus/events/payment-state-transition-event.js +16 -0
- package/cli/event-bus/events/payment-state-transition-event.js.map +1 -0
- package/cli/event-bus/events/product-channel-event.d.ts +11 -0
- package/cli/event-bus/events/product-channel-event.js +15 -0
- package/cli/event-bus/events/product-channel-event.js.map +1 -0
- package/cli/event-bus/events/product-event.d.ts +11 -0
- package/cli/event-bus/events/product-event.js +14 -0
- package/cli/event-bus/events/product-event.js.map +1 -0
- package/cli/event-bus/events/product-option-event.d.ts +10 -0
- package/cli/event-bus/events/product-option-event.js +11 -0
- package/cli/event-bus/events/product-option-event.js.map +1 -0
- package/cli/event-bus/events/product-option-group-change-event.d.ts +11 -0
- package/cli/event-bus/events/product-option-group-change-event.js +15 -0
- package/cli/event-bus/events/product-option-group-change-event.js.map +1 -0
- package/cli/event-bus/events/product-option-group-event.d.ts +10 -0
- package/cli/event-bus/events/product-option-group-event.js +11 -0
- package/cli/event-bus/events/product-option-group-event.js.map +1 -0
- package/cli/event-bus/events/product-variant-channel-event.d.ts +11 -0
- package/cli/event-bus/events/product-variant-channel-event.js +15 -0
- package/cli/event-bus/events/product-variant-channel-event.js.map +1 -0
- package/cli/event-bus/events/product-variant-event.d.ts +11 -0
- package/cli/event-bus/events/product-variant-event.js +14 -0
- package/cli/event-bus/events/product-variant-event.js.map +1 -0
- package/cli/event-bus/events/promotion-event.d.ts +10 -0
- package/cli/event-bus/events/promotion-event.js +11 -0
- package/cli/event-bus/events/promotion-event.js.map +1 -0
- package/cli/event-bus/events/refund-state-transition-event.d.ts +13 -0
- package/cli/event-bus/events/refund-state-transition-event.js +16 -0
- package/cli/event-bus/events/refund-state-transition-event.js.map +1 -0
- package/cli/event-bus/events/role-change-event.d.ts +11 -0
- package/cli/event-bus/events/role-change-event.js +15 -0
- package/cli/event-bus/events/role-change-event.js.map +1 -0
- package/cli/event-bus/events/role-event.d.ts +10 -0
- package/cli/event-bus/events/role-event.js +11 -0
- package/cli/event-bus/events/role-event.js.map +1 -0
- package/cli/event-bus/events/shipping-method-event.d.ts +10 -0
- package/cli/event-bus/events/shipping-method-event.js +11 -0
- package/cli/event-bus/events/shipping-method-event.js.map +1 -0
- package/cli/event-bus/events/stock-movement-event.d.ts +10 -0
- package/cli/event-bus/events/stock-movement-event.js +15 -0
- package/cli/event-bus/events/stock-movement-event.js.map +1 -0
- package/cli/event-bus/events/tax-category-event.d.ts +10 -0
- package/cli/event-bus/events/tax-category-event.js +11 -0
- package/cli/event-bus/events/tax-category-event.js.map +1 -0
- package/cli/event-bus/events/tax-rate-event.d.ts +10 -0
- package/cli/event-bus/events/tax-rate-event.js +11 -0
- package/cli/event-bus/events/tax-rate-event.js.map +1 -0
- package/cli/event-bus/events/tax-rate-modification-event.d.ts +8 -0
- package/cli/event-bus/events/tax-rate-modification-event.js +13 -0
- package/cli/event-bus/events/tax-rate-modification-event.js.map +1 -0
- package/cli/event-bus/events/zone-event.d.ts +10 -0
- package/cli/event-bus/events/zone-event.js +11 -0
- package/cli/event-bus/events/zone-event.js.map +1 -0
- package/cli/event-bus/events/zone-members-event.d.ts +11 -0
- package/cli/event-bus/events/zone-members-event.js +15 -0
- package/cli/event-bus/events/zone-members-event.js.map +1 -0
- package/cli/event-bus/index.d.ts +55 -0
- package/cli/event-bus/index.js +68 -0
- package/cli/event-bus/index.js.map +1 -0
- package/cli/event-bus/vendure-entity-event.d.ts +9 -0
- package/cli/event-bus/vendure-entity-event.js +15 -0
- package/cli/event-bus/vendure-entity-event.js.map +1 -0
- package/cli/event-bus/vendure-event.d.ts +4 -0
- package/cli/event-bus/vendure-event.js +10 -0
- package/cli/event-bus/vendure-event.js.map +1 -0
- package/cli/health-check/constants.d.ts +1 -0
- package/cli/health-check/constants.js +5 -0
- package/cli/health-check/constants.js.map +1 -0
- package/cli/i18n/i18n-error.d.ts +13 -0
- package/cli/i18n/i18n-error.js +16 -0
- package/cli/i18n/i18n-error.js.map +1 -0
- package/cli/job-queue/constants.d.ts +1 -0
- package/cli/job-queue/constants.js +5 -0
- package/cli/job-queue/constants.js.map +1 -0
- package/cli/job-queue/in-memory-job-queue-strategy.d.ts +34 -0
- package/cli/job-queue/in-memory-job-queue-strategy.js +187 -0
- package/cli/job-queue/in-memory-job-queue-strategy.js.map +1 -0
- package/cli/job-queue/index.d.ts +11 -0
- package/cli/job-queue/index.js +24 -0
- package/cli/job-queue/index.js.map +1 -0
- package/cli/job-queue/injectable-job-queue-strategy.d.ts +12 -0
- package/cli/job-queue/injectable-job-queue-strategy.js +21 -0
- package/cli/job-queue/injectable-job-queue-strategy.js.map +1 -0
- package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.d.ts +13 -0
- package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.js +47 -0
- package/cli/job-queue/job-buffer/in-memory-job-buffer-storage-strategy.js.map +1 -0
- package/cli/job-queue/job-buffer/job-buffer-storage-strategy.d.ts +11 -0
- package/cli/job-queue/job-buffer/job-buffer-storage-strategy.js +3 -0
- package/cli/job-queue/job-buffer/job-buffer-storage-strategy.js.map +1 -0
- package/cli/job-queue/job-buffer/job-buffer.d.ts +7 -0
- package/cli/job-queue/job-buffer/job-buffer.js +3 -0
- package/cli/job-queue/job-buffer/job-buffer.js.map +1 -0
- package/cli/job-queue/job-buffer/job-buffer.service.d.ts +16 -0
- package/cli/job-queue/job-buffer/job-buffer.service.js +76 -0
- package/cli/job-queue/job-buffer/job-buffer.service.js.map +1 -0
- package/cli/job-queue/job-queue.d.ts +16 -0
- package/cli/job-queue/job-queue.js +59 -0
- package/cli/job-queue/job-queue.js.map +1 -0
- package/cli/job-queue/job-queue.service.d.ts +27 -0
- package/cli/job-queue/job-queue.service.js +84 -0
- package/cli/job-queue/job-queue.service.js.map +1 -0
- package/cli/job-queue/job.d.ts +41 -0
- package/cli/job-queue/job.js +160 -0
- package/cli/job-queue/job.js.map +1 -0
- package/cli/job-queue/polling-job-queue-strategy.d.ts +26 -0
- package/cli/job-queue/polling-job-queue-strategy.js +163 -0
- package/cli/job-queue/polling-job-queue-strategy.js.map +1 -0
- package/cli/job-queue/queue-name-process-storage.d.ts +7 -0
- package/cli/job-queue/queue-name-process-storage.js +40 -0
- package/cli/job-queue/queue-name-process-storage.js.map +1 -0
- package/cli/job-queue/subscribable-job.d.ts +13 -0
- package/cli/job-queue/subscribable-job.js +52 -0
- package/cli/job-queue/subscribable-job.js.map +1 -0
- package/cli/job-queue/types.d.ts +22 -0
- package/cli/job-queue/types.js +3 -0
- package/cli/job-queue/types.js.map +1 -0
- package/cli/populate.d.ts +4 -4
- package/cli/populate.js +38 -25
- package/cli/populate.js.map +1 -1
- package/cli/process-context/process-context.d.ts +7 -0
- package/cli/process-context/process-context.js +18 -0
- package/cli/process-context/process-context.js.map +1 -0
- package/cli/service/helpers/config-arg/config-arg.service.d.ts +31 -0
- package/cli/service/helpers/config-arg/config-arg.service.js +88 -0
- package/cli/service/helpers/config-arg/config-arg.service.js.map +1 -0
- package/cli/service/helpers/custom-field-relation/custom-field-relation.service.d.ts +18 -0
- package/cli/service/helpers/custom-field-relation/custom-field-relation.service.js +63 -0
- package/cli/service/helpers/custom-field-relation/custom-field-relation.service.js.map +1 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.d.ts +21 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js +113 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state-machine.js.map +1 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.d.ts +11 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.js +21 -0
- package/cli/service/helpers/fulfillment-state-machine/fulfillment-state.js.map +1 -0
- package/cli/service/helpers/list-query-builder/connection-utils.d.ts +10 -0
- package/cli/service/helpers/list-query-builder/connection-utils.js +26 -0
- package/cli/service/helpers/list-query-builder/connection-utils.js.map +1 -0
- package/cli/service/helpers/list-query-builder/get-calculated-columns.d.ts +3 -0
- package/cli/service/helpers/list-query-builder/get-calculated-columns.js +16 -0
- package/cli/service/helpers/list-query-builder/get-calculated-columns.js.map +1 -0
- package/cli/service/helpers/list-query-builder/list-query-builder.d.ts +30 -0
- package/cli/service/helpers/list-query-builder/list-query-builder.js +204 -0
- package/cli/service/helpers/list-query-builder/list-query-builder.js.map +1 -0
- package/cli/service/helpers/list-query-builder/parse-channel-param.d.ts +5 -0
- package/cli/service/helpers/list-query-builder/parse-channel-param.js +18 -0
- package/cli/service/helpers/list-query-builder/parse-channel-param.js.map +1 -0
- package/cli/service/helpers/list-query-builder/parse-filter-params.d.ts +13 -0
- package/cli/service/helpers/list-query-builder/parse-filter-params.js +155 -0
- package/cli/service/helpers/list-query-builder/parse-filter-params.js.map +1 -0
- package/cli/service/helpers/list-query-builder/parse-sort-params.d.ts +7 -0
- package/cli/service/helpers/list-query-builder/parse-sort-params.js +50 -0
- package/cli/service/helpers/list-query-builder/parse-sort-params.js.map +1 -0
- package/cli/service/helpers/order-calculator/order-calculator.d.ts +32 -0
- package/cli/service/helpers/order-calculator/order-calculator.js +311 -0
- package/cli/service/helpers/order-calculator/order-calculator.js.map +1 -0
- package/cli/service/helpers/order-calculator/prorate.d.ts +1 -0
- package/cli/service/helpers/order-calculator/prorate.js +35 -0
- package/cli/service/helpers/order-calculator/prorate.js.map +1 -0
- package/cli/service/helpers/order-merger/order-merger.d.ts +40 -0
- package/cli/service/helpers/order-merger/order-merger.js +97 -0
- package/cli/service/helpers/order-merger/order-merger.js.map +1 -0
- package/cli/service/helpers/order-modifier/order-modifier.d.ts +45 -0
- package/cli/service/helpers/order-modifier/order-modifier.js +423 -0
- package/cli/service/helpers/order-modifier/order-modifier.js.map +1 -0
- package/cli/service/helpers/order-state-machine/order-state-machine.d.ts +29 -0
- package/cli/service/helpers/order-state-machine/order-state-machine.js +240 -0
- package/cli/service/helpers/order-state-machine/order-state-machine.js.map +1 -0
- package/cli/service/helpers/order-state-machine/order-state.d.ts +9 -0
- package/cli/service/helpers/order-state-machine/order-state.js +64 -0
- package/cli/service/helpers/order-state-machine/order-state.js.map +1 -0
- package/cli/service/helpers/password-cipher/password-cipher.d.ts +7 -0
- package/cli/service/helpers/password-cipher/password-cipher.js +31 -0
- package/cli/service/helpers/password-cipher/password-cipher.js.map +1 -0
- package/cli/service/helpers/payment-state-machine/payment-state-machine.d.ts +20 -0
- package/cli/service/helpers/payment-state-machine/payment-state-machine.js +113 -0
- package/cli/service/helpers/payment-state-machine/payment-state-machine.js.map +1 -0
- package/cli/service/helpers/payment-state-machine/payment-state.d.ts +11 -0
- package/cli/service/helpers/payment-state-machine/payment-state.js +24 -0
- package/cli/service/helpers/payment-state-machine/payment-state.js.map +1 -0
- package/cli/service/helpers/product-price-applicator/product-price-applicator.d.ts +15 -0
- package/cli/service/helpers/product-price-applicator/product-price-applicator.js +64 -0
- package/cli/service/helpers/product-price-applicator/product-price-applicator.js.map +1 -0
- package/cli/service/helpers/refund-state-machine/refund-state-machine.d.ts +14 -0
- package/cli/service/helpers/refund-state-machine/refund-state-machine.js +65 -0
- package/cli/service/helpers/refund-state-machine/refund-state-machine.js.map +1 -0
- package/cli/service/helpers/refund-state-machine/refund-state.d.ts +11 -0
- package/cli/service/helpers/refund-state-machine/refund-state.js +15 -0
- package/cli/service/helpers/refund-state-machine/refund-state.js.map +1 -0
- package/cli/service/helpers/request-context/request-context.service.d.ts +29 -0
- package/{dist/api/common → cli/service/helpers/request-context}/request-context.service.js +50 -18
- package/cli/service/helpers/request-context/request-context.service.js.map +1 -0
- package/cli/service/helpers/shipping-calculator/shipping-calculator.d.ts +18 -0
- package/cli/service/helpers/shipping-calculator/shipping-calculator.js +50 -0
- package/cli/service/helpers/shipping-calculator/shipping-calculator.js.map +1 -0
- package/cli/service/helpers/translatable-saver/translatable-saver.d.ts +24 -0
- package/cli/service/helpers/translatable-saver/translatable-saver.js +64 -0
- package/cli/service/helpers/translatable-saver/translatable-saver.js.map +1 -0
- package/cli/service/helpers/translatable-saver/translation-differ.d.ts +17 -0
- package/cli/service/helpers/translatable-saver/translation-differ.js +65 -0
- package/cli/service/helpers/translatable-saver/translation-differ.js.map +1 -0
- package/cli/service/helpers/utils/address-to-line.d.ts +3 -0
- package/cli/service/helpers/utils/address-to-line.js +21 -0
- package/cli/service/helpers/utils/address-to-line.js.map +1 -0
- package/cli/service/helpers/utils/get-user-channels-permissions.d.ts +10 -0
- package/cli/service/helpers/utils/get-user-channels-permissions.js +26 -0
- package/cli/service/helpers/utils/get-user-channels-permissions.js.map +1 -0
- package/cli/service/helpers/utils/order-utils.d.ts +9 -0
- package/cli/service/helpers/utils/order-utils.js +64 -0
- package/cli/service/helpers/utils/order-utils.js.map +1 -0
- package/cli/service/helpers/utils/patch-entity.d.ts +5 -0
- package/cli/service/helpers/utils/patch-entity.js +17 -0
- package/cli/service/helpers/utils/patch-entity.js.map +1 -0
- package/cli/service/helpers/utils/samples-each.d.ts +1 -0
- package/cli/service/helpers/utils/samples-each.js +18 -0
- package/cli/service/helpers/utils/samples-each.js.map +1 -0
- package/cli/service/helpers/utils/translate-entity.d.ts +24 -0
- package/cli/service/helpers/utils/translate-entity.js +99 -0
- package/cli/service/helpers/utils/translate-entity.js.map +1 -0
- package/cli/service/helpers/verification-token-generator/verification-token-generator.d.ts +7 -0
- package/cli/service/helpers/verification-token-generator/verification-token-generator.js +44 -0
- package/cli/service/helpers/verification-token-generator/verification-token-generator.js.map +1 -0
- package/cli/service/services/administrator.service.d.ts +36 -0
- package/cli/service/services/administrator.service.js +230 -0
- package/cli/service/services/administrator.service.js.map +1 -0
- package/cli/service/services/asset.service.d.ts +63 -0
- package/cli/service/services/asset.service.js +478 -0
- package/cli/service/services/asset.service.js.map +1 -0
- package/cli/service/services/channel.service.d.ts +38 -0
- package/cli/service/services/channel.service.js +222 -0
- package/cli/service/services/channel.service.js.map +1 -0
- package/cli/service/services/country.service.d.ts +24 -0
- package/cli/service/services/country.service.js +119 -0
- package/cli/service/services/country.service.js.map +1 -0
- package/cli/service/services/customer.service.d.ts +62 -0
- package/cli/service/services/customer.service.js +662 -0
- package/cli/service/services/customer.service.js.map +1 -0
- package/cli/service/services/facet-value.service.d.ts +32 -0
- package/cli/service/services/facet-value.service.js +151 -0
- package/cli/service/services/facet-value.service.js.map +1 -0
- package/cli/service/services/fulfillment.service.d.ts +32 -0
- package/cli/service/services/fulfillment.service.js +106 -0
- package/cli/service/services/fulfillment.service.js.map +1 -0
- package/cli/service/services/global-settings.service.d.ts +17 -0
- package/cli/service/services/global-settings.service.js +74 -0
- package/cli/service/services/global-settings.service.js.map +1 -0
- package/cli/service/services/history.service.d.ts +139 -0
- package/cli/service/services/history.service.js +143 -0
- package/cli/service/services/history.service.js.map +1 -0
- package/cli/service/services/order.service.d.ts +136 -0
- package/cli/service/services/order.service.js +1158 -0
- package/cli/service/services/order.service.js.map +1 -0
- package/cli/service/services/payment-method.service.d.ts +37 -0
- package/cli/service/services/payment-method.service.js +178 -0
- package/cli/service/services/payment-method.service.js.map +1 -0
- package/cli/service/services/payment.service.d.ts +32 -0
- package/cli/service/services/payment.service.js +216 -0
- package/cli/service/services/payment.service.js.map +1 -0
- package/cli/service/services/product-variant.service.d.ts +70 -0
- package/cli/service/services/product-variant.service.js +560 -0
- package/cli/service/services/product-variant.service.js.map +1 -0
- package/cli/service/services/promotion.service.d.ts +41 -0
- package/cli/service/services/promotion.service.js +219 -0
- package/cli/service/services/promotion.service.js.map +1 -0
- package/cli/service/services/role.service.d.ts +39 -0
- package/cli/service/services/role.service.js +240 -0
- package/cli/service/services/role.service.js.map +1 -0
- package/cli/service/services/session.service.d.ts +38 -0
- package/cli/service/services/session.service.js +228 -0
- package/cli/service/services/session.service.js.map +1 -0
- package/cli/service/services/shipping-method.service.d.ts +36 -0
- package/cli/service/services/shipping-method.service.js +181 -0
- package/cli/service/services/shipping-method.service.js.map +1 -0
- package/cli/service/services/stock-movement.service.d.ts +39 -0
- package/cli/service/services/stock-movement.service.js +214 -0
- package/cli/service/services/stock-movement.service.js.map +1 -0
- package/cli/service/services/tag.service.d.ts +21 -0
- package/cli/service/services/tag.service.js +82 -0
- package/cli/service/services/tag.service.js.map +1 -0
- package/cli/service/services/tax-category.service.d.ts +16 -0
- package/cli/service/services/tax-category.service.js +95 -0
- package/cli/service/services/tax-category.service.js.map +1 -0
- package/cli/service/services/tax-rate.service.d.ts +28 -0
- package/cli/service/services/tax-rate.service.js +134 -0
- package/cli/service/services/tax-rate.service.js.map +1 -0
- package/cli/service/services/user.service.d.ts +37 -0
- package/cli/service/services/user.service.js +287 -0
- package/cli/service/services/user.service.js.map +1 -0
- package/cli/service/services/zone.service.d.ts +26 -0
- package/cli/service/services/zone.service.js +168 -0
- package/cli/service/services/zone.service.js.map +1 -0
- package/dist/api/api.module.js +0 -2
- package/dist/api/api.module.js.map +1 -1
- package/dist/api/common/request-context.d.ts +3 -1
- package/dist/api/common/request-context.js +3 -1
- package/dist/api/common/request-context.js.map +1 -1
- package/dist/api/config/configure-graphql-module.js +2 -0
- package/dist/api/config/configure-graphql-module.js.map +1 -1
- package/dist/api/config/generate-permissions.js +29 -4
- package/dist/api/config/generate-permissions.js.map +1 -1
- package/dist/api/config/graphql-custom-fields.js +27 -16
- package/dist/api/config/graphql-custom-fields.js.map +1 -1
- package/dist/api/decorators/request-context.decorator.js +9 -2
- package/dist/api/decorators/request-context.decorator.js.map +1 -1
- package/dist/api/middleware/auth-guard.d.ts +1 -1
- package/dist/api/middleware/auth-guard.js +1 -1
- package/dist/api/middleware/auth-guard.js.map +1 -1
- package/dist/api/middleware/transaction-interceptor.d.ts +9 -0
- package/dist/api/middleware/transaction-interceptor.js +16 -1
- package/dist/api/middleware/transaction-interceptor.js.map +1 -1
- package/dist/api/resolvers/admin/global-settings.resolver.js +1 -1
- package/dist/api/resolvers/admin/global-settings.resolver.js.map +1 -1
- package/dist/api/resolvers/entity/order-line-entity.resolver.d.ts +5 -3
- package/dist/api/resolvers/entity/order-line-entity.resolver.js +16 -2
- package/dist/api/resolvers/entity/order-line-entity.resolver.js.map +1 -1
- package/dist/api/schema/admin-api/customer.api.graphql +4 -0
- package/dist/api/schema/admin-api/order.api.graphql +6 -0
- package/dist/api/schema/common/common-enums.graphql +1 -0
- package/dist/api/schema/common/common-error-results.graphql +22 -0
- package/dist/api/schema/common/common-types.graphql +25 -0
- package/dist/api/schema/shop-api/shop-error-results.graphql +7 -29
- package/dist/api/schema/shop-api/shop.api.graphql +4 -2
- package/dist/bootstrap.js +6 -3
- package/dist/bootstrap.js.map +1 -1
- package/dist/common/constants.d.ts +1 -0
- package/dist/common/constants.js +2 -1
- package/dist/common/constants.js.map +1 -1
- package/dist/common/error/generated-graphql-admin-errors.d.ts +22 -0
- package/dist/common/error/generated-graphql-admin-errors.js +33 -2
- package/dist/common/error/generated-graphql-admin-errors.js.map +1 -1
- package/dist/common/error/generated-graphql-shop-errors.d.ts +7 -0
- package/dist/common/error/generated-graphql-shop-errors.js +12 -2
- package/dist/common/error/generated-graphql-shop-errors.js.map +1 -1
- package/dist/common/finite-state-machine/finite-state-machine.js +2 -1
- package/dist/common/finite-state-machine/finite-state-machine.js.map +1 -1
- package/dist/common/types/common-types.d.ts +3 -0
- package/dist/config/auth/default-password-validation-strategy.d.ts +23 -0
- package/dist/config/auth/default-password-validation-strategy.js +37 -0
- package/dist/config/auth/default-password-validation-strategy.js.map +1 -0
- package/dist/config/auth/password-validation-strategy.d.ts +22 -0
- package/dist/config/auth/password-validation-strategy.js +3 -0
- package/dist/config/auth/password-validation-strategy.js.map +1 -0
- package/dist/config/config.module.js +2 -1
- package/dist/config/config.module.js.map +1 -1
- package/dist/config/default-config.js +4 -0
- package/dist/config/default-config.js.map +1 -1
- package/dist/config/index.d.ts +4 -0
- package/dist/config/index.js +4 -0
- package/dist/config/index.js.map +1 -1
- package/dist/config/promotion/index.d.ts +4 -0
- package/dist/config/promotion/index.js +4 -0
- package/dist/config/promotion/index.js.map +1 -1
- package/dist/config/vendure-config.d.ts +53 -0
- package/dist/connection/connection.module.d.ts +1 -1
- package/dist/connection/transaction-wrapper.d.ts +5 -1
- package/dist/connection/transaction-wrapper.js +9 -3
- package/dist/connection/transaction-wrapper.js.map +1 -1
- package/dist/connection/transactional-connection.d.ts +7 -3
- package/dist/connection/transactional-connection.js +3 -3
- package/dist/connection/transactional-connection.js.map +1 -1
- package/dist/data-import/data-import.module.js +1 -1
- package/dist/data-import/data-import.module.js.map +1 -1
- package/dist/data-import/index.d.ts +3 -0
- package/dist/data-import/index.js +3 -0
- package/dist/data-import/index.js.map +1 -1
- package/dist/data-import/providers/asset-importer/asset-importer.d.ts +12 -1
- package/dist/data-import/providers/asset-importer/asset-importer.js +12 -2
- package/dist/data-import/providers/asset-importer/asset-importer.js.map +1 -1
- package/dist/data-import/providers/import-parser/import-parser.d.ts +59 -0
- package/dist/data-import/providers/import-parser/import-parser.js +12 -0
- package/dist/data-import/providers/import-parser/import-parser.js.map +1 -1
- package/dist/data-import/providers/importer/fast-importer.service.d.ts +21 -3
- package/dist/data-import/providers/importer/fast-importer.service.js +53 -17
- package/dist/data-import/providers/importer/fast-importer.service.js.map +1 -1
- package/dist/data-import/providers/importer/importer.d.ts +18 -0
- package/dist/data-import/providers/importer/importer.js +35 -19
- package/dist/data-import/providers/importer/importer.js.map +1 -1
- package/dist/data-import/providers/populator/populator.d.ts +13 -4
- package/dist/data-import/providers/populator/populator.js +32 -20
- package/dist/data-import/providers/populator/populator.js.map +1 -1
- package/dist/event-bus/event-bus.js +12 -3
- package/dist/event-bus/event-bus.js.map +1 -1
- package/dist/event-bus/events/order-event.d.ts +17 -0
- package/dist/event-bus/events/order-event.js +22 -0
- package/dist/event-bus/events/order-event.js.map +1 -0
- package/dist/event-bus/events/order-line-event.d.ts +18 -0
- package/dist/event-bus/events/order-line-event.js +23 -0
- package/dist/event-bus/events/order-line-event.js.map +1 -0
- package/dist/event-bus/index.d.ts +2 -0
- package/dist/event-bus/index.js +2 -0
- package/dist/event-bus/index.js.map +1 -1
- package/dist/i18n/messages/en.json +1 -0
- package/dist/job-queue/job-queue.service.js +3 -0
- package/dist/job-queue/job-queue.service.js.map +1 -1
- package/dist/plugin/plugin-common.module.js +3 -0
- package/dist/plugin/plugin-common.module.js.map +1 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.d.ts +19 -2
- package/dist/service/helpers/list-query-builder/list-query-builder.js +1 -1
- package/dist/service/helpers/list-query-builder/list-query-builder.js.map +1 -1
- package/dist/service/helpers/list-query-builder/parse-filter-params.js +4 -1
- package/dist/service/helpers/list-query-builder/parse-filter-params.js.map +1 -1
- package/dist/service/helpers/order-calculator/order-calculator.d.ts +11 -1
- package/dist/service/helpers/order-calculator/order-calculator.js +10 -0
- package/dist/service/helpers/order-calculator/order-calculator.js.map +1 -1
- package/dist/service/helpers/order-calculator/prorate.js +1 -1
- package/dist/service/helpers/order-calculator/prorate.js.map +1 -1
- package/dist/service/helpers/order-modifier/order-modifier.d.ts +10 -1
- package/dist/service/helpers/order-modifier/order-modifier.js +86 -3
- package/dist/service/helpers/order-modifier/order-modifier.js.map +1 -1
- package/dist/service/helpers/request-context/request-context.service.d.ts +57 -0
- package/dist/service/helpers/request-context/request-context.service.js +155 -0
- package/dist/service/helpers/request-context/request-context.service.js.map +1 -0
- package/dist/service/helpers/slug-validator/slug-validator.js +15 -6
- package/dist/service/helpers/slug-validator/slug-validator.js.map +1 -1
- package/dist/service/helpers/utils/order-utils.js +1 -1
- package/dist/service/helpers/utils/order-utils.js.map +1 -1
- package/dist/service/helpers/utils/translate-entity.js +1 -2
- package/dist/service/helpers/utils/translate-entity.js.map +1 -1
- package/dist/service/index.d.ts +3 -0
- package/dist/service/index.js +3 -0
- package/dist/service/index.js.map +1 -1
- package/dist/service/service.module.js +2 -0
- package/dist/service/service.module.js.map +1 -1
- package/dist/service/services/asset.service.d.ts +1 -1
- package/dist/service/services/asset.service.js +5 -3
- package/dist/service/services/asset.service.js.map +1 -1
- package/dist/service/services/customer-group.service.d.ts +3 -1
- package/dist/service/services/customer-group.service.js +8 -3
- package/dist/service/services/customer-group.service.js.map +1 -1
- package/dist/service/services/customer.service.d.ts +3 -3
- package/dist/service/services/customer.service.js +32 -4
- package/dist/service/services/customer.service.js.map +1 -1
- package/dist/service/services/history.service.d.ts +1 -0
- package/dist/service/services/history.service.js.map +1 -1
- package/dist/service/services/order.service.d.ts +15 -0
- package/dist/service/services/order.service.js +85 -31
- package/dist/service/services/order.service.js.map +1 -1
- package/dist/service/services/product-variant.service.d.ts +1 -0
- package/dist/service/services/product-variant.service.js +18 -5
- package/dist/service/services/product-variant.service.js.map +1 -1
- package/dist/service/services/promotion.service.js +2 -1
- package/dist/service/services/promotion.service.js.map +1 -1
- package/dist/service/services/session.service.js +1 -2
- package/dist/service/services/session.service.js.map +1 -1
- package/dist/service/services/user.service.d.ts +5 -4
- package/dist/service/services/user.service.js +30 -3
- package/dist/service/services/user.service.js.map +1 -1
- package/package.json +3 -3
- package/dist/api/common/request-context.service.d.ts +0 -30
- package/dist/api/common/request-context.service.js.map +0 -1
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Channel = void 0;
|
|
13
|
+
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const base_entity_1 = require("../base/base.entity");
|
|
16
|
+
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
17
|
+
const zone_entity_1 = require("../zone/zone.entity");
|
|
18
|
+
let Channel = class Channel extends base_entity_1.VendureEntity {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super(input);
|
|
21
|
+
if (!input || !input.token) {
|
|
22
|
+
this.token = this.generateToken();
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
generateToken() {
|
|
26
|
+
const randomString = () => Math.random().toString(36).substr(3, 10);
|
|
27
|
+
return `${randomString()}${randomString()}`;
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
__decorate([
|
|
31
|
+
typeorm_1.Column({ unique: true }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Channel.prototype, "code", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
typeorm_1.Column({ unique: true }),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], Channel.prototype, "token", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.Column('varchar'),
|
|
40
|
+
__metadata("design:type", String)
|
|
41
|
+
], Channel.prototype, "defaultLanguageCode", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.ManyToOne(type => zone_entity_1.Zone),
|
|
44
|
+
__metadata("design:type", zone_entity_1.Zone)
|
|
45
|
+
], Channel.prototype, "defaultTaxZone", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.ManyToOne(type => zone_entity_1.Zone),
|
|
48
|
+
__metadata("design:type", zone_entity_1.Zone)
|
|
49
|
+
], Channel.prototype, "defaultShippingZone", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
typeorm_1.Column('varchar'),
|
|
52
|
+
__metadata("design:type", String)
|
|
53
|
+
], Channel.prototype, "currencyCode", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
typeorm_1.Column(type => custom_entity_fields_1.CustomChannelFields),
|
|
56
|
+
__metadata("design:type", custom_entity_fields_1.CustomChannelFields)
|
|
57
|
+
], Channel.prototype, "customFields", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
typeorm_1.Column(),
|
|
60
|
+
__metadata("design:type", Boolean)
|
|
61
|
+
], Channel.prototype, "pricesIncludeTax", void 0);
|
|
62
|
+
Channel = __decorate([
|
|
63
|
+
typeorm_1.Entity(),
|
|
64
|
+
__metadata("design:paramtypes", [Object])
|
|
65
|
+
], Channel);
|
|
66
|
+
exports.Channel = Channel;
|
|
67
|
+
//# sourceMappingURL=channel.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"channel.entity.js","sourceRoot":"","sources":["../../../src/entity/channel/channel.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAiF;AAEjF,qCAAoD;AAEpD,qDAAoD;AACpD,kEAA8D;AAC9D,qDAA2C;AAU3C,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;QACb,IAAI,CAAC,KAAK,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE;YACxB,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC,aAAa,EAAE,CAAC;SACrC;IACL,CAAC;IAwBO,aAAa;QACjB,MAAM,YAAY,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;QACpE,OAAO,GAAG,YAAY,EAAE,GAAG,YAAY,EAAE,EAAE,CAAC;IAChD,CAAC;CACJ,CAAA;AAzBG;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;qCACZ;AAGb;IADC,gBAAM,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;;sCACX;AAEK;IAAlB,gBAAM,CAAC,SAAS,CAAC;;oDAAmC;AAGrD;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BACR,kBAAI;+CAAC;AAGrB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,kBAAI,CAAC;8BACH,kBAAI;oDAAC;AAG1B;IADC,gBAAM,CAAC,SAAS,CAAC;;6CACS;AAG3B;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAExB;IAAT,gBAAM,EAAE;;iDAA2B;AA5B3B,OAAO;IADnB,gBAAM,EAAE;;GACI,OAAO,CAkCnB;AAlCY,0BAAO"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { DeepPartial, ID } from '@vendure/common/lib/shared-types';
|
|
2
|
+
import { OrderableAsset } from '../asset/orderable-asset.entity';
|
|
3
|
+
import { Collection } from './collection.entity';
|
|
4
|
+
export declare class CollectionAsset extends OrderableAsset {
|
|
5
|
+
constructor(input?: DeepPartial<CollectionAsset>);
|
|
6
|
+
collectionId: ID;
|
|
7
|
+
collection: Collection;
|
|
8
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CollectionAsset = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const orderable_asset_entity_1 = require("../asset/orderable-asset.entity");
|
|
15
|
+
const collection_entity_1 = require("./collection.entity");
|
|
16
|
+
let CollectionAsset = class CollectionAsset extends orderable_asset_entity_1.OrderableAsset {
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super(input);
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
__decorate([
|
|
22
|
+
typeorm_1.Column(),
|
|
23
|
+
__metadata("design:type", Object)
|
|
24
|
+
], CollectionAsset.prototype, "collectionId", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
typeorm_1.ManyToOne((type) => collection_entity_1.Collection, (collection) => collection.assets, { onDelete: 'CASCADE' }),
|
|
27
|
+
__metadata("design:type", collection_entity_1.Collection)
|
|
28
|
+
], CollectionAsset.prototype, "collection", void 0);
|
|
29
|
+
CollectionAsset = __decorate([
|
|
30
|
+
typeorm_1.Entity(),
|
|
31
|
+
__metadata("design:paramtypes", [Object])
|
|
32
|
+
], CollectionAsset);
|
|
33
|
+
exports.CollectionAsset = CollectionAsset;
|
|
34
|
+
//# sourceMappingURL=collection-asset.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-asset.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-asset.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAoD;AAEpD,4EAAiE;AAEjE,2DAAiD;AAGjD,IAAa,eAAe,GAA5B,MAAa,eAAgB,SAAQ,uCAAc;IAC/C,YAAY,KAAoC;QAC5C,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAMJ,CAAA;AAJG;IADC,gBAAM,EAAE;;qDACQ;AAGjB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,8BAAU,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,UAAU,CAAC,MAAM,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BAChF,8BAAU;mDAAC;AARd,eAAe;IAD3B,gBAAM,EAAE;;GACI,eAAe,CAS3B;AATY,0CAAe"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LanguageCode } from '@vendure/common/lib/generated-types';
|
|
2
|
+
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
3
|
+
import { Translation } from '../../common/types/locale-types';
|
|
4
|
+
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
|
|
5
|
+
import { VendureEntity } from '../base/base.entity';
|
|
6
|
+
import { CustomCollectionFieldsTranslation } from '../custom-entity-fields';
|
|
7
|
+
import { Collection } from './collection.entity';
|
|
8
|
+
export declare class CollectionTranslation extends VendureEntity implements Translation<Collection>, HasCustomFields {
|
|
9
|
+
constructor(input?: DeepPartial<Translation<Collection>>);
|
|
10
|
+
languageCode: LanguageCode;
|
|
11
|
+
name: string;
|
|
12
|
+
slug: string;
|
|
13
|
+
description: string;
|
|
14
|
+
base: Collection;
|
|
15
|
+
customFields: CustomCollectionFieldsTranslation;
|
|
16
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CollectionTranslation = void 0;
|
|
13
|
+
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const base_entity_1 = require("../base/base.entity");
|
|
16
|
+
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
17
|
+
const collection_entity_1 = require("./collection.entity");
|
|
18
|
+
let CollectionTranslation = class CollectionTranslation extends base_entity_1.VendureEntity {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super(input);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
__decorate([
|
|
24
|
+
typeorm_1.Column('varchar'),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CollectionTranslation.prototype, "languageCode", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
typeorm_1.Column(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CollectionTranslation.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
typeorm_1.Column(),
|
|
33
|
+
__metadata("design:type", String)
|
|
34
|
+
], CollectionTranslation.prototype, "slug", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
typeorm_1.Column('text'),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], CollectionTranslation.prototype, "description", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
typeorm_1.ManyToOne(type => collection_entity_1.Collection, base => base.translations, { onDelete: 'CASCADE' }),
|
|
41
|
+
__metadata("design:type", collection_entity_1.Collection)
|
|
42
|
+
], CollectionTranslation.prototype, "base", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
typeorm_1.Column(type => custom_entity_fields_1.CustomCollectionFieldsTranslation),
|
|
45
|
+
__metadata("design:type", custom_entity_fields_1.CustomCollectionFieldsTranslation)
|
|
46
|
+
], CollectionTranslation.prototype, "customFields", void 0);
|
|
47
|
+
CollectionTranslation = __decorate([
|
|
48
|
+
typeorm_1.Entity(),
|
|
49
|
+
__metadata("design:paramtypes", [Object])
|
|
50
|
+
], CollectionTranslation);
|
|
51
|
+
exports.CollectionTranslation = CollectionTranslation;
|
|
52
|
+
//# sourceMappingURL=collection-translation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAmE;AAEnE,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA4E;AAE5E,2DAAiD;AAGjD,IAAa,qBAAqB,GAAlC,MAAa,qBAAsB,SAAQ,2BAAa;IACpD,YAAY,KAA4C;QACpD,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAmBJ,CAAA;AAjBsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;;2DAA4B;AAEpC;IAAT,gBAAM,EAAE;;mDAAc;AAEb;IAAT,gBAAM,EAAE;;mDAAc;AAEP;IAAf,gBAAM,CAAC,MAAM,CAAC;;0DAAqB;AAOpC;IALC,mBAAS,CACN,IAAI,CAAC,EAAE,CAAC,8BAAU,EAClB,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EACzB,EAAE,QAAQ,EAAE,SAAS,EAAE,CAC1B;8BACK,8BAAU;mDAAC;AAGjB;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,wDAAiC,CAAC;8BACpC,wDAAiC;2DAAC;AArBvC,qBAAqB;IADjC,gBAAM,EAAE;;GACI,qBAAqB,CAsBjC;AAtBY,sDAAqB"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { ConfigurableOperation } from '@vendure/common/lib/generated-types';
|
|
2
|
+
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
3
|
+
import { ChannelAware, Orderable } from '../../common/types/common-types';
|
|
4
|
+
import { LocaleString, Translatable, Translation } from '../../common/types/locale-types';
|
|
5
|
+
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
|
|
6
|
+
import { Asset } from '../asset/asset.entity';
|
|
7
|
+
import { VendureEntity } from '../base/base.entity';
|
|
8
|
+
import { Channel } from '../channel/channel.entity';
|
|
9
|
+
import { CustomCollectionFields } from '../custom-entity-fields';
|
|
10
|
+
import { ProductVariant } from '../product-variant/product-variant.entity';
|
|
11
|
+
import { CollectionAsset } from './collection-asset.entity';
|
|
12
|
+
export declare class Collection extends VendureEntity implements Translatable, HasCustomFields, ChannelAware, Orderable {
|
|
13
|
+
constructor(input?: DeepPartial<Collection>);
|
|
14
|
+
isRoot: boolean;
|
|
15
|
+
position: number;
|
|
16
|
+
isPrivate: boolean;
|
|
17
|
+
name: LocaleString;
|
|
18
|
+
description: LocaleString;
|
|
19
|
+
slug: LocaleString;
|
|
20
|
+
translations: Array<Translation<Collection>>;
|
|
21
|
+
featuredAsset: Asset;
|
|
22
|
+
assets: CollectionAsset[];
|
|
23
|
+
filters: ConfigurableOperation[];
|
|
24
|
+
productVariants: ProductVariant[];
|
|
25
|
+
customFields: CustomCollectionFields;
|
|
26
|
+
children: Collection[];
|
|
27
|
+
parent: Collection;
|
|
28
|
+
channels: Channel[];
|
|
29
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Collection = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const asset_entity_1 = require("../asset/asset.entity");
|
|
15
|
+
const base_entity_1 = require("../base/base.entity");
|
|
16
|
+
const channel_entity_1 = require("../channel/channel.entity");
|
|
17
|
+
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
18
|
+
const product_variant_entity_1 = require("../product-variant/product-variant.entity");
|
|
19
|
+
const collection_asset_entity_1 = require("./collection-asset.entity");
|
|
20
|
+
const collection_translation_entity_1 = require("./collection-translation.entity");
|
|
21
|
+
let Collection = class Collection extends base_entity_1.VendureEntity {
|
|
22
|
+
constructor(input) {
|
|
23
|
+
super(input);
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
__decorate([
|
|
27
|
+
typeorm_1.Column({ default: false }),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], Collection.prototype, "isRoot", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
typeorm_1.Column(),
|
|
32
|
+
__metadata("design:type", Number)
|
|
33
|
+
], Collection.prototype, "position", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
typeorm_1.Column({ default: false }),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], Collection.prototype, "isPrivate", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
typeorm_1.OneToMany((type) => collection_translation_entity_1.CollectionTranslation, (translation) => translation.base, { eager: true }),
|
|
40
|
+
__metadata("design:type", Array)
|
|
41
|
+
], Collection.prototype, "translations", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
typeorm_1.ManyToOne((type) => asset_entity_1.Asset, { onDelete: 'SET NULL' }),
|
|
44
|
+
__metadata("design:type", asset_entity_1.Asset)
|
|
45
|
+
], Collection.prototype, "featuredAsset", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
typeorm_1.OneToMany((type) => collection_asset_entity_1.CollectionAsset, (collectionAsset) => collectionAsset.collection),
|
|
48
|
+
__metadata("design:type", Array)
|
|
49
|
+
], Collection.prototype, "assets", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
typeorm_1.Column('simple-json'),
|
|
52
|
+
__metadata("design:type", Array)
|
|
53
|
+
], Collection.prototype, "filters", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
typeorm_1.ManyToMany((type) => product_variant_entity_1.ProductVariant, (productVariant) => productVariant.collections),
|
|
56
|
+
typeorm_1.JoinTable(),
|
|
57
|
+
__metadata("design:type", Array)
|
|
58
|
+
], Collection.prototype, "productVariants", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
typeorm_1.Column((type) => custom_entity_fields_1.CustomCollectionFields),
|
|
61
|
+
__metadata("design:type", custom_entity_fields_1.CustomCollectionFields)
|
|
62
|
+
], Collection.prototype, "customFields", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
typeorm_1.TreeChildren(),
|
|
65
|
+
__metadata("design:type", Array)
|
|
66
|
+
], Collection.prototype, "children", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
typeorm_1.TreeParent(),
|
|
69
|
+
__metadata("design:type", Collection)
|
|
70
|
+
], Collection.prototype, "parent", void 0);
|
|
71
|
+
__decorate([
|
|
72
|
+
typeorm_1.ManyToMany((type) => channel_entity_1.Channel),
|
|
73
|
+
typeorm_1.JoinTable(),
|
|
74
|
+
__metadata("design:type", Array)
|
|
75
|
+
], Collection.prototype, "channels", void 0);
|
|
76
|
+
Collection = __decorate([
|
|
77
|
+
typeorm_1.Entity(),
|
|
78
|
+
__metadata("design:paramtypes", [Object])
|
|
79
|
+
], Collection);
|
|
80
|
+
exports.Collection = Collection;
|
|
81
|
+
//# sourceMappingURL=collection.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"collection.entity.js","sourceRoot":"","sources":["../../../src/entity/collection/collection.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,qCASiB;AAKjB,wDAA8C;AAC9C,qDAAoD;AACpD,8DAAoD;AACpD,kEAAiE;AACjE,sFAA2E;AAE3E,uEAA4D;AAC5D,mFAAwE;AAcxE,IAAa,UAAU,GAAvB,MAAa,UAAW,SAAQ,2BAAa;IAEzC,YAAY,KAA+B;QACvC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CA4CJ,CAAA;AAzCG;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;0CACX;AAGhB;IADC,gBAAM,EAAE;;4CACQ;AAGjB;IADC,gBAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC;;6CACR;AASnB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,qDAAqB,EAAE,CAAC,WAAW,EAAE,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BACjF,KAAK;gDAA0B;AAG7C;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,oBAAK,EAAE,EAAE,QAAQ,EAAE,UAAU,EAAE,CAAC;8BACtC,oBAAK;iDAAC;AAGrB;IADC,mBAAS,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,yCAAe,EAAE,CAAC,eAAe,EAAE,EAAE,CAAC,eAAe,CAAC,UAAU,CAAC;;0CAC5D;AAEH;IAAtB,gBAAM,CAAC,aAAa,CAAC;;2CAAkC;AAIxD;IAFC,oBAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,uCAAc,EAAE,CAAC,cAAc,EAAE,EAAE,CAAC,cAAc,CAAC,WAAW,CAAC;IACpF,mBAAS,EAAE;;mDACsB;AAGlC;IADC,gBAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,6CAAsB,CAAC;8BAC3B,6CAAsB;gDAAC;AAGrC;IADC,sBAAY,EAAE;;4CACQ;AAGvB;IADC,oBAAU,EAAE;8BACL,UAAU;0CAAC;AAInB;IAFC,oBAAU,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,wBAAO,CAAC;IAC7B,mBAAS,EAAE;;4CACQ;AA/CX,UAAU;IANtB,gBAAM,EAAE;;GAMI,UAAU,CAgDtB;AAhDY,gCAAU"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LanguageCode } from '@vendure/common/lib/generated-types';
|
|
2
|
+
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
3
|
+
import { Translation } from '../../common/types/locale-types';
|
|
4
|
+
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
|
|
5
|
+
import { VendureEntity } from '../base/base.entity';
|
|
6
|
+
import { CustomCountryFieldsTranslation } from '../custom-entity-fields';
|
|
7
|
+
import { Country } from './country.entity';
|
|
8
|
+
export declare class CountryTranslation extends VendureEntity implements Translation<Country>, HasCustomFields {
|
|
9
|
+
constructor(input?: DeepPartial<Translation<CountryTranslation>>);
|
|
10
|
+
languageCode: LanguageCode;
|
|
11
|
+
name: string;
|
|
12
|
+
base: Country;
|
|
13
|
+
customFields: CustomCountryFieldsTranslation;
|
|
14
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.CountryTranslation = void 0;
|
|
13
|
+
const generated_types_1 = require("@vendure/common/lib/generated-types");
|
|
14
|
+
const typeorm_1 = require("typeorm");
|
|
15
|
+
const base_entity_1 = require("../base/base.entity");
|
|
16
|
+
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
17
|
+
const country_entity_1 = require("./country.entity");
|
|
18
|
+
let CountryTranslation = class CountryTranslation extends base_entity_1.VendureEntity {
|
|
19
|
+
constructor(input) {
|
|
20
|
+
super(input);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
__decorate([
|
|
24
|
+
typeorm_1.Column('varchar'),
|
|
25
|
+
__metadata("design:type", String)
|
|
26
|
+
], CountryTranslation.prototype, "languageCode", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
typeorm_1.Column(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CountryTranslation.prototype, "name", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
typeorm_1.ManyToOne(type => country_entity_1.Country, base => base.translations, { onDelete: 'CASCADE' }),
|
|
33
|
+
__metadata("design:type", country_entity_1.Country)
|
|
34
|
+
], CountryTranslation.prototype, "base", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
typeorm_1.Column(type => custom_entity_fields_1.CustomCountryFieldsTranslation),
|
|
37
|
+
__metadata("design:type", custom_entity_fields_1.CustomCountryFieldsTranslation)
|
|
38
|
+
], CountryTranslation.prototype, "customFields", void 0);
|
|
39
|
+
CountryTranslation = __decorate([
|
|
40
|
+
typeorm_1.Entity(),
|
|
41
|
+
__metadata("design:paramtypes", [Object])
|
|
42
|
+
], CountryTranslation);
|
|
43
|
+
exports.CountryTranslation = CountryTranslation;
|
|
44
|
+
//# sourceMappingURL=country-translation.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"country-translation.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country-translation.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yEAAmE;AAEnE,qCAAoD;AAIpD,qDAAoD;AACpD,kEAAyE;AAEzE,qDAA2C;AAG3C,IAAa,kBAAkB,GAA/B,MAAa,kBAAmB,SAAQ,2BAAa;IACjD,YAAY,KAAoD;QAC5D,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAWJ,CAAA;AATsB;IAAlB,gBAAM,CAAC,SAAS,CAAC;;wDAA4B;AAEpC;IAAT,gBAAM,EAAE;;gDAAc;AAGvB;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,wBAAO,EAAE,IAAI,CAAC,EAAE,CAAC,IAAI,CAAC,YAAY,EAAE,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC;8BACzE,wBAAO;gDAAC;AAGd;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,qDAA8B,CAAC;8BACjC,qDAA8B;wDAAC;AAbpC,kBAAkB;IAD9B,gBAAM,EAAE;;GACI,kBAAkB,CAc9B;AAdY,gDAAkB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
2
|
+
import { LocaleString, Translatable, Translation } from '../../common/types/locale-types';
|
|
3
|
+
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
|
|
4
|
+
import { VendureEntity } from '../base/base.entity';
|
|
5
|
+
import { CustomCountryFields } from '../custom-entity-fields';
|
|
6
|
+
export declare class Country extends VendureEntity implements Translatable, HasCustomFields {
|
|
7
|
+
constructor(input?: DeepPartial<Country>);
|
|
8
|
+
code: string;
|
|
9
|
+
name: LocaleString;
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
translations: Array<Translation<Country>>;
|
|
12
|
+
customFields: CustomCountryFields;
|
|
13
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.Country = void 0;
|
|
13
|
+
const typeorm_1 = require("typeorm");
|
|
14
|
+
const base_entity_1 = require("../base/base.entity");
|
|
15
|
+
const custom_entity_fields_1 = require("../custom-entity-fields");
|
|
16
|
+
const country_translation_entity_1 = require("./country-translation.entity");
|
|
17
|
+
let Country = class Country extends base_entity_1.VendureEntity {
|
|
18
|
+
constructor(input) {
|
|
19
|
+
super(input);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
__decorate([
|
|
23
|
+
typeorm_1.Column(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], Country.prototype, "code", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
typeorm_1.Column(),
|
|
28
|
+
__metadata("design:type", Boolean)
|
|
29
|
+
], Country.prototype, "enabled", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
typeorm_1.OneToMany(type => country_translation_entity_1.CountryTranslation, translation => translation.base, { eager: true }),
|
|
32
|
+
__metadata("design:type", Array)
|
|
33
|
+
], Country.prototype, "translations", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
typeorm_1.Column(type => custom_entity_fields_1.CustomCountryFields),
|
|
36
|
+
__metadata("design:type", custom_entity_fields_1.CustomCountryFields)
|
|
37
|
+
], Country.prototype, "customFields", void 0);
|
|
38
|
+
Country = __decorate([
|
|
39
|
+
typeorm_1.Entity(),
|
|
40
|
+
__metadata("design:paramtypes", [Object])
|
|
41
|
+
], Country);
|
|
42
|
+
exports.Country = Country;
|
|
43
|
+
//# sourceMappingURL=country.entity.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"country.entity.js","sourceRoot":"","sources":["../../../src/entity/country/country.entity.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,qCAAoD;AAIpD,qDAAoD;AACpD,kEAA8D;AAE9D,6EAAkE;AAWlE,IAAa,OAAO,GAApB,MAAa,OAAQ,SAAQ,2BAAa;IACtC,YAAY,KAA4B;QACpC,KAAK,CAAC,KAAK,CAAC,CAAC;IACjB,CAAC;CAaJ,CAAA;AAXa;IAAT,gBAAM,EAAE;;qCAAc;AAIb;IAAT,gBAAM,EAAE;;wCAAkB;AAG3B;IADC,mBAAS,CAAC,IAAI,CAAC,EAAE,CAAC,+CAAkB,EAAE,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;8BAC1E,KAAK;6CAAuB;AAG1C;IADC,gBAAM,CAAC,IAAI,CAAC,EAAE,CAAC,0CAAmB,CAAC;8BACtB,0CAAmB;6CAAC;AAfzB,OAAO;IADnB,gBAAM,EAAE;;GACI,OAAO,CAgBnB;AAhBY,0BAAO"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
export declare class CustomAddressFields {
|
|
2
|
+
}
|
|
3
|
+
export declare class CustomAdministratorFields {
|
|
4
|
+
}
|
|
5
|
+
export declare class CustomAssetFields {
|
|
6
|
+
}
|
|
7
|
+
export declare class CustomChannelFields {
|
|
8
|
+
}
|
|
9
|
+
export declare class CustomCollectionFields {
|
|
10
|
+
}
|
|
11
|
+
export declare class CustomCollectionFieldsTranslation {
|
|
12
|
+
}
|
|
13
|
+
export declare class CustomCountryFields {
|
|
14
|
+
}
|
|
15
|
+
export declare class CustomCountryFieldsTranslation {
|
|
16
|
+
}
|
|
17
|
+
export declare class CustomCustomerFields {
|
|
18
|
+
}
|
|
19
|
+
export declare class CustomCustomerGroupFields {
|
|
20
|
+
}
|
|
21
|
+
export declare class CustomFacetFields {
|
|
22
|
+
}
|
|
23
|
+
export declare class CustomFacetFieldsTranslation {
|
|
24
|
+
}
|
|
25
|
+
export declare class CustomFacetValueFields {
|
|
26
|
+
}
|
|
27
|
+
export declare class CustomFacetValueFieldsTranslation {
|
|
28
|
+
}
|
|
29
|
+
export declare class CustomFulfillmentFields {
|
|
30
|
+
}
|
|
31
|
+
export declare class CustomGlobalSettingsFields {
|
|
32
|
+
}
|
|
33
|
+
export declare class CustomOrderFields {
|
|
34
|
+
}
|
|
35
|
+
export declare class CustomOrderLineFields {
|
|
36
|
+
}
|
|
37
|
+
export declare class CustomPaymentMethodFields {
|
|
38
|
+
}
|
|
39
|
+
export declare class CustomProductFields {
|
|
40
|
+
}
|
|
41
|
+
export declare class CustomProductFieldsTranslation {
|
|
42
|
+
}
|
|
43
|
+
export declare class CustomProductOptionFields {
|
|
44
|
+
}
|
|
45
|
+
export declare class CustomProductOptionFieldsTranslation {
|
|
46
|
+
}
|
|
47
|
+
export declare class CustomProductOptionGroupFields {
|
|
48
|
+
}
|
|
49
|
+
export declare class CustomProductOptionGroupFieldsTranslation {
|
|
50
|
+
}
|
|
51
|
+
export declare class CustomProductVariantFields {
|
|
52
|
+
}
|
|
53
|
+
export declare class CustomProductVariantFieldsTranslation {
|
|
54
|
+
}
|
|
55
|
+
export declare class CustomPromotionFields {
|
|
56
|
+
}
|
|
57
|
+
export declare class CustomShippingMethodFields {
|
|
58
|
+
}
|
|
59
|
+
export declare class CustomShippingMethodFieldsTranslation {
|
|
60
|
+
}
|
|
61
|
+
export declare class CustomTaxCategoryFields {
|
|
62
|
+
}
|
|
63
|
+
export declare class CustomTaxRateFields {
|
|
64
|
+
}
|
|
65
|
+
export declare class CustomUserFields {
|
|
66
|
+
}
|
|
67
|
+
export declare class CustomZoneFields {
|
|
68
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomZoneFields = exports.CustomUserFields = exports.CustomTaxRateFields = exports.CustomTaxCategoryFields = exports.CustomShippingMethodFieldsTranslation = exports.CustomShippingMethodFields = exports.CustomPromotionFields = exports.CustomProductVariantFieldsTranslation = exports.CustomProductVariantFields = exports.CustomProductOptionGroupFieldsTranslation = exports.CustomProductOptionGroupFields = exports.CustomProductOptionFieldsTranslation = exports.CustomProductOptionFields = exports.CustomProductFieldsTranslation = exports.CustomProductFields = exports.CustomPaymentMethodFields = exports.CustomOrderLineFields = exports.CustomOrderFields = exports.CustomGlobalSettingsFields = exports.CustomFulfillmentFields = exports.CustomFacetValueFieldsTranslation = exports.CustomFacetValueFields = exports.CustomFacetFieldsTranslation = exports.CustomFacetFields = exports.CustomCustomerGroupFields = exports.CustomCustomerFields = exports.CustomCountryFieldsTranslation = exports.CustomCountryFields = exports.CustomCollectionFieldsTranslation = exports.CustomCollectionFields = exports.CustomChannelFields = exports.CustomAssetFields = exports.CustomAdministratorFields = exports.CustomAddressFields = void 0;
|
|
4
|
+
class CustomAddressFields {
|
|
5
|
+
}
|
|
6
|
+
exports.CustomAddressFields = CustomAddressFields;
|
|
7
|
+
class CustomAdministratorFields {
|
|
8
|
+
}
|
|
9
|
+
exports.CustomAdministratorFields = CustomAdministratorFields;
|
|
10
|
+
class CustomAssetFields {
|
|
11
|
+
}
|
|
12
|
+
exports.CustomAssetFields = CustomAssetFields;
|
|
13
|
+
class CustomChannelFields {
|
|
14
|
+
}
|
|
15
|
+
exports.CustomChannelFields = CustomChannelFields;
|
|
16
|
+
class CustomCollectionFields {
|
|
17
|
+
}
|
|
18
|
+
exports.CustomCollectionFields = CustomCollectionFields;
|
|
19
|
+
class CustomCollectionFieldsTranslation {
|
|
20
|
+
}
|
|
21
|
+
exports.CustomCollectionFieldsTranslation = CustomCollectionFieldsTranslation;
|
|
22
|
+
class CustomCountryFields {
|
|
23
|
+
}
|
|
24
|
+
exports.CustomCountryFields = CustomCountryFields;
|
|
25
|
+
class CustomCountryFieldsTranslation {
|
|
26
|
+
}
|
|
27
|
+
exports.CustomCountryFieldsTranslation = CustomCountryFieldsTranslation;
|
|
28
|
+
class CustomCustomerFields {
|
|
29
|
+
}
|
|
30
|
+
exports.CustomCustomerFields = CustomCustomerFields;
|
|
31
|
+
class CustomCustomerGroupFields {
|
|
32
|
+
}
|
|
33
|
+
exports.CustomCustomerGroupFields = CustomCustomerGroupFields;
|
|
34
|
+
class CustomFacetFields {
|
|
35
|
+
}
|
|
36
|
+
exports.CustomFacetFields = CustomFacetFields;
|
|
37
|
+
class CustomFacetFieldsTranslation {
|
|
38
|
+
}
|
|
39
|
+
exports.CustomFacetFieldsTranslation = CustomFacetFieldsTranslation;
|
|
40
|
+
class CustomFacetValueFields {
|
|
41
|
+
}
|
|
42
|
+
exports.CustomFacetValueFields = CustomFacetValueFields;
|
|
43
|
+
class CustomFacetValueFieldsTranslation {
|
|
44
|
+
}
|
|
45
|
+
exports.CustomFacetValueFieldsTranslation = CustomFacetValueFieldsTranslation;
|
|
46
|
+
class CustomFulfillmentFields {
|
|
47
|
+
}
|
|
48
|
+
exports.CustomFulfillmentFields = CustomFulfillmentFields;
|
|
49
|
+
class CustomGlobalSettingsFields {
|
|
50
|
+
}
|
|
51
|
+
exports.CustomGlobalSettingsFields = CustomGlobalSettingsFields;
|
|
52
|
+
class CustomOrderFields {
|
|
53
|
+
}
|
|
54
|
+
exports.CustomOrderFields = CustomOrderFields;
|
|
55
|
+
class CustomOrderLineFields {
|
|
56
|
+
}
|
|
57
|
+
exports.CustomOrderLineFields = CustomOrderLineFields;
|
|
58
|
+
class CustomPaymentMethodFields {
|
|
59
|
+
}
|
|
60
|
+
exports.CustomPaymentMethodFields = CustomPaymentMethodFields;
|
|
61
|
+
class CustomProductFields {
|
|
62
|
+
}
|
|
63
|
+
exports.CustomProductFields = CustomProductFields;
|
|
64
|
+
class CustomProductFieldsTranslation {
|
|
65
|
+
}
|
|
66
|
+
exports.CustomProductFieldsTranslation = CustomProductFieldsTranslation;
|
|
67
|
+
class CustomProductOptionFields {
|
|
68
|
+
}
|
|
69
|
+
exports.CustomProductOptionFields = CustomProductOptionFields;
|
|
70
|
+
class CustomProductOptionFieldsTranslation {
|
|
71
|
+
}
|
|
72
|
+
exports.CustomProductOptionFieldsTranslation = CustomProductOptionFieldsTranslation;
|
|
73
|
+
class CustomProductOptionGroupFields {
|
|
74
|
+
}
|
|
75
|
+
exports.CustomProductOptionGroupFields = CustomProductOptionGroupFields;
|
|
76
|
+
class CustomProductOptionGroupFieldsTranslation {
|
|
77
|
+
}
|
|
78
|
+
exports.CustomProductOptionGroupFieldsTranslation = CustomProductOptionGroupFieldsTranslation;
|
|
79
|
+
class CustomProductVariantFields {
|
|
80
|
+
}
|
|
81
|
+
exports.CustomProductVariantFields = CustomProductVariantFields;
|
|
82
|
+
class CustomProductVariantFieldsTranslation {
|
|
83
|
+
}
|
|
84
|
+
exports.CustomProductVariantFieldsTranslation = CustomProductVariantFieldsTranslation;
|
|
85
|
+
class CustomPromotionFields {
|
|
86
|
+
}
|
|
87
|
+
exports.CustomPromotionFields = CustomPromotionFields;
|
|
88
|
+
class CustomShippingMethodFields {
|
|
89
|
+
}
|
|
90
|
+
exports.CustomShippingMethodFields = CustomShippingMethodFields;
|
|
91
|
+
class CustomShippingMethodFieldsTranslation {
|
|
92
|
+
}
|
|
93
|
+
exports.CustomShippingMethodFieldsTranslation = CustomShippingMethodFieldsTranslation;
|
|
94
|
+
class CustomTaxCategoryFields {
|
|
95
|
+
}
|
|
96
|
+
exports.CustomTaxCategoryFields = CustomTaxCategoryFields;
|
|
97
|
+
class CustomTaxRateFields {
|
|
98
|
+
}
|
|
99
|
+
exports.CustomTaxRateFields = CustomTaxRateFields;
|
|
100
|
+
class CustomUserFields {
|
|
101
|
+
}
|
|
102
|
+
exports.CustomUserFields = CustomUserFields;
|
|
103
|
+
class CustomZoneFields {
|
|
104
|
+
}
|
|
105
|
+
exports.CustomZoneFields = CustomZoneFields;
|
|
106
|
+
//# sourceMappingURL=custom-entity-fields.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"custom-entity-fields.js","sourceRoot":"","sources":["../../src/entity/custom-entity-fields.ts"],"names":[],"mappings":";;;AAAA,MAAa,mBAAmB;CAAG;AAAnC,kDAAmC;AACnC,MAAa,yBAAyB;CAAG;AAAzC,8DAAyC;AACzC,MAAa,iBAAiB;CAAG;AAAjC,8CAAiC;AACjC,MAAa,mBAAmB;CAAG;AAAnC,kDAAmC;AACnC,MAAa,sBAAsB;CAAG;AAAtC,wDAAsC;AACtC,MAAa,iCAAiC;CAAG;AAAjD,8EAAiD;AACjD,MAAa,mBAAmB;CAAG;AAAnC,kDAAmC;AACnC,MAAa,8BAA8B;CAAG;AAA9C,wEAA8C;AAC9C,MAAa,oBAAoB;CAAG;AAApC,oDAAoC;AACpC,MAAa,yBAAyB;CAAG;AAAzC,8DAAyC;AACzC,MAAa,iBAAiB;CAAG;AAAjC,8CAAiC;AACjC,MAAa,4BAA4B;CAAG;AAA5C,oEAA4C;AAC5C,MAAa,sBAAsB;CAAG;AAAtC,wDAAsC;AACtC,MAAa,iCAAiC;CAAG;AAAjD,8EAAiD;AACjD,MAAa,uBAAuB;CAAG;AAAvC,0DAAuC;AACvC,MAAa,0BAA0B;CAAG;AAA1C,gEAA0C;AAC1C,MAAa,iBAAiB;CAAG;AAAjC,8CAAiC;AACjC,MAAa,qBAAqB;CAAG;AAArC,sDAAqC;AACrC,MAAa,yBAAyB;CAAG;AAAzC,8DAAyC;AACzC,MAAa,mBAAmB;CAAG;AAAnC,kDAAmC;AACnC,MAAa,8BAA8B;CAAG;AAA9C,wEAA8C;AAC9C,MAAa,yBAAyB;CAAG;AAAzC,8DAAyC;AACzC,MAAa,oCAAoC;CAAG;AAApD,oFAAoD;AACpD,MAAa,8BAA8B;CAAG;AAA9C,wEAA8C;AAC9C,MAAa,yCAAyC;CAAG;AAAzD,8FAAyD;AACzD,MAAa,0BAA0B;CAAG;AAA1C,gEAA0C;AAC1C,MAAa,qCAAqC;CAAG;AAArD,sFAAqD;AACrD,MAAa,qBAAqB;CAAG;AAArC,sDAAqC;AACrC,MAAa,0BAA0B;CAAG;AAA1C,gEAA0C;AAC1C,MAAa,qCAAqC;CAAG;AAArD,sFAAqD;AACrD,MAAa,uBAAuB;CAAG;AAAvC,0DAAuC;AACvC,MAAa,mBAAmB;CAAG;AAAnC,kDAAmC;AACnC,MAAa,gBAAgB;CAAG;AAAhC,4CAAgC;AAChC,MAAa,gBAAgB;CAAG;AAAhC,4CAAgC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { DeepPartial } from '@vendure/common/lib/shared-types';
|
|
2
|
+
import { ChannelAware, SoftDeletable } from '../../common/types/common-types';
|
|
3
|
+
import { HasCustomFields } from '../../config/custom-field/custom-field-types';
|
|
4
|
+
import { Address } from '../address/address.entity';
|
|
5
|
+
import { VendureEntity } from '../base/base.entity';
|
|
6
|
+
import { Channel } from '../channel/channel.entity';
|
|
7
|
+
import { CustomCustomerFields } from '../custom-entity-fields';
|
|
8
|
+
import { CustomerGroup } from '../customer-group/customer-group.entity';
|
|
9
|
+
import { Order } from '../order/order.entity';
|
|
10
|
+
import { User } from '../user/user.entity';
|
|
11
|
+
export declare class Customer extends VendureEntity implements ChannelAware, HasCustomFields, SoftDeletable {
|
|
12
|
+
constructor(input?: DeepPartial<Customer>);
|
|
13
|
+
deletedAt: Date | null;
|
|
14
|
+
title: string;
|
|
15
|
+
firstName: string;
|
|
16
|
+
lastName: string;
|
|
17
|
+
phoneNumber: string;
|
|
18
|
+
emailAddress: string;
|
|
19
|
+
groups: CustomerGroup[];
|
|
20
|
+
addresses: Address[];
|
|
21
|
+
orders: Order[];
|
|
22
|
+
user?: User;
|
|
23
|
+
customFields: CustomCustomerFields;
|
|
24
|
+
channels: Channel[];
|
|
25
|
+
}
|