UNPKG

@fabrix/spool-cart

Version:

Spool - eCommerce Spool for Fabrix

47 lines (46 loc) 1.22 kB
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common'; import { SequelizeResolver } from '@fabrix/spool-sequelize'; export declare class ItemCustomer extends Model { static readonly resolver: typeof SequelizeResolver; static config(app: any, Sequelize: any): { options: { underscored: boolean; enums: { CUSTOMER_MODELS: { CUSTOMER: string; USER: string; }; }; indexes: { fields: string[]; }[]; }; }; static schema(app: any, Sequelize: any): { id: { type: any; primaryKey: boolean; autoIncrement: boolean; }; customer_id: { type: any; unique: string; notNull: boolean; }; model: { type: any; unique: string; values: string[]; }; model_id: { type: any; unique: string; notNull: boolean; references: any; }; position: { type: any; }; }; static associate(models: any): void; }