mirror of
https://github.com/nasa/openmct.git
synced 2024-12-22 06:27:48 +00:00
2648f01966
Disallow composition for domain object types which will not have a composition property; WTD-1221.
28 lines
1004 B
JSON
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."
|
|
}
|
|
]
|
|
}
|
|
} |