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

feat: add deleteDocument(documentID) API func #10

Merged
merged 3 commits into from
Dec 4, 2023

Conversation

aloisklink
Copy link
Contributor

Draft PR: This PR is stacked on top of:

Please change this PR to target main once #9 has been merged.

Adds the API function for deleting a document. Unlike most other API functions, this function doesn't return an MCDocument, just a plain Document without any diagram information.

I've mainly added this function to help with cleaning up E2E tests, since otherwise we'll make millions of diagrams that will fill up our database/projects!

image

@aloisklink aloisklink added the enhancement New feature or request label Nov 24, 2023
Copy link

vercel bot commented Nov 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Updated (UTC)
office-plugin-site ⬜️ Ignored (Inspect) Nov 24, 2023 3:30pm

Base automatically changed from feat/add-createDocument-to-sdk to main December 4, 2023 08:48
@aloisklink aloisklink marked this pull request as ready for review December 4, 2023 08:48
@aloisklink aloisklink merged commit 37438d0 into main Dec 4, 2023
@aloisklink aloisklink deleted the feat/add-deleteDocument-to-sdk branch December 4, 2023 08:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants