diff --git a/.woodpecker.yml b/.woodpecker.yml index a6fed63..5d95c8c 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,4 @@ -pipeline: +steps: yarn: image: node:alpine commands: diff --git a/src/types/Community.ts b/src/types/Community.ts index c1193c2..496eb89 100644 --- a/src/types/Community.ts +++ b/src/types/Community.ts @@ -20,6 +20,5 @@ export interface Community { hidden: boolean; posting_restricted_to_mods: boolean; instance_id: InstanceId; - only_followers_can_vote: boolean; visibility: CommunityVisibility; } diff --git a/src/types/CommunityAggregates.ts b/src/types/CommunityAggregates.ts index b8fc455..d686794 100644 --- a/src/types/CommunityAggregates.ts +++ b/src/types/CommunityAggregates.ts @@ -11,5 +11,4 @@ export interface CommunityAggregates { users_active_week: /* integer */ number; users_active_month: /* integer */ number; users_active_half_year: /* integer */ number; - subscribers_local: /* integer */ number; } diff --git a/src/types/CreateCommunity.ts b/src/types/CreateCommunity.ts index f6249a0..3465267 100644 --- a/src/types/CreateCommunity.ts +++ b/src/types/CreateCommunity.ts @@ -11,6 +11,5 @@ export interface CreateCommunity { nsfw?: boolean; posting_restricted_to_mods?: boolean; discussion_languages?: Array; - only_followers_can_vote?: boolean; visibility?: CommunityVisibility; } diff --git a/src/types/CreateSite.ts b/src/types/CreateSite.ts index f467308..107c3fb 100644 --- a/src/types/CreateSite.ts +++ b/src/types/CreateSite.ts @@ -43,6 +43,4 @@ 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 ce4bc67..fe46e19 100644 --- a/src/types/EditCommunity.ts +++ b/src/types/EditCommunity.ts @@ -12,6 +12,5 @@ export interface EditCommunity { nsfw?: boolean; posting_restricted_to_mods?: boolean; discussion_languages?: Array; - only_followers_can_vote?: boolean; visibility?: CommunityVisibility; } diff --git a/src/types/EditSite.ts b/src/types/EditSite.ts index 987f4aa..fae73a9 100644 --- a/src/types/EditSite.ts +++ b/src/types/EditSite.ts @@ -44,6 +44,4 @@ export interface EditSite { taglines?: Array; registration_mode?: RegistrationMode; reports_email_admins?: boolean; - content_warning?: string; - auto_expand_images?: boolean; } diff --git a/src/types/GetPersonDetailsResponse.ts b/src/types/GetPersonDetailsResponse.ts index 6ab8ae3..6d14f77 100644 --- a/src/types/GetPersonDetailsResponse.ts +++ b/src/types/GetPersonDetailsResponse.ts @@ -7,7 +7,7 @@ import type { Site } from "./Site"; export interface GetPersonDetailsResponse { person_view: PersonView; - site: Site | null; + site?: Site; comments: Array; posts: Array; moderates: Array; diff --git a/src/types/LocalSite.ts b/src/types/LocalSite.ts index e1a11ea..67aab50 100644 --- a/src/types/LocalSite.ts +++ b/src/types/LocalSite.ts @@ -29,6 +29,4 @@ export interface LocalSite { registration_mode: RegistrationMode; reports_email_admins: boolean; federation_signed_fetch: boolean; - content_warning?: string; - auto_expand_images: boolean; }