@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
42 lines (41 loc) • 1.13 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class ItemShippingZone extends Model {
static readonly resolver: typeof SequelizeResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
enums: {
SHIPPING_MODELS: {
CITY: string;
COUNTY: string;
COUNTRY: string;
PROVINCE: string;
};
};
};
};
static schema(app: any, Sequelize: any): {
id: {
type: any;
primaryKey: boolean;
autoIncrement: boolean;
};
shipping_zone_id: {
type: any;
unique: string;
notNull: boolean;
};
model: {
type: any;
unique: string;
values: string[];
};
model_id: {
type: any;
unique: string;
notNull: boolean;
references: any;
};
};
}