mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Merge branch 'main' into update-types
This commit is contained in:
commit
9d09e28f49
9 changed files with 2 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
pipeline:
|
||||
steps:
|
||||
yarn:
|
||||
image: node:alpine
|
||||
commands:
|
||||
|
|
|
@ -20,6 +20,5 @@ export interface Community {
|
|||
hidden: boolean;
|
||||
posting_restricted_to_mods: boolean;
|
||||
instance_id: InstanceId;
|
||||
only_followers_can_vote: boolean;
|
||||
visibility: CommunityVisibility;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -11,6 +11,5 @@ export interface CreateCommunity {
|
|||
nsfw?: boolean;
|
||||
posting_restricted_to_mods?: boolean;
|
||||
discussion_languages?: Array<LanguageId>;
|
||||
only_followers_can_vote?: boolean;
|
||||
visibility?: CommunityVisibility;
|
||||
}
|
||||
|
|
|
@ -43,6 +43,4 @@ export interface CreateSite {
|
|||
blocked_instances?: Array<string>;
|
||||
taglines?: Array<string>;
|
||||
registration_mode?: RegistrationMode;
|
||||
content_warning?: string;
|
||||
auto_expand_images?: boolean;
|
||||
}
|
||||
|
|
|
@ -12,6 +12,5 @@ export interface EditCommunity {
|
|||
nsfw?: boolean;
|
||||
posting_restricted_to_mods?: boolean;
|
||||
discussion_languages?: Array<LanguageId>;
|
||||
only_followers_can_vote?: boolean;
|
||||
visibility?: CommunityVisibility;
|
||||
}
|
||||
|
|
|
@ -44,6 +44,4 @@ export interface EditSite {
|
|||
taglines?: Array<string>;
|
||||
registration_mode?: RegistrationMode;
|
||||
reports_email_admins?: boolean;
|
||||
content_warning?: string;
|
||||
auto_expand_images?: boolean;
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@ import type { Site } from "./Site";
|
|||
|
||||
export interface GetPersonDetailsResponse {
|
||||
person_view: PersonView;
|
||||
site: Site | null;
|
||||
site?: Site;
|
||||
comments: Array<CommentView>;
|
||||
posts: Array<PostView>;
|
||||
moderates: Array<CommunityModeratorView>;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue