Class ConfigurationFileOperations
Hierarchy
-
ConfigurationFileOperations
Methods
initializeConfig
- initializeConfig(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
initializeCorsConfig
- initializeCorsConfig(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
- true if cors file was successfully created
initializeDbConfig
- initializeDbConfig(connection: ConnectionData, filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
initializeExpressConfig
- initializeExpressConfig(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
- true if express file was successfully created
initializeGetEnvBasedConfig
- initializeGetEnvBasedConfig(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
initializeIndex
- initializeIndex(filePath: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
- true if index file was created
initializeRouterConfig
- initializeRouterConfig(filePath: string, schema: Schema): Promise<boolean>
-
Parameters
Returns Promise<boolean>
Class which implements logic for creating configuration files
ConfigurationFileOperations