@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
46 lines (45 loc) • 1.85 kB
TypeScript
import { FabrixService as Service } from '@fabrix/fabrix/dist/common';
export declare class CollectionService extends Service {
publish(type: any, event: any, options?: {
save?: boolean;
transaction?: any;
include?: any;
}): any;
add(collection: any, options?: {
[key: string]: any;
}): any;
create(collection: any, options: any): any;
update(collection: any, options: any): any;
addCollections(collection: any, collections: any, options: any): any;
addCollection(collection: any, subCollection: any, options?: {
[key: string]: any;
}): any;
removeCollections(collection: any, collections: any, options?: {
[key: string]: any;
}): any;
removeCollection(collection: any, subCollection: any, options: any): any;
addProducts(collection: any, products: any, options: any): any;
addProduct(collection: any, product: any, options: any): any;
removeProduct(collection: any, product: any, options: any): any;
removeImages(collection: any, images: any): any;
removeImage(collectionId: any, id: any, options?: {
[key: string]: any;
}): any;
addImages(collection: any, images: any): any;
addImage(collection: any, image: any, options?: {
[key: string]: any;
}): any;
createImage(collection: any, filePath: any, options?: {
[key: string]: any;
}): any;
addTag(collection: any, tag: any, options: any): any;
removeTag(collection: any, tag: any, options: any): any;
addCustomers(collection: any, customers: any, options: any): any;
addCustomer(collection: any, customer: any, options: any): any;
removeCustomer(collection: any, customer: any, options?: {
[key: string]: any;
}): any;
analytics(collection: any, options?: {
[key: string]: any;
}): any;
}