@intelact/bright 0.9.78 → 0.9.80
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/auth/auth.event.d.ts +9 -0
- package/lib/auth/auth.event.js +14 -0
- package/lib/auth/auth.event.js.map +1 -0
- package/lib/auth/index.d.ts +4 -0
- package/lib/auth/index.js +21 -0
- package/lib/auth/index.js.map +1 -0
- package/lib/auth/password.dto.d.ts +8 -0
- package/lib/auth/password.dto.js +44 -0
- package/lib/auth/password.dto.js.map +1 -0
- package/lib/auth/sign.dto.d.ts +11 -0
- package/lib/auth/sign.dto.js +54 -0
- package/lib/auth/sign.dto.js.map +1 -0
- package/lib/auth/verify.dto.d.ts +10 -0
- package/lib/auth/verify.dto.js +47 -0
- package/lib/auth/verify.dto.js.map +1 -0
- package/lib/author/author.model.d.ts +19 -0
- package/lib/author/author.model.js +98 -0
- package/lib/author/author.model.js.map +1 -0
- package/lib/author/author.sort.d.ts +6 -0
- package/lib/author/author.sort.js +11 -0
- package/lib/author/author.sort.js.map +1 -0
- package/lib/author/index.d.ts +2 -0
- package/lib/author/index.js +19 -0
- package/lib/author/index.js.map +1 -0
- package/lib/boost/boost.dto.d.ts +5 -0
- package/lib/boost/boost.dto.js +38 -0
- package/lib/boost/boost.dto.js.map +1 -0
- package/lib/boost/boost.model.d.ts +16 -0
- package/lib/boost/boost.model.js +82 -0
- package/lib/boost/boost.model.js.map +1 -0
- package/lib/boost/index.d.ts +2 -0
- package/lib/boost/index.js +19 -0
- package/lib/boost/index.js.map +1 -0
- package/lib/brand/brand-setting.model.d.ts +12 -0
- package/lib/brand/brand-setting.model.js +58 -0
- package/lib/brand/brand-setting.model.js.map +1 -0
- package/lib/brand/brand-setting.type.d.ts +10 -0
- package/lib/brand/brand-setting.type.js +15 -0
- package/lib/brand/brand-setting.type.js.map +1 -0
- package/lib/brand/brand.dto.d.ts +6 -0
- package/lib/brand/brand.dto.js +41 -0
- package/lib/brand/brand.dto.js.map +1 -0
- package/lib/brand/brand.model.d.ts +31 -0
- package/lib/brand/brand.model.js +201 -0
- package/lib/brand/brand.model.js.map +1 -0
- package/lib/brand/index.d.ts +4 -0
- package/lib/brand/index.js +21 -0
- package/lib/brand/index.js.map +1 -0
- package/lib/category/category.model.d.ts +18 -0
- package/lib/category/category.model.js +94 -0
- package/lib/category/category.model.js.map +1 -0
- package/lib/category/index.d.ts +1 -0
- package/lib/category/index.js +18 -0
- package/lib/category/index.js.map +1 -0
- package/lib/collection/collection.model.d.ts +16 -0
- package/lib/collection/collection.model.js +77 -0
- package/lib/collection/collection.model.js.map +1 -0
- package/lib/collection/index.d.ts +1 -0
- package/lib/collection/index.js +18 -0
- package/lib/collection/index.js.map +1 -0
- package/lib/common/asset.type.d.ts +7 -0
- package/lib/common/asset.type.js +12 -0
- package/lib/common/asset.type.js.map +1 -0
- package/lib/common/bookmark.dto.d.ts +4 -0
- package/lib/common/bookmark.dto.js +24 -0
- package/lib/common/bookmark.dto.js.map +1 -0
- package/lib/common/browse.dto.d.ts +9 -0
- package/lib/common/browse.dto.js +47 -0
- package/lib/common/browse.dto.js.map +1 -0
- package/lib/common/general.dto.d.ts +25 -0
- package/lib/common/general.dto.js +94 -0
- package/lib/common/general.dto.js.map +1 -0
- package/lib/common/index.d.ts +11 -0
- package/lib/common/index.js +28 -0
- package/lib/common/index.js.map +1 -0
- package/lib/common/module.scope.d.ts +22 -0
- package/lib/common/module.scope.js +27 -0
- package/lib/common/module.scope.js.map +1 -0
- package/lib/common/module.type.d.ts +6 -0
- package/lib/common/module.type.js +11 -0
- package/lib/common/module.type.js.map +1 -0
- package/lib/common/search.dto.d.ts +14 -0
- package/lib/common/search.dto.js +74 -0
- package/lib/common/search.dto.js.map +1 -0
- package/lib/common/sort.type.d.ts +8 -0
- package/lib/common/sort.type.js +13 -0
- package/lib/common/sort.type.js.map +1 -0
- package/lib/common/status.label.d.ts +6 -0
- package/lib/common/status.label.js +11 -0
- package/lib/common/status.label.js.map +1 -0
- package/lib/common/status.type.d.ts +7 -0
- package/lib/common/status.type.js +12 -0
- package/lib/common/status.type.js.map +1 -0
- package/lib/common/user.agent.d.ts +11 -0
- package/lib/common/user.agent.js +3 -0
- package/lib/common/user.agent.js.map +1 -0
- package/lib/contact/contact.dto.d.ts +5 -0
- package/lib/contact/contact.dto.js +35 -0
- package/lib/contact/contact.dto.js.map +1 -0
- package/lib/contact/index.d.ts +1 -0
- package/lib/contact/index.js +18 -0
- package/lib/contact/index.js.map +1 -0
- 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/feedback/feedback-item.model.d.ts +15 -0
- package/lib/feedback/feedback-item.model.js +81 -0
- package/lib/feedback/feedback-item.model.js.map +1 -0
- package/lib/feedback/feedback-option.model.d.ts +7 -0
- package/lib/feedback/feedback-option.model.js +43 -0
- package/lib/feedback/feedback-option.model.js.map +1 -0
- package/lib/feedback/feedback.data.d.ts +6 -0
- package/lib/feedback/feedback.data.js +3 -0
- package/lib/feedback/feedback.data.js.map +1 -0
- package/lib/feedback/feedback.dto.d.ts +9 -0
- package/lib/feedback/feedback.dto.js +47 -0
- package/lib/feedback/feedback.dto.js.map +1 -0
- package/lib/feedback/feedback.model.d.ts +18 -0
- package/lib/feedback/feedback.model.js +87 -0
- package/lib/feedback/feedback.model.js.map +1 -0
- package/lib/feedback/index.d.ts +5 -0
- package/lib/feedback/index.js +22 -0
- package/lib/feedback/index.js.map +1 -0
- package/lib/gallery/gallery.model.d.ts +6 -0
- package/lib/gallery/gallery.model.js +36 -0
- package/lib/gallery/gallery.model.js.map +1 -0
- package/lib/gallery/index.d.ts +1 -0
- package/lib/gallery/index.js +18 -0
- package/lib/gallery/index.js.map +1 -0
- package/lib/index.d.ts +27 -4
- package/lib/index.js +27 -4
- package/lib/index.js.map +1 -1
- package/lib/item/index.d.ts +1 -0
- package/lib/item/index.js +18 -0
- package/lib/item/index.js.map +1 -0
- package/lib/item/item.model.d.ts +14 -0
- package/lib/item/item.model.js +37 -0
- package/lib/item/item.model.js.map +1 -0
- package/lib/link/index.d.ts +1 -0
- package/lib/link/index.js +18 -0
- package/lib/link/index.js.map +1 -0
- package/lib/link/link.model.d.ts +16 -0
- package/lib/link/link.model.js +35 -0
- package/lib/link/link.model.js.map +1 -0
- package/lib/log/index.d.ts +2 -0
- package/lib/log/index.js +19 -0
- package/lib/log/index.js.map +1 -0
- package/lib/log/log.event.d.ts +14 -0
- package/lib/log/log.event.js +19 -0
- package/lib/log/log.event.js.map +1 -0
- package/lib/log/log.model.d.ts +12 -0
- package/lib/log/log.model.js +16 -0
- package/lib/log/log.model.js.map +1 -0
- package/lib/metric/index.d.ts +2 -0
- package/lib/metric/index.js +19 -0
- package/lib/metric/index.js.map +1 -0
- package/lib/metric/metric.model.d.ts +27 -0
- package/lib/metric/metric.model.js +189 -0
- package/lib/metric/metric.model.js.map +1 -0
- package/lib/metric/metric.type.d.ts +10 -0
- package/lib/metric/metric.type.js +15 -0
- package/lib/metric/metric.type.js.map +1 -0
- package/lib/models/brand.js +2 -2
- package/lib/models/brand.js.map +1 -1
- package/lib/models/log.d.ts +6 -6
- package/lib/models/log.js +5 -5
- package/lib/models/log.js.map +1 -1
- package/lib/models/response.d.ts +1 -0
- package/lib/notification/index.d.ts +5 -0
- package/lib/notification/index.js +22 -0
- package/lib/notification/index.js.map +1 -0
- package/lib/notification/notification.dto.d.ts +4 -0
- package/lib/notification/notification.dto.js +29 -0
- package/lib/notification/notification.dto.js.map +1 -0
- package/lib/notification/notification.event.d.ts +6 -0
- package/lib/notification/notification.event.js +11 -0
- package/lib/notification/notification.event.js.map +1 -0
- package/lib/notification/notification.model.d.ts +9 -0
- package/lib/notification/notification.model.js +48 -0
- package/lib/notification/notification.model.js.map +1 -0
- package/lib/notification/notification.token.d.ts +4 -0
- package/lib/notification/notification.token.js +3 -0
- package/lib/notification/notification.token.js.map +1 -0
- package/lib/notification/notification.type.d.ts +6 -0
- package/lib/notification/notification.type.js +11 -0
- package/lib/notification/notification.type.js.map +1 -0
- package/lib/popularity/index.d.ts +2 -0
- package/lib/popularity/index.js +19 -0
- package/lib/popularity/index.js.map +1 -0
- package/lib/popularity/popularity.model.d.ts +9 -0
- package/lib/popularity/popularity.model.js +95 -0
- package/lib/popularity/popularity.model.js.map +1 -0
- package/lib/popularity/popularity.rate.d.ts +8 -0
- package/lib/popularity/popularity.rate.js +13 -0
- package/lib/popularity/popularity.rate.js.map +1 -0
- package/lib/post/index.d.ts +4 -0
- package/lib/post/index.js +21 -0
- package/lib/post/index.js.map +1 -0
- package/lib/post/post.additionals.d.ts +24 -0
- package/lib/post/post.additionals.js +3 -0
- package/lib/post/post.additionals.js.map +1 -0
- package/lib/post/post.dto.d.ts +26 -0
- package/lib/post/post.dto.js +119 -0
- package/lib/post/post.dto.js.map +1 -0
- package/lib/post/post.model.d.ts +74 -0
- package/lib/post/post.model.js +514 -0
- package/lib/post/post.model.js.map +1 -0
- package/lib/post/post.type.d.ts +8 -0
- package/lib/post/post.type.js +13 -0
- package/lib/post/post.type.js.map +1 -0
- package/lib/promotion/index.d.ts +2 -0
- package/lib/promotion/index.js +19 -0
- package/lib/promotion/index.js.map +1 -0
- package/lib/promotion/promotion.dto.d.ts +5 -0
- package/lib/promotion/promotion.dto.js +38 -0
- package/lib/promotion/promotion.dto.js.map +1 -0
- package/lib/promotion/promotion.model.d.ts +24 -0
- package/lib/promotion/promotion.model.js +125 -0
- package/lib/promotion/promotion.model.js.map +1 -0
- package/lib/publisher/index.d.ts +3 -0
- package/lib/publisher/index.js +20 -0
- package/lib/publisher/index.js.map +1 -0
- package/lib/publisher/publisher.dto.d.ts +8 -0
- package/lib/publisher/publisher.dto.js +39 -0
- package/lib/publisher/publisher.dto.js.map +1 -0
- package/lib/publisher/publisher.enum.d.ts +7 -0
- package/lib/publisher/publisher.enum.js +12 -0
- package/lib/publisher/publisher.enum.js.map +1 -0
- package/lib/publisher/publisher.model.d.ts +29 -0
- package/lib/publisher/publisher.model.js +136 -0
- package/lib/publisher/publisher.model.js.map +1 -0
- package/lib/question/comment.model.d.ts +20 -0
- package/lib/question/comment.model.js +99 -0
- package/lib/question/comment.model.js.map +1 -0
- package/lib/question/index.d.ts +3 -0
- package/lib/question/index.js +20 -0
- package/lib/question/index.js.map +1 -0
- package/lib/question/question.dto.d.ts +15 -0
- package/lib/question/question.dto.js +86 -0
- package/lib/question/question.dto.js.map +1 -0
- package/lib/question/question.model.d.ts +39 -0
- package/lib/question/question.model.js +205 -0
- package/lib/question/question.model.js.map +1 -0
- package/lib/quote/index.d.ts +1 -0
- package/lib/quote/index.js +18 -0
- package/lib/quote/index.js.map +1 -0
- package/lib/quote/quote.model.d.ts +5 -0
- package/lib/quote/quote.model.js +31 -0
- package/lib/quote/quote.model.js.map +1 -0
- package/lib/security/account.status.d.ts +6 -0
- package/lib/security/account.status.js +11 -0
- package/lib/security/account.status.js.map +1 -0
- package/lib/security/account.type.d.ts +5 -0
- package/lib/security/account.type.js +10 -0
- package/lib/security/account.type.js.map +1 -0
- package/lib/security/index.d.ts +3 -0
- package/lib/security/index.js +3 -0
- package/lib/security/index.js.map +1 -1
- package/lib/security/token.interface.d.ts +7 -0
- package/lib/security/token.interface.js +3 -0
- package/lib/security/token.interface.js.map +1 -0
- package/lib/social/index.d.ts +4 -0
- package/lib/social/index.js +21 -0
- package/lib/social/index.js.map +1 -0
- package/lib/social/share.interface.d.ts +6 -0
- package/lib/social/share.interface.js +3 -0
- package/lib/social/share.interface.js.map +1 -0
- package/lib/social/share.provider.d.ts +7 -0
- package/lib/social/share.provider.js +12 -0
- package/lib/social/share.provider.js.map +1 -0
- package/lib/social/social-user.dto.d.ts +11 -0
- package/lib/social/social-user.dto.js +59 -0
- package/lib/social/social-user.dto.js.map +1 -0
- package/lib/social/social.provider.d.ts +7 -0
- package/lib/social/social.provider.js +12 -0
- package/lib/social/social.provider.js.map +1 -0
- package/lib/survey/index.d.ts +5 -0
- package/lib/survey/index.js +22 -0
- package/lib/survey/index.js.map +1 -0
- package/lib/survey/survey-item.model.d.ts +17 -0
- package/lib/survey/survey-item.model.js +88 -0
- package/lib/survey/survey-item.model.js.map +1 -0
- package/lib/survey/survey-option.model.d.ts +9 -0
- package/lib/survey/survey-option.model.js +50 -0
- package/lib/survey/survey-option.model.js.map +1 -0
- package/lib/survey/survey.dto.d.ts +9 -0
- package/lib/survey/survey.dto.js +54 -0
- package/lib/survey/survey.dto.js.map +1 -0
- package/lib/survey/survey.event.d.ts +5 -0
- package/lib/survey/survey.event.js +10 -0
- package/lib/survey/survey.event.js.map +1 -0
- package/lib/survey/survey.model.d.ts +27 -0
- package/lib/survey/survey.model.js +138 -0
- package/lib/survey/survey.model.js.map +1 -0
- package/lib/topic/index.d.ts +1 -0
- package/lib/topic/index.js +18 -0
- package/lib/topic/index.js.map +1 -0
- package/lib/topic/topic.model.d.ts +20 -0
- package/lib/topic/topic.model.js +104 -0
- package/lib/topic/topic.model.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/ui/background.enum.d.ts +10 -0
- package/lib/ui/background.enum.js +15 -0
- package/lib/ui/background.enum.js.map +1 -0
- package/lib/ui/color.enum.d.ts +10 -0
- package/lib/ui/color.enum.js +15 -0
- package/lib/ui/color.enum.js.map +1 -0
- package/lib/ui/context.enum.d.ts +10 -0
- package/lib/ui/context.enum.js +15 -0
- package/lib/ui/context.enum.js.map +1 -0
- package/lib/ui/index.d.ts +3 -0
- package/lib/ui/index.js +20 -0
- package/lib/ui/index.js.map +1 -0
- package/lib/user/index.d.ts +2 -0
- package/lib/user/index.js +19 -0
- package/lib/user/index.js.map +1 -0
- package/lib/user/user.dto.d.ts +24 -0
- package/lib/user/user.dto.js +99 -0
- package/lib/user/user.dto.js.map +1 -0
- package/lib/user/user.model.d.ts +38 -0
- package/lib/user/user.model.js +258 -0
- package/lib/user/user.model.js.map +1 -0
- package/lib/verification/index.d.ts +1 -0
- package/lib/verification/index.js +18 -0
- package/lib/verification/index.js.map +1 -0
- package/lib/verification/verification.type.d.ts +5 -0
- package/lib/verification/verification.type.js +10 -0
- package/lib/verification/verification.type.js.map +1 -0
- package/package.json +2 -7
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"contact.dto.js","sourceRoot":"","sources":["../../src/contact/contact.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,eAAe;IAI3B,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,OAAO,CAAS;CAChB;AAbD,0CAaC;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACK"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './contact.dto';
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./contact.dto"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contact/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B"}
|
package/lib/dtos/index.d.ts
CHANGED
@@ -5,7 +5,8 @@ export * from './browse.dto';
|
|
5
5
|
export * from './contact.dto';
|
6
6
|
export * from './feedback.dto';
|
7
7
|
export * from './general.dto';
|
8
|
-
export * from './
|
8
|
+
export * from './search.dto';
|
9
|
+
export * from './notification.dto';
|
9
10
|
export * from './post.dto';
|
10
11
|
export * from './promotion.dto';
|
11
12
|
export * from './publisher.dto';
|
package/lib/dtos/index.js
CHANGED
@@ -21,7 +21,8 @@ __exportStar(require("./browse.dto"), exports);
|
|
21
21
|
__exportStar(require("./contact.dto"), exports);
|
22
22
|
__exportStar(require("./feedback.dto"), exports);
|
23
23
|
__exportStar(require("./general.dto"), exports);
|
24
|
-
__exportStar(require("./
|
24
|
+
__exportStar(require("./search.dto"), exports);
|
25
|
+
__exportStar(require("./notification.dto"), exports);
|
25
26
|
__exportStar(require("./post.dto"), exports);
|
26
27
|
__exportStar(require("./promotion.dto"), exports);
|
27
28
|
__exportStar(require("./publisher.dto"), exports);
|
package/lib/dtos/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,iDAA+B;AAC/B,gDAA8B;AAC9B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/dtos/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6CAA2B;AAC3B,8CAA4B;AAC5B,8CAA4B;AAC5B,+CAA6B;AAC7B,gDAA8B;AAC9B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,qDAAmC;AACnC,6CAA2B;AAC3B,kDAAgC;AAChC,kDAAgC;AAChC,iDAA+B;AAC/B,+CAA6B;AAC7B,6CAA2B"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.NotificationTokenDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class NotificationTokenDto {
|
15
|
+
token;
|
16
|
+
deviceType;
|
17
|
+
}
|
18
|
+
exports.NotificationTokenDto = NotificationTokenDto;
|
19
|
+
__decorate([
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
21
|
+
(0, class_validator_1.IsString)(),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], NotificationTokenDto.prototype, "token", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, class_validator_1.IsNotEmpty)(),
|
26
|
+
(0, class_validator_1.IsString)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], NotificationTokenDto.prototype, "deviceType", void 0);
|
29
|
+
//# sourceMappingURL=notification.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"notification.dto.js","sourceRoot":"","sources":["../../src/dtos/notification.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAkE;AAElE,MAAa,oBAAoB;IAIhC,KAAK,CAAQ;IAIb,UAAU,CAAQ;CAClB;AATD,oDASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACO"}
|
@@ -4,3 +4,25 @@ export declare enum ModuleType {
|
|
4
4
|
Library = "LIBRARY",
|
5
5
|
Question = "QUESTION"
|
6
6
|
}
|
7
|
+
export declare enum ModuleScope {
|
8
|
+
Auth = "auth",
|
9
|
+
Author = "author",
|
10
|
+
Boost = "boost",
|
11
|
+
BrandPublisher = "brand:publisher",
|
12
|
+
BrandTeam = "brand:team",
|
13
|
+
BrandSettings = "brand:settings",
|
14
|
+
Post = "post",
|
15
|
+
PostCollection = "post:colleaction",
|
16
|
+
Feedback = "feedback",
|
17
|
+
Promotion = "Promotion",
|
18
|
+
Publisher = "publisher",
|
19
|
+
PublisherTeam = "publisher:team",
|
20
|
+
Question = "question",
|
21
|
+
QuestionCategory = "question:category",
|
22
|
+
Quote = "quote",
|
23
|
+
Report = "report",
|
24
|
+
Survey = "survey",
|
25
|
+
Topic = "topic",
|
26
|
+
UserAdmin = "user:admin",
|
27
|
+
Other = "other"
|
28
|
+
}
|
package/lib/enums/module.enum.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ModuleType = void 0;
|
3
|
+
exports.ModuleScope = exports.ModuleType = void 0;
|
4
4
|
var ModuleType;
|
5
5
|
(function (ModuleType) {
|
6
6
|
ModuleType["Home"] = "HOME";
|
@@ -8,4 +8,27 @@ var ModuleType;
|
|
8
8
|
ModuleType["Library"] = "LIBRARY";
|
9
9
|
ModuleType["Question"] = "QUESTION";
|
10
10
|
})(ModuleType || (exports.ModuleType = ModuleType = {}));
|
11
|
+
var ModuleScope;
|
12
|
+
(function (ModuleScope) {
|
13
|
+
ModuleScope["Auth"] = "auth";
|
14
|
+
ModuleScope["Author"] = "author";
|
15
|
+
ModuleScope["Boost"] = "boost";
|
16
|
+
ModuleScope["BrandPublisher"] = "brand:publisher";
|
17
|
+
ModuleScope["BrandTeam"] = "brand:team";
|
18
|
+
ModuleScope["BrandSettings"] = "brand:settings";
|
19
|
+
ModuleScope["Post"] = "post";
|
20
|
+
ModuleScope["PostCollection"] = "post:colleaction";
|
21
|
+
ModuleScope["Feedback"] = "feedback";
|
22
|
+
ModuleScope["Promotion"] = "Promotion";
|
23
|
+
ModuleScope["Publisher"] = "publisher";
|
24
|
+
ModuleScope["PublisherTeam"] = "publisher:team";
|
25
|
+
ModuleScope["Question"] = "question";
|
26
|
+
ModuleScope["QuestionCategory"] = "question:category";
|
27
|
+
ModuleScope["Quote"] = "quote";
|
28
|
+
ModuleScope["Report"] = "report";
|
29
|
+
ModuleScope["Survey"] = "survey";
|
30
|
+
ModuleScope["Topic"] = "topic";
|
31
|
+
ModuleScope["UserAdmin"] = "user:admin";
|
32
|
+
ModuleScope["Other"] = "other";
|
33
|
+
})(ModuleScope || (exports.ModuleScope = ModuleScope = {}));
|
11
34
|
//# sourceMappingURL=module.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"module.enum.js","sourceRoot":"","sources":["../../src/enums/module.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UAqBX;AArBD,WAAY,UAAU;IAIrB,2BAAa,CAAA;IAKb,+BAAiB,CAAA;IAKjB,iCAAmB,CAAA;IAMnB,mCAAqB,CAAA;AACtB,CAAC,EArBW,UAAU,0BAAV,UAAU,QAqBrB"}
|
1
|
+
{"version":3,"file":"module.enum.js","sourceRoot":"","sources":["../../src/enums/module.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UAqBX;AArBD,WAAY,UAAU;IAIrB,2BAAa,CAAA;IAKb,+BAAiB,CAAA;IAKjB,iCAAmB,CAAA;IAMnB,mCAAqB,CAAA;AACtB,CAAC,EArBW,UAAU,0BAAV,UAAU,QAqBrB;AAED,IAAY,WAqBX;AArBD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,8BAAe,CAAA;IACf,iDAAkC,CAAA;IAClC,uCAAwB,CAAA;IACxB,+CAAgC,CAAA;IAChC,4BAAa,CAAA;IACb,kDAAmC,CAAA;IACnC,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;IACvB,+CAAgC,CAAA;IAChC,oCAAqB,CAAA;IACrB,qDAAsC,CAAA;IACtC,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,8BAAe,CAAA;AAChB,CAAC,EArBW,WAAW,2BAAX,WAAW,QAqBtB"}
|
@@ -8,15 +8,19 @@ export declare enum MetricType {
|
|
8
8
|
Feedback = "FEEDBACK",
|
9
9
|
Total = "TOTAL"
|
10
10
|
}
|
11
|
-
export declare enum
|
12
|
-
|
13
|
-
|
14
|
-
|
11
|
+
export declare enum EventType {
|
12
|
+
Create = "CREATE",
|
13
|
+
Update = "UPDATE",
|
14
|
+
Delete = "DELETE",
|
15
15
|
Status = "STATUS",
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
Attention = "
|
16
|
+
Start = "START",
|
17
|
+
Reject = "REJECT",
|
18
|
+
Complete = "COMPLETE",
|
19
|
+
Attention = "ATTENTION",
|
20
|
+
Invite = "INVITE",
|
21
|
+
Activate = "ACTIVATE",
|
22
|
+
Notify = "NOTIFY",
|
23
|
+
Event = "EVENT"
|
20
24
|
}
|
21
25
|
export declare enum SurveyActionType {
|
22
26
|
Start = "START",
|
package/lib/enums/tracks.enum.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.AuthActionType = exports.SurveyActionType = exports.
|
3
|
+
exports.AuthActionType = exports.SurveyActionType = exports.EventType = exports.MetricType = void 0;
|
4
4
|
var MetricType;
|
5
5
|
(function (MetricType) {
|
6
6
|
MetricType["Seen"] = "SEEN";
|
@@ -12,17 +12,21 @@ var MetricType;
|
|
12
12
|
MetricType["Feedback"] = "FEEDBACK";
|
13
13
|
MetricType["Total"] = "TOTAL";
|
14
14
|
})(MetricType || (exports.MetricType = MetricType = {}));
|
15
|
-
var
|
16
|
-
(function (
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
15
|
+
var EventType;
|
16
|
+
(function (EventType) {
|
17
|
+
EventType["Create"] = "CREATE";
|
18
|
+
EventType["Update"] = "UPDATE";
|
19
|
+
EventType["Delete"] = "DELETE";
|
20
|
+
EventType["Status"] = "STATUS";
|
21
|
+
EventType["Start"] = "START";
|
22
|
+
EventType["Reject"] = "REJECT";
|
23
|
+
EventType["Complete"] = "COMPLETE";
|
24
|
+
EventType["Attention"] = "ATTENTION";
|
25
|
+
EventType["Invite"] = "INVITE";
|
26
|
+
EventType["Activate"] = "ACTIVATE";
|
27
|
+
EventType["Notify"] = "NOTIFY";
|
28
|
+
EventType["Event"] = "EVENT";
|
29
|
+
})(EventType || (exports.EventType = EventType = {}));
|
26
30
|
var SurveyActionType;
|
27
31
|
(function (SurveyActionType) {
|
28
32
|
SurveyActionType["Start"] = "START";
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UAmCX;AAnCD,WAAY,UAAU;IAIrB,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,mCAAqB,CAAA;IAIrB,6BAAe,CAAA;IAIf,mCAAqB,CAAA;IAIrB,mCAAqB,CAAA;IAKrB,6BAAe,CAAA;AAEhB,CAAC,EAnCW,UAAU,0BAAV,UAAU,QAmCrB;AAED,IAAY,
|
1
|
+
{"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UAmCX;AAnCD,WAAY,UAAU;IAIrB,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,mCAAqB,CAAA;IAIrB,6BAAe,CAAA;IAIf,mCAAqB,CAAA;IAIrB,mCAAqB,CAAA;IAKrB,6BAAe,CAAA;AAEhB,CAAC,EAnCW,UAAU,0BAAV,UAAU,QAmCrB;AAED,IAAY,SAaX;AAbD,WAAY,SAAS;IACpB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;AAChB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;AAKD,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAI3B,mCAAe,CAAA;IAKf,2CAAuB,CAAA;IAKvB,qCAAiB,CAAA;AAClB,CAAC,EAfW,gBAAgB,gCAAhB,gBAAgB,QAe3B;AAED,IAAY,cAmCX;AAnCD,WAAY,cAAc;IAIzB,mCAAiB,CAAA;IAKjB,mCAAiB,CAAA;IAKjB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;IAKvB,2CAAyB,CAAA;IAKzB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;AACxB,CAAC,EAnCW,cAAc,8BAAd,cAAc,QAmCzB"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { User } from "../user";
|
2
|
+
import { FeedbackOption } from "./feedback-option.model";
|
3
|
+
export declare class FeedbackItem {
|
4
|
+
id: number;
|
5
|
+
question: string;
|
6
|
+
multiple: boolean;
|
7
|
+
sort: number;
|
8
|
+
readonly: boolean;
|
9
|
+
createdBy: User;
|
10
|
+
createdOn: Date;
|
11
|
+
updatedBy: User;
|
12
|
+
updatedOn: Date;
|
13
|
+
options: FeedbackOption[];
|
14
|
+
constructor(props?: Partial<FeedbackItem>);
|
15
|
+
}
|
@@ -0,0 +1,81 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.FeedbackItem = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
const user_1 = require("../user");
|
15
|
+
const feedback_option_model_1 = require("./feedback-option.model");
|
16
|
+
class FeedbackItem {
|
17
|
+
id;
|
18
|
+
question;
|
19
|
+
multiple;
|
20
|
+
sort;
|
21
|
+
readonly;
|
22
|
+
createdBy;
|
23
|
+
createdOn;
|
24
|
+
updatedBy;
|
25
|
+
updatedOn;
|
26
|
+
options;
|
27
|
+
constructor(props) {
|
28
|
+
Object.assign(this, props);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
exports.FeedbackItem = FeedbackItem;
|
32
|
+
__decorate([
|
33
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
34
|
+
(0, class_transformer_1.Type)(() => Number),
|
35
|
+
__metadata("design:type", Number)
|
36
|
+
], FeedbackItem.prototype, "id", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, class_transformer_1.Expose)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], FeedbackItem.prototype, "question", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, class_transformer_1.Expose)(),
|
43
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
44
|
+
__metadata("design:type", Boolean)
|
45
|
+
], FeedbackItem.prototype, "multiple", void 0);
|
46
|
+
__decorate([
|
47
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
48
|
+
(0, class_transformer_1.Type)(() => Number),
|
49
|
+
__metadata("design:type", Number)
|
50
|
+
], FeedbackItem.prototype, "sort", void 0);
|
51
|
+
__decorate([
|
52
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
53
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
54
|
+
__metadata("design:type", Boolean)
|
55
|
+
], FeedbackItem.prototype, "readonly", void 0);
|
56
|
+
__decorate([
|
57
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
58
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
59
|
+
__metadata("design:type", user_1.User)
|
60
|
+
], FeedbackItem.prototype, "createdBy", void 0);
|
61
|
+
__decorate([
|
62
|
+
(0, class_transformer_1.Expose)(),
|
63
|
+
(0, class_transformer_1.Type)(() => Date),
|
64
|
+
__metadata("design:type", Date)
|
65
|
+
], FeedbackItem.prototype, "createdOn", void 0);
|
66
|
+
__decorate([
|
67
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
68
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
69
|
+
__metadata("design:type", user_1.User)
|
70
|
+
], FeedbackItem.prototype, "updatedBy", void 0);
|
71
|
+
__decorate([
|
72
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
73
|
+
(0, class_transformer_1.Type)(() => Date),
|
74
|
+
__metadata("design:type", Date)
|
75
|
+
], FeedbackItem.prototype, "updatedOn", void 0);
|
76
|
+
__decorate([
|
77
|
+
(0, class_transformer_1.Expose)(),
|
78
|
+
(0, class_transformer_1.Type)(() => feedback_option_model_1.FeedbackOption),
|
79
|
+
__metadata("design:type", Array)
|
80
|
+
], FeedbackItem.prototype, "options", void 0);
|
81
|
+
//# sourceMappingURL=feedback-item.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"feedback-item.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAC/B,mEAAyD;AAGzD,MAAa,YAAY;IAIxB,EAAE,CAAS;IAKX,QAAQ,CAAS;IAMjB,QAAQ,CAAU;IAIlB,IAAI,CAAS;IAIb,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;CACD;AApDD,oCAoDC;AAhDA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;wCACR;AAKX;IADC,IAAA,0BAAM,GAAE;;8CACQ;AAMjB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAIlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;0CACN;AAIb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;8CACF;AAMlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;+CAAC;AAIhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;+CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;+CAAC;AAIhB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;+CAAC;AAMhB;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,sCAAc,CAAC;;6CACD"}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.FeedbackOption = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class FeedbackOption {
|
15
|
+
id;
|
16
|
+
content;
|
17
|
+
sort;
|
18
|
+
isSelected;
|
19
|
+
constructor(props) {
|
20
|
+
Object.assign(this, props);
|
21
|
+
}
|
22
|
+
}
|
23
|
+
exports.FeedbackOption = FeedbackOption;
|
24
|
+
__decorate([
|
25
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
26
|
+
(0, class_transformer_1.Type)(() => Number),
|
27
|
+
__metadata("design:type", Number)
|
28
|
+
], FeedbackOption.prototype, "id", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, class_transformer_1.Expose)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], FeedbackOption.prototype, "content", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
35
|
+
(0, class_transformer_1.Type)(() => Number),
|
36
|
+
__metadata("design:type", Number)
|
37
|
+
], FeedbackOption.prototype, "sort", void 0);
|
38
|
+
__decorate([
|
39
|
+
(0, class_transformer_1.Expose)(),
|
40
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
41
|
+
__metadata("design:type", Boolean)
|
42
|
+
], FeedbackOption.prototype, "isSelected", void 0);
|
43
|
+
//# sourceMappingURL=feedback-option.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"feedback-option.model.js","sourceRoot":"","sources":["../../src/feedback/feedback-option.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAGjD,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;CACD;AAxBD,wCAwBC;AApBA;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"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"feedback.data.js","sourceRoot":"","sources":["../../src/feedback/feedback.data.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.FeedbackItemDto = exports.CreateFeedbackDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
15
|
+
const post_1 = require("../post");
|
16
|
+
class CreateFeedbackDto {
|
17
|
+
name;
|
18
|
+
postType;
|
19
|
+
}
|
20
|
+
exports.CreateFeedbackDto = CreateFeedbackDto;
|
21
|
+
__decorate([
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
23
|
+
(0, class_validator_1.IsString)(),
|
24
|
+
__metadata("design:type", String)
|
25
|
+
], CreateFeedbackDto.prototype, "name", void 0);
|
26
|
+
__decorate([
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
28
|
+
(0, class_validator_1.IsEnum)(post_1.PostType),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], CreateFeedbackDto.prototype, "postType", void 0);
|
31
|
+
class FeedbackItemDto {
|
32
|
+
question;
|
33
|
+
multiple;
|
34
|
+
}
|
35
|
+
exports.FeedbackItemDto = FeedbackItemDto;
|
36
|
+
__decorate([
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
38
|
+
(0, class_validator_1.IsString)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], FeedbackItemDto.prototype, "question", void 0);
|
41
|
+
__decorate([
|
42
|
+
(0, class_validator_1.IsOptional)(),
|
43
|
+
(0, class_validator_1.IsBoolean)(),
|
44
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
45
|
+
__metadata("design:type", Boolean)
|
46
|
+
], FeedbackItemDto.prototype, "multiple", void 0);
|
47
|
+
//# sourceMappingURL=feedback.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"feedback.dto.js","sourceRoot":"","sources":["../../src/feedback/feedback.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAsF;AACtF,yDAAyC;AACzC,kCAAmC;AAGnC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAIb,QAAQ,CAAW;CACnB;AATD,8CASC;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,eAAQ,CAAC;;mDACE;AAGpB,MAAa,eAAe;IAI3B,QAAQ,CAAS;IAKjB,QAAQ,CAAU;CAClB;AAVD,0CAUC;AANA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACM;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;IACX,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;iDACF"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { PostType } from '../post';
|
2
|
+
import { Metric } from '../metric';
|
3
|
+
import { User } from '../user';
|
4
|
+
import { FeedbackItem } from './feedback-item.model';
|
5
|
+
export declare class Feedback {
|
6
|
+
id: number;
|
7
|
+
type: PostType;
|
8
|
+
title: string;
|
9
|
+
description: string;
|
10
|
+
icon: string;
|
11
|
+
metrics: Metric[];
|
12
|
+
createdBy: User;
|
13
|
+
createdOn: Date;
|
14
|
+
updatedBy: User;
|
15
|
+
updatedOn: Date;
|
16
|
+
items: FeedbackItem[];
|
17
|
+
constructor(props?: Partial<Feedback>);
|
18
|
+
}
|
@@ -0,0 +1,87 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.Feedback = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
const post_1 = require("../post");
|
15
|
+
const metric_1 = require("../metric");
|
16
|
+
const user_1 = require("../user");
|
17
|
+
const feedback_item_model_1 = require("./feedback-item.model");
|
18
|
+
class Feedback {
|
19
|
+
id;
|
20
|
+
type;
|
21
|
+
title;
|
22
|
+
description;
|
23
|
+
icon;
|
24
|
+
metrics;
|
25
|
+
createdBy;
|
26
|
+
createdOn;
|
27
|
+
updatedBy;
|
28
|
+
updatedOn;
|
29
|
+
items;
|
30
|
+
constructor(props) {
|
31
|
+
Object.assign(this, props);
|
32
|
+
}
|
33
|
+
}
|
34
|
+
exports.Feedback = Feedback;
|
35
|
+
__decorate([
|
36
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
37
|
+
(0, class_transformer_1.Type)(() => Number),
|
38
|
+
__metadata("design:type", Number)
|
39
|
+
], Feedback.prototype, "id", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
42
|
+
__metadata("design:type", String)
|
43
|
+
], Feedback.prototype, "type", void 0);
|
44
|
+
__decorate([
|
45
|
+
(0, class_transformer_1.Expose)(),
|
46
|
+
__metadata("design:type", String)
|
47
|
+
], Feedback.prototype, "title", void 0);
|
48
|
+
__decorate([
|
49
|
+
(0, class_transformer_1.Expose)(),
|
50
|
+
__metadata("design:type", String)
|
51
|
+
], Feedback.prototype, "description", void 0);
|
52
|
+
__decorate([
|
53
|
+
(0, class_transformer_1.Expose)(),
|
54
|
+
(0, class_transformer_1.Transform)(({ obj }) => post_1.Post.getIcon(obj?.type, true)),
|
55
|
+
__metadata("design:type", String)
|
56
|
+
], Feedback.prototype, "icon", void 0);
|
57
|
+
__decorate([
|
58
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
59
|
+
(0, class_transformer_1.Type)(() => metric_1.Metric),
|
60
|
+
__metadata("design:type", Array)
|
61
|
+
], Feedback.prototype, "metrics", void 0);
|
62
|
+
__decorate([
|
63
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
64
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
65
|
+
__metadata("design:type", user_1.User)
|
66
|
+
], Feedback.prototype, "createdBy", void 0);
|
67
|
+
__decorate([
|
68
|
+
(0, class_transformer_1.Expose)(),
|
69
|
+
(0, class_transformer_1.Type)(() => Date),
|
70
|
+
__metadata("design:type", Date)
|
71
|
+
], Feedback.prototype, "createdOn", void 0);
|
72
|
+
__decorate([
|
73
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
74
|
+
(0, class_transformer_1.Type)(() => user_1.User),
|
75
|
+
__metadata("design:type", user_1.User)
|
76
|
+
], Feedback.prototype, "updatedBy", void 0);
|
77
|
+
__decorate([
|
78
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
79
|
+
(0, class_transformer_1.Type)(() => Date),
|
80
|
+
__metadata("design:type", Date)
|
81
|
+
], Feedback.prototype, "updatedOn", void 0);
|
82
|
+
__decorate([
|
83
|
+
(0, class_transformer_1.Expose)(),
|
84
|
+
(0, class_transformer_1.Type)(() => feedback_item_model_1.FeedbackItem),
|
85
|
+
__metadata("design:type", Array)
|
86
|
+
], Feedback.prototype, "items", void 0);
|
87
|
+
//# sourceMappingURL=feedback.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"feedback.model.js","sourceRoot":"","sources":["../../src/feedback/feedback.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAA4D;AAC5D,kCAAyC;AACzC,sCAAmC;AACnC,kCAA+B;AAC/B,+DAAqD;AAErD,MAAa,QAAQ;IAIpB,EAAE,CAAS;IAGX,IAAI,CAAW;IAKf,KAAK,CAAS;IAGd,WAAW,CAAQ;IAInB,IAAI,CAAS;IAYb,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;AA5DD,4BA4DC;AAxDA;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,WAAI,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,EAAE,IAAI,CAAC,CAAC;;sCACzC;AAYb;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAM,CAAC;;yCACD;AAMlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;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,WAAI,CAAC;8BACN,WAAI;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"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./feedback.dto"), exports);
|
18
|
+
__exportStar(require("./feedback.data"), exports);
|
19
|
+
__exportStar(require("./feedback.model"), exports);
|
20
|
+
__exportStar(require("./feedback-item.model"), exports);
|
21
|
+
__exportStar(require("./feedback-option.model"), exports);
|
22
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/feedback/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,kDAAgC;AAChC,mDAAiC;AACjC,wDAAsC;AACtC,0DAAwC"}
|