@intelact/bright 0.9.88 → 0.9.90
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/auth/sign.dto.d.ts +1 -1
- package/lib/auth/sign.dto.js.map +1 -1
- package/lib/author/author.model.d.ts +3 -3
- package/lib/author/author.model.js +9 -9
- package/lib/author/author.model.js.map +1 -1
- package/lib/boost/boost.model.d.ts +3 -3
- package/lib/boost/boost.model.js +9 -9
- package/lib/boost/boost.model.js.map +1 -1
- package/lib/brand/brand.model.d.ts +5 -5
- package/lib/brand/brand.model.js +7 -7
- package/lib/brand/brand.model.js.map +1 -1
- package/lib/category/category.model.d.ts +3 -3
- package/lib/category/category.model.js +9 -9
- package/lib/category/category.model.js.map +1 -1
- package/lib/collection/collection.model.d.ts +4 -4
- package/lib/collection/collection.model.js +12 -12
- package/lib/collection/collection.model.js.map +1 -1
- package/lib/common/bookmark.dto.d.ts +1 -1
- package/lib/common/bookmark.dto.js +2 -0
- package/lib/common/bookmark.dto.js.map +1 -1
- package/lib/common/browse.dto.d.ts +1 -1
- package/lib/common/browse.dto.js +2 -2
- package/lib/common/browse.dto.js.map +1 -1
- package/lib/common/search.dto.d.ts +1 -1
- package/lib/common/search.dto.js +2 -2
- package/lib/common/search.dto.js.map +1 -1
- package/lib/feedback/feedback-item.model.d.ts +1 -1
- package/lib/feedback/feedback-item.model.js +5 -5
- package/lib/feedback/feedback-item.model.js.map +1 -1
- package/lib/feedback/feedback.dto.d.ts +1 -1
- package/lib/feedback/feedback.dto.js +2 -2
- package/lib/feedback/feedback.dto.js.map +1 -1
- package/lib/feedback/feedback.model.d.ts +3 -3
- package/lib/feedback/feedback.model.js +10 -9
- package/lib/feedback/feedback.model.js.map +1 -1
- package/lib/item/item.model.d.ts +1 -1
- package/lib/link/link.model.d.ts +2 -1
- package/lib/link/link.model.js.map +1 -1
- package/lib/log/log.model.d.ts +1 -1
- package/lib/metric/metric.data.d.ts +10 -1
- package/lib/metric/metric.model.d.ts +1 -1
- package/lib/metric/metric.model.js +37 -37
- package/lib/metric/metric.model.js.map +1 -1
- package/lib/popularity/popularity.model.d.ts +1 -1
- package/lib/popularity/popularity.model.js +8 -8
- package/lib/popularity/popularity.model.js.map +1 -1
- package/lib/post/post.dto.d.ts +2 -1
- package/lib/post/post.dto.js +6 -5
- package/lib/post/post.dto.js.map +1 -1
- package/lib/post/post.model.d.ts +9 -9
- package/lib/post/post.model.js +37 -37
- package/lib/post/post.model.js.map +1 -1
- package/lib/promotion/promotion.model.d.ts +4 -3
- package/lib/promotion/promotion.model.js +13 -12
- package/lib/promotion/promotion.model.js.map +1 -1
- package/lib/publisher/publisher.dto.d.ts +1 -1
- package/lib/publisher/publisher.dto.js +3 -3
- package/lib/publisher/publisher.dto.js.map +1 -1
- package/lib/publisher/publisher.model.d.ts +4 -4
- package/lib/publisher/publisher.model.js +15 -15
- package/lib/publisher/publisher.model.js.map +1 -1
- package/lib/question/comment.model.d.ts +3 -3
- package/lib/question/comment.model.js +13 -13
- package/lib/question/comment.model.js.map +1 -1
- package/lib/question/question.model.d.ts +4 -4
- package/lib/question/question.model.js +18 -18
- package/lib/question/question.model.js.map +1 -1
- package/lib/quote/quote.model.d.ts +1 -1
- package/lib/quote/quote.model.js +3 -3
- package/lib/quote/quote.model.js.map +1 -1
- package/lib/social/social-user.dto.d.ts +1 -1
- package/lib/social/social.provider.d.ts +0 -1
- package/lib/social/social.provider.js +0 -1
- package/lib/social/social.provider.js.map +1 -1
- package/lib/survey/survey-item.model.d.ts +1 -1
- package/lib/survey/survey-item.model.js +5 -5
- package/lib/survey/survey-item.model.js.map +1 -1
- package/lib/survey/survey.model.d.ts +4 -3
- package/lib/survey/survey.model.js +13 -12
- package/lib/survey/survey.model.js.map +1 -1
- package/lib/topic/topic.model.d.ts +4 -4
- package/lib/topic/topic.model.js +13 -13
- package/lib/topic/topic.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/user.dto.d.ts +1 -1
- package/lib/user/user.dto.js +3 -3
- package/lib/user/user.dto.js.map +1 -1
- package/lib/user/user.model.d.ts +8 -6
- package/lib/user/user.model.js +21 -18
- package/lib/user/user.model.js.map +1 -1
- package/package.json +1 -1
@@ -11,9 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.Feedback = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
-
const
|
15
|
-
const
|
16
|
-
const
|
14
|
+
const post_model_1 = require("../post/post.model");
|
15
|
+
const post_type_1 = require("../post/post.type");
|
16
|
+
const metric_model_1 = require("../metric/metric.model");
|
17
|
+
const user_model_1 = require("../user/user.model");
|
17
18
|
const feedback_item_model_1 = require("./feedback-item.model");
|
18
19
|
class Feedback {
|
19
20
|
id;
|
@@ -51,18 +52,18 @@ __decorate([
|
|
51
52
|
], Feedback.prototype, "description", void 0);
|
52
53
|
__decorate([
|
53
54
|
(0, class_transformer_1.Expose)(),
|
54
|
-
(0, class_transformer_1.Transform)(({ obj }) =>
|
55
|
+
(0, class_transformer_1.Transform)(({ obj }) => post_model_1.Post.getIcon(obj?.type, true)),
|
55
56
|
__metadata("design:type", String)
|
56
57
|
], Feedback.prototype, "icon", void 0);
|
57
58
|
__decorate([
|
58
59
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
59
|
-
(0, class_transformer_1.Type)(() =>
|
60
|
+
(0, class_transformer_1.Type)(() => metric_model_1.Metric),
|
60
61
|
__metadata("design:type", Array)
|
61
62
|
], Feedback.prototype, "metrics", void 0);
|
62
63
|
__decorate([
|
63
64
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
64
|
-
(0, class_transformer_1.Type)(() =>
|
65
|
-
__metadata("design:type",
|
65
|
+
(0, class_transformer_1.Type)(() => user_model_1.User),
|
66
|
+
__metadata("design:type", user_model_1.User)
|
66
67
|
], Feedback.prototype, "createdBy", void 0);
|
67
68
|
__decorate([
|
68
69
|
(0, class_transformer_1.Expose)(),
|
@@ -71,8 +72,8 @@ __decorate([
|
|
71
72
|
], Feedback.prototype, "createdOn", void 0);
|
72
73
|
__decorate([
|
73
74
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
74
|
-
(0, class_transformer_1.Type)(() =>
|
75
|
-
__metadata("design:type",
|
75
|
+
(0, class_transformer_1.Type)(() => user_model_1.User),
|
76
|
+
__metadata("design:type", user_model_1.User)
|
76
77
|
], Feedback.prototype, "updatedBy", void 0);
|
77
78
|
__decorate([
|
78
79
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAC5D,
|
1
|
+
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAC5D,mDAA0C;AAC1C,iDAA6C;AAC7C,yDAAgD;AAChD,mDAA0C;AAC1C,+DAAqD;AAErD,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAGX,IAAI,CAAW;IAKf,KAAK,CAAS;IAGd,WAAW,CAAQ;IAInB,IAAI,CAAS;IAab,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAMhB,KAAK,CAAiB;IAEtB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7DD,4BA6DC;AAzDA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACR;AAGX;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;sCACf;AAKf;IADC,IAAA,0BAAM,GAAE;;uCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACU;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,6BAAS,EAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,iBAAI,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;;sCACzC;AAab;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAM,CAAC;;yCACD;AAMlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACN,iBAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACN,iBAAI;2CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;2CAAC;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAY,CAAC;;uCACH"}
|
package/lib/item/item.model.d.ts
CHANGED
package/lib/link/link.model.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
2
|
-
import {
|
2
|
+
import { Role } from "../security/role";
|
3
|
+
import { Permission } from "../security/permissions";
|
3
4
|
export declare class Link {
|
4
5
|
id?: string;
|
5
6
|
title?: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/link/link.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;
|
1
|
+
{"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/link/link.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AASzC,MAAa,IAAI;IAIhB,EAAE,CAAU;IAKZ,KAAK,CAAU;IAKf,IAAI,CAAY;IAKhB,QAAQ,CAAO;IAKf,KAAK,CAAU;IAKf,GAAG,CAAU;IAKb,IAAI,CAAU;IAMd,MAAM,CAAW;IAOjB,UAAU,CAAU;IAKpB,WAAW,CAAgB;IAK3B,KAAK,CAAU;IAEf,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9DD,oBA8DC;AAtBA;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;oCACH"}
|
package/lib/log/log.model.d.ts
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
export interface IMetricData {
|
2
|
-
id
|
2
|
+
id?: number;
|
3
|
+
slug?: number;
|
3
4
|
totalOpens?: number;
|
4
5
|
totalLikes?: number;
|
5
6
|
totalShares?: number;
|
@@ -13,4 +14,12 @@ export interface IMetricData {
|
|
13
14
|
totalUsers?: number;
|
14
15
|
totalPosts?: number;
|
15
16
|
totalQuestions?: number;
|
17
|
+
isOpened?: boolean;
|
18
|
+
isBookmarked?: boolean;
|
19
|
+
isLiked?: boolean;
|
20
|
+
isShared?: boolean;
|
21
|
+
isDownloaded?: boolean;
|
22
|
+
isStarted?: boolean;
|
23
|
+
isCompleted?: boolean;
|
24
|
+
isRejected?: boolean;
|
16
25
|
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
2
|
-
import { UserEvent } from "../user";
|
2
|
+
import { UserEvent } from "../user/user.event";
|
3
3
|
import { IMetricData } from "./metric.data";
|
4
4
|
import { MetricType } from "./metric.type";
|
5
5
|
export declare class Metric {
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.Metric = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
|
-
const
|
14
|
+
const user_event_1 = require("../user/user.event");
|
15
15
|
const metric_type_1 = require("./metric.type");
|
16
16
|
class Metric {
|
17
17
|
name;
|
@@ -27,9 +27,9 @@ class Metric {
|
|
27
27
|
static open(val, active) {
|
28
28
|
return new Metric({
|
29
29
|
title: 'userEventOpen',
|
30
|
-
event:
|
31
|
-
icon: Metric.getIconByType(
|
32
|
-
iconActive: Metric.getIconByType(
|
30
|
+
event: user_event_1.UserEvent.Open,
|
31
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Open),
|
32
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Open, true),
|
33
33
|
value: val || 0,
|
34
34
|
active: active
|
35
35
|
});
|
@@ -37,9 +37,9 @@ class Metric {
|
|
37
37
|
static like(val, active) {
|
38
38
|
return new Metric({
|
39
39
|
title: 'userEventLike',
|
40
|
-
event:
|
41
|
-
icon: Metric.getIconByType(
|
42
|
-
iconActive: Metric.getIconByType(
|
40
|
+
event: user_event_1.UserEvent.Like,
|
41
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Like),
|
42
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Like, true),
|
43
43
|
value: val || 0,
|
44
44
|
active: active
|
45
45
|
});
|
@@ -47,9 +47,9 @@ class Metric {
|
|
47
47
|
static bookmark(val, active) {
|
48
48
|
return new Metric({
|
49
49
|
title: 'userEventBookmark',
|
50
|
-
event:
|
51
|
-
icon: Metric.getIconByType(
|
52
|
-
iconActive: Metric.getIconByType(
|
50
|
+
event: user_event_1.UserEvent.Bookmark,
|
51
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Bookmark),
|
52
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Bookmark, true),
|
53
53
|
value: val || 0,
|
54
54
|
active: active
|
55
55
|
});
|
@@ -57,9 +57,9 @@ class Metric {
|
|
57
57
|
static share(val, active) {
|
58
58
|
return new Metric({
|
59
59
|
title: 'userEventShare',
|
60
|
-
event:
|
61
|
-
icon: Metric.getIconByType(
|
62
|
-
iconActive: Metric.getIconByType(
|
60
|
+
event: user_event_1.UserEvent.Share,
|
61
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Share),
|
62
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Share, true),
|
63
63
|
value: val || 0,
|
64
64
|
active: active
|
65
65
|
});
|
@@ -67,9 +67,9 @@ class Metric {
|
|
67
67
|
static download(val, active) {
|
68
68
|
return new Metric({
|
69
69
|
title: 'userEventDownload',
|
70
|
-
event:
|
71
|
-
icon: Metric.getIconByType(
|
72
|
-
iconActive: Metric.getIconByType(
|
70
|
+
event: user_event_1.UserEvent.Download,
|
71
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Download),
|
72
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Download, true),
|
73
73
|
value: val || 0,
|
74
74
|
active: active
|
75
75
|
});
|
@@ -77,9 +77,9 @@ class Metric {
|
|
77
77
|
static feedback(val, active) {
|
78
78
|
return new Metric({
|
79
79
|
title: 'userEventFeedback',
|
80
|
-
event:
|
81
|
-
icon: Metric.getIconByType(
|
82
|
-
iconActive: Metric.getIconByType(
|
80
|
+
event: user_event_1.UserEvent.Feedback,
|
81
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Feedback),
|
82
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Feedback, true),
|
83
83
|
value: val || 0,
|
84
84
|
active: active
|
85
85
|
});
|
@@ -87,9 +87,9 @@ class Metric {
|
|
87
87
|
static start(val, active) {
|
88
88
|
return new Metric({
|
89
89
|
title: 'userEventStart',
|
90
|
-
event:
|
91
|
-
icon: Metric.getIconByType(
|
92
|
-
iconActive: Metric.getIconByType(
|
90
|
+
event: user_event_1.UserEvent.Start,
|
91
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Start),
|
92
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Start, true),
|
93
93
|
value: val || 0,
|
94
94
|
active: active
|
95
95
|
});
|
@@ -97,9 +97,9 @@ class Metric {
|
|
97
97
|
static complete(val, active) {
|
98
98
|
return new Metric({
|
99
99
|
title: 'userEventComplete',
|
100
|
-
event:
|
101
|
-
icon: Metric.getIconByType(
|
102
|
-
iconActive: Metric.getIconByType(
|
100
|
+
event: user_event_1.UserEvent.Complete,
|
101
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Complete),
|
102
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Complete, true),
|
103
103
|
value: val || 0,
|
104
104
|
active: active
|
105
105
|
});
|
@@ -107,9 +107,9 @@ class Metric {
|
|
107
107
|
static reject(val, active) {
|
108
108
|
return new Metric({
|
109
109
|
title: 'userEventReject',
|
110
|
-
event:
|
111
|
-
icon: Metric.getIconByType(
|
112
|
-
iconActive: Metric.getIconByType(
|
110
|
+
event: user_event_1.UserEvent.Reject,
|
111
|
+
icon: Metric.getIconByType(user_event_1.UserEvent.Reject),
|
112
|
+
iconActive: Metric.getIconByType(user_event_1.UserEvent.Reject, true),
|
113
113
|
value: val || 0,
|
114
114
|
active: active
|
115
115
|
});
|
@@ -271,23 +271,23 @@ class Metric {
|
|
271
271
|
}
|
272
272
|
static getIconByType(metricType, active) {
|
273
273
|
switch (metricType) {
|
274
|
-
case
|
274
|
+
case user_event_1.UserEvent.Open:
|
275
275
|
return active ? ['fas', 'eye'] : ['fas', 'eye'];
|
276
|
-
case
|
276
|
+
case user_event_1.UserEvent.Like:
|
277
277
|
return active ? ['fas', 'heart'] : ['far', 'heart'];
|
278
|
-
case
|
278
|
+
case user_event_1.UserEvent.Bookmark:
|
279
279
|
return active ? ['fas', 'bookmark'] : ['far', 'bookmark'];
|
280
|
-
case
|
280
|
+
case user_event_1.UserEvent.Share:
|
281
281
|
return active ? ['fas', 'share-from-square'] : ['far', 'share-from-square'];
|
282
|
-
case
|
282
|
+
case user_event_1.UserEvent.Download:
|
283
283
|
return active ? ['fas', 'download'] : ['fas', 'download'];
|
284
|
-
case
|
284
|
+
case user_event_1.UserEvent.Feedback:
|
285
285
|
return active ? ['fas', 'comments'] : ['far', 'comments'];
|
286
|
-
case
|
286
|
+
case user_event_1.UserEvent.Start:
|
287
287
|
return active ? ['fas', 'flag'] : ['fas', 'flag'];
|
288
|
-
case
|
288
|
+
case user_event_1.UserEvent.Complete:
|
289
289
|
return active ? ['fas', 'thumbs-up'] : ['fas', 'thumbs-up'];
|
290
|
-
case
|
290
|
+
case user_event_1.UserEvent.Reject:
|
291
291
|
return active ? ['fas', 'hand'] : ['fas', 'hand'];
|
292
292
|
case metric_type_1.MetricType.Items:
|
293
293
|
return active ? ['fas', 'list'] : ['fas', 'list'];
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metric.model.js","sourceRoot":"","sources":["../../src/metric/metric.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAA4D;AAC5D,kCAAoC;AAEpC,+CAA2C;AAG3C,MAAa,MAAM;IAGlB,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,KAAK,CAAyB;IAI9B,KAAK,CAAS;IAId,MAAM,CAAU;IAIhB,IAAI,CAAW;IAIf,UAAU,CAAW;IAErB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,MAAM,CAAC,IAAI,CAAC,GAAW,EAAE,MAAgB;QACxC,OAAO,IAAI,MAAM,CAAC;YACjB,KAAK,EAAE,eAAe;YACtB,KAAK,EAAE,gBAAS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,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;;0CACzC"}
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Popularity = void 0;
|
13
13
|
const class_transformer_1 = require("class-transformer");
|
14
14
|
const popularity_rate_1 = require("./popularity.rate");
|
15
|
-
const
|
15
|
+
const context_enum_1 = require("../ui/context.enum");
|
16
16
|
class Popularity {
|
17
17
|
rate;
|
18
18
|
weight;
|
@@ -25,49 +25,49 @@ class Popularity {
|
|
25
25
|
return new Popularity({
|
26
26
|
rate: popularity_rate_1.PopularityRate.Poor,
|
27
27
|
weight: 0,
|
28
|
-
context:
|
28
|
+
context: context_enum_1.Context.Light
|
29
29
|
});
|
30
30
|
}
|
31
31
|
if (weight < 1.9999) {
|
32
32
|
return new Popularity({
|
33
33
|
rate: popularity_rate_1.PopularityRate.Poor,
|
34
34
|
weight: weight,
|
35
|
-
context:
|
35
|
+
context: context_enum_1.Context.Secondary
|
36
36
|
});
|
37
37
|
}
|
38
38
|
if (weight >= 2 && weight < 3.9999) {
|
39
39
|
return new Popularity({
|
40
40
|
rate: popularity_rate_1.PopularityRate.Week,
|
41
41
|
weight: weight,
|
42
|
-
context:
|
42
|
+
context: context_enum_1.Context.Dark
|
43
43
|
});
|
44
44
|
}
|
45
45
|
if (weight >= 4 && weight < 5.9999) {
|
46
46
|
return new Popularity({
|
47
47
|
rate: popularity_rate_1.PopularityRate.Fair,
|
48
48
|
weight: weight,
|
49
|
-
context:
|
49
|
+
context: context_enum_1.Context.Primary
|
50
50
|
});
|
51
51
|
}
|
52
52
|
if (weight >= 6 && weight < 7.9999) {
|
53
53
|
return new Popularity({
|
54
54
|
rate: popularity_rate_1.PopularityRate.Great,
|
55
55
|
weight: weight,
|
56
|
-
context:
|
56
|
+
context: context_enum_1.Context.Info
|
57
57
|
});
|
58
58
|
}
|
59
59
|
if (weight >= 8 && weight < 8.9999) {
|
60
60
|
return new Popularity({
|
61
61
|
rate: popularity_rate_1.PopularityRate.Excellent,
|
62
62
|
weight: weight,
|
63
|
-
context:
|
63
|
+
context: context_enum_1.Context.Success
|
64
64
|
});
|
65
65
|
}
|
66
66
|
if (weight >= 9 && weight <= 10) {
|
67
67
|
return new Popularity({
|
68
68
|
rate: popularity_rate_1.PopularityRate.Exceptional,
|
69
69
|
weight: weight,
|
70
|
-
context:
|
70
|
+
context: context_enum_1.Context.Danger
|
71
71
|
});
|
72
72
|
}
|
73
73
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"popularity.model.js","sourceRoot":"","sources":["../../src/popularity/popularity.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uDAAmD;AACnD,
|
1
|
+
{"version":3,"file":"popularity.model.js","sourceRoot":"","sources":["../../src/popularity/popularity.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,uDAAmD;AACnD,qDAA6C;AAG7C,MAAa,UAAU;IAGtB,IAAI,CAAiB;IAIrB,MAAM,CAAS;IAGf,OAAO,CAAU;IAEjB,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAGM,AAAP,MAAM,CAAC,GAAG,CAAC,MAAc;QAExB,IAAI,CAAC,MAAM,EAAE,CAAC;YACb,OAAO,IAAI,UAAU,CAAC;gBACrB,IAAI,EAAE,gCAAc,CAAC,IAAI;gBACzB,MAAM,EAAE,CAAC;gBACT,OAAO,EAAE,sBAAO,CAAC,KAAK;aACtB,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;YACrB,OAAO,IAAI,UAAU,CAAC;gBACrB,IAAI,EAAE,gCAAc,CAAC,IAAI;gBACzB,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,sBAAO,CAAC,SAAS;aAC1B,CAAC,CAAC;QACJ,CAA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GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACJ;AAGf;IADC,IAAA,0BAAM,GAAE;;2CACQ;AAOV;IADN,IAAA,0BAAM,GAAE;;;oCACmB,UAAU;2BAyDrC"}
|
package/lib/post/post.dto.d.ts
CHANGED
package/lib/post/post.dto.js
CHANGED
@@ -11,7 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.PostAuthorDto = exports.CreatePostDto = exports.PostAdminParamsDto = exports.PostParamsDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
const
|
14
|
+
const sort_type_1 = require("../common/sort.type");
|
15
|
+
const status_type_1 = require("../common/status.type");
|
15
16
|
const post_type_1 = require("./post.type");
|
16
17
|
class PostParamsDto {
|
17
18
|
type;
|
@@ -29,7 +30,7 @@ __decorate([
|
|
29
30
|
], PostParamsDto.prototype, "type", void 0);
|
30
31
|
__decorate([
|
31
32
|
(0, class_validator_1.IsOptional)(),
|
32
|
-
(0, class_validator_1.IsEnum)(
|
33
|
+
(0, class_validator_1.IsEnum)(status_type_1.StatusType),
|
33
34
|
__metadata("design:type", String)
|
34
35
|
], PostParamsDto.prototype, "status", void 0);
|
35
36
|
__decorate([
|
@@ -39,7 +40,7 @@ __decorate([
|
|
39
40
|
], PostParamsDto.prototype, "term", void 0);
|
40
41
|
__decorate([
|
41
42
|
(0, class_validator_1.IsOptional)(),
|
42
|
-
(0, class_validator_1.IsEnum)(
|
43
|
+
(0, class_validator_1.IsEnum)(sort_type_1.SortType),
|
43
44
|
__metadata("design:type", String)
|
44
45
|
], PostParamsDto.prototype, "sort", void 0);
|
45
46
|
__decorate([
|
@@ -67,7 +68,7 @@ __decorate([
|
|
67
68
|
], PostAdminParamsDto.prototype, "types", void 0);
|
68
69
|
__decorate([
|
69
70
|
(0, class_validator_1.IsOptional)(),
|
70
|
-
(0, class_validator_1.IsEnum)(
|
71
|
+
(0, class_validator_1.IsEnum)(status_type_1.StatusType),
|
71
72
|
__metadata("design:type", Array)
|
72
73
|
], PostAdminParamsDto.prototype, "statuses", void 0);
|
73
74
|
__decorate([
|
@@ -77,7 +78,7 @@ __decorate([
|
|
77
78
|
], PostAdminParamsDto.prototype, "term", void 0);
|
78
79
|
__decorate([
|
79
80
|
(0, class_validator_1.IsOptional)(),
|
80
|
-
(0, class_validator_1.IsEnum)(
|
81
|
+
(0, class_validator_1.IsEnum)(sort_type_1.SortType),
|
81
82
|
__metadata("design:type", String)
|
82
83
|
], PostAdminParamsDto.prototype, "sort", void 0);
|
83
84
|
__decorate([
|
package/lib/post/post.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.dto.js","sourceRoot":"","sources":["../../src/post/post.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AACrF,
|
1
|
+
{"version":3,"file":"post.dto.js","sourceRoot":"","sources":["../../src/post/post.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqF;AACrF,mDAA+C;AAC/C,uDAAmD;AACnD,2CAAuC;AAEvC,MAAa,aAAa;IAIzB,IAAI,CAAW;IAIf,MAAM,CAAa;IAInB,IAAI,CAAS;IAIb,IAAI,CAAW;IAGf,MAAM,CAAW;IAGjB,OAAO,CAAW;CAClB;AAvBD,sCAuBC;AAnBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACF;AAIf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,wBAAU,CAAC;;6CACA;AAInB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;6CACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;8CACK;AAGnB,MAAa,kBAAkB;IAI9B,KAAK,CAAa;IAIlB,QAAQ,CAAe;IAIvB,IAAI,CAAS;IAIb,IAAI,CAAW;IAGf,MAAM,CAAW;IAGjB,OAAO,CAAW;IAGlB,UAAU,CAAW;CACrB;AA1BD,gDA0BC;AAtBA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;iDACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,wBAAU,CAAC;;oDACI;AAIvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;gDACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;mDACK;AAGlB;IADC,IAAA,4BAAU,GAAE;;sDACQ;AAGtB,MAAa,aAAa;IAGzB,KAAK,CAAS;IAId,IAAI,CAAW;CACf;AARD,sCAQC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;2CACF;AAGhB,MAAa,aAAa;IAGzB,MAAM,CAAS;CACf;AAJD,sCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACI"}
|
package/lib/post/post.model.d.ts
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
2
2
|
import { User } from '../user/user.model';
|
3
|
-
import { Author } from '../author';
|
4
|
-
import { Publisher } from '../publisher';
|
5
|
-
import { Topic } from '../topic';
|
6
|
-
import { GalleryItem } from '../gallery';
|
7
|
-
import { Feedback } from '../feedback';
|
3
|
+
import { Author } from '../author/author.model';
|
4
|
+
import { Publisher } from '../publisher/publisher.model';
|
5
|
+
import { Topic } from '../topic/topic.model';
|
6
|
+
import { GalleryItem } from '../gallery/gallery.model';
|
7
|
+
import { Feedback } from '../feedback/feedback.model';
|
8
8
|
import { Item } from '../item/item.model';
|
9
|
-
import { Metric } from '../metric';
|
10
|
-
import { StatusType } from '../common';
|
9
|
+
import { Metric } from '../metric/metric.model';
|
10
|
+
import { StatusType } from '../common/status.type';
|
11
11
|
import { PostType } from './post.type';
|
12
|
-
import { Context } from '../ui';
|
13
|
-
import { Popularity } from '../popularity';
|
12
|
+
import { Context } from '../ui/context.enum';
|
13
|
+
import { Popularity } from '../popularity/popularity.model';
|
14
14
|
import { IPostAdditionals } from './post.additionals';
|
15
15
|
export declare class Post {
|
16
16
|
id: number;
|