Skip to content

fix: Add missing Application entity fields introduced in Mastodon 4.3/4.4#1409

Merged
neet merged 1 commit into
mainfrom
fix/application-entity-4.3-fields
Mar 2, 2026
Merged

fix: Add missing Application entity fields introduced in Mastodon 4.3/4.4#1409
neet merged 1 commit into
mainfrom
fix/application-entity-4.3-fields

Conversation

@neet

@neet neet commented Mar 2, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes #1408

  • Add scopes?: string[] | null to Application (added in Mastodon 4.3.0)
  • Add redirectUris?: string[] | null to Application (added in Mastodon 4.3.0)
  • Add clientSecretExpiresAt?: string | null to Client (added in Mastodon 4.4.0)
  • Fix doc link casing (applicationApplication)

Test plan

  • Build passes (npm run build)

🤖 Generated with Claude Code

…/4.4

Closes #1408

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings March 2, 2026 22:56
@github-actions

github-actions Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

Path Size
rest 3.9 KB (0%)
streaming 3.86 KB (0%)
oauth 3.9 KB (0%)

@pkg-pr-new

pkg-pr-new Bot commented Mar 2, 2026

Copy link
eb94a33_ " data-view-component="true" class="dropdown-item btn-link"> Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/masto@1409

commit: eb94a33

@neet neet enabled auto-merge (squash) March 2, 2026 22:57
@neet neet disabled auto-merge March 2, 2026 22:57

Copilot AI left a comment

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.

Pull request overview

Updates Mastodon v1 entity typings to cover fields added in Mastodon 4.3/4.4, addressing the reported mismatch where Application is missing newer attributes.

Changes:

  • Add new optional fields to Application (scopes, redirectUris) for Mastodon 4.3+.
  • Add clientSecretExpiresAt to Client for Mastodon 4.4+.
  • Update the Mastodon docs link casing for the Application entity.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/mastodon/entities/v1/application.ts
@neet neet enabled auto-merge (squash) March 2, 2026 23:06
@neet neet disabled auto-merge March 2, 2026 23:07
@neet neet merged commit 23cad4f into main Mar 2, 2026
8 checks passed
@neet neet deleted the fix/application-entity-4.3-fields branch March 2, 2026 23:07
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.

Interface Application is outdated

2 participants