import { BuildConfig } from "./buildconfig" ; export class Project { public readonly children = [ ] ; public readonly id : string ; public readonly parentId : undefined | string ; public readonly name : string ; constructor ( id , parentId , name ) { this . id = id ; this . parentId = parentId ; this . name = name ; } public addChildBuildConfig ( project ) { this . children . push ( project ) ; } public addChildProject ( project ) { this . children . push ( project ) ; } }