interface modelling
This commit is contained in:
parent
6101f066cd
commit
373635f0db
@ -5,7 +5,7 @@
|
|||||||
* Created by Timo Hocker <timo@scode.ovh>, May 2020
|
* Created by Timo Hocker <timo@scode.ovh>, May 2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { DataApply } from './DataApply';
|
import { DataApply } from './interfaces/DataApply';
|
||||||
|
|
||||||
export abstract class ControlModel implements DataApply {
|
export abstract class ControlModel implements DataApply {
|
||||||
protected data: Record<string, string|number|boolean> = {};
|
protected data: Record<string, string|number|boolean> = {};
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
* Created by Timo Hocker <timo@scode.ovh>, May 2020
|
* Created by Timo Hocker <timo@scode.ovh>, May 2020
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import { DataApply } from './DataApply';
|
import { DataApply } from './interfaces/DataApply';
|
||||||
|
|
||||||
export abstract class DatabaseModel implements DataApply {
|
export abstract class DatabaseModel implements DataApply {
|
||||||
protected data: Record<string, string|number|boolean> = {};
|
protected data: Record<string, string|number|boolean> = {};
|
||||||
|
@ -7,3 +7,4 @@
|
|||||||
|
|
||||||
export { ControlModel } from './ControlModel';
|
export { ControlModel } from './ControlModel';
|
||||||
export { DatabaseModel } from './DatabaseModel';
|
export { DatabaseModel } from './DatabaseModel';
|
||||||
|
export * from './interfaces';
|
||||||
|
3
lib/interfaces/index.ts
Normal file
3
lib/interfaces/index.ts
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
export { DataApply } from './DataApply';
|
||||||
|
export { Serializable } from './Serializable';
|
||||||
|
export { Graphable } from './Graphable';
|
Loading…
x
Reference in New Issue
Block a user