add missing files

This commit is contained in:
Felix Ableitner 2024-09-23 14:19:03 +02:00
parent af09c6fc67
commit b8a4ed44a9
10 changed files with 75 additions and 0 deletions

View 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;
}

View 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;
}

View 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;
}

View 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>;
}

View 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;
}

View 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
View 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
View 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;

View 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;
}

View 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;
}