mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
Fixing addadmin local_user_id -> person
This commit is contained in:
parent
e487c34176
commit
5c106d2c0c
3 changed files with 5 additions and 2 deletions
|
@ -194,6 +194,7 @@ export { PostFeatureType } from "./types/PostFeatureType";
|
||||||
export { PostId } from "./types/PostId";
|
export { PostId } from "./types/PostId";
|
||||||
export { PostJoin } from "./types/PostJoin";
|
export { PostJoin } from "./types/PostJoin";
|
||||||
export { PostJoinResponse } from "./types/PostJoinResponse";
|
export { PostJoinResponse } from "./types/PostJoinResponse";
|
||||||
|
export { PostListingMode } from "./types/PostListingMode";
|
||||||
export { PostOrCommentId } from "./types/PostOrCommentId";
|
export { PostOrCommentId } from "./types/PostOrCommentId";
|
||||||
export { PostReport } from "./types/PostReport";
|
export { PostReport } from "./types/PostReport";
|
||||||
export { PostReportId } from "./types/PostReportId";
|
export { PostReportId } from "./types/PostReportId";
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||||
import type { LocalUserId } from "./LocalUserId";
|
import type { PersonId } from "./PersonId";
|
||||||
|
|
||||||
export interface AddAdmin {
|
export interface AddAdmin {
|
||||||
local_user_id: LocalUserId;
|
person_id: PersonId;
|
||||||
added: boolean;
|
added: boolean;
|
||||||
auth: string;
|
auth: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
import type { ListingType } from "./ListingType";
|
import type { ListingType } from "./ListingType";
|
||||||
import type { LocalUserId } from "./LocalUserId";
|
import type { LocalUserId } from "./LocalUserId";
|
||||||
import type { PersonId } from "./PersonId";
|
import type { PersonId } from "./PersonId";
|
||||||
|
import type { PostListingMode } from "./PostListingMode";
|
||||||
import type { SortType } from "./SortType";
|
import type { SortType } from "./SortType";
|
||||||
|
|
||||||
export interface LocalUser {
|
export interface LocalUser {
|
||||||
|
@ -28,4 +29,5 @@ export interface LocalUser {
|
||||||
auto_expand: boolean;
|
auto_expand: boolean;
|
||||||
infinite_scroll_enabled: boolean;
|
infinite_scroll_enabled: boolean;
|
||||||
admin: boolean;
|
admin: boolean;
|
||||||
|
post_listing_mode: PostListingMode;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue