lemmy-js-client 0.17.0-rc.20 → 0.17.0-rc.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,5 @@
1
1
  import { Option } from "@sniptt/monads";
2
+ import "reflect-metadata";
2
3
  import { ListingType, SortType } from "../others";
3
4
  import { Site } from "../source";
4
5
  import { CommunityModeratorView, CommunityView, PersonViewSafe } from "../views";
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.BlockCommunityResponse = exports.BlockCommunity = exports.TransferCommunity = exports.FollowCommunity = exports.RemoveCommunity = exports.DeleteCommunity = exports.EditCommunity = exports.AddModToCommunityResponse = exports.AddModToCommunity = exports.BanFromCommunityResponse = exports.BanFromCommunity = exports.ListCommunitiesResponse = exports.ListCommunities = exports.CommunityResponse = exports.CreateCommunity = exports.GetCommunityResponse = exports.GetCommunity = void 0;
10
10
  var monads_1 = require("@sniptt/monads");
11
11
  var class_transformer_1 = require("class-transformer");
12
+ require("reflect-metadata");
12
13
  var utils_1 = require("../../utils");
13
14
  var source_1 = require("../source");
14
15
  /**
@@ -1,4 +1,5 @@
1
1
  import { Option } from "@sniptt/monads";
2
+ import "reflect-metadata";
2
3
  import { SortType } from "../others";
3
4
  import { CommentView, CommunityModeratorView, PersonMentionView, PersonViewSafe, PostView, PrivateMessageView } from "../views";
4
5
  export declare class Login {
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.BannedPersonsResponse = exports.GetBannedPersons = exports.BlockPersonResponse = exports.BlockPerson = exports.VerifyEmailResponse = exports.VerifyEmail = exports.GetUnreadCountResponse = exports.GetUnreadCount = exports.GetReportCountResponse = exports.GetReportCount = exports.PrivateMessageResponse = exports.PrivateMessagesResponse = exports.GetPrivateMessages = exports.MarkPrivateMessageAsRead = exports.DeletePrivateMessage = exports.EditPrivateMessage = exports.CreatePrivateMessage = exports.PasswordChange = exports.PasswordResetResponse = exports.PasswordReset = exports.DeleteAccountResponse = exports.DeleteAccount = exports.PersonMentionResponse = exports.MarkPersonMentionAsRead = exports.GetPersonMentions = exports.GetReplies = exports.BanPersonResponse = exports.BanPerson = exports.AddAdminResponse = exports.AddAdmin = exports.MarkAllAsRead = exports.GetPersonMentionsResponse = exports.GetRepliesResponse = exports.GetPersonDetailsResponse = exports.GetPersonDetails = exports.LoginResponse = exports.ChangePassword = exports.SaveUserSettings = exports.CaptchaResponse = exports.GetCaptchaResponse = exports.GetCaptcha = exports.Register = exports.Login = void 0;
10
10
  var monads_1 = require("@sniptt/monads");
11
11
  var class_transformer_1 = require("class-transformer");
12
+ require("reflect-metadata");
12
13
  var utils_1 = require("../../utils");
13
14
  var Login = /** @class */ (function () {
14
15
  function Login(init) {
@@ -1,4 +1,5 @@
1
1
  import { Option } from "@sniptt/monads";
2
+ import "reflect-metadata";
2
3
  import { ListingType, SearchType, SortType } from "../others";
3
4
  import { CommentView, CommunityBlockView, CommunityFollowerView, CommunityModeratorView, CommunityView, LocalUserSettingsView, ModAddCommunityView, ModAddView, ModBanFromCommunityView, ModBanView, ModLockPostView, ModRemoveCommentView, ModRemoveCommunityView, ModRemovePostView, ModStickyPostView, ModTransferCommunityView, PersonBlockView, PersonViewSafe, PostView, RegistrationApplicationView, SiteView } from "../views";
4
5
  /**
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.GetUnreadRegistrationApplicationCountResponse = exports.GetUnreadRegistrationApplicationCount = exports.RegistrationApplicationResponse = exports.ApproveRegistrationApplication = exports.ListRegistrationApplicationsResponse = exports.ListRegistrationApplications = exports.ResolveObjectResponse = exports.ResolveObject = exports.FederatedInstances = exports.SaveSiteConfig = exports.GetSiteConfigResponse = exports.GetSiteConfig = exports.LeaveAdmin = exports.MyUserInfo = exports.GetSiteResponse = exports.SiteResponse = exports.GetSite = exports.EditSite = exports.CreateSite = exports.GetModlogResponse = exports.GetModlog = exports.SearchResponse = exports.Search = void 0;
10
10
  var monads_1 = require("@sniptt/monads");
11
11
  var class_transformer_1 = require("class-transformer");
12
+ require("reflect-metadata");
12
13
  var utils_1 = require("../../utils");
13
14
  var views_1 = require("../views");
14
15
  /**
@@ -1,4 +1,5 @@
1
1
  import { Option } from "@sniptt/monads";
2
+ import "reflect-metadata";
2
3
  import { CommentAggregates, CommunityAggregates, PersonAggregates, PostAggregates, SiteAggregates } from "./aggregates";
3
4
  import { Comment, CommentReport, CommunitySafe, LocalUserSettings, ModAdd, ModAddCommunity, ModBan, ModBanFromCommunity, ModLockPost, ModRemoveComment, ModRemoveCommunity, ModRemovePost, ModStickyPost, ModTransferCommunity, PersonMention, PersonSafe, Post, PostReport, PrivateMessage, RegistrationApplication, Site } from "./source";
4
5
  export declare class PersonViewSafe {
@@ -9,6 +9,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
9
9
  exports.RegistrationApplicationView = exports.CommunityView = exports.PersonBlockView = exports.CommunityPersonBanView = exports.CommunityModeratorView = exports.CommunityBlockView = exports.CommunityFollowerView = exports.ModStickyPostView = exports.ModRemovePostView = exports.ModRemoveCommunityView = exports.ModRemoveCommentView = exports.ModLockPostView = exports.ModBanView = exports.ModBanFromCommunityView = exports.ModAddView = exports.ModTransferCommunityView = exports.ModAddCommunityView = exports.CommentReportView = exports.CommentView = exports.PostReportView = exports.PostView = exports.PrivateMessageView = exports.SiteView = exports.LocalUserSettingsView = exports.PersonMentionView = exports.PersonViewSafe = void 0;
10
10
  var monads_1 = require("@sniptt/monads");
11
11
  var class_transformer_1 = require("class-transformer");
12
+ require("reflect-metadata");
12
13
  var utils_1 = require("../utils");
13
14
  var source_1 = require("./source");
14
15
  var PersonViewSafe = /** @class */ (function () {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "lemmy-js-client",
3
3
  "description": "A javascript / typescript client for Lemmy",
4
- "version": "0.17.0-rc.20",
4
+ "version": "0.17.0-rc.21",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",
@@ -31,6 +31,7 @@
31
31
  "prettier-plugin-import-sort": "^0.0.7",
32
32
  "prettier-plugin-organize-imports": "^2.3.4",
33
33
  "prettier-plugin-packagejson": "^2.2.18",
34
+ "reflect-metadata": "^0.1.13",
34
35
  "sortpack": "^2.2.0",
35
36
  "typedoc": "^0.21.6",
36
37
  "typedoc-plugin-sourcefile-url": "^1.0.6",