mirror of
https://github.com/flarum/core.git
synced 2025-08-14 04:14:06 +02:00
Bundled output for commit e54c5b0924
Includes transpiled JS/TS, and Typescript declaration files (typings). [skip ci]
This commit is contained in:
5
js/dist-typings/common/Model.d.ts
vendored
5
js/dist-typings/common/Model.d.ts
vendored
@@ -24,10 +24,10 @@ export interface SavedModelData {
|
||||
relationships?: ModelRelationships;
|
||||
}
|
||||
export declare type ModelData = UnsavedModelData | SavedModelData;
|
||||
interface SaveRelationships {
|
||||
export interface SaveRelationships {
|
||||
[relationship: string]: Model | Model[];
|
||||
}
|
||||
interface SaveAttributes {
|
||||
export interface SaveAttributes {
|
||||
[key: string]: unknown;
|
||||
relationships?: SaveRelationships;
|
||||
}
|
||||
@@ -145,4 +145,3 @@ export default abstract class Model {
|
||||
*/
|
||||
protected static getIdentifier(model: Model): ModelIdentifier;
|
||||
}
|
||||
export {};
|
||||
|
Reference in New Issue
Block a user