@accordproject/concerto-util
Advanced tools
Comparing version 1.2.2-20211202162603 to 1.2.2-20211202203854
@@ -36,3 +36,2 @@ /* | ||
* Downloads the transitive closure of a set of model files. | ||
* @class | ||
* @memberof module:concerto-core | ||
@@ -43,3 +42,4 @@ */ | ||
* Create a FileDownloader and bind to a FileLoader. | ||
* @param {fileLoader} fileLoader - the loader to use to download model files | ||
* @constructor | ||
* @param {*} fileLoader - the loader to use to download model files | ||
* @param {*} getExternalImports - a function taking a file and returning new files | ||
@@ -46,0 +46,0 @@ * @param {Number} concurrency - the number of model files to download concurrently |
@@ -36,3 +36,3 @@ /* | ||
* Adds a FileLoader implemenetation to the FileLoader | ||
* @param {FileLoader} fileLoader - The script to add to the ScriptManager | ||
* @param {*} fileLoader - The script to add to the ScriptManager | ||
*/ | ||
@@ -45,3 +45,3 @@ addFileLoader(fileLoader) { | ||
* Get the array of FileLoader instances | ||
* @return {FileLoaders[]} The FileLoader registered | ||
* @return {*} The FileLoader registered | ||
* @private | ||
@@ -48,0 +48,0 @@ */ |
@@ -36,3 +36,3 @@ /* | ||
* Writes text to the start of the buffer | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
@@ -51,3 +51,3 @@ */ | ||
* Append text to the buffer | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
@@ -66,3 +66,3 @@ */ | ||
* Returns the number of lines that have been written to the buffer. | ||
* @return {int} the number of lines written to the buffer. | ||
* @return {number} the number of lines written to the buffer. | ||
*/ | ||
@@ -76,3 +76,3 @@ getLineCount() { | ||
* Append text to the buffer, prepending tabs | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
@@ -79,0 +79,0 @@ */ |
{ | ||
"name": "@accordproject/concerto-util", | ||
"version": "1.2.2-20211202162603", | ||
"version": "1.2.2-20211202203854", | ||
"description": "Utilities for Concerto Modeling Language", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/accordproject/concerto", |
export = FileDownloader; | ||
/** | ||
* Downloads the transitive closure of a set of model files. | ||
* @class | ||
* @memberof module:concerto-core | ||
@@ -10,8 +9,9 @@ */ | ||
* Create a FileDownloader and bind to a FileLoader. | ||
* @param {fileLoader} fileLoader - the loader to use to download model files | ||
* @constructor | ||
* @param {*} fileLoader - the loader to use to download model files | ||
* @param {*} getExternalImports - a function taking a file and returning new files | ||
* @param {Number} concurrency - the number of model files to download concurrently | ||
*/ | ||
constructor(fileLoader: fileLoader, getExternalImports: any, concurrency?: number); | ||
fileLoader: fileLoader; | ||
constructor(fileLoader: any, getExternalImports: any, concurrency?: number); | ||
fileLoader: any; | ||
concurrency: number; | ||
@@ -18,0 +18,0 @@ getExternalImports: any; |
@@ -15,8 +15,8 @@ export = CompositeFileLoader; | ||
* Adds a FileLoader implemenetation to the FileLoader | ||
* @param {FileLoader} fileLoader - The script to add to the ScriptManager | ||
* @param {*} fileLoader - The script to add to the ScriptManager | ||
*/ | ||
addFileLoader(fileLoader: FileLoader): void; | ||
addFileLoader(fileLoader: any): void; | ||
/** | ||
* Get the array of FileLoader instances | ||
* @return {FileLoaders[]} The FileLoader registered | ||
* @return {*[]} The FileLoader registered | ||
* @private | ||
@@ -23,0 +23,0 @@ */ |
@@ -15,23 +15,23 @@ export = Writer; | ||
* Writes text to the start of the buffer | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
*/ | ||
writeBeforeLine(tabs: int, text: string): void; | ||
writeBeforeLine(tabs: number, text: string): void; | ||
/** | ||
* Append text to the buffer | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
*/ | ||
writeLine(tabs: int, text: string): void; | ||
writeLine(tabs: number, text: string): void; | ||
/** | ||
* Returns the number of lines that have been written to the buffer. | ||
* @return {int} the number of lines written to the buffer. | ||
* @return {number} the number of lines written to the buffer. | ||
*/ | ||
getLineCount(): int; | ||
getLineCount(): number; | ||
/** | ||
* Append text to the buffer, prepending tabs | ||
* @param {int} tabs - the number of tabs to use | ||
* @param {number} tabs - the number of tabs to use | ||
* @param {string} text - the text to write | ||
*/ | ||
writeIndented(tabs: int, text: string): void; | ||
writeIndented(tabs: number, text: string): void; | ||
/** | ||
@@ -38,0 +38,0 @@ * Append text to the buffer (no automatic newline). The |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47017