import {TargetConfiguration} from 'projext/src/services/configurations/targetConfiguration.js'
TargetConfiguration
Extends:
This is a 'tricky' service as it only exists to be overwritten. It was created as a dynamic way for a target to extend any configuration. It's service provider returns a function instead of an instance, in which the plugin/service defines any path and then the service gets instantiated.
Constructor Summary
Public Constructor | ||
public |
constructor(overwritePath: string, baseConfiguration: ConfigurationFile, pathUtils: PathUtils) Class constructor. |
Method Summary
Public Methods | ||
public |
Return an empty object just to comply with the interface. |
Inherited Summary
From class ConfigurationFile | ||
public |
Whether the configuration should be created every time |
|
public |
A list of paths that can overwrite the configuration. |
|
public |
A parent configuration to extend. |
|
public |
A local reference for the |
|
public abstract |
This method will be called the first time |
|
public |
This is the public method all other services uses to obtain the configuration. |
Public Constructors
public constructor(overwritePath: string, baseConfiguration: ConfigurationFile, pathUtils: PathUtils) source
Class constructor.
Override:
ConfigurationFile#constructorParams:
Name | Type | Attribute | Description |
overwritePath | string | The path to the overwrite file. |
|
baseConfiguration | ConfigurationFile | The configuration this will be extending. |
|
pathUtils | PathUtils | Because |
Public Methods
public createConfig(): Object source
Return an empty object just to comply with the interface.