import { File } from '@machinelabs/models' ; import { MonacoFile } from 'ngx-monaco' ; export class MonacoFileTypeAdapter { static labFileToMonacoFile ( file ) { return { uri : file . name , content : file . content } ; } static monacoFileToLabFile ( file ) { return { name : file . uri , content : file . content } ; } }