mirror of
https://github.com/LemmyNet/lemmy-js-client.git
synced 2024-11-01 01:59:55 +00:00
add missing files
This commit is contained in:
parent
af09c6fc67
commit
b8a4ed44a9
10 changed files with 75 additions and 0 deletions
5
src/types/CreateTagline.ts
Normal file
5
src/types/CreateTagline.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 CreateTagline {
|
||||
content: string;
|
||||
}
|
6
src/types/DeleteTagline.ts
Normal file
6
src/types/DeleteTagline.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { TaglineId } from "./TaglineId";
|
||||
|
||||
export interface DeleteTagline {
|
||||
id: TaglineId;
|
||||
}
|
8
src/types/ListCustomEmojis.ts
Normal file
8
src/types/ListCustomEmojis.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.
|
||||
|
||||
export interface ListCustomEmojis {
|
||||
page?: number;
|
||||
limit?: number;
|
||||
category?: string;
|
||||
ignore_page_limits?: boolean;
|
||||
}
|
6
src/types/ListCustomEmojisResponse.ts
Normal file
6
src/types/ListCustomEmojisResponse.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { CustomEmojiView } from "./CustomEmojiView";
|
||||
|
||||
export interface ListCustomEmojisResponse {
|
||||
custom_emojis: Array<CustomEmojiView>;
|
||||
}
|
6
src/types/ListTaglines.ts
Normal file
6
src/types/ListTaglines.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export interface ListTaglines {
|
||||
page?: number;
|
||||
limit?: number;
|
||||
}
|
6
src/types/ListTaglinesResponse.ts
Normal file
6
src/types/ListTaglinesResponse.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Tagline } from "./Tagline";
|
||||
|
||||
export interface ListTaglinesResponse {
|
||||
taglines: Array<Tagline>;
|
||||
}
|
22
src/types/PostSortType.ts
Normal file
22
src/types/PostSortType.ts
Normal file
|
@ -0,0 +1,22 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
|
||||
export type PostSortType =
|
||||
| "Active"
|
||||
| "Hot"
|
||||
| "New"
|
||||
| "Old"
|
||||
| "TopDay"
|
||||
| "TopWeek"
|
||||
| "TopMonth"
|
||||
| "TopYear"
|
||||
| "TopAll"
|
||||
| "MostComments"
|
||||
| "NewComments"
|
||||
| "TopHour"
|
||||
| "TopSixHour"
|
||||
| "TopTwelveHour"
|
||||
| "TopThreeMonths"
|
||||
| "TopSixMonths"
|
||||
| "TopNineMonths"
|
||||
| "Controversial"
|
||||
| "Scaled";
|
3
src/types/TaglineId.ts
Normal file
3
src/types/TaglineId.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 TaglineId = number;
|
6
src/types/TaglineResponse.ts
Normal file
6
src/types/TaglineResponse.ts
Normal file
|
@ -0,0 +1,6 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { Tagline } from "./Tagline";
|
||||
|
||||
export interface TaglineResponse {
|
||||
tagline: Tagline;
|
||||
}
|
7
src/types/UpdateTagline.ts
Normal file
7
src/types/UpdateTagline.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
||||
import type { TaglineId } from "./TaglineId";
|
||||
|
||||
export interface UpdateTagline {
|
||||
id: TaglineId;
|
||||
content: string;
|
||||
}
|
Loading…
Reference in a new issue