@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
41 lines (40 loc) • 1.11 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class ShippingZone extends Model {
static readonly resolver: typeof SequelizeResolver;
static config(app: any, Sequelize: any): {
options: {
underscored: boolean;
scopes: {
live: {
where: {
live_mode: boolean;
};
};
};
};
};
static schema(app: any, Sequelize: any): {
name: {
type: any;
notNull: boolean;
};
carrier_shipping_rate_providers: {
type: any;
defaultValue: any[];
};
price_based_shipping_rates: {
type: any;
defaultValue: any[];
};
weight_based_shipping_rates: {
type: any;
defaultValue: any[];
};
live_mode: {
type: any;
defaultValue: any;
};
};
static associate(models: any): void;
}