fix
This commit is contained in:
parent
3838c8c978
commit
a94c741624
@ -24,6 +24,10 @@ export abstract class ControlModel extends Assignable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get_data (): Record<string, string|number|boolean> {
|
||||||
|
return super.get_data () as Record<string, string|number|boolean>;
|
||||||
|
}
|
||||||
|
|
||||||
public get (key: string): string|number|boolean {
|
public get (key: string): string|number|boolean {
|
||||||
return this.data[key] as string|number|boolean;
|
return this.data[key] as string|number|boolean;
|
||||||
}
|
}
|
||||||
|
@ -36,6 +36,10 @@ export abstract class DatabaseModel extends Assignable {
|
|||||||
this.data[key] = value;
|
this.data[key] = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public get_data (): Record<string, string|number|boolean> {
|
||||||
|
return super.get_data () as Record<string, string|number|boolean>;
|
||||||
|
}
|
||||||
|
|
||||||
public abstract async read(): Promise<boolean>;
|
public abstract async read(): Promise<boolean>;
|
||||||
public abstract async write(): Promise<boolean>;
|
public abstract async write(): Promise<boolean>;
|
||||||
public abstract async delete(): Promise<boolean>;
|
public abstract async delete(): Promise<boolean>;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user