11 lines
247 B
TypeScript
11 lines
247 B
TypeScript
|
import { Entity } from './Entity';
|
||
|
import { IsParentOf } from '../relations/IsParentOf';
|
||
|
|
||
|
export interface Context extends Entity {
|
||
|
|
||
|
name: string;
|
||
|
parent: IsParentOf<Context, Context>;
|
||
|
children: Array<IsParentOf<Context, Context>>;
|
||
|
|
||
|
}
|