-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathother_types.ts
More file actions
80 lines (77 loc) · 4.37 KB
/
Copy pathother_types.ts
File metadata and controls
80 lines (77 loc) · 4.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/* eslint-disable @typescript-eslint/no-empty-object-type */
import { AdminListUsers } from "./types/AdminListUsers";
import { CommunityIdQuery } from "./types/CommunityIdQuery";
import { DeleteImageParams } from "./types/DeleteImageParams";
import { GetComment } from "./types/GetComment";
import { GetComments } from "./types/GetComments";
import { GetCommunity } from "./types/GetCommunity";
import { GetModlog } from "./types/GetModlog";
import { GetMultiCommunity } from "./types/GetMultiCommunity";
import { GetPersonDetails } from "./types/GetPersonDetails";
import { GetPost } from "./types/GetPost";
import { GetPosts } from "./types/GetPosts";
import { GetRandomCommunity } from "./types/GetRandomCommunity";
import { GetRegistrationApplication } from "./types/GetRegistrationApplication";
import { GetSiteMetadata } from "./types/GetSiteMetadata";
import { ListCommentLikes } from "./types/ListCommentLikes";
import { ListCommunities } from "./types/ListCommunities";
import { ListCommunityPendingFollows } from "./types/ListCommunityPendingFollows";
import { ListCustomEmojis } from "./types/ListCustomEmojis";
import { ListNotifications } from "./types/ListNotifications";
import { ListMedia } from "./types/ListMedia";
import { ListMultiCommunities } from "./types/ListMultiCommunities";
import { ListPersonContent } from "./types/ListPersonContent";
import { ListPersonHidden } from "./types/ListPersonHidden";
import { ListPersonLiked } from "./types/ListPersonLiked";
import { ListPersonRead } from "./types/ListPersonRead";
import { ListPersonSaved } from "./types/ListPersonSaved";
import { ListPostLikes } from "./types/ListPostLikes";
import { ListRegistrationApplications } from "./types/ListRegistrationApplications";
import { ListReports } from "./types/ListReports";
import { ListTaglines } from "./types/ListTaglines";
import { ResolveObject } from "./types/ResolveObject";
import { GetFederatedInstances } from "./types/GetFederatedInstances";
import { ListPersons } from "./types/ListPersons";
import { Search } from "./types/Search";
import { ListInvitations } from "./types/ListInvitations";
export const VERSION = "v4";
export interface UploadImage {
image: File | Buffer;
}
// tsoa doesn't currently support types in GET queries, so these need to be extended.
// https://github.com/lukeautry/tsoa/issues/1743
export interface ListMediaI extends ListMedia {}
export interface GetModlogI extends GetModlog {}
export interface ResolveObjectI extends ResolveObject {}
export interface GetCommunityI extends GetCommunity {}
export interface ListCommunitiesI extends ListCommunities {}
export interface ListCommunityPendingFollowsI extends ListCommunityPendingFollows {}
export interface GetRandomCommunityI extends GetRandomCommunity {}
export interface GetPostI extends GetPost {}
export interface GetPostsI extends GetPosts {}
export interface ListPostLikesI extends ListPostLikes {}
export interface GetSiteMetadataI extends GetSiteMetadata {}
export interface ListCommentLikesI extends ListCommentLikes {}
export interface GetCommentsI extends GetComments {}
export interface GetCommentI extends GetComment {}
export interface GetPersonDetailsI extends GetPersonDetails {}
export interface ListPersonContentI extends ListPersonContent {}
export interface ListPersonsI extends ListPersons {}
export interface ListNotificationsI extends ListNotifications {}
export interface ListPersonSavedI extends ListPersonSaved {}
export interface ListPersonReadI extends ListPersonRead {}
export interface ListPersonHiddenI extends ListPersonHidden {}
export interface ListPersonLikedI extends ListPersonLiked {}
export interface ListRegistrationApplicationsI extends ListRegistrationApplications {}
export interface GetRegistrationApplicationI extends GetRegistrationApplication {}
export interface ListCustomEmojisI extends ListCustomEmojis {}
export interface ListTaglinesI extends ListTaglines {}
export interface ListReportsI extends ListReports {}
export interface DeleteImageParamsI extends DeleteImageParams {}
export interface AdminListUsersI extends AdminListUsers {}
export interface CommunityIdQueryI extends CommunityIdQuery {}
export interface ListMultiCommunitiesI extends ListMultiCommunities {}
export interface GetMultiCommunityI extends GetMultiCommunity {}
export interface GetFederatedInstancesI extends GetFederatedInstances {}
export interface SearchI extends Search {}
export interface ListInvitationsI extends ListInvitations {}