@intelact/bright 0.9.161 → 0.9.163

Sign up to get free protection for your applications and to get access to all the features.
Files changed (78) hide show
  1. package/README.md +1 -1
  2. package/lib/author/author.model.d.ts +2 -1
  3. package/lib/author/author.model.js +9 -0
  4. package/lib/author/author.model.js.map +1 -1
  5. package/lib/boost/boost.model.d.ts +2 -1
  6. package/lib/boost/boost.model.js +9 -0
  7. package/lib/boost/boost.model.js.map +1 -1
  8. package/lib/brand/brand-setting.model.d.ts +2 -0
  9. package/lib/brand/brand-setting.model.js +18 -0
  10. package/lib/brand/brand-setting.model.js.map +1 -1
  11. package/lib/brand/brand.model.d.ts +2 -1
  12. package/lib/brand/brand.model.js +9 -0
  13. package/lib/brand/brand.model.js.map +1 -1
  14. package/lib/category/category.model.d.ts +2 -1
  15. package/lib/category/category.model.js +9 -0
  16. package/lib/category/category.model.js.map +1 -1
  17. package/lib/collection/collection.model.d.ts +2 -1
  18. package/lib/collection/collection.model.js +9 -0
  19. package/lib/collection/collection.model.js.map +1 -1
  20. package/lib/feedback/feedback-item.model.d.ts +2 -1
  21. package/lib/feedback/feedback-item.model.js +9 -0
  22. package/lib/feedback/feedback-item.model.js.map +1 -1
  23. package/lib/feedback/feedback-option.model.d.ts +2 -1
  24. package/lib/feedback/feedback-option.model.js +9 -0
  25. package/lib/feedback/feedback-option.model.js.map +1 -1
  26. package/lib/feedback/feedback.model.d.ts +2 -1
  27. package/lib/feedback/feedback.model.js +9 -0
  28. package/lib/feedback/feedback.model.js.map +1 -1
  29. package/lib/gallery/gallery.model.d.ts +2 -1
  30. package/lib/gallery/gallery.model.js +9 -0
  31. package/lib/gallery/gallery.model.js.map +1 -1
  32. package/lib/log/log.model.d.ts +2 -0
  33. package/lib/log/log.model.js +28 -0
  34. package/lib/log/log.model.js.map +1 -1
  35. package/lib/metric/metric.model.d.ts +2 -1
  36. package/lib/metric/metric.model.js +9 -0
  37. package/lib/metric/metric.model.js.map +1 -1
  38. package/lib/notification/notification.model.d.ts +2 -1
  39. package/lib/notification/notification.model.js +9 -0
  40. package/lib/notification/notification.model.js.map +1 -1
  41. package/lib/popularity/popularity.model.d.ts +2 -1
  42. package/lib/popularity/popularity.model.js +9 -0
  43. package/lib/popularity/popularity.model.js.map +1 -1
  44. package/lib/post/post.model.d.ts +3 -2
  45. package/lib/post/post.model.js +15 -6
  46. package/lib/post/post.model.js.map +1 -1
  47. package/lib/promotion/promotion.model.d.ts +2 -1
  48. package/lib/promotion/promotion.model.js +9 -0
  49. package/lib/promotion/promotion.model.js.map +1 -1
  50. package/lib/publisher/publisher.model.d.ts +2 -1
  51. package/lib/publisher/publisher.model.js +9 -0
  52. package/lib/publisher/publisher.model.js.map +1 -1
  53. package/lib/question/comment.model.d.ts +2 -1
  54. package/lib/question/comment.model.js +9 -0
  55. package/lib/question/comment.model.js.map +1 -1
  56. package/lib/question/question.model.d.ts +2 -1
  57. package/lib/question/question.model.js +9 -0
  58. package/lib/question/question.model.js.map +1 -1
  59. package/lib/report/report.model.d.ts +2 -1
  60. package/lib/report/report.model.js +9 -0
  61. package/lib/report/report.model.js.map +1 -1
  62. package/lib/survey/survey-item.model.d.ts +2 -1
  63. package/lib/survey/survey-item.model.js +9 -0
  64. package/lib/survey/survey-item.model.js.map +1 -1
  65. package/lib/survey/survey-option.model.d.ts +2 -1
  66. package/lib/survey/survey-option.model.js +9 -0
  67. package/lib/survey/survey-option.model.js.map +1 -1
  68. package/lib/survey/survey.model.d.ts +2 -1
  69. package/lib/survey/survey.model.js +9 -0
  70. package/lib/survey/survey.model.js.map +1 -1
  71. package/lib/topic/topic.model.d.ts +2 -1
  72. package/lib/topic/topic.model.js +9 -0
  73. package/lib/topic/topic.model.js.map +1 -1
  74. package/lib/tsconfig.tsbuildinfo +1 -1
  75. package/lib/user/user.model.d.ts +2 -1
  76. package/lib/user/user.model.js +9 -0
  77. package/lib/user/user.model.js.map +1 -1
  78. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"metric.model.js","sourceRoot":"","sources":["../../src/metric/metric.model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AAW,CAAC,IAAW,EAAE,SAAmB,CAAC,OAAO,CAAC;QAC3D,OAAO,IAAI,CAAC,CAAC,CAAC,IAAA,mCAAe,EAAC,MAAM,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;IAC5E,CAAC;CACD;AAzcD,wBAycC;AAtcA;IADC,IAAA,0BAAM,GAAE;;oCACK;AAGd;IADC,IAAA,0BAAM,GAAE;;qCACM;AAGf;IADC,IAAA,0BAAM,GAAE;;qCACqB;AAI9B;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;qCACD;AAIlB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;sCACI;AAIxB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,6BAAS,EAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,IAAI,IAAI,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,KAAK,CAAC,CAAC;;oCACtD;AAIf;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,6BAAS,EAAC,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,GAAG,CAAC,UAAU,IAAI,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;;0CAC3D;AAIrB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;yCACO;AAoapB;IADN,IAAA,0BAAM,GAAE;;;;8BAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;+BAGR"}
@@ -8,5 +8,6 @@ export declare class Notification {
8
8
  };
9
9
  autoClose?: number;
10
10
  constructor(props?: Partial<Notification>);
11
- static toInstance(data: any, groups?: string[]): Notification[];
11
+ static toInstance(data: object, groups?: string[]): Notification;
12
+ static toInstances(data: any[], groups?: string[]): Notification[];
12
13
  }
@@ -24,6 +24,9 @@ class Notification {
24
24
  static toInstance(data, groups = ['admin']) {
25
25
  return data ? (0, class_transformer_1.plainToInstance)(Notification, data, { groups: groups || [] }) : null;
26
26
  }
27
+ static toInstances(data, groups = ['admin']) {
28
+ return data ? (0, class_transformer_1.plainToInstance)(Notification, data, { groups: groups || [] }) : [];
29
+ }
27
30
  }
28
31
  exports.Notification = Notification;
29
32
  __decorate([
@@ -54,4 +57,10 @@ __decorate([
54
57
  __metadata("design:paramtypes", [Object, Array]),
55
58
  __metadata("design:returntype", void 0)
56
59
  ], Notification, "toInstance", null);
60
+ __decorate([
61
+ (0, class_transformer_1.Expose)(),
62
+ __metadata("design:type", Function),
63
+ __metadata("design:paramtypes", [Array, Array]),
64
+ __metadata("design:returntype", void 0)
65
+ ], Notification, "toInstances", null);
57
66
  //# sourceMappingURL=notification.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"notification.model.js","sourceRoot":"","sources":["../../src/notification/notification.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA6E;AAC7E,2DAAuD;AAGvD,MAAa,YAAY;IAMxB,IAAI,CAAmB;IAMvB,KAAK,CAAS;IAMd,OAAO,CAAS;IAMhB,IAAI,CAA0B;IAQ9B,SAAS,CAAU;IAEnB,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;AA1CD,oCA0CC;AApCA;IADC,IAAA,0BAAM,GAAE;;0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vB;IADC,IAAA,0BAAM,GAAE;;2CACK;AAMd;IADC,IAAA,0BAAM,GAAE;;6CACO;AAMhB;IADC,IAAA,0BAAM,GAAE;;0CACqB;AAQ9B;IAHC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,IAAI,IAAI,CAAC;;+CACrB;AAOZ;IADN,IAAA,0BAAM,GAAE;;;;oCAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;qCAGR"}
@@ -6,5 +6,6 @@ export declare class Popularity {
6
6
  context: Context;
7
7
  constructor(props?: Partial<Popularity>);
8
8
  static get(weight: number): Popularity;
9
- static toInstance(data: any, groups?: string[]): Popularity[];
9
+ static toInstance(data: object, groups?: string[]): Popularity;
10
+ static toInstances(data: any[], groups?: string[]): Popularity[];
10
11
  }
@@ -74,6 +74,9 @@ class Popularity {
74
74
  static toInstance(data, groups = ['admin']) {
75
75
  return data ? (0, class_transformer_1.plainToInstance)(Popularity, data, { groups: groups || [] }) : null;
76
76
  }
77
+ static toInstances(data, groups = ['admin']) {
78
+ return data ? (0, class_transformer_1.plainToInstance)(Popularity, data, { groups: groups || [] }) : [];
79
+ }
77
80
  }
78
81
  exports.Popularity = Popularity;
79
82
  __decorate([
@@ -101,4 +104,10 @@ __decorate([
101
104
  __metadata("design:paramtypes", [Object, Array]),
102
105
  __metadata("design:returntype", void 0)
103
106
  ], Popularity, "toInstance", null);
107
+ __decorate([
108
+ (0, class_transformer_1.Expose)(),
109
+ __metadata("design:type", Function),
110
+ __metadata("design:paramtypes", [Array, Array]),
111
+ __metadata("design:returntype", void 0)
112
+ ], Popularity, "toInstances", null);
104
113
  //# sourceMappingURL=popularity.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"popularity.model.js","sourceRoot":"","sources":["../../src/popularity/popularity.model.ts"],"names":[],"mappings":";;;;;;;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Ac,CAAC,KAAK;gBAC1B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,sBAAO,CAAC,IAAI;aACrB,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;YACpC,OAAO,IAAI,UAAU,CAAC;gBACrB,IAAI,EAAE,gCAAc,CAAC,SAAS;gBAC9B,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,sBAAO,CAAC,OAAO;aACxB,CAAC,CAAC;QACJ,CAAC;QAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;YACjC,OAAO,IAAI,UAAU,CAAC;gBACrB,IAAI,EAAE,gCAAc,CAAC,WAAW;gBAChC,MAAM,EAAE,MAAM;gBACd,OAAO,EAAE,sBAAO,CAAC,MAAM;aACvB,CAAC,CAAC;QACJ,CAAC;IACF,CAAC;IAGM,AAAP,MAAM,CAAC,UAAU,CAAC,IAAS,EAAE,SAAmB,CAAC,OAAO,CAAC;QACxD,OAAO,IAAI,CAAC,CAAC,CAAC,IAAA,mCAAe,EAAC,UAAU,EAAE,IAAI,EAAE,EAAE,MAAM,EAAE,MAAM,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC;IAClF,CAAC;CACD;AAhFD,gCAgFC;AA7EA;IADC,IAAA,0BAAM,GAAE;;wCACY;AAIrB;IAFC,IAAA,0BAAM,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;AAGM;IADN,IAAA,0BAAM,GAAE;;;;kCAGR"}
1
+ {"version":3,"file":"popularity.model.js","sourceRoot":"","sources":["../../src/popularity/popularity.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,uDAAmD;AACnD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BAAM,GAAE;;;oCACmB,UAAU;2BAyDrC;AAGM;IADN,IAAA,0BAAM,GAAE;;;;kCAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;mCAGR"}
@@ -79,6 +79,7 @@ export declare class Post {
79
79
  validateForPublic(): void;
80
80
  validate(): void;
81
81
  get statusContext(): Context;
82
- static getIcon(postType: PostType, custom?: boolean): "file-lines" | "microphone" | "circle-play" | "newspaper" | "headphones" | "book-open" | "/assets/icons/content-type-article.svg" | "/assets/icons/content-type-book.svg" | "/assets/icons/content-type-audio.svg" | "/assets/icons/content-type-video.svg" | "/assets/icons/content-type-news.svg" | "/assets/icons/content-type-event.svg";
83
- static toInstance(data: any, groups?: string[]): Post[];
82
+ static getIcon(postType: PostType, custom?: boolean): "/icons/content-type-article.svg" | "file-lines" | "/icons/content-type-book.svg" | "book-open" | "/icons/content-type-audio.svg" | "headphones" | "/icons/content-type-video.svg" | "circle-play" | "/icons/content-type-news.svg" | "newspaper" | "/icons/content-type-event.svg" | "microphone";
83
+ static toInstance(data: object, groups?: string[]): Post;
84
+ static toInstances(data: any[], groups?: string[]): Post[];
84
85
  }
@@ -298,22 +298,25 @@ class Post {
298
298
  static getIcon(postType, custom) {
299
299
  switch (postType) {
300
300
  case post_type_1.PostType.Article:
301
- return custom ? '/assets/icons/content-type-article.svg' : 'file-lines';
301
+ return custom ? '/icons/content-type-article.svg' : 'file-lines';
302
302
  case post_type_1.PostType.Book:
303
- return custom ? '/assets/icons/content-type-book.svg' : 'book-open';
303
+ return custom ? '/icons/content-type-book.svg' : 'book-open';
304
304
  case post_type_1.PostType.Audio:
305
- return custom ? '/assets/icons/content-type-audio.svg' : 'headphones';
305
+ return custom ? '/icons/content-type-audio.svg' : 'headphones';
306
306
  case post_type_1.PostType.Video:
307
- return custom ? '/assets/icons/content-type-video.svg' : 'circle-play';
307
+ return custom ? '/icons/content-type-video.svg' : 'circle-play';
308
308
  case post_type_1.PostType.News:
309
- return custom ? '/assets/icons/content-type-news.svg' : 'newspaper';
309
+ return custom ? '/icons/content-type-news.svg' : 'newspaper';
310
310
  case post_type_1.PostType.Event:
311
- return custom ? '/assets/icons/content-type-event.svg' : 'microphone';
311
+ return custom ? '/icons/content-type-event.svg' : 'microphone';
312
312
  }
313
313
  }
314
314
  static toInstance(data, groups = ['admin']) {
315
315
  return data ? (0, class_transformer_1.plainToInstance)(Post, data, { groups: groups || [] }) : null;
316
316
  }
317
+ static toInstances(data, groups = ['admin']) {
318
+ return data ? (0, class_transformer_1.plainToInstance)(Post, data, { groups: groups || [] }) : [];
319
+ }
317
320
  }
318
321
  exports.Post = Post;
319
322
  __decorate([
@@ -532,4 +535,10 @@ __decorate([
532
535
  __metadata("design:paramtypes", [Object, Array]),
533
536
  __metadata("design:returntype", void 0)
534
537
  ], Post, "toInstance", null);
538
+ __decorate([
539
+ (0, class_transformer_1.Expose)(),
540
+ __metadata("design:type", Function),
541
+ __metadata("design:paramtypes", [Array, Array]),
542
+ __metadata("design:returntype", void 0)
543
+ ], Post, "toInstances", null);
535
544
  //# sourceMappingURL=post.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"post.model.js","sourceRoot":"","sources":["../../src/post/post.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA6E;AAE7E,mDAA0C;AAC1C,yDAAgD;AAChD,kEAAyD;AACzD,sDAA6C;AAC7C,4DAAuD;AACvD,+DAAsD;AACtD,mDAA0C;AAC1C,yDAAgD;AAChD,uDAAmD;AACnD,2CAAuC;AACvC,qDAA4C;AAC5C,qEAA4D;AAE5D,kCAAoC;AAqBpC,MAAa,IAAI;IAIhB,EAAE,CAAS;IAGX,IAAI,CAAS;IAKb,KAAK,CAAS;IAGd,WAAW,CAAS;IAGpB,OAAO,CAAS;IAahB,IAAI,CAAmB;IAIvB,QAAQ,CAAS;IAOjB,IAAI,CAAW;IAOf,OAAO,CAAS;IAKhB,MAAM,CAAS;IAGf,QAAQ,CAAS;IAGjB,OAAO,CAAS;IAGhB,QAAQ,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CAwBR;AAQD;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;oCAwH7B;AAOD;IAAC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;yCAa7B;AAGM;IADN,IAAA,0BAAM,GAAE;;;;yBAgBR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;4BAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;6BAGR"}
@@ -41,5 +41,6 @@ export declare class Promotion {
41
41
  validate(): void;
42
42
  get statusContext(): Context;
43
43
  get labelContext(): Context;
44
- static toInstance(data: any, groups?: string[]): Promotion[];
44
+ static toInstance(data: object, groups?: string[]): Promotion;
45
+ static toInstances(data: any[], groups?: string[]): Promotion[];
45
46
  }
@@ -156,6 +156,9 @@ class Promotion {
156
156
  static toInstance(data, groups = ['admin']) {
157
157
  return data ? (0, class_transformer_1.plainToInstance)(Promotion, data, { groups: groups || [] }) : null;
158
158
  }
159
+ static toInstances(data, groups = ['admin']) {
160
+ return data ? (0, class_transformer_1.plainToInstance)(Promotion, data, { groups: groups || [] }) : [];
161
+ }
159
162
  }
160
163
  exports.Promotion = Promotion;
161
164
  __decorate([
@@ -279,4 +282,10 @@ __decorate([
279
282
  __metadata("design:paramtypes", [Object, Array]),
280
283
  __metadata("design:returntype", void 0)
281
284
  ], Promotion, "toInstance", null);
285
+ __decorate([
286
+ (0, class_transformer_1.Expose)(),
287
+ __metadata("design:type", Function),
288
+ __metadata("design:paramtypes", [Array, Array]),
289
+ __metadata("design:returntype", void 0)
290
+ ], Promotion, "toInstances", null);
282
291
  //# sourceMappingURL=promotion.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"promotion.model.js","sourceRoot":"","sources":["../../src/promotion/promotion.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,uDAAmD;AACnD,yDAAqD;AACrD,yDAAgD;AAChD,mDAA0C;AA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E,CAAC,WAAI,CAAC;;6CACW;AAyB5B;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;8CA4B7B;AAOD;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;;yCAuE7B;AAMD;IAAC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;8CAG7B;AAMD;IAAC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;;6CAW7B;AAGM;IADN,IAAA,0BAAM,GAAE;;;;iCAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;kCAGR"}
@@ -34,5 +34,6 @@ export declare class Publisher {
34
34
  get totalUsers(): Metric;
35
35
  get totalPosts(): Metric;
36
36
  static toItemList(data: Publisher[], key?: 'id' | 'shortname'): Item<any>[];
37
- static toInstance(data: any, groups?: string[]): Publisher[];
37
+ static toInstance(data: object, groups?: string[]): Publisher;
38
+ static toInstances(data: any[], groups?: string[]): Publisher[];
38
39
  }
@@ -73,6 +73,9 @@ class Publisher {
73
73
  static toInstance(data, groups = ['admin']) {
74
74
  return data ? (0, class_transformer_1.plainToInstance)(Publisher, data, { groups: groups || [] }) : null;
75
75
  }
76
+ static toInstances(data, groups = ['admin']) {
77
+ return data ? (0, class_transformer_1.plainToInstance)(Publisher, data, { groups: groups || [] }) : [];
78
+ }
76
79
  }
77
80
  exports.Publisher = Publisher;
78
81
  __decorate([
@@ -177,4 +180,10 @@ __decorate([
177
180
  __metadata("design:paramtypes", [Object, Array]),
178
181
  __metadata("design:returntype", void 0)
179
182
  ], Publisher, "toInstance", null);
183
+ __decorate([
184
+ (0, class_transformer_1.Expose)(),
185
+ __metadata("design:type", Function),
186
+ __metadata("design:paramtypes", [Array, Array]),
187
+ __metadata("design:returntype", void 0)
188
+ ], Publisher, "toInstances", null);
180
189
  //# sourceMappingURL=publisher.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"publisher.model.js","sourceRoot":"","sources":["../../src/publisher/publisher.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,+DAA2D;AAE3D,yDAAgD;AAChD,mDAA0C;AAC1C,sCAAuC;AACvC,kCAA+B;AAG/B,MAAa,SAAS;IAIrB,EAAE,CAAS;IAWX,SAAS,CAAS;IAGlB,IAAI,CAAS;IAGb,MAAM,CAAS;IAGf,WAAW,CAAS;IAGpB,KAAK,CAAS;IAGd,GAAG,CAAS;IAGZ,IAAI,CAAS;IAKb,MAAM,CAAgB;IAGtB,gBAAgB,CAAa;IAI7B,gBAAgB,CAAU;IAW1B,OAAO,CAAW;IAMlB,KAAK,CAAO;IAIZ,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,eAAe,CAAO;IAItB,eAAe,CAAO;IAItB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,YAAY,KAA0B;QACrC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,MAAM,KAAK,8BAAa,CAAC,MAAM,CAAC;IAC7C,CAAC;IAED,IAAI,UAAU;QACb,OAAO,IAAI,CAAC,MAAM,KAAK,8BAAa,CAAC,QAAQ,CAAC;IAC/C,CAAC;IAED,IAAI,QAAQ;QACX,OAAO,IAAI,CAAC,MAAM,KAAK,8BAAa,CAAC,MAAM,CAAC;IAC7C,CAAC;IAED,IAAI,WAAW;QACd,OAAO,IAAI,CAAC,MAAM,KAAK,8BAAa,CAAC,SAAS,CAAC;IAChD,CAAC;IAED,iBAAiB,CAAC,IAAc;QAC/B,OAAO,IAAI,EAAE,gBAAgB,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAA;IAC9C,CAAC;IAED,IAAI,UAAU;QACb,OAAO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EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;4CAAC;AAmDT;IADN,IAAA,0BAAM,GAAE;;;;iCAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;kCAGR"}
@@ -17,5 +17,6 @@ export declare class QuestionComment {
17
17
  publishedBy: User;
18
18
  publishedOn: Date;
19
19
  constructor(props?: Partial<QuestionComment>);
20
- static toInstance(data: any, groups?: string[]): QuestionComment[];
20
+ static toInstance(data: object, groups?: string[]): QuestionComment;
21
+ static toInstances(data: any[], groups?: string[]): QuestionComment[];
21
22
  }
@@ -35,6 +35,9 @@ class QuestionComment {
35
35
  static toInstance(data, groups = ['admin']) {
36
36
  return data ? (0, class_transformer_1.plainToInstance)(QuestionComment, data, { groups: groups || [] }) : null;
37
37
  }
38
+ static toInstances(data, groups = ['admin']) {
39
+ return data ? (0, class_transformer_1.plainToInstance)(QuestionComment, data, { groups: groups || [] }) : [];
40
+ }
38
41
  }
39
42
  exports.QuestionComment = QuestionComment;
40
43
  __decorate([
@@ -105,4 +108,10 @@ __decorate([
105
108
  __metadata("design:paramtypes", [Object, Array]),
106
109
  __metadata("design:returntype", void 0)
107
110
  ], QuestionComment, "toInstance", null);
111
+ __decorate([
112
+ (0, class_transformer_1.Expose)(),
113
+ __metadata("design:type", Function),
114
+ __metadata("design:paramtypes", [Array, Array]),
115
+ __metadata("design:returntype", void 0)
116
+ ], QuestionComment, "toInstances", null);
108
117
  //# sourceMappingURL=comment.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"comment.model.js","sourceRoot":"","sources":["../../src/question/comment.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,yDAAgD;AAChD,mDAA0C;AAC1C,uDAAmD;AACnD,qDAA4C;AAG5C,MAAa,eAAe;IAI3B,EAAE,CAAS;IAUX,MAAM,CAAS;IAGf,QAAQ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
36
36
  get share(): Metric;
37
37
  get totalItems(): Metric;
38
- static toInstance(data: any, groups?: string[]): Question[];
38
+ static toInstance(data: object, groups?: string[]): Question;
39
+ static toInstances(data: any[], groups?: string[]): Question[];
39
40
  }
@@ -65,6 +65,9 @@ class Question {
65
65
  static toInstance(data, groups = ['admin']) {
66
66
  return data ? (0, class_transformer_1.plainToInstance)(Question, data, { groups: groups || [] }) : null;
67
67
  }
68
+ static toInstances(data, groups = ['admin']) {
69
+ return data ? (0, class_transformer_1.plainToInstance)(Question, data, { groups: groups || [] }) : [];
70
+ }
68
71
  }
69
72
  exports.Question = Question;
70
73
  __decorate([
@@ -191,4 +194,10 @@ __decorate([
191
194
  __metadata("design:paramtypes", [Object, Array]),
192
195
  __metadata("design:returntype", void 0)
193
196
  ], Question, "toInstance", null);
197
+ __decorate([
198
+ (0, class_transformer_1.Expose)(),
199
+ __metadata("design:type", Function),
200
+ __metadata("design:paramtypes", [Array, Array]),
201
+ __metadata("design:returntype", void 0)
202
+ ], Question, "toInstances", null);
194
203
  //# sourceMappingURL=question.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"question.model.js","sourceRoot":"","sources":["../../src/question/question.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,mDAA0C;AAC1C,+DAAsD;AACtD,uDAAmD;AACnD,yDAAgD;AAChD,mDAAkD;AAClD,kCAAoC;AACpC,sCAAuC;AAGvC,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAGX,IAAI,CAAS;IAKb,KAAK,CAAS;IAGd,QAAQ,CAAS;IAKjB,IAAI,CAAS;IAGb,KAAK,CAAS;IAGd,KAAK,CAAS;IAKd,MAAM,CAAa;IAInB,OAAO,CAAU;IAIjB,MAAM,CAAU;IAIhB,UAAU,CAAU;IAcpB,OAAO,CAAW;IAMlB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,SAAS,CAAO;IAIhB,eAAe,CAAO;IAItB,eAAe,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4CACE;AA6BhB;IADN,IAAA,0BAAM,GAAE;;;;gCAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;iCAGR"}
@@ -51,5 +51,6 @@ export declare class Report<T = any[]> {
51
51
  rangeToPeriod(range: ChartRangeType): void;
52
52
  getPeriodDto(): PeriodDto;
53
53
  static fromDto(dto: ReportDto): Report;
54
- static toInstance(data: any, groups?: string[]): Report<any[]>[];
54
+ static toInstance(data: object, groups?: string[]): Report<any[]>;
55
+ static toInstances(data: any[], groups?: string[]): Report<any[]>[];
55
56
  }
@@ -176,6 +176,9 @@ class Report {
176
176
  static toInstance(data, groups = ['admin']) {
177
177
  return data ? (0, class_transformer_1.plainToInstance)(Report, data, { groups: groups || [] }) : null;
178
178
  }
179
+ static toInstances(data, groups = ['admin']) {
180
+ return data ? (0, class_transformer_1.plainToInstance)(Report, data, { groups: groups || [] }) : [];
181
+ }
179
182
  }
180
183
  exports.Report = Report;
181
184
  __decorate([
@@ -394,4 +397,10 @@ __decorate([
394
397
  __metadata("design:paramtypes", [Object, Array]),
395
398
  __metadata("design:returntype", void 0)
396
399
  ], Report, "toInstance", null);
400
+ __decorate([
401
+ (0, class_transformer_1.Expose)(),
402
+ __metadata("design:type", Function),
403
+ __metadata("design:paramtypes", [Array, Array]),
404
+ __metadata("design:returntype", void 0)
405
+ ], Report, "toInstances", null);
397
406
  //# sourceMappingURL=report.model.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"report.model.js","sourceRoot":"","sources":["../../src/report/report.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAkE;AAClE,qDAAoF;AACpF,kCAA+B;AAC/B,kCAAmC;AACnC,+CAA2C;AAC3C,6CAAyC;AACzC,kCAAoC;AACpC,oCAAqD;AACrD,sCAAsC;AACtC,iCAAiC;AAEjC,MAAa,MAAM;IAKf,SAAS,CAAO;IAKhB,OAAO,CAAO;IAKd,IAAI,CAAa;IAIjB,KAAK,CAAS;IAId,QAAQ,CAAS;IAIpB,WAAW,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,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAQ,EAAC,EAAE,EAAE,EAAC,IAAI,EAAE,IAAI,EAAC,CAAC;IAC1B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAM,GAAE;;wCACU;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;IACT,IAAA,0BAAM,GAAE;;yCACgB;AAItB;IAFF,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAM,GAAE;;kCACE;AAKX;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;IAClB,IAAA,0BAAM,GAAE;;qCACK;AA2BX;IADF,IAAA,0BAAM,GAAE;;;;sCAIR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;0CAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;4CAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;yCAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;sCAgBR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;0CAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;qCAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;;yCAGR;AAGD;IADC,IAAA,0BAAM,GAAE;;;oCACC,sBAAS;oCA0BlB;AAiEM;IADN,IAAA,0BAAM,GAAE;;;;8BAGR;AAGM;IADN,IAAA,0BAAM,GAAE;;;;+BAGR"}
@@ -15,5 +15,6 @@ export declare class SurveyItem {
15
15
  updatedBy: User;
16
16
  updatedOn: Date;
17
17
  constructor(props?: Partial<SurveyItem>);
18
- static toInstance(data: any, groups?: string[]): SurveyItem[];
18
+ static toInstance(data: object, groups?: string[]): SurveyItem;
19
+ static toInstances(data: any[], groups?: string[]): SurveyItem[];
19
20
  }