@fabrix/spool-analytics
Version:
Spool: Analytics for Fabrix
49 lines (48 loc) • 1.16 kB
TypeScript
import { FabrixModel as Model } from '@fabrix/fabrix/dist/common';
import { SequelizeResolver } from '@fabrix/spool-sequelize';
export declare class Analytic 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): {
start: {
type: any;
};
end: {
type: any;
};
name: {
type: any;
};
group_label: {
type: any;
allowNull: boolean;
};
labels: {
type: any;
defaultValue: any[];
};
data: {
type: any;
defaultValue: any[];
};
live_mode: {
type: any;
defaultValue: any;
};
};
static associate(models: any): void;
}
export interface Analytic {
toJSON(): any;
}