Added Application.md + add more TODOs
This commit is contained in:
parent
df94e7904d
commit
41dd119200
3 changed files with 185 additions and 0 deletions
|
@ -2,6 +2,8 @@ import { IContainerProperties } from './IContainerProperties';
|
|||
|
||||
export interface IContainerModel {
|
||||
children: string[]
|
||||
// TODO: Remove parent now that accessing the parent by id is faster.
|
||||
// TODO: Use GetContainerById(container.properties.parentId) as the better alternative.
|
||||
parent: IContainerModel | null
|
||||
properties: IContainerProperties
|
||||
userData: Record<string, string | number>
|
||||
|
@ -13,6 +15,8 @@ export interface IContainerModel {
|
|||
*/
|
||||
export class ContainerModel implements IContainerModel {
|
||||
public children: string[];
|
||||
// TODO: Remove parent now that accessing the parent by id is faster.
|
||||
// TODO: Use GetContainerById(container.properties.parentId) as the better alternative.
|
||||
public parent: IContainerModel | null;
|
||||
public properties: IContainerProperties;
|
||||
public userData: Record<string, string | number>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue