Export missing v1 entity types: QuoteApproval, AccountWarning, Appeal#1395
Merged
Conversation
…peal Co-authored-by: neet <19276905+neet@users.noreply.github.com>
Co-authored-by: neet <19276905+neet@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix no exported member 'QuoteApproval' issue
Export missing v1 entity types: QuoteApproval, AccountWarning, Appeal
Jan 2, 2026
Owner
|
@copilot Looks great but I think you don't need to add tests for them as tests under the |
Co-authored-by: neet <19276905+neet@users.noreply.github.com>
Contributor
Author
Contributor
size-limit report 📦
|
commit: |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR resolves an issue where three v1 entity types (QuoteApproval, AccountWarning, and Appeal) were not exported from the package's public API, forcing users to import from internal distribution paths.
Key Changes:
- Added three missing type exports to
src/mastodon/entities/v1/index.tsin alphabetical order
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Plan: Export Missing v1 Entity Types
src/mastodon/entities/v1/index.tsquote-approval.ts,account-warning.ts, andappeal.tsSummary
Fixed the issue where
mastodon.v1.QuoteApproval,mastodon.v1.AccountWarning, andmastodon.v1.Appealtypes were not exported from the package. Users can now access these types directly via themastodon.v1namespace instead of importing from internal paths likemasto/dist/esm/mastodon/entities/v1/quote-approval.Changes:
src/mastodon/entities/v1/index.tsOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.