lemmy-js-client 0.17.0-rc.2 → 0.17.0-rc.22
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.d.ts +156 -4
- package/dist/http.js +255 -80
- package/dist/index.d.ts +1 -0
- package/dist/index.js +6 -1
- package/dist/interfaces/api/comment.d.ts +45 -38
- package/dist/interfaces/api/comment.js +313 -0
- package/dist/interfaces/api/community.d.ts +57 -52
- package/dist/interfaces/api/community.js +412 -0
- package/dist/interfaces/api/index.js +5 -1
- package/dist/interfaces/api/person.d.ts +121 -100
- package/dist/interfaces/api/person.js +855 -0
- package/dist/interfaces/api/post.d.ts +67 -51
- package/dist/interfaces/api/post.js +405 -0
- package/dist/interfaces/api/site.d.ts +100 -90
- package/dist/interfaces/api/site.js +825 -0
- package/dist/interfaces/index.js +5 -1
- package/dist/interfaces/others.d.ts +62 -92
- package/dist/interfaces/others.js +119 -55
- package/dist/interfaces/source.d.ts +79 -76
- package/dist/interfaces/source.js +747 -0
- package/dist/interfaces/views.d.ts +37 -37
- package/dist/interfaces/views.js +274 -0
- package/dist/utils.d.ts +5 -0
- package/dist/utils.js +10 -0
- package/dist/websocket.d.ts +16 -2
- package/dist/websocket.js +35 -3
- package/package.json +14 -11
@@ -1,2 +1,414 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
2
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
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
|
+
var monads_1 = require("@sniptt/monads");
|
11
|
+
var class_transformer_1 = require("class-transformer");
|
12
|
+
require("reflect-metadata");
|
13
|
+
var utils_1 = require("../../utils");
|
14
|
+
var source_1 = require("../source");
|
15
|
+
/**
|
16
|
+
* You can use either `id` or `name` as an id.
|
17
|
+
*
|
18
|
+
* To get a federated community by name, use `name@instance.tld` .
|
19
|
+
*/
|
20
|
+
var GetCommunity = /** @class */ (function () {
|
21
|
+
function GetCommunity(init) {
|
22
|
+
Object.assign(this, init);
|
23
|
+
}
|
24
|
+
__decorate([
|
25
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
26
|
+
var value = _a.value;
|
27
|
+
return (0, monads_1.Some)(value);
|
28
|
+
}, { toClassOnly: true }),
|
29
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
30
|
+
var value = _a.value;
|
31
|
+
return (0, utils_1.toUndefined)(value);
|
32
|
+
}, { toPlainOnly: true }),
|
33
|
+
(0, class_transformer_1.Expose)()
|
34
|
+
], GetCommunity.prototype, "id", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
37
|
+
var value = _a.value;
|
38
|
+
return (0, monads_1.Some)(value);
|
39
|
+
}, { toClassOnly: true }),
|
40
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
41
|
+
var value = _a.value;
|
42
|
+
return (0, utils_1.toUndefined)(value);
|
43
|
+
}, { toPlainOnly: true }),
|
44
|
+
(0, class_transformer_1.Expose)()
|
45
|
+
], GetCommunity.prototype, "name", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
48
|
+
var value = _a.value;
|
49
|
+
return (0, monads_1.Some)(value);
|
50
|
+
}, { toClassOnly: true }),
|
51
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
52
|
+
var value = _a.value;
|
53
|
+
return (0, utils_1.toUndefined)(value);
|
54
|
+
}, { toPlainOnly: true }),
|
55
|
+
(0, class_transformer_1.Expose)()
|
56
|
+
], GetCommunity.prototype, "auth", void 0);
|
57
|
+
return GetCommunity;
|
58
|
+
}());
|
59
|
+
exports.GetCommunity = GetCommunity;
|
60
|
+
var GetCommunityResponse = /** @class */ (function () {
|
61
|
+
function GetCommunityResponse() {
|
62
|
+
}
|
63
|
+
__decorate([
|
64
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
65
|
+
var value = _a.value;
|
66
|
+
return (0, monads_1.Some)(value);
|
67
|
+
}, { toClassOnly: true }),
|
68
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
69
|
+
var value = _a.value;
|
70
|
+
return (0, utils_1.toUndefined)(value);
|
71
|
+
}, { toPlainOnly: true }),
|
72
|
+
(0, class_transformer_1.Expose)(),
|
73
|
+
(0, class_transformer_1.Type)(function () { return source_1.Site; })
|
74
|
+
], GetCommunityResponse.prototype, "site", void 0);
|
75
|
+
return GetCommunityResponse;
|
76
|
+
}());
|
77
|
+
exports.GetCommunityResponse = GetCommunityResponse;
|
78
|
+
var CreateCommunity = /** @class */ (function () {
|
79
|
+
function CreateCommunity(init) {
|
80
|
+
Object.assign(this, init);
|
81
|
+
}
|
82
|
+
__decorate([
|
83
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
84
|
+
var value = _a.value;
|
85
|
+
return (0, monads_1.Some)(value);
|
86
|
+
}, { toClassOnly: true }),
|
87
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
88
|
+
var value = _a.value;
|
89
|
+
return (0, utils_1.toUndefined)(value);
|
90
|
+
}, { toPlainOnly: true }),
|
91
|
+
(0, class_transformer_1.Expose)()
|
92
|
+
], CreateCommunity.prototype, "description", void 0);
|
93
|
+
__decorate([
|
94
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
95
|
+
var value = _a.value;
|
96
|
+
return (0, monads_1.Some)(value);
|
97
|
+
}, { toClassOnly: true }),
|
98
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
99
|
+
var value = _a.value;
|
100
|
+
return (0, utils_1.toUndefined)(value);
|
101
|
+
}, { toPlainOnly: true }),
|
102
|
+
(0, class_transformer_1.Expose)()
|
103
|
+
], CreateCommunity.prototype, "icon", void 0);
|
104
|
+
__decorate([
|
105
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
106
|
+
var value = _a.value;
|
107
|
+
return (0, monads_1.Some)(value);
|
108
|
+
}, { toClassOnly: true }),
|
109
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
110
|
+
var value = _a.value;
|
111
|
+
return (0, utils_1.toUndefined)(value);
|
112
|
+
}, { toPlainOnly: true }),
|
113
|
+
(0, class_transformer_1.Expose)()
|
114
|
+
], CreateCommunity.prototype, "banner", void 0);
|
115
|
+
__decorate([
|
116
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
117
|
+
var value = _a.value;
|
118
|
+
return (0, monads_1.Some)(value);
|
119
|
+
}, { toClassOnly: true }),
|
120
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
121
|
+
var value = _a.value;
|
122
|
+
return (0, utils_1.toUndefined)(value);
|
123
|
+
}, { toPlainOnly: true }),
|
124
|
+
(0, class_transformer_1.Expose)()
|
125
|
+
], CreateCommunity.prototype, "nsfw", void 0);
|
126
|
+
__decorate([
|
127
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
128
|
+
var value = _a.value;
|
129
|
+
return (0, monads_1.Some)(value);
|
130
|
+
}, { toClassOnly: true }),
|
131
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
132
|
+
var value = _a.value;
|
133
|
+
return (0, utils_1.toUndefined)(value);
|
134
|
+
}, { toPlainOnly: true }),
|
135
|
+
(0, class_transformer_1.Expose)()
|
136
|
+
], CreateCommunity.prototype, "posting_restricted_to_mods", void 0);
|
137
|
+
return CreateCommunity;
|
138
|
+
}());
|
139
|
+
exports.CreateCommunity = CreateCommunity;
|
140
|
+
var CommunityResponse = /** @class */ (function () {
|
141
|
+
function CommunityResponse() {
|
142
|
+
}
|
143
|
+
return CommunityResponse;
|
144
|
+
}());
|
145
|
+
exports.CommunityResponse = CommunityResponse;
|
146
|
+
var ListCommunities = /** @class */ (function () {
|
147
|
+
function ListCommunities(init) {
|
148
|
+
Object.assign(this, init);
|
149
|
+
}
|
150
|
+
__decorate([
|
151
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
152
|
+
var value = _a.value;
|
153
|
+
return (0, monads_1.Some)(value);
|
154
|
+
}, { toClassOnly: true }),
|
155
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
156
|
+
var value = _a.value;
|
157
|
+
return (0, utils_1.toUndefined)(value);
|
158
|
+
}, { toPlainOnly: true }),
|
159
|
+
(0, class_transformer_1.Expose)()
|
160
|
+
], ListCommunities.prototype, "type_", void 0);
|
161
|
+
__decorate([
|
162
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
163
|
+
var value = _a.value;
|
164
|
+
return (0, monads_1.Some)(value);
|
165
|
+
}, { toClassOnly: true }),
|
166
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
167
|
+
var value = _a.value;
|
168
|
+
return (0, utils_1.toUndefined)(value);
|
169
|
+
}, { toPlainOnly: true }),
|
170
|
+
(0, class_transformer_1.Expose)()
|
171
|
+
], ListCommunities.prototype, "sort", void 0);
|
172
|
+
__decorate([
|
173
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
174
|
+
var value = _a.value;
|
175
|
+
return (0, monads_1.Some)(value);
|
176
|
+
}, { toClassOnly: true }),
|
177
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
178
|
+
var value = _a.value;
|
179
|
+
return (0, utils_1.toUndefined)(value);
|
180
|
+
}, { toPlainOnly: true }),
|
181
|
+
(0, class_transformer_1.Expose)()
|
182
|
+
], ListCommunities.prototype, "page", void 0);
|
183
|
+
__decorate([
|
184
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
185
|
+
var value = _a.value;
|
186
|
+
return (0, monads_1.Some)(value);
|
187
|
+
}, { toClassOnly: true }),
|
188
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
189
|
+
var value = _a.value;
|
190
|
+
return (0, utils_1.toUndefined)(value);
|
191
|
+
}, { toPlainOnly: true }),
|
192
|
+
(0, class_transformer_1.Expose)()
|
193
|
+
], ListCommunities.prototype, "limit", void 0);
|
194
|
+
__decorate([
|
195
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
196
|
+
var value = _a.value;
|
197
|
+
return (0, monads_1.Some)(value);
|
198
|
+
}, { toClassOnly: true }),
|
199
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
200
|
+
var value = _a.value;
|
201
|
+
return (0, utils_1.toUndefined)(value);
|
202
|
+
}, { toPlainOnly: true }),
|
203
|
+
(0, class_transformer_1.Expose)()
|
204
|
+
], ListCommunities.prototype, "auth", void 0);
|
205
|
+
return ListCommunities;
|
206
|
+
}());
|
207
|
+
exports.ListCommunities = ListCommunities;
|
208
|
+
var ListCommunitiesResponse = /** @class */ (function () {
|
209
|
+
function ListCommunitiesResponse() {
|
210
|
+
}
|
211
|
+
return ListCommunitiesResponse;
|
212
|
+
}());
|
213
|
+
exports.ListCommunitiesResponse = ListCommunitiesResponse;
|
214
|
+
var BanFromCommunity = /** @class */ (function () {
|
215
|
+
function BanFromCommunity(init) {
|
216
|
+
Object.assign(this, init);
|
217
|
+
}
|
218
|
+
__decorate([
|
219
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
220
|
+
var value = _a.value;
|
221
|
+
return (0, monads_1.Some)(value);
|
222
|
+
}, { toClassOnly: true }),
|
223
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
224
|
+
var value = _a.value;
|
225
|
+
return (0, utils_1.toUndefined)(value);
|
226
|
+
}, { toPlainOnly: true }),
|
227
|
+
(0, class_transformer_1.Expose)()
|
228
|
+
], BanFromCommunity.prototype, "remove_data", void 0);
|
229
|
+
__decorate([
|
230
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
231
|
+
var value = _a.value;
|
232
|
+
return (0, monads_1.Some)(value);
|
233
|
+
}, { toClassOnly: true }),
|
234
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
235
|
+
var value = _a.value;
|
236
|
+
return (0, utils_1.toUndefined)(value);
|
237
|
+
}, { toPlainOnly: true }),
|
238
|
+
(0, class_transformer_1.Expose)()
|
239
|
+
], BanFromCommunity.prototype, "reason", void 0);
|
240
|
+
__decorate([
|
241
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
242
|
+
var value = _a.value;
|
243
|
+
return (0, monads_1.Some)(value);
|
244
|
+
}, { toClassOnly: true }),
|
245
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
246
|
+
var value = _a.value;
|
247
|
+
return (0, utils_1.toUndefined)(value);
|
248
|
+
}, { toPlainOnly: true }),
|
249
|
+
(0, class_transformer_1.Expose)()
|
250
|
+
], BanFromCommunity.prototype, "expires", void 0);
|
251
|
+
return BanFromCommunity;
|
252
|
+
}());
|
253
|
+
exports.BanFromCommunity = BanFromCommunity;
|
254
|
+
var BanFromCommunityResponse = /** @class */ (function () {
|
255
|
+
function BanFromCommunityResponse() {
|
256
|
+
}
|
257
|
+
return BanFromCommunityResponse;
|
258
|
+
}());
|
259
|
+
exports.BanFromCommunityResponse = BanFromCommunityResponse;
|
260
|
+
var AddModToCommunity = /** @class */ (function () {
|
261
|
+
function AddModToCommunity(init) {
|
262
|
+
Object.assign(this, init);
|
263
|
+
}
|
264
|
+
return AddModToCommunity;
|
265
|
+
}());
|
266
|
+
exports.AddModToCommunity = AddModToCommunity;
|
267
|
+
var AddModToCommunityResponse = /** @class */ (function () {
|
268
|
+
function AddModToCommunityResponse() {
|
269
|
+
}
|
270
|
+
return AddModToCommunityResponse;
|
271
|
+
}());
|
272
|
+
exports.AddModToCommunityResponse = AddModToCommunityResponse;
|
273
|
+
/**
|
274
|
+
* Only mods can edit a community.
|
275
|
+
*/
|
276
|
+
var EditCommunity = /** @class */ (function () {
|
277
|
+
function EditCommunity(init) {
|
278
|
+
Object.assign(this, init);
|
279
|
+
}
|
280
|
+
__decorate([
|
281
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
282
|
+
var value = _a.value;
|
283
|
+
return (0, monads_1.Some)(value);
|
284
|
+
}, { toClassOnly: true }),
|
285
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
286
|
+
var value = _a.value;
|
287
|
+
return (0, utils_1.toUndefined)(value);
|
288
|
+
}, { toPlainOnly: true }),
|
289
|
+
(0, class_transformer_1.Expose)()
|
290
|
+
], EditCommunity.prototype, "title", void 0);
|
291
|
+
__decorate([
|
292
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
293
|
+
var value = _a.value;
|
294
|
+
return (0, monads_1.Some)(value);
|
295
|
+
}, { toClassOnly: true }),
|
296
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
297
|
+
var value = _a.value;
|
298
|
+
return (0, utils_1.toUndefined)(value);
|
299
|
+
}, { toPlainOnly: true }),
|
300
|
+
(0, class_transformer_1.Expose)()
|
301
|
+
], EditCommunity.prototype, "description", void 0);
|
302
|
+
__decorate([
|
303
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
304
|
+
var value = _a.value;
|
305
|
+
return (0, monads_1.Some)(value);
|
306
|
+
}, { toClassOnly: true }),
|
307
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
308
|
+
var value = _a.value;
|
309
|
+
return (0, utils_1.toUndefined)(value);
|
310
|
+
}, { toPlainOnly: true }),
|
311
|
+
(0, class_transformer_1.Expose)()
|
312
|
+
], EditCommunity.prototype, "icon", void 0);
|
313
|
+
__decorate([
|
314
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
315
|
+
var value = _a.value;
|
316
|
+
return (0, monads_1.Some)(value);
|
317
|
+
}, { toClassOnly: true }),
|
318
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
319
|
+
var value = _a.value;
|
320
|
+
return (0, utils_1.toUndefined)(value);
|
321
|
+
}, { toPlainOnly: true }),
|
322
|
+
(0, class_transformer_1.Expose)()
|
323
|
+
], EditCommunity.prototype, "banner", void 0);
|
324
|
+
__decorate([
|
325
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
326
|
+
var value = _a.value;
|
327
|
+
return (0, monads_1.Some)(value);
|
328
|
+
}, { toClassOnly: true }),
|
329
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
330
|
+
var value = _a.value;
|
331
|
+
return (0, utils_1.toUndefined)(value);
|
332
|
+
}, { toPlainOnly: true }),
|
333
|
+
(0, class_transformer_1.Expose)()
|
334
|
+
], EditCommunity.prototype, "nsfw", void 0);
|
335
|
+
__decorate([
|
336
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
337
|
+
var value = _a.value;
|
338
|
+
return (0, monads_1.Some)(value);
|
339
|
+
}, { toClassOnly: true }),
|
340
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
341
|
+
var value = _a.value;
|
342
|
+
return (0, utils_1.toUndefined)(value);
|
343
|
+
}, { toPlainOnly: true }),
|
344
|
+
(0, class_transformer_1.Expose)()
|
345
|
+
], EditCommunity.prototype, "posting_restricted_to_mods", void 0);
|
346
|
+
return EditCommunity;
|
347
|
+
}());
|
348
|
+
exports.EditCommunity = EditCommunity;
|
349
|
+
var DeleteCommunity = /** @class */ (function () {
|
350
|
+
function DeleteCommunity(init) {
|
351
|
+
Object.assign(this, init);
|
352
|
+
}
|
353
|
+
return DeleteCommunity;
|
354
|
+
}());
|
355
|
+
exports.DeleteCommunity = DeleteCommunity;
|
356
|
+
/**
|
357
|
+
* Only admins can remove a community.
|
358
|
+
*/
|
359
|
+
var RemoveCommunity = /** @class */ (function () {
|
360
|
+
function RemoveCommunity(init) {
|
361
|
+
Object.assign(this, init);
|
362
|
+
}
|
363
|
+
__decorate([
|
364
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
365
|
+
var value = _a.value;
|
366
|
+
return (0, monads_1.Some)(value);
|
367
|
+
}, { toClassOnly: true }),
|
368
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
369
|
+
var value = _a.value;
|
370
|
+
return (0, utils_1.toUndefined)(value);
|
371
|
+
}, { toPlainOnly: true }),
|
372
|
+
(0, class_transformer_1.Expose)()
|
373
|
+
], RemoveCommunity.prototype, "reason", void 0);
|
374
|
+
__decorate([
|
375
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
376
|
+
var value = _a.value;
|
377
|
+
return (0, monads_1.Some)(value);
|
378
|
+
}, { toClassOnly: true }),
|
379
|
+
(0, class_transformer_1.Transform)(function (_a) {
|
380
|
+
var value = _a.value;
|
381
|
+
return (0, utils_1.toUndefined)(value);
|
382
|
+
}, { toPlainOnly: true }),
|
383
|
+
(0, class_transformer_1.Expose)()
|
384
|
+
], RemoveCommunity.prototype, "expires", void 0);
|
385
|
+
return RemoveCommunity;
|
386
|
+
}());
|
387
|
+
exports.RemoveCommunity = RemoveCommunity;
|
388
|
+
var FollowCommunity = /** @class */ (function () {
|
389
|
+
function FollowCommunity(init) {
|
390
|
+
Object.assign(this, init);
|
391
|
+
}
|
392
|
+
return FollowCommunity;
|
393
|
+
}());
|
394
|
+
exports.FollowCommunity = FollowCommunity;
|
395
|
+
var TransferCommunity = /** @class */ (function () {
|
396
|
+
function TransferCommunity(init) {
|
397
|
+
Object.assign(this, init);
|
398
|
+
}
|
399
|
+
return TransferCommunity;
|
400
|
+
}());
|
401
|
+
exports.TransferCommunity = TransferCommunity;
|
402
|
+
var BlockCommunity = /** @class */ (function () {
|
403
|
+
function BlockCommunity(init) {
|
404
|
+
Object.assign(this, init);
|
405
|
+
}
|
406
|
+
return BlockCommunity;
|
407
|
+
}());
|
408
|
+
exports.BlockCommunity = BlockCommunity;
|
409
|
+
var BlockCommunityResponse = /** @class */ (function () {
|
410
|
+
function BlockCommunityResponse() {
|
411
|
+
}
|
412
|
+
return BlockCommunityResponse;
|
413
|
+
}());
|
414
|
+
exports.BlockCommunityResponse = BlockCommunityResponse;
|
@@ -1,7 +1,11 @@
|
|
1
1
|
"use strict";
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
3
|
if (k2 === undefined) k2 = k;
|
4
|
-
Object.
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
5
9
|
}) : (function(o, m, k, k2) {
|
6
10
|
if (k2 === undefined) k2 = k;
|
7
11
|
o[k2] = m[k];
|