Newer
Older
alert / js / node_modules / flarum / common / extend / Model.d.ts
@Réz István Réz István on 18 Nov 2021 305 bytes first commit
export default class Model {
    constructor(type: any, model?: any);
    type: any;
    attributes: any[];
    hasOnes: any[];
    hasManys: any[];
    model: any;
    attribute(name: any): Model;
    hasOne(type: any): Model;
    hasMany(type: any): Model;
    extend(app: any, extension: any): void;
}