Creates a new Folder in File System using process.env.PROJECTS_FOLDER and given projectName. Creates sub-folders for configurations and JSON Schemas
projectName
string
Returns boolean return true if a new project was created, false if it already exists.
Retrieves a list of all existing projects in the File System
Retrieves the configurations filenames inside the directory of projectName
-
projectName
-
Throws Error Project does not exist
Retrieves the Configuration File with configName for given projectName
projectName
{string} - The project that contains the requested configuration fileconfigName
{string} - The requested configuration filesuffix
{string=} - a suffix to append to the filename configName when retrieving it.
Returns object
Creates a new Configuration File named configName with configData inside of an existing project with given projectName
projectName
string The project that contains the requested configuration fileconfigName
string The requested configuration fileconfigData
string The configuration you wish to storesuffix
string? a suffix to append to the filename
Retrieves the Schema File with schemaName for given projectName
projectName
{string} - The project that contains the requested schema fileschemaName
{string} - The requested schema filesuffix
{string=} - a suffix to append to the filename schemaName when retrieving it.
Returns object
Creates a new Schema File named schemaName with schemaData inside of an existing project with given projectName