@intelact/bright 0.9.159 → 0.9.161
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/auth/sign.dto.d.ts +2 -1
- package/lib/auth/sign.dto.js +12 -6
- package/lib/auth/sign.dto.js.map +1 -1
- package/lib/author/author.model.d.ts +1 -0
- package/lib/author/author.model.js +9 -0
- package/lib/author/author.model.js.map +1 -1
- package/lib/boost/boost.model.d.ts +1 -0
- package/lib/boost/boost.model.js +12 -2
- package/lib/boost/boost.model.js.map +1 -1
- package/lib/brand/brand.model.d.ts +1 -0
- package/lib/brand/brand.model.js +9 -0
- package/lib/brand/brand.model.js.map +1 -1
- package/lib/category/category.model.d.ts +1 -0
- package/lib/category/category.model.js +9 -0
- package/lib/category/category.model.js.map +1 -1
- package/lib/collection/collection.model.d.ts +1 -0
- package/lib/collection/collection.model.js +9 -0
- package/lib/collection/collection.model.js.map +1 -1
- package/lib/feedback/feedback-item.model.d.ts +1 -0
- package/lib/feedback/feedback-item.model.js +9 -0
- package/lib/feedback/feedback-item.model.js.map +1 -1
- package/lib/feedback/feedback-option.model.d.ts +1 -0
- package/lib/feedback/feedback-option.model.js +9 -0
- package/lib/feedback/feedback-option.model.js.map +1 -1
- package/lib/feedback/feedback.model.d.ts +1 -0
- package/lib/feedback/feedback.model.js +9 -0
- package/lib/feedback/feedback.model.js.map +1 -1
- package/lib/gallery/gallery.model.d.ts +1 -0
- package/lib/gallery/gallery.model.js +9 -0
- package/lib/gallery/gallery.model.js.map +1 -1
- package/lib/metric/metric.model.d.ts +1 -0
- package/lib/metric/metric.model.js +9 -0
- package/lib/metric/metric.model.js.map +1 -1
- package/lib/notification/notification.model.d.ts +1 -0
- package/lib/notification/notification.model.js +9 -0
- package/lib/notification/notification.model.js.map +1 -1
- package/lib/popularity/popularity.model.d.ts +1 -0
- package/lib/popularity/popularity.model.js +9 -0
- package/lib/popularity/popularity.model.js.map +1 -1
- package/lib/post/post.model.d.ts +2 -1
- package/lib/post/post.model.js +9 -0
- package/lib/post/post.model.js.map +1 -1
- package/lib/promotion/promotion.model.d.ts +1 -0
- package/lib/promotion/promotion.model.js +9 -0
- package/lib/promotion/promotion.model.js.map +1 -1
- package/lib/publisher/publisher.model.d.ts +2 -0
- package/lib/publisher/publisher.model.js +15 -0
- package/lib/publisher/publisher.model.js.map +1 -1
- package/lib/question/comment.model.d.ts +1 -0
- package/lib/question/comment.model.js +9 -0
- package/lib/question/comment.model.js.map +1 -1
- package/lib/question/question.model.d.ts +1 -0
- package/lib/question/question.model.js +9 -0
- package/lib/question/question.model.js.map +1 -1
- package/lib/report/report.model.d.ts +1 -0
- package/lib/report/report.model.js +9 -0
- package/lib/report/report.model.js.map +1 -1
- package/lib/survey/survey-item.model.d.ts +1 -0
- package/lib/survey/survey-item.model.js +9 -0
- package/lib/survey/survey-item.model.js.map +1 -1
- package/lib/survey/survey-option.model.d.ts +1 -0
- package/lib/survey/survey-option.model.js +9 -0
- package/lib/survey/survey-option.model.js.map +1 -1
- package/lib/survey/survey.model.d.ts +1 -0
- package/lib/survey/survey.model.js +9 -0
- package/lib/survey/survey.model.js.map +1 -1
- package/lib/topic/topic.model.d.ts +1 -0
- package/lib/topic/topic.model.js +9 -0
- package/lib/topic/topic.model.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/user/user.model.d.ts +1 -0
- package/lib/user/user.model.js +9 -0
- package/lib/user/user.model.js.map +1 -1
- package/package.json +1 -1
package/lib/auth/sign.dto.d.ts
CHANGED
package/lib/auth/sign.dto.js
CHANGED
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.SignupUserDto = exports.SigninDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
class SigninDto {
|
15
15
|
email;
|
@@ -31,24 +31,30 @@ __decorate([
|
|
31
31
|
(0, class_validator_1.IsOptional)(),
|
32
32
|
__metadata("design:type", Object)
|
33
33
|
], SigninDto.prototype, "device", void 0);
|
34
|
-
class
|
34
|
+
class SignupUserDto {
|
35
35
|
email;
|
36
|
+
password;
|
36
37
|
token;
|
37
38
|
device;
|
38
39
|
}
|
39
|
-
exports.
|
40
|
+
exports.SignupUserDto = SignupUserDto;
|
40
41
|
__decorate([
|
41
42
|
(0, class_validator_1.IsNotEmpty)(),
|
42
43
|
(0, class_validator_1.IsEmail)(),
|
43
44
|
__metadata("design:type", String)
|
44
|
-
],
|
45
|
+
], SignupUserDto.prototype, "email", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
48
|
+
(0, class_validator_1.IsString)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], SignupUserDto.prototype, "password", void 0);
|
45
51
|
__decorate([
|
46
52
|
(0, class_validator_1.IsNotEmpty)(),
|
47
53
|
(0, class_validator_1.IsString)(),
|
48
54
|
__metadata("design:type", String)
|
49
|
-
],
|
55
|
+
], SignupUserDto.prototype, "token", void 0);
|
50
56
|
__decorate([
|
51
57
|
(0, class_validator_1.IsOptional)(),
|
52
58
|
__metadata("design:type", Object)
|
53
|
-
],
|
59
|
+
], SignupUserDto.prototype, "device", void 0);
|
54
60
|
//# sourceMappingURL=sign.dto.js.map
|
package/lib/auth/sign.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sign.dto.js","sourceRoot":"","sources":["../../src/auth/sign.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAQ5E,MAAa,SAAS;IAIrB,KAAK,CAAS;IAId,QAAQ,CAAS;IAGjB,MAAM,CAAsB;CAC5B;AAZD,8BAYC;AARA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;wCACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACM;AAGjB;IADC,IAAA,4BAAU,GAAE;;yCACe;AAS7B,MAAa,
|
1
|
+
{"version":3,"file":"sign.dto.js","sourceRoot":"","sources":["../../src/auth/sign.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA4E;AAQ5E,MAAa,SAAS;IAIrB,KAAK,CAAS;IAId,QAAQ,CAAS;IAGjB,MAAM,CAAsB;CAC5B;AAZD,8BAYC;AARA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;wCACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACM;AAGjB;IADC,IAAA,4BAAU,GAAE;;yCACe;AAS7B,MAAa,aAAa;IAIzB,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,KAAK,CAAS;IAGd,MAAM,CAAsB;CAC5B;AAhBD,sCAgBC;AAZA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;4CACI;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4CACG;AAGd;IADC,IAAA,4BAAU,GAAE;;6CACe"}
|
@@ -47,6 +47,9 @@ class Author {
|
|
47
47
|
value: i[key]
|
48
48
|
}));
|
49
49
|
}
|
50
|
+
static toInstance(data, groups = ['admin']) {
|
51
|
+
return data ? (0, class_transformer_1.plainToInstance)(Author, data, { groups: groups || [] }) : null;
|
52
|
+
}
|
50
53
|
}
|
51
54
|
exports.Author = Author;
|
52
55
|
__decorate([
|
@@ -105,4 +108,10 @@ __decorate([
|
|
105
108
|
(0, class_transformer_1.Type)(() => Date),
|
106
109
|
__metadata("design:type", Date)
|
107
110
|
], Author.prototype, "updatedOn", void 0);
|
111
|
+
__decorate([
|
112
|
+
(0, class_transformer_1.Expose)(),
|
113
|
+
__metadata("design:type", Function),
|
114
|
+
__metadata("design:paramtypes", [Object, Array]),
|
115
|
+
__metadata("design:returntype", void 0)
|
116
|
+
], Author, "toInstance", null);
|
108
117
|
//# sourceMappingURL=author.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"author.model.js","sourceRoot":"","sources":["../../src/author/author.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"author.model.js","sourceRoot":"","sources":["../../src/author/author.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,yDAAgD;AAChD,mDAA0C;AAC1C,sCAAuC;AACvC,0CAAuC;AACvC,kCAA+B;AAE/B,MAAa,MAAM;IAIlB,EAAE,CAAS;IAGX,IAAI,CAAS;IAKb,IAAI,CAAS;IAGb,SAAS,CAAS;IAGlB,QAAQ,CAAS;IAMjB,KAAK,CAAS;IAId,SAAS,CAAa;IAWtB,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,cAAc;QACjB,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,SAAS,CAAC,CAAC;IACjE,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAQD,MAAM,CAAC,UAAU,CAAC,IAAc,EAAE,MAAgB,IAAI;QACrD,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAG,CAAC;YAAE,OAAO,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,CAA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AI,CAAC;8BACN,IAAI;yCAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACN,iBAAI;yCAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;yCAAC;AA+BT;IADN,IAAA,0BAAM,GAAE;;;;8BAGR"}
|
package/lib/boost/boost.model.js
CHANGED
@@ -8,6 +8,7 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
|
|
8
8
|
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
|
+
var Boost_1;
|
11
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
13
|
exports.Boost = void 0;
|
13
14
|
const class_transformer_1 = require("class-transformer");
|
@@ -19,7 +20,7 @@ const metric_1 = require("../metric");
|
|
19
20
|
const user_1 = require("../user");
|
20
21
|
const item_1 = require("../item");
|
21
22
|
const ui_1 = require("../ui");
|
22
|
-
let Boost = class Boost {
|
23
|
+
let Boost = Boost_1 = class Boost {
|
23
24
|
id;
|
24
25
|
title;
|
25
26
|
items;
|
@@ -146,6 +147,9 @@ let Boost = class Boost {
|
|
146
147
|
? ui_1.Context.Dark
|
147
148
|
: ui_1.Context.Secondary;
|
148
149
|
}
|
150
|
+
static toInstance(data, groups = ['admin']) {
|
151
|
+
return data ? (0, class_transformer_1.plainToInstance)(Boost_1, data, { groups: groups || [] }) : null;
|
152
|
+
}
|
149
153
|
};
|
150
154
|
exports.Boost = Boost;
|
151
155
|
__decorate([
|
@@ -232,7 +236,13 @@ __decorate([
|
|
232
236
|
__metadata("design:type", String),
|
233
237
|
__metadata("design:paramtypes", [])
|
234
238
|
], Boost.prototype, "labelContext", null);
|
235
|
-
|
239
|
+
__decorate([
|
240
|
+
(0, class_transformer_1.Expose)(),
|
241
|
+
__metadata("design:type", Function),
|
242
|
+
__metadata("design:paramtypes", [Object, Array]),
|
243
|
+
__metadata("design:returntype", void 0)
|
244
|
+
], Boost, "toInstance", null);
|
245
|
+
exports.Boost = Boost = Boost_1 = __decorate([
|
236
246
|
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
237
247
|
__metadata("design:paramtypes", [Object])
|
238
248
|
], Boost);
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"boost.model.js","sourceRoot":"","sources":["../../src/boost/boost.model.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"boost.model.js","sourceRoot":"","sources":["../../src/boost/boost.model.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,yDAAgD;AAChD,mDAA0C;AAC1C,sCAAoD;AACpD,sCAAuC;AACvC,kCAAoC;AACpC,kCAA+B;AAC/B,8BAAgC;AAYzB,IAAM,KAAK,aAAX,MAAM,KAAK;IAIjB,EAAE,CAAS;IAKX,KAAK,CAAS;IAId,KAAK,CAAS;IAKd,MAAM,CAAa;IAGnB,KAAK,CAAc;IAInB,SAAS,CAAO;IAIhB,OAAO,CAAO;IAed,OAAO,CAAW;IAKlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAGhB,SAAS,CAAO;IAGhB,SAAS,CAAO;IAEhB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAID,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,SAAS;QACZ,OAAO,IAAI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AAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;qCAiE7B;AAMD;IAAC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;0CAG7B;AAMD;IAAC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;yCAW7B;AAGM;IADN,IAAA,0BAAM,GAAE;;;;6BAGR;gBA9OW,KAAK;IADjB,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;GACjB,KAAK,CA+OjB"}
|
package/lib/brand/brand.model.js
CHANGED
@@ -124,6 +124,9 @@ class Brand {
|
|
124
124
|
}
|
125
125
|
return;
|
126
126
|
}
|
127
|
+
static toInstance(data, groups = ['admin']) {
|
128
|
+
return data ? (0, class_transformer_1.plainToInstance)(Brand, data, { groups: groups || [] }) : null;
|
129
|
+
}
|
127
130
|
}
|
128
131
|
exports.Brand = Brand;
|
129
132
|
__decorate([
|
@@ -246,4 +249,10 @@ __decorate([
|
|
246
249
|
__metadata("design:paramtypes", [String]),
|
247
250
|
__metadata("design:returntype", Boolean)
|
248
251
|
], Brand.prototype, "isValidVideoProvider", null);
|
252
|
+
__decorate([
|
253
|
+
(0, class_transformer_1.Expose)(),
|
254
|
+
__metadata("design:type", Function),
|
255
|
+
__metadata("design:paramtypes", [Object, Array]),
|
256
|
+
__metadata("design:returntype", void 0)
|
257
|
+
], Brand, "toInstance", null);
|
249
258
|
//# sourceMappingURL=brand.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"brand.model.js","sourceRoot":"","sources":["../../src/brand/brand.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"brand.model.js","sourceRoot":"","sources":["../../src/brand/brand.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAIlE,+DAA2D;AAC3D,6DA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A,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACA;AAGpB;IADC,IAAA,0BAAM,GAAE;;yCACU;AAInB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACA;AAIpB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;wCAAC;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,kCAAY,CAAC;;uCACA;AAIzB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAS,CAAC;;yCACE;AAaxB;IADC,IAAA,0BAAM,GAAE;;;;gDA0BR;AASD;IADC,IAAA,0BAAM,GAAE;;;;2CA4BR;AASD;IADC,IAAA,0BAAM,GAAE;;;;0CAgBR;AAOD;IADC,IAAA,0BAAM,GAAE;;;;8CASR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;iDAmBR;AAOD;IADC,IAAA,0BAAM,GAAE;;;;8CASR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;iDAmBR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;6BAGR"}
|
@@ -56,6 +56,9 @@ class Category {
|
|
56
56
|
get totalDownloads() {
|
57
57
|
return this?.metrics?.find(i => i.event === user_1.UserEvent.Download);
|
58
58
|
}
|
59
|
+
static toInstance(data, groups = ['admin']) {
|
60
|
+
return data ? (0, class_transformer_1.plainToInstance)(Category, data, { groups: groups || [] }) : null;
|
61
|
+
}
|
59
62
|
}
|
60
63
|
exports.Category = Category;
|
61
64
|
__decorate([
|
@@ -105,4 +108,10 @@ __decorate([
|
|
105
108
|
(0, class_transformer_1.Type)(() => Date),
|
106
109
|
__metadata("design:type", Date)
|
107
110
|
], Category.prototype, "updatedOn", void 0);
|
111
|
+
__decorate([
|
112
|
+
(0, class_transformer_1.Expose)(),
|
113
|
+
__metadata("design:type", Function),
|
114
|
+
__metadata("design:paramtypes", [Object, Array]),
|
115
|
+
__metadata("design:returntype", void 0)
|
116
|
+
], Category, "toInstance", null);
|
108
117
|
//# sourceMappingURL=category.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../src/category/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"category.model.js","sourceRoot":"","sources":["../../src/category/category.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,yDAAgD;AAChD,mDAA0C;AAC1C,sCAAuC;AACvC,kCAAoC;AAGpC,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAKX,KAAK,CAAS;IAGd,IAAI,CAAS;IAGb,WAAW,CAAS;IAMpB,IAAI,CAAS;IAeb,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAQD,MAAM,CAAC,UAAU,CAAC,IAAgB,EAAE,MAAgB,IAAI;QACvD,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,KAAG,CAAC;YAAE,OAAO,EAAE,CAAC;QACxC,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI,iBAAI,CAAC;YAC7B,KAAK,EAAE,CAAC,CAAC,KAAK;YACd,KAAK,EAAE,CAAC,CAAC,GAAG,CAAC;SACb,CAAC,CAAC,CAAA;IACJ,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,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0BAAM,GAAE;;uCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;sCACI;AAGb;IADC,IAAA,0BAAM,GAAE;;6CACW;AAMpB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACN;AAeb;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;AA+CT;IADN,IAAA,0BAAM,GAAE;;;;gCAGR"}
|
@@ -48,6 +48,9 @@ class Collection {
|
|
48
48
|
get totalDownloads() {
|
49
49
|
return this?.metrics?.find(i => i.event === user_1.UserEvent.Download);
|
50
50
|
}
|
51
|
+
static toInstance(data, groups = ['admin']) {
|
52
|
+
return data ? (0, class_transformer_1.plainToInstance)(Collection, data, { groups: groups || [] }) : null;
|
53
|
+
}
|
51
54
|
}
|
52
55
|
exports.Collection = Collection;
|
53
56
|
__decorate([
|
@@ -94,4 +97,10 @@ __decorate([
|
|
94
97
|
(0, class_transformer_1.Type)(() => publisher_model_1.Publisher),
|
95
98
|
__metadata("design:type", publisher_model_1.Publisher)
|
96
99
|
], Collection.prototype, "publisher", void 0);
|
100
|
+
__decorate([
|
101
|
+
(0, class_transformer_1.Expose)(),
|
102
|
+
__metadata("design:type", Function),
|
103
|
+
__metadata("design:paramtypes", [Object, Array]),
|
104
|
+
__metadata("design:returntype", void 0)
|
105
|
+
], Collection, "toInstance", null);
|
97
106
|
//# sourceMappingURL=collection.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"collection.model.js","sourceRoot":"","sources":["../../src/collection/collection.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"collection.model.js","sourceRoot":"","sources":["../../src/collection/collection.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,kEAAyD;AACzD,yDAAgD;AAChD,mDAA0C;AAC1C,kCAAoC;AACpC,sCAAuC;AAEvC,MAAa,UAAU;IAItB,EAAE,CAAS;IAKX,KAAK,CAAS;IAId,KAAK,CAAS;IAgBd,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAMhB,SAAS,CAAY;IAErB,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,SAAS;QACZ,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC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yCACH;AAgBd;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,qBAAM,CAAC;;2CACD;AAMlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACN,iBAAI;6CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;6CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,iBAAI,CAAC;8BACN,iBAAI;6CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;6CAAC;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,2BAAS,CAAC;8BACX,2BAAS;6CAAC;AA+Bd;IADN,IAAA,0BAAM,GAAE;;;;kCAGR"}
|
@@ -28,6 +28,9 @@ class FeedbackItem {
|
|
28
28
|
constructor(props) {
|
29
29
|
Object.assign(this, props);
|
30
30
|
}
|
31
|
+
static toInstance(data, groups = ['admin']) {
|
32
|
+
return data ? (0, class_transformer_1.plainToInstance)(FeedbackItem, data, { groups: groups || [] }) : null;
|
33
|
+
}
|
31
34
|
}
|
32
35
|
exports.FeedbackItem = FeedbackItem;
|
33
36
|
__decorate([
|
@@ -84,4 +87,10 @@ __decorate([
|
|
84
87
|
(0, class_transformer_1.Type)(() => feedback_option_model_1.FeedbackOption),
|
85
88
|
__metadata("design:type", Array)
|
86
89
|
], FeedbackItem.prototype, "options", void 0);
|
90
|
+
__decorate([
|
91
|
+
(0, class_transformer_1.Expose)(),
|
92
|
+
__metadata("design:type", Function),
|
93
|
+
__metadata("design:paramtypes", [Object, Array]),
|
94
|
+
__metadata("design:returntype", void 0)
|
95
|
+
], FeedbackItem, "toInstance", null);
|
87
96
|
//# sourceMappingURL=feedback-item.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback-item.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"feedback-item.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,mEAAyD;AAGzD,MAAa,YAAY;IAIxB,EAAE,CAAS;IAKX,QAAQ,CAAS;IAMjB,QAAQ,CAAU;IAIlB,IAAI,CAAS;IAIb,SAAS,CAAU;IAInB,QAAQ,CAAU;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAMhB,OAAO,CAAmB;IAE1B,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAGM,AAAP,MAAM,CAAC,UAAU,CAAC,IAAS,EAAE,SAAmB,CAAC,OAAO,CAAC;QACxD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAA,mCAAe,EAAC,YAAY,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACpF,CAAC;CACD;AA7DD,oCA6DC;AAzDA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,E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AI,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;;6CACD;AAOnB;IADN,IAAA,0BAAM,GAAE;;;;oCAGR"}
|
@@ -19,6 +19,9 @@ class FeedbackOption {
|
|
19
19
|
constructor(props) {
|
20
20
|
Object.assign(this, props);
|
21
21
|
}
|
22
|
+
static toInstance(data, groups = ['admin']) {
|
23
|
+
return data ? (0, class_transformer_1.plainToInstance)(FeedbackOption, data, { groups: groups || [] }) : null;
|
24
|
+
}
|
22
25
|
}
|
23
26
|
exports.FeedbackOption = FeedbackOption;
|
24
27
|
__decorate([
|
@@ -40,4 +43,10 @@ __decorate([
|
|
40
43
|
(0, class_transformer_1.Type)(() => Boolean),
|
41
44
|
__metadata("design:type", Boolean)
|
42
45
|
], FeedbackOption.prototype, "isSelected", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, class_transformer_1.Expose)(),
|
48
|
+
__metadata("design:type", Function),
|
49
|
+
__metadata("design:paramtypes", [Object, Array]),
|
50
|
+
__metadata("design:returntype", void 0)
|
51
|
+
], FeedbackOption, "toInstance", null);
|
43
52
|
//# sourceMappingURL=feedback-option.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback-option.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-option.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"feedback-option.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-option.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAGlE,MAAa,cAAc;IAI1B,EAAE,CAAS;IAKX,OAAO,CAAS;IAMhB,IAAI,CAAS;IAIb,UAAU,CAAU;IAEpB,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAGM,AAAP,MAAM,CAAC,UAAU,CAAC,IAAS,EAAE,SAAmB,CAAC,OAAO,CAAC;QACxD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAA,mCAAe,EAAC,cAAc,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACtF,CAAC;CACD;AA7BD,wCA6BC;AAzBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACR;AAKX;IADC,IAAA,0BAAM,GAAE;;+CACO;AAMhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;4CACN;AAIb;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;kDACA;AAOb;IADN,IAAA,0BAAM,GAAE;;;;sCAGR"}
|
@@ -54,6 +54,9 @@ class Feedback {
|
|
54
54
|
value: i[key]
|
55
55
|
}));
|
56
56
|
}
|
57
|
+
static toInstance(data, groups = ['admin']) {
|
58
|
+
return data ? (0, class_transformer_1.plainToInstance)(Feedback, data, { groups: groups || [] }) : null;
|
59
|
+
}
|
57
60
|
}
|
58
61
|
exports.Feedback = Feedback;
|
59
62
|
__decorate([
|
@@ -108,4 +111,10 @@ __decorate([
|
|
108
111
|
(0, class_transformer_1.Type)(() => feedback_item_model_1.FeedbackItem),
|
109
112
|
__metadata("design:type", Array)
|
110
113
|
], Feedback.prototype, "items", void 0);
|
114
|
+
__decorate([
|
115
|
+
(0, class_transformer_1.Expose)(),
|
116
|
+
__metadata("design:type", Function),
|
117
|
+
__metadata("design:paramtypes", [Object, Array]),
|
118
|
+
__metadata("design:returntype", void 0)
|
119
|
+
], Feedback, "toInstance", null);
|
111
120
|
//# sourceMappingURL=feedback.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA6E;AAC7E,mDAA0C;AAC1C,iDAA6C;AAC7C,yDAAgD;AAChD,mDAA0C;AAC1C,+DAAqD;AACrD,sCAAuC;AACvC,kCAAoC;AACpC,kCAA+B;AAE/B,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;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,gBAAgB;QACnB,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,gBAAS,CAAC,QAAQ,CAAC,CAAC;IAC/D,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mBAAU,CAAC,KAAK,CAAC,CAAC;IAC7D,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,KAAG,mB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,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;AAqCf;IADN,IAAA,0BAAM,GAAE;;;;gCAGR"}
|
@@ -18,6 +18,9 @@ class GalleryItem {
|
|
18
18
|
constructor(props) {
|
19
19
|
Object.assign(this, props);
|
20
20
|
}
|
21
|
+
static toInstance(data, groups = ['admin']) {
|
22
|
+
return data ? (0, class_transformer_1.plainToInstance)(GalleryItem, data, { groups: groups || [] }) : null;
|
23
|
+
}
|
21
24
|
}
|
22
25
|
exports.GalleryItem = GalleryItem;
|
23
26
|
__decorate([
|
@@ -33,4 +36,10 @@ __decorate([
|
|
33
36
|
(0, class_transformer_1.Type)(() => Number),
|
34
37
|
__metadata("design:type", Number)
|
35
38
|
], GalleryItem.prototype, "sort", void 0);
|
39
|
+
__decorate([
|
40
|
+
(0, class_transformer_1.Expose)(),
|
41
|
+
__metadata("design:type", Function),
|
42
|
+
__metadata("design:paramtypes", [Object, Array]),
|
43
|
+
__metadata("design:returntype", void 0)
|
44
|
+
], GalleryItem, "toInstance", null);
|
36
45
|
//# sourceMappingURL=gallery.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"gallery.model.js","sourceRoot":"","sources":["../../src/gallery/gallery.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"gallery.model.js","sourceRoot":"","sources":["../../src/gallery/gallery.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAGlE,MAAa,WAAW;IAGvB,KAAK,CAAS;IAGd,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAEb,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAGM,AAAP,MAAM,CAAC,UAAU,CAAC,IAAS,EAAE,SAAmB,CAAC,OAAO,CAAC;QACxD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAA,mCAAe,EAAC,WAAW,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IACnF,CAAC;CACD;AApBD,kCAoBC;AAjBA;IADC,IAAA,0BAAM,GAAE;;0CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACQ;AAIjB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACN;AAON;IADN,IAAA,0BAAM,GAAE;;;;mCAGR"}
|
@@ -43,4 +43,5 @@ export declare class Metric {
|
|
43
43
|
static byPromotion(data: IMetricData): Metric[];
|
44
44
|
static byPublisher(data: IMetricData): Metric[];
|
45
45
|
static getIconByType(metricType: UserEvent | MetricType, active?: boolean): IconProp;
|
46
|
+
static toInstance(data: any, groups?: string[]): Metric[];
|
46
47
|
}
|
@@ -389,6 +389,9 @@ class Metric {
|
|
389
389
|
return ['fas', 'gauge'];
|
390
390
|
}
|
391
391
|
}
|
392
|
+
static toInstance(data, groups = ['admin']) {
|
393
|
+
return data ? (0, class_transformer_1.plainToInstance)(Metric, data, { groups: groups || [] }) : null;
|
394
|
+
}
|
392
395
|
}
|
393
396
|
exports.Metric = Metric;
|
394
397
|
__decorate([
|
@@ -428,4 +431,10 @@ __decorate([
|
|
428
431
|
(0, class_transformer_1.Type)(() => Boolean),
|
429
432
|
__metadata("design:type", Boolean)
|
430
433
|
], Metric.prototype, "showTitle", void 0);
|
434
|
+
__decorate([
|
435
|
+
(0, class_transformer_1.Expose)(),
|
436
|
+
__metadata("design:type", Function),
|
437
|
+
__metadata("design:paramtypes", [Object, Array]),
|
438
|
+
__metadata("design:returntype", void 0)
|
439
|
+
], Metric, "toInstance", null);
|
431
440
|
//# sourceMappingURL=metric.model.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"metric.model.js","sourceRoot":"","sources":["../../src/metric/metric.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAA4D;AAC5D,mDAA+C;AAE/C,+CAA2C;AAG3C,MAAa,MAAM;IAGlB,IAAI,CAAU;IAGd,KAAK,CAAU;IAGf,KAAK,CAAyB;IAI9B,KAAK,GAAW,CAAC,CAAC;IAIlB,MAAM,GAAY,KAAK,CAAC;IAIxB,IAAI,CAAW;IAIf,UAAU,CAAW;IAIrB,SAAS,GAAY,KAAK,CAAC;IAE3B,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAOD,WAAW;QAEV,IAAI,GAAW,CAAC;QAEhB,QAAQ,IAAI,CAAC,KAAK,EAAE,CAAC;YAEpB,KAAK,sBAAS,CAAC,IAAI,CAAC;YACpB,KAAK,sBAAS,CAAC,KAAK,CAAC;YACrB,KAAK,sBAAS,CAAC,QAAQ;gBACtB,IAA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ructor(props) {
|
22
22
|
Object.assign(this, props);
|
23
23
|
}
|
24
|
+
static toInstance(data, groups = ['admin']) {
|
25
|
+
return data ? (0, class_transformer_1.plainToInstance)(Notification, data, { groups: groups || [] }) : null;
|
26
|
+
}
|
24
27
|
}
|
25
28
|
exports.Notification = Notification;
|
26
29
|
__decorate([
|
@@ -45,4 +48,10 @@ __decorate([
|
|
45
48
|
(0, class_transformer_1.Transform)(({ value }) => value || 3000),
|
46
49
|
__metadata("design:type", Number)
|
47
50
|
], Notification.prototype, "autoClose", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, class_transformer_1.Expose)(),
|
53
|
+
__metadata("design:type", Function),
|
54
|
+
__metadata("design:paramtypes", [Object, Array]),
|
55
|
+
__metadata("design:returntype", void 0)
|
56
|
+
], Notification, "toInstance", null);
|
48
57
|
//# sourceMappingURL=notification.model.js.map
|