Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional OutputCapabilities to the output descriptor #125

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

bhufmann
Copy link
Collaborator

@bhufmann bhufmann commented Jan 20, 2025

What it does

OutputCapabilities indicate capabilities of an 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.

See also ADR: eclipse-cdt-cloud/theia-trace-extension#1158

How to test

Run the unit tests (yarn tests)

Follow-ups

N/A

Review checklist

  • As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

Signed-off-by: Bernd Hufmann [email protected]

/**
* Whether the data provider can create derived data providers.
*/
canCreate: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both should be optional with '?' ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

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]>
@bhufmann bhufmann merged commit 902d07e into eclipse-cdt-cloud:master Jan 21, 2025
5 checks passed
@bhufmann bhufmann deleted the dp-capilities branch January 21, 2025 21:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants