@comyata/fe
Version:
Execute YAML and JSON files like programs and get clean data to work with as result.
15 lines (13 loc) • 320 B
JavaScript
export class DataFile {
/**
* The parsed data to use for computing.
*/
/**
* The loaded data value to use for parsing.
* used as global cache, while dataRef will get populated from here
*/
constructor(fileId, importContext) {
this.fileId = fileId;
this.importContext = importContext;
}
}