UNPKG

@fabrix/spool-cart

Version:

Spool - eCommerce Spool for Fabrix

53 lines (52 loc) 1.31 kB
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'; import { SequelizeResolver } from '@fabrix/spool-sequelize'; export declare class VendorProduct extends Model { static readonly resolver: typeof SequelizeResolver; static config(app: any, Sequelize: any): { options: { underscored: boolean; }; }; static schema(app: any, Sequelize: any): { id: { type: any; primaryKey: boolean; autoIncrement: boolean; }; vendor_id: { type: any; unique: string; }; product_id: { type: any; unique: string; }; variant_id: { type: any; unique: string; }; vendor_price: { type: any; }; vendor_url: { type: any; }; inventory_management: { type: any; defaultValue: boolean; }; inventory_policy: { type: any; values: string[]; defaultValue: string; }; inventory_quantity: { type: any; defaultValue: number; }; inventory_lead_time: { type: any; defaultValue: number; }; }; }