mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-22 20:31:12 +00:00
Forgot to add types.
This commit is contained in:
parent
23b5359f50
commit
2f1e6d9e6b
4 changed files with 26 additions and 0 deletions
8
src/types/BlockInstance.ts
Normal file
8
src/types/BlockInstance.ts
Normal file
|
@ -0,0 +1,8 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { InstanceId } from "./InstanceId";
|
||||
|
||||
export interface BlockInstance {
|
||||
instance_id: InstanceId;
|
||||
block: boolean;
|
||||
auth: string;
|
||||
}
|
5
src/types/BlockInstanceResponse.ts
Normal file
5
src/types/BlockInstanceResponse.ts
Normal file
|
@ -0,0 +1,5 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface BlockInstanceResponse {
|
||||
blocked: boolean;
|
||||
}
|
10
src/types/InstanceBlockView.ts
Normal file
10
src/types/InstanceBlockView.ts
Normal file
|
@ -0,0 +1,10 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Instance } from "./Instance";
|
||||
import type { Person } from "./Person";
|
||||
import type { Site } from "./Site";
|
||||
|
||||
export interface InstanceBlockView {
|
||||
person: Person;
|
||||
instance: Instance;
|
||||
site: Site | null;
|
||||
}
|
3
src/types/PostListingMode.ts
Normal file
3
src/types/PostListingMode.ts
Normal file
|
@ -0,0 +1,3 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type PostListingMode = "List" | "Card" | "SmallCard";
|
Loading…
Reference in a new issue