mirror of
https://github.com/nasa/openmct.git
synced 2025-04-14 06:26:44 +00:00
[Containment] Add bundle declaration
WTD-962.
This commit is contained in:
parent
3c00eb86ea
commit
838a86830e
11
platform/containment/bundle.json
Normal file
11
platform/containment/bundle.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"extensions": {
|
||||
"policies": [
|
||||
{
|
||||
"category": "composition",
|
||||
"implementation": "CompositionPolicy.js",
|
||||
"depends": [ "typeService", "capabilityService" ]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
@ -8,7 +8,9 @@ define(
|
||||
|
||||
/**
|
||||
* Build a table indicating which types are expected to expose
|
||||
* which capabilities.
|
||||
* which capabilities. This supports composition policy (rules
|
||||
* for which objects can contain which other objects) which
|
||||
* sometimes is determined based on the presence of capabilities.
|
||||
*/
|
||||
function CapabilityTable(typeService, capabilityService) {
|
||||
var table = {};
|
||||
|
Loading…
x
Reference in New Issue
Block a user