UNPKG

@fabrix/spool-cart

Version:

Spool - eCommerce Spool for Fabrix

41 lines (40 loc) 1.06 kB
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'; import { SequelizeResolver } from '@fabrix/spool-sequelize'; export declare class ProductAssociation 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; }; product_id: { type: any; unique: string; }; associated_product_id: { type: any; unique: string; references: any; }; variant_id: { type: any; unique: string; references: any; }; associated_variant_id: { type: any; unique: string; references: any; }; position: { type: any; defaultValue: number; }; }; }