Support Pleroma/GoToSocial-specific status visibilities

Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
marcin mikołajczak
2024-07-26 21:55:17 +02:00
parent 57efcaf35c
commit f476e743c2
13 changed files with 125 additions and 31 deletions

View File

@ -20,7 +20,7 @@ import { maybeFromJS } from 'soapbox/utils/normalizers';
import type { Account, Attachment, Card, Emoji, Group, Mention, Poll, EmbeddedEntity, EmojiReaction } from 'soapbox/types/entities';
type StatusApprovalStatus = 'pending' | 'approval' | 'rejected';
type StatusVisibility = 'public' | 'unlisted' | 'private' | 'direct' | 'group';
type StatusVisibility = 'public' | 'unlisted' | 'private' | 'direct' | 'group' | 'mutuals_only' | 'local';
type EventJoinMode = 'free' | 'restricted' | 'invite';
type EventJoinState = 'pending' | 'reject' | 'accept';