@intelact/bright 0.9.77 → 0.9.79
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/dtos/index.d.ts +2 -1
- package/lib/dtos/index.js +2 -1
- package/lib/dtos/index.js.map +1 -1
- package/lib/dtos/notification.dto.d.ts +4 -0
- package/lib/dtos/notification.dto.js +29 -0
- package/lib/dtos/notification.dto.js.map +1 -0
- package/lib/enums/module.enum.d.ts +22 -0
- package/lib/enums/module.enum.js +24 -1
- package/lib/enums/module.enum.js.map +1 -1
- package/lib/enums/tracks.enum.d.ts +12 -8
- package/lib/enums/tracks.enum.js +16 -12
- package/lib/enums/tracks.enum.js.map +1 -1
- package/lib/helpers/index.d.ts +2 -0
- package/lib/helpers/index.js +19 -0
- package/lib/helpers/index.js.map +1 -0
- package/lib/helpers/popularity.helper.d.ts +2 -0
- package/lib/helpers/popularity.helper.js +58 -0
- package/lib/helpers/popularity.helper.js.map +1 -0
- package/lib/helpers/post.helper.d.ts +2 -0
- package/lib/helpers/post.helper.js +22 -0
- package/lib/helpers/post.helper.js.map +1 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/models/author.d.ts +3 -3
- package/lib/models/author.js +7 -7
- package/lib/models/author.js.map +1 -1
- package/lib/models/boost.d.ts +3 -3
- package/lib/models/boost.js +10 -11
- package/lib/models/boost.js.map +1 -1
- package/lib/models/brand.d.ts +4 -4
- package/lib/models/brand.js +19 -19
- package/lib/models/brand.js.map +1 -1
- package/lib/models/category.js +0 -1
- package/lib/models/category.js.map +1 -1
- package/lib/models/collection.d.ts +3 -3
- package/lib/models/collection.js +10 -11
- package/lib/models/collection.js.map +1 -1
- package/lib/models/feedback.d.ts +3 -5
- package/lib/models/feedback.js +12 -36
- package/lib/models/feedback.js.map +1 -1
- package/lib/models/log.d.ts +7 -7
- package/lib/models/log.js +6 -6
- package/lib/models/log.js.map +1 -1
- package/lib/models/post.d.ts +15 -17
- package/lib/models/post.js +69 -160
- package/lib/models/post.js.map +1 -1
- package/lib/models/promotion.d.ts +5 -4
- package/lib/models/promotion.js +18 -14
- package/lib/models/promotion.js.map +1 -1
- package/lib/models/publisher.d.ts +4 -3
- package/lib/models/publisher.js +12 -8
- package/lib/models/publisher.js.map +1 -1
- package/lib/models/question.d.ts +20 -17
- package/lib/models/question.js +80 -61
- package/lib/models/question.js.map +1 -1
- package/lib/models/response.d.ts +1 -0
- package/lib/models/survey.d.ts +9 -11
- package/lib/models/survey.js +37 -47
- package/lib/models/survey.js.map +1 -1
- package/lib/models/topic.d.ts +2 -2
- package/lib/models/topic.js +6 -56
- package/lib/models/topic.js.map +1 -1
- package/lib/models/user.d.ts +4 -4
- package/lib/models/user.js +100 -22
- package/lib/models/user.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
package/lib/models/post.js
CHANGED
@@ -20,15 +20,9 @@ const feedback_1 = require("./feedback");
|
|
20
20
|
const item_1 = require("./item");
|
21
21
|
const metric_1 = require("./metric");
|
22
22
|
const log_1 = require("./log");
|
23
|
+
const helpers_1 = require("../helpers");
|
23
24
|
class Post {
|
24
25
|
id;
|
25
|
-
publisher;
|
26
|
-
author;
|
27
|
-
topics;
|
28
|
-
feedback;
|
29
|
-
collection;
|
30
|
-
gallery;
|
31
|
-
postType;
|
32
26
|
slug;
|
33
27
|
title;
|
34
28
|
description;
|
@@ -37,29 +31,34 @@ class Post {
|
|
37
31
|
duration;
|
38
32
|
icon;
|
39
33
|
svgIcon;
|
40
|
-
tags;
|
41
34
|
pdfUrl;
|
42
35
|
imageUrl;
|
43
36
|
feedUrl;
|
44
37
|
mediaUrl;
|
45
38
|
externUrl;
|
46
39
|
status;
|
40
|
+
postType;
|
47
41
|
weight;
|
48
42
|
popularity;
|
49
|
-
|
43
|
+
totalSeen;
|
50
44
|
metricOpens;
|
51
|
-
metricBookmarks;
|
52
45
|
metricLikes;
|
53
46
|
metricShares;
|
47
|
+
metricBookmarks;
|
54
48
|
metricDownloads;
|
55
49
|
metricFeedbacks;
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
50
|
+
statusChanged;
|
51
|
+
published;
|
52
|
+
blocked;
|
53
|
+
created;
|
54
|
+
updated;
|
55
|
+
deleted;
|
56
|
+
publisher;
|
57
|
+
author;
|
58
|
+
topics;
|
59
|
+
feedback;
|
60
|
+
collection;
|
61
|
+
gallery;
|
63
62
|
constructor(props) {
|
64
63
|
Object.assign(this, props);
|
65
64
|
}
|
@@ -256,39 +255,6 @@ __decorate([
|
|
256
255
|
(0, class_transformer_1.Type)(() => Number),
|
257
256
|
__metadata("design:type", Number)
|
258
257
|
], Post.prototype, "id", void 0);
|
259
|
-
__decorate([
|
260
|
-
(0, class_transformer_1.Expose)(),
|
261
|
-
(0, class_transformer_1.Type)(() => publisher_1.Publisher),
|
262
|
-
__metadata("design:type", publisher_1.Publisher)
|
263
|
-
], Post.prototype, "publisher", void 0);
|
264
|
-
__decorate([
|
265
|
-
(0, class_transformer_1.Expose)(),
|
266
|
-
(0, class_transformer_1.Type)(() => author_1.Author),
|
267
|
-
__metadata("design:type", author_1.Author)
|
268
|
-
], Post.prototype, "author", void 0);
|
269
|
-
__decorate([
|
270
|
-
(0, class_transformer_1.Type)(() => topic_1.Topic),
|
271
|
-
__metadata("design:type", Array)
|
272
|
-
], Post.prototype, "topics", void 0);
|
273
|
-
__decorate([
|
274
|
-
(0, class_transformer_1.Expose)(),
|
275
|
-
(0, class_transformer_1.Type)(() => feedback_1.Feedback),
|
276
|
-
__metadata("design:type", feedback_1.Feedback)
|
277
|
-
], Post.prototype, "feedback", void 0);
|
278
|
-
__decorate([
|
279
|
-
(0, class_transformer_1.Expose)(),
|
280
|
-
(0, class_transformer_1.Type)(() => Post),
|
281
|
-
__metadata("design:type", Array)
|
282
|
-
], Post.prototype, "collection", void 0);
|
283
|
-
__decorate([
|
284
|
-
(0, class_transformer_1.Expose)(),
|
285
|
-
(0, class_transformer_1.Type)(() => gallery_1.GalleryItem),
|
286
|
-
__metadata("design:type", Array)
|
287
|
-
], Post.prototype, "gallery", void 0);
|
288
|
-
__decorate([
|
289
|
-
(0, class_transformer_1.Expose)(),
|
290
|
-
__metadata("design:type", String)
|
291
|
-
], Post.prototype, "postType", void 0);
|
292
258
|
__decorate([
|
293
259
|
(0, class_transformer_1.Expose)(),
|
294
260
|
__metadata("design:type", String)
|
@@ -325,49 +291,14 @@ __decorate([
|
|
325
291
|
], Post.prototype, "duration", void 0);
|
326
292
|
__decorate([
|
327
293
|
(0, class_transformer_1.Expose)(),
|
328
|
-
(0, class_transformer_1.Transform)(({ obj }) =>
|
329
|
-
switch (obj?.postType) {
|
330
|
-
case enums_1.PostType.Article:
|
331
|
-
return 'file-lines';
|
332
|
-
case enums_1.PostType.Book:
|
333
|
-
return 'book-open';
|
334
|
-
case enums_1.PostType.Audio:
|
335
|
-
return 'headphones';
|
336
|
-
case enums_1.PostType.Video:
|
337
|
-
return 'circle-play';
|
338
|
-
case enums_1.PostType.News:
|
339
|
-
return 'newspaper';
|
340
|
-
case enums_1.PostType.Event:
|
341
|
-
return 'microphone';
|
342
|
-
}
|
343
|
-
}),
|
294
|
+
(0, class_transformer_1.Transform)(({ obj }) => (0, helpers_1.getPostIcon)(obj?.postType)),
|
344
295
|
__metadata("design:type", Object)
|
345
296
|
], Post.prototype, "icon", void 0);
|
346
297
|
__decorate([
|
347
298
|
(0, class_transformer_1.Expose)(),
|
348
|
-
(0, class_transformer_1.Transform)(({ obj }) =>
|
349
|
-
switch (obj?.postType) {
|
350
|
-
case enums_1.PostType.Article:
|
351
|
-
return '/assets/icons/content-type-article.svg';
|
352
|
-
case enums_1.PostType.Book:
|
353
|
-
return '/assets/icons/content-type-book.svg';
|
354
|
-
case enums_1.PostType.Audio:
|
355
|
-
return '/assets/icons/content-type-audio.svg';
|
356
|
-
case enums_1.PostType.Video:
|
357
|
-
return '/assets/icons/content-type-video.svg';
|
358
|
-
case enums_1.PostType.News:
|
359
|
-
return '/assets/icons/content-type-news.svg';
|
360
|
-
case enums_1.PostType.Event:
|
361
|
-
return '/assets/icons/content-type-event.svg';
|
362
|
-
}
|
363
|
-
}),
|
299
|
+
(0, class_transformer_1.Transform)(({ obj }) => (0, helpers_1.getPostIcon)(obj?.postType, true)),
|
364
300
|
__metadata("design:type", String)
|
365
301
|
], Post.prototype, "svgIcon", void 0);
|
366
|
-
__decorate([
|
367
|
-
(0, class_transformer_1.Expose)(),
|
368
|
-
(0, class_transformer_1.Transform)(({ obj }) => (obj?.topics?.map((i) => i.hash) || [])),
|
369
|
-
__metadata("design:type", Array)
|
370
|
-
], Post.prototype, "tags", void 0);
|
371
302
|
__decorate([
|
372
303
|
(0, class_transformer_1.Expose)(),
|
373
304
|
__metadata("design:type", String)
|
@@ -392,6 +323,10 @@ __decorate([
|
|
392
323
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
393
324
|
__metadata("design:type", String)
|
394
325
|
], Post.prototype, "status", void 0);
|
326
|
+
__decorate([
|
327
|
+
(0, class_transformer_1.Expose)(),
|
328
|
+
__metadata("design:type", String)
|
329
|
+
], Post.prototype, "postType", void 0);
|
395
330
|
__decorate([
|
396
331
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
397
332
|
(0, class_transformer_1.Type)(() => Number),
|
@@ -400,77 +335,21 @@ __decorate([
|
|
400
335
|
__decorate([
|
401
336
|
(0, class_transformer_1.Expose)(),
|
402
337
|
(0, class_transformer_1.Type)(() => item_1.Item),
|
403
|
-
(0, class_transformer_1.Transform)(({ obj }) =>
|
404
|
-
if (!obj?.weight) {
|
405
|
-
return new item_1.Item({
|
406
|
-
title: 'n/A',
|
407
|
-
value: 0,
|
408
|
-
context: enums_1.Context.Light
|
409
|
-
});
|
410
|
-
}
|
411
|
-
if (obj.weight < 1.9999) {
|
412
|
-
return new item_1.Item({
|
413
|
-
title: enums_1.Popularity.Poor,
|
414
|
-
value: obj.weight,
|
415
|
-
context: enums_1.Context.Secondary
|
416
|
-
});
|
417
|
-
}
|
418
|
-
if (obj.weight >= 2 && obj.weight < 3.9999) {
|
419
|
-
return new item_1.Item({
|
420
|
-
title: enums_1.Popularity.Week,
|
421
|
-
value: obj.weight,
|
422
|
-
context: enums_1.Context.Dark
|
423
|
-
});
|
424
|
-
}
|
425
|
-
if (obj.weight >= 4 && obj.weight < 5.9999) {
|
426
|
-
return new item_1.Item({
|
427
|
-
title: enums_1.Popularity.Fair,
|
428
|
-
value: obj.weight,
|
429
|
-
context: enums_1.Context.Primary
|
430
|
-
});
|
431
|
-
}
|
432
|
-
if (obj.weight >= 6 && obj.weight < 7.9999) {
|
433
|
-
return new item_1.Item({
|
434
|
-
title: enums_1.Popularity.Great,
|
435
|
-
value: obj.weight,
|
436
|
-
context: enums_1.Context.Info
|
437
|
-
});
|
438
|
-
}
|
439
|
-
if (obj.weight >= 8 && obj.weight < 8.9999) {
|
440
|
-
return new item_1.Item({
|
441
|
-
title: enums_1.Popularity.Excellent,
|
442
|
-
value: obj.weight,
|
443
|
-
context: enums_1.Context.Success
|
444
|
-
});
|
445
|
-
}
|
446
|
-
if (obj.weight >= 9 && obj.weight <= 10) {
|
447
|
-
return new item_1.Item({
|
448
|
-
title: enums_1.Popularity.Exceptional,
|
449
|
-
value: obj.weight,
|
450
|
-
context: enums_1.Context.Danger
|
451
|
-
});
|
452
|
-
}
|
453
|
-
}),
|
338
|
+
(0, class_transformer_1.Transform)(({ obj }) => (0, helpers_1.getPopularityByWeight)(obj.weight)),
|
454
339
|
__metadata("design:type", item_1.Item)
|
455
340
|
], Post.prototype, "popularity", void 0);
|
456
341
|
__decorate([
|
457
342
|
(0, class_transformer_1.Expose)(),
|
458
343
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
459
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.seen(obj?.
|
344
|
+
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.seen(obj?.totalSeen, obj?.hasSeen)),
|
460
345
|
__metadata("design:type", metric_1.Metric)
|
461
|
-
], Post.prototype, "
|
346
|
+
], Post.prototype, "totalSeen", void 0);
|
462
347
|
__decorate([
|
463
348
|
(0, class_transformer_1.Expose)(),
|
464
349
|
(0, class_transformer_1.Type)(() => item_1.Item),
|
465
350
|
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.open(obj?.totalOpens, obj?.hasOpen)),
|
466
351
|
__metadata("design:type", metric_1.Metric)
|
467
352
|
], Post.prototype, "metricOpens", void 0);
|
468
|
-
__decorate([
|
469
|
-
(0, class_transformer_1.Expose)(),
|
470
|
-
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
471
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.bookmark(obj?.totalBookmarks, obj?.hasBookmark)),
|
472
|
-
__metadata("design:type", metric_1.Metric)
|
473
|
-
], Post.prototype, "metricBookmarks", void 0);
|
474
353
|
__decorate([
|
475
354
|
(0, class_transformer_1.Expose)(),
|
476
355
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
@@ -483,6 +362,12 @@ __decorate([
|
|
483
362
|
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.share(obj?.totalShares, obj?.hasShare)),
|
484
363
|
__metadata("design:type", metric_1.Metric)
|
485
364
|
], Post.prototype, "metricShares", void 0);
|
365
|
+
__decorate([
|
366
|
+
(0, class_transformer_1.Expose)(),
|
367
|
+
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
368
|
+
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.bookmark(obj?.totalBookmarks, obj?.hasBookmark)),
|
369
|
+
__metadata("design:type", metric_1.Metric)
|
370
|
+
], Post.prototype, "metricBookmarks", void 0);
|
486
371
|
__decorate([
|
487
372
|
(0, class_transformer_1.Expose)(),
|
488
373
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
@@ -499,37 +384,61 @@ __decorate([
|
|
499
384
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
500
385
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
501
386
|
__metadata("design:type", log_1.Log)
|
502
|
-
], Post.prototype, "
|
503
|
-
__decorate([
|
504
|
-
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
505
|
-
(0, class_transformer_1.Type)(() => log_1.Log),
|
506
|
-
__metadata("design:type", log_1.Log)
|
507
|
-
], Post.prototype, "logUpdated", void 0);
|
387
|
+
], Post.prototype, "statusChanged", void 0);
|
508
388
|
__decorate([
|
509
|
-
(0, class_transformer_1.Expose)(
|
389
|
+
(0, class_transformer_1.Expose)(),
|
510
390
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
511
391
|
__metadata("design:type", log_1.Log)
|
512
|
-
], Post.prototype, "
|
392
|
+
], Post.prototype, "published", void 0);
|
513
393
|
__decorate([
|
514
|
-
(0, class_transformer_1.Expose)(),
|
394
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
515
395
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
516
396
|
__metadata("design:type", log_1.Log)
|
517
|
-
], Post.prototype, "
|
397
|
+
], Post.prototype, "blocked", void 0);
|
518
398
|
__decorate([
|
519
399
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
520
400
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
521
401
|
__metadata("design:type", log_1.Log)
|
522
|
-
], Post.prototype, "
|
402
|
+
], Post.prototype, "created", void 0);
|
523
403
|
__decorate([
|
524
404
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
525
405
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
526
406
|
__metadata("design:type", log_1.Log)
|
527
|
-
], Post.prototype, "
|
407
|
+
], Post.prototype, "updated", void 0);
|
528
408
|
__decorate([
|
529
|
-
(0, class_transformer_1.Expose)({ groups: ['
|
409
|
+
(0, class_transformer_1.Expose)({ groups: ['console'] }),
|
530
410
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
531
411
|
__metadata("design:type", log_1.Log)
|
532
|
-
], Post.prototype, "
|
412
|
+
], Post.prototype, "deleted", void 0);
|
413
|
+
__decorate([
|
414
|
+
(0, class_transformer_1.Expose)(),
|
415
|
+
(0, class_transformer_1.Type)(() => publisher_1.Publisher),
|
416
|
+
__metadata("design:type", publisher_1.Publisher)
|
417
|
+
], Post.prototype, "publisher", void 0);
|
418
|
+
__decorate([
|
419
|
+
(0, class_transformer_1.Expose)(),
|
420
|
+
(0, class_transformer_1.Type)(() => author_1.Author),
|
421
|
+
__metadata("design:type", author_1.Author)
|
422
|
+
], Post.prototype, "author", void 0);
|
423
|
+
__decorate([
|
424
|
+
(0, class_transformer_1.Type)(() => topic_1.Topic),
|
425
|
+
__metadata("design:type", Array)
|
426
|
+
], Post.prototype, "topics", void 0);
|
427
|
+
__decorate([
|
428
|
+
(0, class_transformer_1.Expose)(),
|
429
|
+
(0, class_transformer_1.Type)(() => feedback_1.Feedback),
|
430
|
+
__metadata("design:type", feedback_1.Feedback)
|
431
|
+
], Post.prototype, "feedback", void 0);
|
432
|
+
__decorate([
|
433
|
+
(0, class_transformer_1.Expose)(),
|
434
|
+
(0, class_transformer_1.Type)(() => Post),
|
435
|
+
__metadata("design:type", Array)
|
436
|
+
], Post.prototype, "collection", void 0);
|
437
|
+
__decorate([
|
438
|
+
(0, class_transformer_1.Expose)(),
|
439
|
+
(0, class_transformer_1.Type)(() => gallery_1.GalleryItem),
|
440
|
+
__metadata("design:type", Array)
|
441
|
+
], Post.prototype, "gallery", void 0);
|
533
442
|
__decorate([
|
534
443
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
535
444
|
__metadata("design:type", Function),
|
package/lib/models/post.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.js","sourceRoot":"","sources":["../../src/models/post.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAE5D,qCAAkC;AAClC,2CAAwC;AACxC,mCAAgC;AAChC,oCAAqE;AACrE,uCAAwC;AACxC,yCAAsC;AACtC,iCAA8B;AAC9B,q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AE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;8CAqD7B;AAQD;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;4CAgB7B"}
|
@@ -7,14 +7,15 @@ export declare class Promotion {
|
|
7
7
|
imageUrl: string;
|
8
8
|
feedUrl: string;
|
9
9
|
url: string;
|
10
|
+
status: StatusType;
|
10
11
|
startDate: Date;
|
11
12
|
endDate: Date;
|
12
|
-
status: StatusType;
|
13
13
|
label: StatusLabel;
|
14
14
|
metricSeen: Metric;
|
15
15
|
metricOpens: Metric;
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
statusChanged: Log;
|
17
|
+
published: Log;
|
18
|
+
created: Log;
|
19
|
+
updated: Log;
|
19
20
|
constructor(props?: Partial<Promotion>);
|
20
21
|
}
|
package/lib/models/promotion.js
CHANGED
@@ -21,15 +21,16 @@ class Promotion {
|
|
21
21
|
imageUrl;
|
22
22
|
feedUrl;
|
23
23
|
url;
|
24
|
+
status;
|
24
25
|
startDate;
|
25
26
|
endDate;
|
26
|
-
status;
|
27
27
|
label;
|
28
28
|
metricSeen;
|
29
29
|
metricOpens;
|
30
|
-
|
31
|
-
|
32
|
-
|
30
|
+
statusChanged;
|
31
|
+
published;
|
32
|
+
created;
|
33
|
+
updated;
|
33
34
|
constructor(props) {
|
34
35
|
Object.assign(this, props);
|
35
36
|
}
|
@@ -56,6 +57,10 @@ __decorate([
|
|
56
57
|
(0, class_transformer_1.Expose)(),
|
57
58
|
__metadata("design:type", String)
|
58
59
|
], Promotion.prototype, "url", void 0);
|
60
|
+
__decorate([
|
61
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
62
|
+
__metadata("design:type", String)
|
63
|
+
], Promotion.prototype, "status", void 0);
|
59
64
|
__decorate([
|
60
65
|
(0, class_transformer_1.Expose)(),
|
61
66
|
(0, class_transformer_1.Type)(() => Date),
|
@@ -66,10 +71,6 @@ __decorate([
|
|
66
71
|
(0, class_transformer_1.Type)(() => Date),
|
67
72
|
__metadata("design:type", Date)
|
68
73
|
], Promotion.prototype, "endDate", void 0);
|
69
|
-
__decorate([
|
70
|
-
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
71
|
-
__metadata("design:type", String)
|
72
|
-
], Promotion.prototype, "status", void 0);
|
73
74
|
__decorate([
|
74
75
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
75
76
|
__metadata("design:type", String)
|
@@ -77,28 +78,31 @@ __decorate([
|
|
77
78
|
__decorate([
|
78
79
|
(0, class_transformer_1.Expose)(),
|
79
80
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
80
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.seen(obj?.totalSeen, obj?.hasSeen)),
|
81
81
|
__metadata("design:type", metric_1.Metric)
|
82
82
|
], Promotion.prototype, "metricSeen", void 0);
|
83
83
|
__decorate([
|
84
84
|
(0, class_transformer_1.Expose)(),
|
85
85
|
(0, class_transformer_1.Type)(() => item_1.Item),
|
86
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.total('totalClicks', obj?.totalClicks, ['fas', 'computer-mouse'])),
|
87
86
|
__metadata("design:type", metric_1.Metric)
|
88
87
|
], Promotion.prototype, "metricOpens", void 0);
|
89
88
|
__decorate([
|
90
89
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
91
90
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
92
91
|
__metadata("design:type", log_1.Log)
|
93
|
-
], Promotion.prototype, "
|
92
|
+
], Promotion.prototype, "statusChanged", void 0);
|
93
|
+
__decorate([
|
94
|
+
(0, class_transformer_1.Expose)(),
|
95
|
+
(0, class_transformer_1.Type)(() => log_1.Log),
|
96
|
+
__metadata("design:type", log_1.Log)
|
97
|
+
], Promotion.prototype, "published", void 0);
|
94
98
|
__decorate([
|
95
99
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
96
100
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
97
101
|
__metadata("design:type", log_1.Log)
|
98
|
-
], Promotion.prototype, "
|
102
|
+
], Promotion.prototype, "created", void 0);
|
99
103
|
__decorate([
|
100
|
-
(0, class_transformer_1.Expose)(),
|
104
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
101
105
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
102
106
|
__metadata("design:type", log_1.Log)
|
103
|
-
], Promotion.prototype, "
|
107
|
+
], Promotion.prototype, "updated", void 0);
|
104
108
|
//# sourceMappingURL=promotion.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"promotion.js","sourceRoot":"","sources":["../../src/models/promotion.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAmD;AACnD,iCAA8B;AAC9B,qCAAkC;AAClC,+BAA4B;AAM5B,MAAa,SAAS;IAIrB,EAAE,CAAS;IAKX,KAAK,CAAS;IAGd,QAAQ,CAAS;IAGjB,OAAO,CAAS;IAGhB,GAAG,CAAS;IAKZ,MAAM,CAAa;IAInB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAGd,KAAK,CAAc;IAMnB,UAAU,CAAS;IAInB,WAAW,CAAS;IAMpB,aAAa,CAAM;IAInB,SAAS,CAAM;IAIf,OAAO,CAAM;IAIb,OAAO,CAAM;IAEb,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnED,8BAmEC;AA/DA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACR;AAKX;IADC,IAAA,0BAAM,GAAE;;wCACK;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GAAG,EAAE,CAAC,SAAG,CAAC;8BACP,SAAG;0CAAC"}
|
@@ -13,9 +13,10 @@ export declare class Publisher {
|
|
13
13
|
publicVisibility: boolean;
|
14
14
|
metricPosts: Metric;
|
15
15
|
metricUsers: Metric;
|
16
|
-
|
17
|
-
|
18
|
-
|
16
|
+
invited: Log;
|
17
|
+
statusChanged: Log;
|
18
|
+
created: Log;
|
19
|
+
updated: Log;
|
19
20
|
constructor(props?: Partial<Publisher>);
|
20
21
|
isActive(): boolean;
|
21
22
|
isDisabled(): boolean;
|
package/lib/models/publisher.js
CHANGED
@@ -26,9 +26,10 @@ class Publisher {
|
|
26
26
|
publicVisibility;
|
27
27
|
metricPosts;
|
28
28
|
metricUsers;
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
invited;
|
30
|
+
statusChanged;
|
31
|
+
created;
|
32
|
+
updated;
|
32
33
|
constructor(props) {
|
33
34
|
Object.assign(this, props);
|
34
35
|
}
|
@@ -87,28 +88,31 @@ __decorate([
|
|
87
88
|
__decorate([
|
88
89
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
89
90
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
90
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.total('totalPosts', obj?.totalPosts, ['fas', 'book-open'])),
|
91
91
|
__metadata("design:type", metric_1.Metric)
|
92
92
|
], Publisher.prototype, "metricPosts", void 0);
|
93
93
|
__decorate([
|
94
94
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
95
95
|
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
96
|
-
(0, class_transformer_1.Transform)(({ obj }) => metric_1.Metric.total('totalUsers', obj?.totalUsers, ['fas', 'users'])),
|
97
96
|
__metadata("design:type", metric_1.Metric)
|
98
97
|
], Publisher.prototype, "metricUsers", void 0);
|
99
98
|
__decorate([
|
100
99
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
101
100
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
102
101
|
__metadata("design:type", log_1.Log)
|
103
|
-
], Publisher.prototype, "
|
102
|
+
], Publisher.prototype, "invited", void 0);
|
104
103
|
__decorate([
|
105
104
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
106
105
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
107
106
|
__metadata("design:type", log_1.Log)
|
108
|
-
], Publisher.prototype, "
|
107
|
+
], Publisher.prototype, "statusChanged", void 0);
|
109
108
|
__decorate([
|
110
109
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
111
110
|
(0, class_transformer_1.Type)(() => log_1.Log),
|
112
111
|
__metadata("design:type", log_1.Log)
|
113
|
-
], Publisher.prototype, "
|
112
|
+
], Publisher.prototype, "created", void 0);
|
113
|
+
__decorate([
|
114
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
115
|
+
(0, class_transformer_1.Type)(() => log_1.Log),
|
116
|
+
__metadata("design:type", log_1.Log)
|
117
|
+
], Publisher.prototype, "updated", void 0);
|
114
118
|
//# sourceMappingURL=publisher.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"publisher.js","sourceRoot":"","sources":["../../src/models/publisher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"publisher.js","sourceRoot":"","sources":["../../src/models/publisher.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAuD;AACvD,qCAAkC;AAClC,+BAA4B;AAG5B,MAAa,SAAS;IAIrB,EAAE,CAAS;IAKX,IAAI,CAAS;IAGb,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,GAAG,CAAS;IAGZ,IAAI,CAAS;IAKb,MAAM,CAAoB;IAG1B,gBAAgB,CAAa;IAI7B,gBAAgB,CAAU;IAM1B,WAAW,CAAS;IAIpB,WAAW,CAAS;IAMpB,OAAO,CAAM;IAIb,aAAa,CAAM;IAInB,OAAO,CAAM;IAIb,OAAO,CAAM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AAC;AAIpB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAM,CAAC;8BACN,eAAM;8CAAC;AAMpB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,SAAG,CAAC;8BACP,SAAG;0CAAC;AAIb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,SAAG,CAAC;8BACD,SAAG;gDAAC;AAInB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,SAAG,CAAC;8BACP,SAAG;0CAAC;AAIb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,SAAG,CAAC;8BACP,SAAG;0CAAC"}
|
package/lib/models/question.d.ts
CHANGED
@@ -7,38 +7,41 @@ import { Log } from './log';
|
|
7
7
|
export declare class Question {
|
8
8
|
id: number;
|
9
9
|
slug: string;
|
10
|
-
|
11
|
-
|
12
|
-
categories: Category[];
|
10
|
+
title: string;
|
11
|
+
question: string;
|
13
12
|
name: string;
|
14
13
|
email: string;
|
15
14
|
phone: string;
|
16
|
-
title: string;
|
17
|
-
question: string;
|
18
|
-
tags: string[];
|
19
15
|
status: StatusType;
|
20
16
|
private: boolean;
|
21
17
|
closed: boolean;
|
22
18
|
myQuestion: boolean;
|
23
|
-
|
24
|
-
|
19
|
+
metricSeen: Metric;
|
20
|
+
metricOpens: Metric;
|
25
21
|
metricLikes: Metric;
|
26
22
|
metricShares: Metric;
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
23
|
+
metricBookmarks: Metric;
|
24
|
+
metricComments: Metric;
|
25
|
+
attention: Log;
|
26
|
+
statusChanged: Log;
|
27
|
+
published: Log;
|
28
|
+
created: Log;
|
29
|
+
updated: Log;
|
30
|
+
deleted: Log;
|
31
|
+
user: User;
|
32
|
+
comments: QuestionComment[];
|
33
|
+
categories: Category[];
|
33
34
|
constructor(props?: Partial<Question>);
|
34
35
|
}
|
35
36
|
export declare class QuestionComment {
|
36
37
|
id: number;
|
37
|
-
question: Question;
|
38
38
|
author: Author;
|
39
|
+
question: Question;
|
39
40
|
comment: string;
|
40
41
|
status: StatusType;
|
41
|
-
|
42
|
-
|
42
|
+
published: Log;
|
43
|
+
statusChanged: Log;
|
44
|
+
created: Log;
|
45
|
+
updated: Log;
|
43
46
|
constructor(props?: Partial<QuestionComment>);
|
44
47
|
}
|