mirror of
https://github.com/nasa/openmct.git
synced 2025-04-29 23:40:11 +00:00
Add a description of priority-ordering rules (implemented for WTD-590) to framework documentation.
29 lines
665 B
JavaScript
29 lines
665 B
JavaScript
/*global define*/
|
|
|
|
/**
|
|
* Constants used by the framework layer.
|
|
*/
|
|
define({
|
|
MODULE_NAME: "OpenMCTWeb",
|
|
BUNDLE_LISTING_FILE: "bundles.json",
|
|
BUNDLE_FILE: "bundle.json",
|
|
SEPARATOR: "/",
|
|
EXTENSION_SUFFIX: "[]",
|
|
DEFAULT_BUNDLE: {
|
|
"sources": "src",
|
|
"resources": "res",
|
|
"libraries": "lib",
|
|
"tests": "test",
|
|
"configuration": {},
|
|
"extensions": {}
|
|
},
|
|
PRIORITY_LEVELS: {
|
|
"fallback": Number.NEGATIVE_INFINITY,
|
|
"default": -100,
|
|
"none": 0,
|
|
"optional": 100,
|
|
"preferred": 1000,
|
|
"mandatory": Number.POSITIVE_INFINITY
|
|
},
|
|
DEFAULT_PRIORITY: 0
|
|
}); |