lemmy-js-client 0.17.0-rc.59 → 0.17.0-rc.60
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/http.js +85 -100
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/dist/interfaces/api/comment.d.ts +38 -50
- package/dist/interfaces/api/comment.js +0 -393
- package/dist/interfaces/api/community.d.ts +45 -58
- package/dist/interfaces/api/community.js +0 -466
- package/dist/interfaces/api/person.d.ts +106 -136
- package/dist/interfaces/api/person.js +0 -1004
- package/dist/interfaces/api/post.d.ts +47 -64
- package/dist/interfaces/api/post.js +0 -475
- package/dist/interfaces/api/site.d.ts +142 -157
- package/dist/interfaces/api/site.js +0 -1520
- package/dist/interfaces/others.d.ts +5 -7
- package/dist/interfaces/others.js +1 -63
- package/dist/interfaces/source.d.ts +97 -98
- package/dist/interfaces/source.js +1 -905
- package/dist/interfaces/views.d.ts +57 -59
- package/dist/interfaces/views.js +0 -772
- package/dist/utils.d.ts +0 -9
- package/dist/utils.js +0 -18
- package/dist/websocket.d.ts +1 -2
- package/dist/websocket.js +4 -4
- package/package.json +2 -5
@@ -1,913 +1,9 @@
|
|
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
|
-
};
|
8
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
9
|
-
exports.
|
10
|
-
var class_transformer_1 = require("class-transformer");
|
11
|
-
var utils_1 = require("../utils");
|
12
|
-
var LocalUserSettings = /** @class */ (function () {
|
13
|
-
function LocalUserSettings() {
|
14
|
-
}
|
15
|
-
__decorate([
|
16
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
17
|
-
var value = _a.value;
|
18
|
-
return (0, utils_1.toOption)(value);
|
19
|
-
}, { toClassOnly: true }),
|
20
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
21
|
-
var value = _a.value;
|
22
|
-
return (0, utils_1.toUndefined)(value);
|
23
|
-
}, { toPlainOnly: true }),
|
24
|
-
(0, class_transformer_1.Expose)()
|
25
|
-
], LocalUserSettings.prototype, "email", void 0);
|
26
|
-
return LocalUserSettings;
|
27
|
-
}());
|
28
|
-
exports.LocalUserSettings = LocalUserSettings;
|
29
|
-
var PersonSafe = /** @class */ (function () {
|
30
|
-
function PersonSafe() {
|
31
|
-
}
|
32
|
-
__decorate([
|
33
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
34
|
-
var value = _a.value;
|
35
|
-
return (0, utils_1.toOption)(value);
|
36
|
-
}, { toClassOnly: true }),
|
37
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
38
|
-
var value = _a.value;
|
39
|
-
return (0, utils_1.toUndefined)(value);
|
40
|
-
}, { toPlainOnly: true }),
|
41
|
-
(0, class_transformer_1.Expose)()
|
42
|
-
], PersonSafe.prototype, "display_name", void 0);
|
43
|
-
__decorate([
|
44
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
45
|
-
var value = _a.value;
|
46
|
-
return (0, utils_1.toOption)(value);
|
47
|
-
}, { toClassOnly: true }),
|
48
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
49
|
-
var value = _a.value;
|
50
|
-
return (0, utils_1.toUndefined)(value);
|
51
|
-
}, { toPlainOnly: true }),
|
52
|
-
(0, class_transformer_1.Expose)()
|
53
|
-
], PersonSafe.prototype, "avatar", void 0);
|
54
|
-
__decorate([
|
55
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
56
|
-
var value = _a.value;
|
57
|
-
return (0, utils_1.toOption)(value);
|
58
|
-
}, { toClassOnly: true }),
|
59
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
60
|
-
var value = _a.value;
|
61
|
-
return (0, utils_1.toUndefined)(value);
|
62
|
-
}, { toPlainOnly: true }),
|
63
|
-
(0, class_transformer_1.Expose)()
|
64
|
-
], PersonSafe.prototype, "updated", void 0);
|
65
|
-
__decorate([
|
66
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
67
|
-
var value = _a.value;
|
68
|
-
return (0, utils_1.toOption)(value);
|
69
|
-
}, { toClassOnly: true }),
|
70
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
71
|
-
var value = _a.value;
|
72
|
-
return (0, utils_1.toUndefined)(value);
|
73
|
-
}, { toPlainOnly: true }),
|
74
|
-
(0, class_transformer_1.Expose)()
|
75
|
-
], PersonSafe.prototype, "bio", void 0);
|
76
|
-
__decorate([
|
77
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
78
|
-
var value = _a.value;
|
79
|
-
return (0, utils_1.toOption)(value);
|
80
|
-
}, { toClassOnly: true }),
|
81
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
82
|
-
var value = _a.value;
|
83
|
-
return (0, utils_1.toUndefined)(value);
|
84
|
-
}, { toPlainOnly: true }),
|
85
|
-
(0, class_transformer_1.Expose)()
|
86
|
-
], PersonSafe.prototype, "banner", void 0);
|
87
|
-
__decorate([
|
88
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
89
|
-
var value = _a.value;
|
90
|
-
return (0, utils_1.toOption)(value);
|
91
|
-
}, { toClassOnly: true }),
|
92
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
93
|
-
var value = _a.value;
|
94
|
-
return (0, utils_1.toUndefined)(value);
|
95
|
-
}, { toPlainOnly: true }),
|
96
|
-
(0, class_transformer_1.Expose)()
|
97
|
-
], PersonSafe.prototype, "shared_inbox_url", void 0);
|
98
|
-
__decorate([
|
99
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
100
|
-
var value = _a.value;
|
101
|
-
return (0, utils_1.toOption)(value);
|
102
|
-
}, { toClassOnly: true }),
|
103
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
104
|
-
var value = _a.value;
|
105
|
-
return (0, utils_1.toUndefined)(value);
|
106
|
-
}, { toPlainOnly: true }),
|
107
|
-
(0, class_transformer_1.Expose)()
|
108
|
-
], PersonSafe.prototype, "matrix_user_id", void 0);
|
109
|
-
__decorate([
|
110
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
111
|
-
var value = _a.value;
|
112
|
-
return (0, utils_1.toOption)(value);
|
113
|
-
}, { toClassOnly: true }),
|
114
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
115
|
-
var value = _a.value;
|
116
|
-
return (0, utils_1.toUndefined)(value);
|
117
|
-
}, { toPlainOnly: true }),
|
118
|
-
(0, class_transformer_1.Expose)()
|
119
|
-
], PersonSafe.prototype, "ban_expires", void 0);
|
120
|
-
return PersonSafe;
|
121
|
-
}());
|
122
|
-
exports.PersonSafe = PersonSafe;
|
123
|
-
var Site = /** @class */ (function () {
|
124
|
-
function Site() {
|
125
|
-
}
|
126
|
-
__decorate([
|
127
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
128
|
-
var value = _a.value;
|
129
|
-
return (0, utils_1.toOption)(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
|
-
], Site.prototype, "sidebar", void 0);
|
137
|
-
__decorate([
|
138
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
139
|
-
var value = _a.value;
|
140
|
-
return (0, utils_1.toOption)(value);
|
141
|
-
}, { toClassOnly: true }),
|
142
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
143
|
-
var value = _a.value;
|
144
|
-
return (0, utils_1.toUndefined)(value);
|
145
|
-
}, { toPlainOnly: true }),
|
146
|
-
(0, class_transformer_1.Expose)()
|
147
|
-
], Site.prototype, "updated", void 0);
|
148
|
-
__decorate([
|
149
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
150
|
-
var value = _a.value;
|
151
|
-
return (0, utils_1.toOption)(value);
|
152
|
-
}, { toClassOnly: true }),
|
153
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
154
|
-
var value = _a.value;
|
155
|
-
return (0, utils_1.toUndefined)(value);
|
156
|
-
}, { toPlainOnly: true }),
|
157
|
-
(0, class_transformer_1.Expose)()
|
158
|
-
], Site.prototype, "icon", void 0);
|
159
|
-
__decorate([
|
160
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
161
|
-
var value = _a.value;
|
162
|
-
return (0, utils_1.toOption)(value);
|
163
|
-
}, { toClassOnly: true }),
|
164
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
165
|
-
var value = _a.value;
|
166
|
-
return (0, utils_1.toUndefined)(value);
|
167
|
-
}, { toPlainOnly: true }),
|
168
|
-
(0, class_transformer_1.Expose)()
|
169
|
-
], Site.prototype, "banner", void 0);
|
170
|
-
__decorate([
|
171
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
172
|
-
var value = _a.value;
|
173
|
-
return (0, utils_1.toOption)(value);
|
174
|
-
}, { toClassOnly: true }),
|
175
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
176
|
-
var value = _a.value;
|
177
|
-
return (0, utils_1.toUndefined)(value);
|
178
|
-
}, { toPlainOnly: true }),
|
179
|
-
(0, class_transformer_1.Expose)()
|
180
|
-
], Site.prototype, "description", void 0);
|
181
|
-
return Site;
|
182
|
-
}());
|
183
|
-
exports.Site = Site;
|
3
|
+
exports.RegistrationMode = void 0;
|
184
4
|
var RegistrationMode;
|
185
5
|
(function (RegistrationMode) {
|
186
6
|
RegistrationMode["Closed"] = "closed";
|
187
7
|
RegistrationMode["RequireApplication"] = "require_application";
|
188
8
|
RegistrationMode["Open"] = "open";
|
189
9
|
})(RegistrationMode = exports.RegistrationMode || (exports.RegistrationMode = {}));
|
190
|
-
var LocalSite = /** @class */ (function () {
|
191
|
-
function LocalSite() {
|
192
|
-
}
|
193
|
-
__decorate([
|
194
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
195
|
-
var value = _a.value;
|
196
|
-
return (0, utils_1.toOption)(value);
|
197
|
-
}, { toClassOnly: true }),
|
198
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
199
|
-
var value = _a.value;
|
200
|
-
return (0, utils_1.toUndefined)(value);
|
201
|
-
}, { toPlainOnly: true }),
|
202
|
-
(0, class_transformer_1.Expose)()
|
203
|
-
], LocalSite.prototype, "application_question", void 0);
|
204
|
-
__decorate([
|
205
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
206
|
-
var value = _a.value;
|
207
|
-
return (0, utils_1.toOption)(value);
|
208
|
-
}, { toClassOnly: true }),
|
209
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
210
|
-
var value = _a.value;
|
211
|
-
return (0, utils_1.toUndefined)(value);
|
212
|
-
}, { toPlainOnly: true }),
|
213
|
-
(0, class_transformer_1.Expose)()
|
214
|
-
], LocalSite.prototype, "legal_information", void 0);
|
215
|
-
__decorate([
|
216
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
217
|
-
var value = _a.value;
|
218
|
-
return (0, utils_1.toOption)(value);
|
219
|
-
}, { toClassOnly: true }),
|
220
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
221
|
-
var value = _a.value;
|
222
|
-
return (0, utils_1.toUndefined)(value);
|
223
|
-
}, { toPlainOnly: true }),
|
224
|
-
(0, class_transformer_1.Expose)()
|
225
|
-
], LocalSite.prototype, "slur_filter_regex", void 0);
|
226
|
-
__decorate([
|
227
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
228
|
-
var value = _a.value;
|
229
|
-
return (0, utils_1.toOption)(value);
|
230
|
-
}, { toClassOnly: true }),
|
231
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
232
|
-
var value = _a.value;
|
233
|
-
return (0, utils_1.toUndefined)(value);
|
234
|
-
}, { toPlainOnly: true }),
|
235
|
-
(0, class_transformer_1.Expose)()
|
236
|
-
], LocalSite.prototype, "updated", void 0);
|
237
|
-
return LocalSite;
|
238
|
-
}());
|
239
|
-
exports.LocalSite = LocalSite;
|
240
|
-
var LocalSiteRateLimit = /** @class */ (function () {
|
241
|
-
function LocalSiteRateLimit() {
|
242
|
-
}
|
243
|
-
__decorate([
|
244
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
245
|
-
var value = _a.value;
|
246
|
-
return (0, utils_1.toOption)(value);
|
247
|
-
}, { toClassOnly: true }),
|
248
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
249
|
-
var value = _a.value;
|
250
|
-
return (0, utils_1.toUndefined)(value);
|
251
|
-
}, { toPlainOnly: true }),
|
252
|
-
(0, class_transformer_1.Expose)()
|
253
|
-
], LocalSiteRateLimit.prototype, "updated", void 0);
|
254
|
-
return LocalSiteRateLimit;
|
255
|
-
}());
|
256
|
-
exports.LocalSiteRateLimit = LocalSiteRateLimit;
|
257
|
-
var PrivateMessage = /** @class */ (function () {
|
258
|
-
function PrivateMessage() {
|
259
|
-
}
|
260
|
-
__decorate([
|
261
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
262
|
-
var value = _a.value;
|
263
|
-
return (0, utils_1.toOption)(value);
|
264
|
-
}, { toClassOnly: true }),
|
265
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
266
|
-
var value = _a.value;
|
267
|
-
return (0, utils_1.toUndefined)(value);
|
268
|
-
}, { toPlainOnly: true }),
|
269
|
-
(0, class_transformer_1.Expose)()
|
270
|
-
], PrivateMessage.prototype, "updated", void 0);
|
271
|
-
return PrivateMessage;
|
272
|
-
}());
|
273
|
-
exports.PrivateMessage = PrivateMessage;
|
274
|
-
var PostReport = /** @class */ (function () {
|
275
|
-
function PostReport() {
|
276
|
-
}
|
277
|
-
__decorate([
|
278
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
279
|
-
var value = _a.value;
|
280
|
-
return (0, utils_1.toOption)(value);
|
281
|
-
}, { toClassOnly: true }),
|
282
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
283
|
-
var value = _a.value;
|
284
|
-
return (0, utils_1.toUndefined)(value);
|
285
|
-
}, { toPlainOnly: true }),
|
286
|
-
(0, class_transformer_1.Expose)()
|
287
|
-
], PostReport.prototype, "original_post_url", void 0);
|
288
|
-
__decorate([
|
289
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
290
|
-
var value = _a.value;
|
291
|
-
return (0, utils_1.toOption)(value);
|
292
|
-
}, { toClassOnly: true }),
|
293
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
294
|
-
var value = _a.value;
|
295
|
-
return (0, utils_1.toUndefined)(value);
|
296
|
-
}, { toPlainOnly: true }),
|
297
|
-
(0, class_transformer_1.Expose)()
|
298
|
-
], PostReport.prototype, "original_post_body", void 0);
|
299
|
-
__decorate([
|
300
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
301
|
-
var value = _a.value;
|
302
|
-
return (0, utils_1.toOption)(value);
|
303
|
-
}, { toClassOnly: true }),
|
304
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
305
|
-
var value = _a.value;
|
306
|
-
return (0, utils_1.toUndefined)(value);
|
307
|
-
}, { toPlainOnly: true }),
|
308
|
-
(0, class_transformer_1.Expose)()
|
309
|
-
], PostReport.prototype, "resolver_id", void 0);
|
310
|
-
__decorate([
|
311
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
312
|
-
var value = _a.value;
|
313
|
-
return (0, utils_1.toOption)(value);
|
314
|
-
}, { toClassOnly: true }),
|
315
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
316
|
-
var value = _a.value;
|
317
|
-
return (0, utils_1.toUndefined)(value);
|
318
|
-
}, { toPlainOnly: true }),
|
319
|
-
(0, class_transformer_1.Expose)()
|
320
|
-
], PostReport.prototype, "updated", void 0);
|
321
|
-
return PostReport;
|
322
|
-
}());
|
323
|
-
exports.PostReport = PostReport;
|
324
|
-
var Post = /** @class */ (function () {
|
325
|
-
function Post() {
|
326
|
-
}
|
327
|
-
__decorate([
|
328
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
329
|
-
var value = _a.value;
|
330
|
-
return (0, utils_1.toOption)(value);
|
331
|
-
}, { toClassOnly: true }),
|
332
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
333
|
-
var value = _a.value;
|
334
|
-
return (0, utils_1.toUndefined)(value);
|
335
|
-
}, { toPlainOnly: true }),
|
336
|
-
(0, class_transformer_1.Expose)()
|
337
|
-
], Post.prototype, "url", void 0);
|
338
|
-
__decorate([
|
339
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
340
|
-
var value = _a.value;
|
341
|
-
return (0, utils_1.toOption)(value);
|
342
|
-
}, { toClassOnly: true }),
|
343
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
344
|
-
var value = _a.value;
|
345
|
-
return (0, utils_1.toUndefined)(value);
|
346
|
-
}, { toPlainOnly: true }),
|
347
|
-
(0, class_transformer_1.Expose)()
|
348
|
-
], Post.prototype, "body", void 0);
|
349
|
-
__decorate([
|
350
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
351
|
-
var value = _a.value;
|
352
|
-
return (0, utils_1.toOption)(value);
|
353
|
-
}, { toClassOnly: true }),
|
354
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
355
|
-
var value = _a.value;
|
356
|
-
return (0, utils_1.toUndefined)(value);
|
357
|
-
}, { toPlainOnly: true }),
|
358
|
-
(0, class_transformer_1.Expose)()
|
359
|
-
], Post.prototype, "updated", void 0);
|
360
|
-
__decorate([
|
361
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
362
|
-
var value = _a.value;
|
363
|
-
return (0, utils_1.toOption)(value);
|
364
|
-
}, { toClassOnly: true }),
|
365
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
366
|
-
var value = _a.value;
|
367
|
-
return (0, utils_1.toUndefined)(value);
|
368
|
-
}, { toPlainOnly: true }),
|
369
|
-
(0, class_transformer_1.Expose)()
|
370
|
-
], Post.prototype, "embed_title", void 0);
|
371
|
-
__decorate([
|
372
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
373
|
-
var value = _a.value;
|
374
|
-
return (0, utils_1.toOption)(value);
|
375
|
-
}, { toClassOnly: true }),
|
376
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
377
|
-
var value = _a.value;
|
378
|
-
return (0, utils_1.toUndefined)(value);
|
379
|
-
}, { toPlainOnly: true }),
|
380
|
-
(0, class_transformer_1.Expose)()
|
381
|
-
], Post.prototype, "embed_description", void 0);
|
382
|
-
__decorate([
|
383
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
384
|
-
var value = _a.value;
|
385
|
-
return (0, utils_1.toOption)(value);
|
386
|
-
}, { toClassOnly: true }),
|
387
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
388
|
-
var value = _a.value;
|
389
|
-
return (0, utils_1.toUndefined)(value);
|
390
|
-
}, { toPlainOnly: true }),
|
391
|
-
(0, class_transformer_1.Expose)()
|
392
|
-
], Post.prototype, "embed_video_url", void 0);
|
393
|
-
__decorate([
|
394
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
395
|
-
var value = _a.value;
|
396
|
-
return (0, utils_1.toOption)(value);
|
397
|
-
}, { toClassOnly: true }),
|
398
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
399
|
-
var value = _a.value;
|
400
|
-
return (0, utils_1.toUndefined)(value);
|
401
|
-
}, { toPlainOnly: true }),
|
402
|
-
(0, class_transformer_1.Expose)()
|
403
|
-
], Post.prototype, "thumbnail_url", void 0);
|
404
|
-
return Post;
|
405
|
-
}());
|
406
|
-
exports.Post = Post;
|
407
|
-
var PasswordResetRequest = /** @class */ (function () {
|
408
|
-
function PasswordResetRequest() {
|
409
|
-
}
|
410
|
-
return PasswordResetRequest;
|
411
|
-
}());
|
412
|
-
exports.PasswordResetRequest = PasswordResetRequest;
|
413
|
-
var ModRemovePost = /** @class */ (function () {
|
414
|
-
function ModRemovePost() {
|
415
|
-
}
|
416
|
-
__decorate([
|
417
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
418
|
-
var value = _a.value;
|
419
|
-
return (0, utils_1.toOption)(value);
|
420
|
-
}, { toClassOnly: true }),
|
421
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
422
|
-
var value = _a.value;
|
423
|
-
return (0, utils_1.toUndefined)(value);
|
424
|
-
}, { toPlainOnly: true }),
|
425
|
-
(0, class_transformer_1.Expose)()
|
426
|
-
], ModRemovePost.prototype, "reason", void 0);
|
427
|
-
__decorate([
|
428
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
429
|
-
var value = _a.value;
|
430
|
-
return (0, utils_1.toOption)(value);
|
431
|
-
}, { toClassOnly: true }),
|
432
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
433
|
-
var value = _a.value;
|
434
|
-
return (0, utils_1.toUndefined)(value);
|
435
|
-
}, { toPlainOnly: true }),
|
436
|
-
(0, class_transformer_1.Expose)()
|
437
|
-
], ModRemovePost.prototype, "removed", void 0);
|
438
|
-
return ModRemovePost;
|
439
|
-
}());
|
440
|
-
exports.ModRemovePost = ModRemovePost;
|
441
|
-
var ModLockPost = /** @class */ (function () {
|
442
|
-
function ModLockPost() {
|
443
|
-
}
|
444
|
-
__decorate([
|
445
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
446
|
-
var value = _a.value;
|
447
|
-
return (0, utils_1.toOption)(value);
|
448
|
-
}, { toClassOnly: true }),
|
449
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
450
|
-
var value = _a.value;
|
451
|
-
return (0, utils_1.toUndefined)(value);
|
452
|
-
}, { toPlainOnly: true }),
|
453
|
-
(0, class_transformer_1.Expose)()
|
454
|
-
], ModLockPost.prototype, "locked", void 0);
|
455
|
-
return ModLockPost;
|
456
|
-
}());
|
457
|
-
exports.ModLockPost = ModLockPost;
|
458
|
-
var ModFeaturePost = /** @class */ (function () {
|
459
|
-
function ModFeaturePost() {
|
460
|
-
}
|
461
|
-
return ModFeaturePost;
|
462
|
-
}());
|
463
|
-
exports.ModFeaturePost = ModFeaturePost;
|
464
|
-
var ModRemoveComment = /** @class */ (function () {
|
465
|
-
function ModRemoveComment() {
|
466
|
-
}
|
467
|
-
__decorate([
|
468
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
469
|
-
var value = _a.value;
|
470
|
-
return (0, utils_1.toOption)(value);
|
471
|
-
}, { toClassOnly: true }),
|
472
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
473
|
-
var value = _a.value;
|
474
|
-
return (0, utils_1.toUndefined)(value);
|
475
|
-
}, { toPlainOnly: true }),
|
476
|
-
(0, class_transformer_1.Expose)()
|
477
|
-
], ModRemoveComment.prototype, "reason", void 0);
|
478
|
-
__decorate([
|
479
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
480
|
-
var value = _a.value;
|
481
|
-
return (0, utils_1.toOption)(value);
|
482
|
-
}, { toClassOnly: true }),
|
483
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
484
|
-
var value = _a.value;
|
485
|
-
return (0, utils_1.toUndefined)(value);
|
486
|
-
}, { toPlainOnly: true }),
|
487
|
-
(0, class_transformer_1.Expose)()
|
488
|
-
], ModRemoveComment.prototype, "removed", void 0);
|
489
|
-
return ModRemoveComment;
|
490
|
-
}());
|
491
|
-
exports.ModRemoveComment = ModRemoveComment;
|
492
|
-
var ModRemoveCommunity = /** @class */ (function () {
|
493
|
-
function ModRemoveCommunity() {
|
494
|
-
}
|
495
|
-
__decorate([
|
496
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
497
|
-
var value = _a.value;
|
498
|
-
return (0, utils_1.toOption)(value);
|
499
|
-
}, { toClassOnly: true }),
|
500
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
501
|
-
var value = _a.value;
|
502
|
-
return (0, utils_1.toUndefined)(value);
|
503
|
-
}, { toPlainOnly: true }),
|
504
|
-
(0, class_transformer_1.Expose)()
|
505
|
-
], ModRemoveCommunity.prototype, "reason", void 0);
|
506
|
-
__decorate([
|
507
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
508
|
-
var value = _a.value;
|
509
|
-
return (0, utils_1.toOption)(value);
|
510
|
-
}, { toClassOnly: true }),
|
511
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
512
|
-
var value = _a.value;
|
513
|
-
return (0, utils_1.toUndefined)(value);
|
514
|
-
}, { toPlainOnly: true }),
|
515
|
-
(0, class_transformer_1.Expose)()
|
516
|
-
], ModRemoveCommunity.prototype, "removed", void 0);
|
517
|
-
__decorate([
|
518
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
519
|
-
var value = _a.value;
|
520
|
-
return (0, utils_1.toOption)(value);
|
521
|
-
}, { toClassOnly: true }),
|
522
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
523
|
-
var value = _a.value;
|
524
|
-
return (0, utils_1.toUndefined)(value);
|
525
|
-
}, { toPlainOnly: true }),
|
526
|
-
(0, class_transformer_1.Expose)()
|
527
|
-
], ModRemoveCommunity.prototype, "expires", void 0);
|
528
|
-
return ModRemoveCommunity;
|
529
|
-
}());
|
530
|
-
exports.ModRemoveCommunity = ModRemoveCommunity;
|
531
|
-
var ModBanFromCommunity = /** @class */ (function () {
|
532
|
-
function ModBanFromCommunity() {
|
533
|
-
}
|
534
|
-
__decorate([
|
535
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
536
|
-
var value = _a.value;
|
537
|
-
return (0, utils_1.toOption)(value);
|
538
|
-
}, { toClassOnly: true }),
|
539
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
540
|
-
var value = _a.value;
|
541
|
-
return (0, utils_1.toUndefined)(value);
|
542
|
-
}, { toPlainOnly: true }),
|
543
|
-
(0, class_transformer_1.Expose)()
|
544
|
-
], ModBanFromCommunity.prototype, "reason", void 0);
|
545
|
-
__decorate([
|
546
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
547
|
-
var value = _a.value;
|
548
|
-
return (0, utils_1.toOption)(value);
|
549
|
-
}, { toClassOnly: true }),
|
550
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
551
|
-
var value = _a.value;
|
552
|
-
return (0, utils_1.toUndefined)(value);
|
553
|
-
}, { toPlainOnly: true }),
|
554
|
-
(0, class_transformer_1.Expose)()
|
555
|
-
], ModBanFromCommunity.prototype, "banned", void 0);
|
556
|
-
__decorate([
|
557
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
558
|
-
var value = _a.value;
|
559
|
-
return (0, utils_1.toOption)(value);
|
560
|
-
}, { toClassOnly: true }),
|
561
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
562
|
-
var value = _a.value;
|
563
|
-
return (0, utils_1.toUndefined)(value);
|
564
|
-
}, { toPlainOnly: true }),
|
565
|
-
(0, class_transformer_1.Expose)()
|
566
|
-
], ModBanFromCommunity.prototype, "expires", void 0);
|
567
|
-
return ModBanFromCommunity;
|
568
|
-
}());
|
569
|
-
exports.ModBanFromCommunity = ModBanFromCommunity;
|
570
|
-
var ModBan = /** @class */ (function () {
|
571
|
-
function ModBan() {
|
572
|
-
}
|
573
|
-
__decorate([
|
574
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
575
|
-
var value = _a.value;
|
576
|
-
return (0, utils_1.toOption)(value);
|
577
|
-
}, { toClassOnly: true }),
|
578
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
579
|
-
var value = _a.value;
|
580
|
-
return (0, utils_1.toUndefined)(value);
|
581
|
-
}, { toPlainOnly: true }),
|
582
|
-
(0, class_transformer_1.Expose)()
|
583
|
-
], ModBan.prototype, "reason", void 0);
|
584
|
-
__decorate([
|
585
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
586
|
-
var value = _a.value;
|
587
|
-
return (0, utils_1.toOption)(value);
|
588
|
-
}, { toClassOnly: true }),
|
589
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
590
|
-
var value = _a.value;
|
591
|
-
return (0, utils_1.toUndefined)(value);
|
592
|
-
}, { toPlainOnly: true }),
|
593
|
-
(0, class_transformer_1.Expose)()
|
594
|
-
], ModBan.prototype, "banned", void 0);
|
595
|
-
__decorate([
|
596
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
597
|
-
var value = _a.value;
|
598
|
-
return (0, utils_1.toOption)(value);
|
599
|
-
}, { toClassOnly: true }),
|
600
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
601
|
-
var value = _a.value;
|
602
|
-
return (0, utils_1.toUndefined)(value);
|
603
|
-
}, { toPlainOnly: true }),
|
604
|
-
(0, class_transformer_1.Expose)()
|
605
|
-
], ModBan.prototype, "expires", void 0);
|
606
|
-
return ModBan;
|
607
|
-
}());
|
608
|
-
exports.ModBan = ModBan;
|
609
|
-
var ModAddCommunity = /** @class */ (function () {
|
610
|
-
function ModAddCommunity() {
|
611
|
-
}
|
612
|
-
__decorate([
|
613
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
614
|
-
var value = _a.value;
|
615
|
-
return (0, utils_1.toOption)(value);
|
616
|
-
}, { toClassOnly: true }),
|
617
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
618
|
-
var value = _a.value;
|
619
|
-
return (0, utils_1.toUndefined)(value);
|
620
|
-
}, { toPlainOnly: true }),
|
621
|
-
(0, class_transformer_1.Expose)()
|
622
|
-
], ModAddCommunity.prototype, "removed", void 0);
|
623
|
-
return ModAddCommunity;
|
624
|
-
}());
|
625
|
-
exports.ModAddCommunity = ModAddCommunity;
|
626
|
-
var ModTransferCommunity = /** @class */ (function () {
|
627
|
-
function ModTransferCommunity() {
|
628
|
-
}
|
629
|
-
__decorate([
|
630
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
631
|
-
var value = _a.value;
|
632
|
-
return (0, utils_1.toOption)(value);
|
633
|
-
}, { toClassOnly: true }),
|
634
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
635
|
-
var value = _a.value;
|
636
|
-
return (0, utils_1.toUndefined)(value);
|
637
|
-
}, { toPlainOnly: true }),
|
638
|
-
(0, class_transformer_1.Expose)()
|
639
|
-
], ModTransferCommunity.prototype, "removed", void 0);
|
640
|
-
return ModTransferCommunity;
|
641
|
-
}());
|
642
|
-
exports.ModTransferCommunity = ModTransferCommunity;
|
643
|
-
var ModAdd = /** @class */ (function () {
|
644
|
-
function ModAdd() {
|
645
|
-
}
|
646
|
-
__decorate([
|
647
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
648
|
-
var value = _a.value;
|
649
|
-
return (0, utils_1.toOption)(value);
|
650
|
-
}, { toClassOnly: true }),
|
651
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
652
|
-
var value = _a.value;
|
653
|
-
return (0, utils_1.toUndefined)(value);
|
654
|
-
}, { toPlainOnly: true }),
|
655
|
-
(0, class_transformer_1.Expose)()
|
656
|
-
], ModAdd.prototype, "removed", void 0);
|
657
|
-
return ModAdd;
|
658
|
-
}());
|
659
|
-
exports.ModAdd = ModAdd;
|
660
|
-
var AdminPurgePerson = /** @class */ (function () {
|
661
|
-
function AdminPurgePerson() {
|
662
|
-
}
|
663
|
-
__decorate([
|
664
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
665
|
-
var value = _a.value;
|
666
|
-
return (0, utils_1.toOption)(value);
|
667
|
-
}, { toClassOnly: true }),
|
668
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
669
|
-
var value = _a.value;
|
670
|
-
return (0, utils_1.toUndefined)(value);
|
671
|
-
}, { toPlainOnly: true }),
|
672
|
-
(0, class_transformer_1.Expose)()
|
673
|
-
], AdminPurgePerson.prototype, "reason", void 0);
|
674
|
-
return AdminPurgePerson;
|
675
|
-
}());
|
676
|
-
exports.AdminPurgePerson = AdminPurgePerson;
|
677
|
-
var AdminPurgeCommunity = /** @class */ (function () {
|
678
|
-
function AdminPurgeCommunity() {
|
679
|
-
}
|
680
|
-
__decorate([
|
681
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
682
|
-
var value = _a.value;
|
683
|
-
return (0, utils_1.toOption)(value);
|
684
|
-
}, { toClassOnly: true }),
|
685
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
686
|
-
var value = _a.value;
|
687
|
-
return (0, utils_1.toUndefined)(value);
|
688
|
-
}, { toPlainOnly: true }),
|
689
|
-
(0, class_transformer_1.Expose)()
|
690
|
-
], AdminPurgeCommunity.prototype, "reason", void 0);
|
691
|
-
return AdminPurgeCommunity;
|
692
|
-
}());
|
693
|
-
exports.AdminPurgeCommunity = AdminPurgeCommunity;
|
694
|
-
var AdminPurgePost = /** @class */ (function () {
|
695
|
-
function AdminPurgePost() {
|
696
|
-
}
|
697
|
-
__decorate([
|
698
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
699
|
-
var value = _a.value;
|
700
|
-
return (0, utils_1.toOption)(value);
|
701
|
-
}, { toClassOnly: true }),
|
702
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
703
|
-
var value = _a.value;
|
704
|
-
return (0, utils_1.toUndefined)(value);
|
705
|
-
}, { toPlainOnly: true }),
|
706
|
-
(0, class_transformer_1.Expose)()
|
707
|
-
], AdminPurgePost.prototype, "reason", void 0);
|
708
|
-
return AdminPurgePost;
|
709
|
-
}());
|
710
|
-
exports.AdminPurgePost = AdminPurgePost;
|
711
|
-
var AdminPurgeComment = /** @class */ (function () {
|
712
|
-
function AdminPurgeComment() {
|
713
|
-
}
|
714
|
-
__decorate([
|
715
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
716
|
-
var value = _a.value;
|
717
|
-
return (0, utils_1.toOption)(value);
|
718
|
-
}, { toClassOnly: true }),
|
719
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
720
|
-
var value = _a.value;
|
721
|
-
return (0, utils_1.toUndefined)(value);
|
722
|
-
}, { toPlainOnly: true }),
|
723
|
-
(0, class_transformer_1.Expose)()
|
724
|
-
], AdminPurgeComment.prototype, "reason", void 0);
|
725
|
-
return AdminPurgeComment;
|
726
|
-
}());
|
727
|
-
exports.AdminPurgeComment = AdminPurgeComment;
|
728
|
-
var CommunitySafe = /** @class */ (function () {
|
729
|
-
function CommunitySafe() {
|
730
|
-
}
|
731
|
-
__decorate([
|
732
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
733
|
-
var value = _a.value;
|
734
|
-
return (0, utils_1.toOption)(value);
|
735
|
-
}, { toClassOnly: true }),
|
736
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
737
|
-
var value = _a.value;
|
738
|
-
return (0, utils_1.toUndefined)(value);
|
739
|
-
}, { toPlainOnly: true }),
|
740
|
-
(0, class_transformer_1.Expose)()
|
741
|
-
], CommunitySafe.prototype, "description", void 0);
|
742
|
-
__decorate([
|
743
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
744
|
-
var value = _a.value;
|
745
|
-
return (0, utils_1.toOption)(value);
|
746
|
-
}, { toClassOnly: true }),
|
747
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
748
|
-
var value = _a.value;
|
749
|
-
return (0, utils_1.toUndefined)(value);
|
750
|
-
}, { toPlainOnly: true }),
|
751
|
-
(0, class_transformer_1.Expose)()
|
752
|
-
], CommunitySafe.prototype, "updated", void 0);
|
753
|
-
__decorate([
|
754
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
755
|
-
var value = _a.value;
|
756
|
-
return (0, utils_1.toOption)(value);
|
757
|
-
}, { toClassOnly: true }),
|
758
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
759
|
-
var value = _a.value;
|
760
|
-
return (0, utils_1.toUndefined)(value);
|
761
|
-
}, { toPlainOnly: true }),
|
762
|
-
(0, class_transformer_1.Expose)()
|
763
|
-
], CommunitySafe.prototype, "icon", void 0);
|
764
|
-
__decorate([
|
765
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
766
|
-
var value = _a.value;
|
767
|
-
return (0, utils_1.toOption)(value);
|
768
|
-
}, { toClassOnly: true }),
|
769
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
770
|
-
var value = _a.value;
|
771
|
-
return (0, utils_1.toUndefined)(value);
|
772
|
-
}, { toPlainOnly: true }),
|
773
|
-
(0, class_transformer_1.Expose)()
|
774
|
-
], CommunitySafe.prototype, "banner", void 0);
|
775
|
-
return CommunitySafe;
|
776
|
-
}());
|
777
|
-
exports.CommunitySafe = CommunitySafe;
|
778
|
-
var CommentReport = /** @class */ (function () {
|
779
|
-
function CommentReport() {
|
780
|
-
}
|
781
|
-
__decorate([
|
782
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
783
|
-
var value = _a.value;
|
784
|
-
return (0, utils_1.toOption)(value);
|
785
|
-
}, { toClassOnly: true }),
|
786
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
787
|
-
var value = _a.value;
|
788
|
-
return (0, utils_1.toUndefined)(value);
|
789
|
-
}, { toPlainOnly: true }),
|
790
|
-
(0, class_transformer_1.Expose)()
|
791
|
-
], CommentReport.prototype, "resolver_id", void 0);
|
792
|
-
__decorate([
|
793
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
794
|
-
var value = _a.value;
|
795
|
-
return (0, utils_1.toOption)(value);
|
796
|
-
}, { toClassOnly: true }),
|
797
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
798
|
-
var value = _a.value;
|
799
|
-
return (0, utils_1.toUndefined)(value);
|
800
|
-
}, { toPlainOnly: true }),
|
801
|
-
(0, class_transformer_1.Expose)()
|
802
|
-
], CommentReport.prototype, "updated", void 0);
|
803
|
-
return CommentReport;
|
804
|
-
}());
|
805
|
-
exports.CommentReport = CommentReport;
|
806
|
-
var Comment = /** @class */ (function () {
|
807
|
-
function Comment() {
|
808
|
-
}
|
809
|
-
__decorate([
|
810
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
811
|
-
var value = _a.value;
|
812
|
-
return (0, utils_1.toOption)(value);
|
813
|
-
}, { toClassOnly: true }),
|
814
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
815
|
-
var value = _a.value;
|
816
|
-
return (0, utils_1.toUndefined)(value);
|
817
|
-
}, { toPlainOnly: true }),
|
818
|
-
(0, class_transformer_1.Expose)()
|
819
|
-
], Comment.prototype, "updated", void 0);
|
820
|
-
return Comment;
|
821
|
-
}());
|
822
|
-
exports.Comment = Comment;
|
823
|
-
var PersonMention = /** @class */ (function () {
|
824
|
-
function PersonMention() {
|
825
|
-
}
|
826
|
-
return PersonMention;
|
827
|
-
}());
|
828
|
-
exports.PersonMention = PersonMention;
|
829
|
-
var CommentReply = /** @class */ (function () {
|
830
|
-
function CommentReply() {
|
831
|
-
}
|
832
|
-
return CommentReply;
|
833
|
-
}());
|
834
|
-
exports.CommentReply = CommentReply;
|
835
|
-
var RegistrationApplication = /** @class */ (function () {
|
836
|
-
function RegistrationApplication() {
|
837
|
-
}
|
838
|
-
__decorate([
|
839
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
840
|
-
var value = _a.value;
|
841
|
-
return (0, utils_1.toOption)(value);
|
842
|
-
}, { toClassOnly: true }),
|
843
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
844
|
-
var value = _a.value;
|
845
|
-
return (0, utils_1.toUndefined)(value);
|
846
|
-
}, { toPlainOnly: true }),
|
847
|
-
(0, class_transformer_1.Expose)()
|
848
|
-
], RegistrationApplication.prototype, "admin_id", void 0);
|
849
|
-
__decorate([
|
850
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
851
|
-
var value = _a.value;
|
852
|
-
return (0, utils_1.toOption)(value);
|
853
|
-
}, { toClassOnly: true }),
|
854
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
855
|
-
var value = _a.value;
|
856
|
-
return (0, utils_1.toUndefined)(value);
|
857
|
-
}, { toPlainOnly: true }),
|
858
|
-
(0, class_transformer_1.Expose)()
|
859
|
-
], RegistrationApplication.prototype, "deny_reason", void 0);
|
860
|
-
return RegistrationApplication;
|
861
|
-
}());
|
862
|
-
exports.RegistrationApplication = RegistrationApplication;
|
863
|
-
var Language = /** @class */ (function () {
|
864
|
-
function Language() {
|
865
|
-
}
|
866
|
-
return Language;
|
867
|
-
}());
|
868
|
-
exports.Language = Language;
|
869
|
-
var PrivateMessageReport = /** @class */ (function () {
|
870
|
-
function PrivateMessageReport() {
|
871
|
-
}
|
872
|
-
__decorate([
|
873
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
874
|
-
var value = _a.value;
|
875
|
-
return (0, utils_1.toOption)(value);
|
876
|
-
}, { toClassOnly: true }),
|
877
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
878
|
-
var value = _a.value;
|
879
|
-
return (0, utils_1.toUndefined)(value);
|
880
|
-
}, { toPlainOnly: true }),
|
881
|
-
(0, class_transformer_1.Expose)()
|
882
|
-
], PrivateMessageReport.prototype, "resolver_id", void 0);
|
883
|
-
__decorate([
|
884
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
885
|
-
var value = _a.value;
|
886
|
-
return (0, utils_1.toOption)(value);
|
887
|
-
}, { toClassOnly: true }),
|
888
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
889
|
-
var value = _a.value;
|
890
|
-
return (0, utils_1.toUndefined)(value);
|
891
|
-
}, { toPlainOnly: true }),
|
892
|
-
(0, class_transformer_1.Expose)()
|
893
|
-
], PrivateMessageReport.prototype, "updated", void 0);
|
894
|
-
return PrivateMessageReport;
|
895
|
-
}());
|
896
|
-
exports.PrivateMessageReport = PrivateMessageReport;
|
897
|
-
var Tagline = /** @class */ (function () {
|
898
|
-
function Tagline() {
|
899
|
-
}
|
900
|
-
__decorate([
|
901
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
902
|
-
var value = _a.value;
|
903
|
-
return (0, utils_1.toOption)(value);
|
904
|
-
}, { toClassOnly: true }),
|
905
|
-
(0, class_transformer_1.Transform)(function (_a) {
|
906
|
-
var value = _a.value;
|
907
|
-
return (0, utils_1.toUndefined)(value);
|
908
|
-
}, { toPlainOnly: true }),
|
909
|
-
(0, class_transformer_1.Expose)()
|
910
|
-
], Tagline.prototype, "updated", void 0);
|
911
|
-
return Tagline;
|
912
|
-
}());
|
913
|
-
exports.Tagline = Tagline;
|