diff --git a/src/types/Community.ts b/src/types/Community.ts index 31f0859..5884c8f 100644 --- a/src/types/Community.ts +++ b/src/types/Community.ts @@ -19,4 +19,5 @@ export interface Community { hidden: boolean; posting_restricted_to_mods: boolean; instance_id: InstanceId; + only_followers_can_vote: boolean; } diff --git a/src/types/CreateCommunity.ts b/src/types/CreateCommunity.ts index 5c84a37..9114f93 100644 --- a/src/types/CreateCommunity.ts +++ b/src/types/CreateCommunity.ts @@ -11,4 +11,5 @@ export interface CreateCommunity { posting_restricted_to_mods?: boolean; discussion_languages?: Array; local_only?: boolean; + only_followers_can_vote?: boolean; } diff --git a/src/types/CreateSite.ts b/src/types/CreateSite.ts index 107c3fb..f467308 100644 --- a/src/types/CreateSite.ts +++ b/src/types/CreateSite.ts @@ -43,4 +43,6 @@ export interface CreateSite { blocked_instances?: Array; taglines?: Array; registration_mode?: RegistrationMode; + content_warning?: string; + auto_expand_images?: boolean; } diff --git a/src/types/EditCommunity.ts b/src/types/EditCommunity.ts index 5f9ecc6..f37f234 100644 --- a/src/types/EditCommunity.ts +++ b/src/types/EditCommunity.ts @@ -12,4 +12,5 @@ export interface EditCommunity { posting_restricted_to_mods?: boolean; discussion_languages?: Array; local_only?: boolean; + only_followers_can_vote?: boolean; } diff --git a/src/types/EditSite.ts b/src/types/EditSite.ts index fae73a9..987f4aa 100644 --- a/src/types/EditSite.ts +++ b/src/types/EditSite.ts @@ -44,4 +44,6 @@ export interface EditSite { taglines?: Array; registration_mode?: RegistrationMode; reports_email_admins?: boolean; + content_warning?: string; + auto_expand_images?: boolean; } diff --git a/src/types/LocalSite.ts b/src/types/LocalSite.ts index 67aab50..e1a11ea 100644 --- a/src/types/LocalSite.ts +++ b/src/types/LocalSite.ts @@ -29,4 +29,6 @@ export interface LocalSite { registration_mode: RegistrationMode; reports_email_admins: boolean; federation_signed_fetch: boolean; + content_warning?: string; + auto_expand_images: boolean; }