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

Programmatic element CRUD #25

Merged
merged 12 commits into from
Feb 6, 2025
Merged

Conversation

tomhicks
Copy link
Collaborator

@tomhicks tomhicks commented Jan 31, 2025

This adds:

  • createElement
  • updateElement
  • deleteElement

Copy link
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@tomhicks tomhicks changed the title [WIP] Element creation API Programmatic element CRUD Feb 6, 2025
@tomhicks tomhicks marked this pull request as ready for review February 6, 2025 15:55
Copy link
Contributor

@Clebal Clebal left a comment

Choose a reason for hiding this comment

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

Changes make sense 👍🏻

@tomhicks tomhicks merged commit 2db9ef8 into main Feb 6, 2025
3 checks passed
@tomhicks tomhicks deleted the tom/app-6970-programmatic-element-creation branch February 6, 2025 16:19
tomhicks added a commit that referenced this pull request Feb 6, 2025
* Start defining element types

* Add API for create/update/delete elements

* WIP

* Replace z.infer with zInfer and type with interface exports for better docs

* Update type and schema names to be consistent

* Make exports more consistent

* Update element geometry to use tuples

* Update circle

* Update types, mostly required v optional

* Rename pin to place and update position types

* docs(changeset): Add programmatic element creation, editing and deletion

* Fix tool settings types

---------

Co-authored-by: Sergio Clebal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants