Skip to content

Add Types to Annotation Examples#159

Merged
InosRahul merged 19 commits intomasterfrom
rahul/annotation-examples
Dec 15, 2025
Merged

Add Types to Annotation Examples#159
InosRahul merged 19 commits intomasterfrom
rahul/annotation-examples

Conversation

@InosRahul
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

@miguelcalderon miguelcalderon left a comment

Choose a reason for hiding this comment

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

LGTM


annotations.forEach(async (annotation: Annotation) => {
const updatedAnnotation = annotation.set("noView", annotationsHidden);
await instance.update(updatedAnnotation);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Optionally you could persist the updated annotations in an array, and then call update() only once with all the updates.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Added here: 311ff1c

Base automatically changed from rahul/add-types to master December 15, 2025 13:34
@InosRahul InosRahul merged commit d85d321 into master Dec 15, 2025
3 checks passed
@InosRahul InosRahul deleted the rahul/annotation-examples branch December 15, 2025 13:36
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