@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
36 lines (35 loc) • 2.55 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.spool = {
type: 'misc',
provides: {
resources: ['controllers', 'models', 'services', 'events', 'crons', 'emails'],
api: {
controllers: ['CartController', 'CollectionController', 'CountryController', 'CouponController', 'CustomerController', 'DiscountController', 'FulfillmentController', 'OrderController', 'ProductController', 'ProxyCartController', 'ReviewController', 'ShopController', 'SubscriptionController', 'TagController', 'TransactionController', 'UserController', 'VendorController'],
services: ['AccountService', 'CartService', 'CollectionCsvService', 'CollectionService', 'CountryService', 'CouponService', 'CustomerCsvService', 'CustomerService', 'DiscountService', 'FulfillmentService', 'GiftCardService', 'OrderCsvService', 'OrderService', 'PaymentService', 'ProductCsvService', 'ProductService', 'ProxyCartService', 'ReviewService', 'ShippingService', 'ShopService', 'SubscriptionService', 'TagService', 'TaxService', 'TransactionService', 'VendorCsvService', 'VendorService'],
models: ['Account', 'Address', 'Cart', 'City', 'Collection', 'Country', 'County', 'Coupon', 'Customer', 'CustomerAccount', 'CustomerCart', 'CustomerOrder', 'CustomerSource', 'CustomerUpload', 'CustomerUser', 'Discount', 'Fulfillment', 'FulfillmentEvent', 'GiftCard', 'Image', 'ItemAddress', 'ItemCollection', 'ItemCoupon', 'ItemDiscount', 'ItemImage', 'ItemRefund', 'ItemShippingZone', 'ItemTag', 'Metadata', 'Order', 'OrderItem', 'OrderRisk', 'OrderSource', 'OrderUpload', 'Product', 'ProductAssociation', 'ProductAssociationUpload', 'ProductImage', 'ProductMetaUpload', 'ProductReview', 'ProductUpload', 'ProductVariant', 'Province', 'Refund', 'Shop', 'ShopProduct', 'Source', 'Subscription', 'SubscriptionUpload', 'Tag', 'Transaction', 'User', 'Vendor', 'VendorProduct', 'VendorUpload'],
events: [],
crons: [],
tasks: []
},
config: ['cart', 'routes', 'policies']
},
lifecycle: {
configure: {
listen: [
'spool:sequelize:configured',
'spool:generics:configured',
'spool:permissions:configured'
],
emit: []
},
initialize: {
listen: [
'spool:sequelize:initialized',
'spool:permissions:initialized',
'spool:generics:initialized'
],
emit: []
}
}
};