@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
49 lines (48 loc) • 1.4 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class ProductAssociationUploadResolver extends SequelizeResolver {
batch(options: any, batch: any): any;
}
export declare class ProductAssociationUpload extends Model {
static readonly resolver: typeof ProductAssociationUploadResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
};
};
static schema(app: any, Sequelize: any): {
upload_id: {
type: any;
allowNull: boolean;
};
product_handle: {
type: any;
allowNull: boolean;
set: (val: any) => void;
};
product_sku: {
type: any;
allowNull: boolean;
set: (val: any) => void;
};
associated_product_handle: {
type: any;
allowNull: boolean;
set: (val: any) => void;
};
associated_product_sku: {
type: any;
allowNull: boolean;
set: (val: any) => void;
};
position: {
type: any;
defaultValue: number;
};
live_mode: {
type: any;
defaultValue: any;
};
};
static associate(models: any): void;
}