lemmy-js-client 0.17.0-rc.52 → 0.17.0-rc.53

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { Option } from "@sniptt/monads";
2
2
  import "reflect-metadata";
3
3
  import { ListingType, ModlogActionType, SearchType, SortType } from "../others";
4
- import { Language } from "../source";
4
+ import { Language, Tagline } from "../source";
5
5
  import { AdminPurgeCommentView, AdminPurgeCommunityView, AdminPurgePersonView, AdminPurgePostView, CommentView, CommunityBlockView, CommunityFollowerView, CommunityModeratorView, CommunityView, LocalUserSettingsView, ModAddCommunityView, ModAddView, ModBanFromCommunityView, ModBanView, ModLockPostView, ModRemoveCommentView, ModRemoveCommunityView, ModRemovePostView, ModStickyPostView, ModTransferCommunityView, PersonBlockView, PersonViewSafe, PostView, RegistrationApplicationView, SiteView } from "../views";
6
6
  /**
7
7
  * Search lemmy for different types of data.
@@ -170,6 +170,7 @@ export declare class GetSiteResponse {
170
170
  federated_instances: Option<FederatedInstances>;
171
171
  all_languages: Language[];
172
172
  discussion_languages: number[];
173
+ taglines: Option<Tagline[]>;
173
174
  }
174
175
  /**
175
176
  * Your user info, such as blocks, follows, etc.
@@ -1261,6 +1261,18 @@ var GetSiteResponse = /** @class */ (function () {
1261
1261
  __decorate([
1262
1262
  (0, class_transformer_1.Type)(function () { return source_1.Language; })
1263
1263
  ], GetSiteResponse.prototype, "all_languages", void 0);
1264
+ __decorate([
1265
+ (0, class_transformer_1.Transform)(function (_a) {
1266
+ var value = _a.value;
1267
+ return (0, utils_1.toOption)(value);
1268
+ }, { toClassOnly: true }),
1269
+ (0, class_transformer_1.Transform)(function (_a) {
1270
+ var value = _a.value;
1271
+ return (0, utils_1.toUndefined)(value);
1272
+ }, { toPlainOnly: true }),
1273
+ (0, class_transformer_1.Expose)(),
1274
+ (0, class_transformer_1.Type)(function () { return source_1.Tagline; })
1275
+ ], GetSiteResponse.prototype, "taglines", void 0);
1264
1276
  return GetSiteResponse;
1265
1277
  }());
1266
1278
  exports.GetSiteResponse = GetSiteResponse;
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.52",
4
+ "version": "0.17.0-rc.53",
5
5
  "author": "Dessalines <tyhou13@gmx.com>",
6
6
  "license": "AGPL-3.0",
7
7
  "main": "./dist/index.js",