openmct/platform/containment/bundle.json
Victor Woeltjen 2648f01966 [Composition] Disallow composition for leaf types
Disallow composition for domain object types which will
not have a composition property; WTD-1221.
2015-06-04 09:16:12 -07:00

28 lines
1004 B
JSON

{
"extensions": {
"policies": [
{
"category": "composition",
"implementation": "CompositionPolicy.js",
"depends": [ "$injector" ],
"message": "Objects of this type cannot contain objects of that type."
},
{
"category": "composition",
"implementation": "CompositionMutabilityPolicy.js",
"message": "Objects of this type cannot be modified."
},
{
"category": "composition",
"implementation": "CompositionModelPolicy.js",
"message": "Objects of this type cannot contain other objects."
},
{
"category": "action",
"implementation": "ComposeActionPolicy.js",
"depends": [ "$injector" ],
"message": "Objects of this type cannot contain objects of that type."
}
]
}
}