Feature loading stage definitions
- Source:
- enum/Feature.js
Example
const Feature = require('@genx/app/lib/enum/Feature');
Members
-
<static> CONF :string
-
Configuration
Type:
- string
- Default Value:
-
- Configure
- Source:
- enum/Feature.js
-
<static> INIT :string
-
Initialization, e.g. settings
Type:
- string
- Default Value:
-
- Initial
- Source:
- enum/Feature.js
-
<static> PLUGIN :string
-
Loading plugins, e.g. middlewares, bootstrap
Type:
- string
- Default Value:
-
- Plugins
- Source:
- enum/Feature.js
-
<static> READY :string
-
Final preparation before service container get into work
Type:
- string
- Default Value:
-
- Ready
- Source:
- enum/Feature.js
-
<static> SERVICE :string
-
Services, e.g. loggers, i18n
Type:
- string
- Default Value:
-
- Services
- Source:
- enum/Feature.js
Methods
-
<static> validate(featureObject)
-
Validate a feature object.
Parameters:
Name Type Description featureObjectobject Feature object
- Source:
- enum/Feature.js
Properties:
Name Type Description featureObject.typestring Feature loading stage
featureObject.load_function Feature loading method
Returns:
- Type
- bool