mirror of
https://github.com/flarum/framework.git
synced 2025-01-10 21:35:38 +08:00
db6c8b8774
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
export default class Model {
|
|
constructor(type: any, model?: null);
|
|
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;
|
|
}
|