0
0
Fork 0

Add API types for status and related objects (#29792)

This commit is contained in:
Renaud Chaput 2024-04-02 12:03:33 +02:00 committed by GitHub
parent 07635228e2
commit e47a3d00fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 143 additions and 1 deletions

View file

@ -1,4 +1,4 @@
export type StatusVisibility = 'public' | 'unlisted' | 'private' | 'direct';
export type { StatusVisibility } from 'mastodon/api_types/statuses';
// Temporary until we type it correctly
export type Status = Immutable.Map<string, unknown>;