@accordproject/concerto-util
Version:
Utilities for Concerto Modeling Language
16 lines (15 loc) • 550 B
TypeScript
/**
* Writes a set of model files to disk
* @param files - the set of files to write, with names and whether they are external
* @param path - a path to the directory where to write the files
* @param options - a set of options
*/
export interface WritableModelFile {
fileName: string;
definitions: string;
external?: boolean;
}
export interface WriteModelsOptions {
includeExternalModels?: boolean;
}
export declare function writeModelsToFileSystem(files: WritableModelFile[], path: string, options?: WriteModelsOptions): void;