-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add optional OutputCapabilities to the output descriptor
OutputCapabilities indicate capabilities of am output, such as "canCreate" and "canDelete". "canCreate" indicates that a given output can create a derived outputs. "canDelete" indicates that a given output can be deleted. Signed-off-by: Bernd Hufmann <[email protected]>
- Loading branch information
Showing
4 changed files
with
54 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/** | ||
* Capabilities class indicating capabilities of a data provider, such as | ||
* "canCreate" and "canDelete" capability. | ||
* | ||
* "canCreate" indicates that a given data provider can create a derived data | ||
* provider. "canDelete" indicates that a given data provider can be deleted. | ||
* | ||
*/ | ||
export class OutputCapabilities { | ||
/** | ||
* Whether the data provider can create derived data providers. 'false' if absent. | ||
*/ | ||
canCreate?: boolean; | ||
|
||
/** | ||
* Whether the data provider can be deleted. 'false' if absent. | ||
*/ | ||
canDelete?: boolean; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters