Running prettier.

This commit is contained in:
Dessalines 2021-12-06 14:51:19 -05:00
parent 207820783e
commit eff54ea26b
4 changed files with 39 additions and 39 deletions

View file

@ -602,7 +602,7 @@ export class LemmyHttp {
* Delete your account.
*/
async deleteAccount(form: DeleteAccount): Promise<DeleteAccountResponse> {
return this.wrapper(HttpType.Post, '/user/delete_account', form);
return this.wrapper(HttpType.Post, "/user/delete_account", form);
}
/**
@ -658,7 +658,7 @@ export class LemmyHttp {
* Verify your email
*/
async verifyEmail(form: VerifyEmail): Promise<VerifyEmailResponse> {
return this.wrapper(HttpType.Post, '/user/verify_email', form);
return this.wrapper(HttpType.Post, "/user/verify_email", form);
}
/**
@ -676,7 +676,7 @@ export class LemmyHttp {
): Promise<GetUnreadRegistrationApplicationCountResponse> {
return this.wrapper(
HttpType.Get,
'/admin/registration_application/count',
"/admin/registration_application/count",
form
);
}
@ -689,7 +689,7 @@ export class LemmyHttp {
): Promise<ListRegistrationApplicationsResponse> {
return this.wrapper(
HttpType.Get,
'/admin/registration_application/list',
"/admin/registration_application/list",
form
);
}
@ -702,7 +702,7 @@ export class LemmyHttp {
): Promise<RegistrationApplicationResponse> {
return this.wrapper(
HttpType.Put,
'/admin/registration_application/approve',
"/admin/registration_application/approve",
form
);
}

View file

@ -1,9 +1,8 @@
import {
CommentView,
CommunityBlockView,
CommunityFollowerView,
CommunityModeratorView,
RegistrationApplicationView,
CommentView,
CommunityView,
LocalUserSettingsView,
ModAddCommunityView,
@ -19,6 +18,7 @@ import {
PersonBlockView,
PersonViewSafe,
PostView,
RegistrationApplicationView,
SiteView,
} from "../views";

View file

@ -9,6 +9,7 @@ import {
Comment,
CommentReport,
CommunitySafe,
LocalUserSettings,
ModAdd,
ModAddCommunity,
ModBan,
@ -19,15 +20,14 @@ import {
ModRemovePost,
ModStickyPost,
ModTransferCommunity,
PersonMention,
PersonSafe,
Post,
PostReport,
PrivateMessage,
Site,
PersonMention,
PersonSafe,
LocalUserSettings,
RegistrationApplication,
} from './source';
Site,
} from "./source";
export interface PersonViewSafe {
person: PersonSafe;

View file

@ -24,6 +24,31 @@ import {
RemoveCommunity,
TransferCommunity,
} from "./interfaces/api/community";
import {
AddAdmin,
BanPerson,
BlockPerson,
ChangePassword,
CreatePrivateMessage,
DeleteAccount,
DeletePrivateMessage,
EditPrivateMessage,
GetPersonDetails,
GetPersonMentions,
GetPrivateMessages,
GetReplies,
GetReportCount,
GetUnreadCount,
Login,
MarkAllAsRead,
MarkPersonMentionAsRead,
MarkPrivateMessageAsRead,
PasswordChange,
PasswordReset,
Register,
SaveUserSettings,
VerifyEmail,
} from "./interfaces/api/person";
import {
CreatePost,
CreatePostLike,
@ -54,33 +79,8 @@ import {
Search,
TransferSite,
} from "./interfaces/api/site";
import {
AddAdmin,
BanPerson,
CreatePrivateMessage,
DeleteAccount,
DeletePrivateMessage,
EditPrivateMessage,
GetPrivateMessages,
GetReplies,
GetPersonDetails,
GetPersonMentions,
Login,
MarkAllAsRead,
MarkPrivateMessageAsRead,
MarkPersonMentionAsRead,
PasswordChange,
PasswordReset,
Register,
SaveUserSettings,
ChangePassword,
BlockPerson,
GetReportCount,
GetUnreadCount,
VerifyEmail,
} from './interfaces/api/person';
import { UserJoin, PostJoin, CommunityJoin } from './interfaces/api/websocket';
import { UserOperation } from './interfaces/others';
import { CommunityJoin, PostJoin, UserJoin } from "./interfaces/api/websocket";
import { UserOperation } from "./interfaces/others";
/**
* Helps build lemmy websocket message requests, that you can use in your Websocket sends.