import { CmdbDao } from '../../../../framework/models/cmdb-dao' ; import { FileMetadata } from './metadata' ; export class FileElement implements CmdbDao { public readonly public_id : number ; public readonly gridOutId : number ; public filename : string ; public metadata : FileMetadata ; public size : number ; public upload_date : any ; public inProcess : boolean = false ; public children : any [ ] = [ ] ; public hasSubFolders : boolean = false ; public constructor ( init ? ) { Object . assign ( this , init ) ; } } export class SelectedFileArray implements Object { files : FileElement [ ] = [ ] ; totalSize : number = 0 ; }