@intelact/bright 0.9.79 → 0.9.81
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/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 +3 -0
- package/lib/metric/index.js +20 -0
- package/lib/metric/index.js.map +1 -0
- package/lib/metric/metric.interface.d.ts +11 -0
- package/lib/metric/metric.interface.js +3 -0
- package/lib/metric/metric.interface.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/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":"collection.model.js","sourceRoot":"","sources":["../../src/collection/collection.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,kCAA+B;AAC/B,4CAAyC;AACzC,sCAAmC;AACnC,kCAA+B;AAE/B,MAAa,UAAU;IAItB,EAAE,CAAS;IAKX,KAAK,CAAS;IAId,KAAK,CAAS;IAUd,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;CACD;AApDD,gCAoDC;AAhDA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACR;AAKX;IADC,IAAA,0BAAM,GAAE;;yCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;;yCACH;AAUd;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,eAAM,CAAC;;2CACD;AAMlB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,WAAI,CAAC;8BACN,WAAI;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,WAAI,CAAC;8BACN,WAAI;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,qBAAS,CAAC;8BACX,qBAAS;6CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './collection.model';
|
@@ -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("./collection.model"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/collection/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.AssetType = void 0;
|
4
|
+
var AssetType;
|
5
|
+
(function (AssetType) {
|
6
|
+
AssetType["Image"] = "IMAGE";
|
7
|
+
AssetType["Video"] = "VIDEO";
|
8
|
+
AssetType["Audio"] = "AUDIO";
|
9
|
+
AssetType["Doc"] = "DOC";
|
10
|
+
AssetType["Embed"] = "EMBED";
|
11
|
+
})(AssetType || (exports.AssetType = AssetType = {}));
|
12
|
+
//# sourceMappingURL=asset.type.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"asset.type.js","sourceRoot":"","sources":["../../src/common/asset.type.ts"],"names":[],"mappings":";;;AAQA,IAAY,SAMX;AAND,WAAY,SAAS;IACpB,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,4BAAe,CAAA;IACf,wBAAa,CAAA;IACb,4BAAe,CAAA;AAChB,CAAC,EANW,SAAS,yBAAT,SAAS,QAMpB"}
|
@@ -0,0 +1,24 @@
|
|
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.BrowseBookmarksDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const post_1 = require("../post");
|
15
|
+
class BrowseBookmarksDto {
|
16
|
+
types;
|
17
|
+
}
|
18
|
+
exports.BrowseBookmarksDto = BrowseBookmarksDto;
|
19
|
+
__decorate([
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
21
|
+
(0, class_validator_1.IsEnum)(post_1.PostType, { each: true }),
|
22
|
+
__metadata("design:type", Array)
|
23
|
+
], BrowseBookmarksDto.prototype, "types", void 0);
|
24
|
+
//# sourceMappingURL=bookmark.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"bookmark.dto.js","sourceRoot":"","sources":["../../src/common/bookmark.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,kCAAmC;AAGnC,MAAa,kBAAkB;IAI9B,KAAK,CAAa;CAClB;AALD,gDAKC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,eAAQ,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;;iDACf"}
|
@@ -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.BrowseParamsDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const sort_type_1 = require("./sort.type");
|
15
|
+
const post_1 = require("../post");
|
16
|
+
class BrowseParamsDto {
|
17
|
+
term;
|
18
|
+
topics;
|
19
|
+
authors;
|
20
|
+
types;
|
21
|
+
sort;
|
22
|
+
}
|
23
|
+
exports.BrowseParamsDto = BrowseParamsDto;
|
24
|
+
__decorate([
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
26
|
+
(0, class_validator_1.IsString)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], BrowseParamsDto.prototype, "term", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
31
|
+
__metadata("design:type", Array)
|
32
|
+
], BrowseParamsDto.prototype, "topics", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_validator_1.IsOptional)(),
|
35
|
+
__metadata("design:type", Array)
|
36
|
+
], BrowseParamsDto.prototype, "authors", void 0);
|
37
|
+
__decorate([
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
39
|
+
(0, class_validator_1.IsEnum)(post_1.PostType),
|
40
|
+
__metadata("design:type", Array)
|
41
|
+
], BrowseParamsDto.prototype, "types", void 0);
|
42
|
+
__decorate([
|
43
|
+
(0, class_validator_1.IsOptional)(),
|
44
|
+
(0, class_validator_1.IsEnum)(sort_type_1.SortType),
|
45
|
+
__metadata("design:type", String)
|
46
|
+
], BrowseParamsDto.prototype, "sort", void 0);
|
47
|
+
//# sourceMappingURL=browse.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"browse.dto.js","sourceRoot":"","sources":["../../src/common/browse.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAC/D,2CAAuC;AACvC,kCAAmC;AAEnC,MAAa,eAAe;IAI3B,IAAI,CAAS;IAGb,MAAM,CAAW;IAGjB,OAAO,CAAW;IAIlB,KAAK,CAAa;IAIlB,IAAI,CAAW;CACf;AAnBD,0CAmBC;AAfA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;+CACI;AAGjB;IADC,IAAA,4BAAU,GAAE;;gDACK;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,eAAQ,CAAC;;8CACC;AAIlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;6CACF"}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
export declare class TitleDto {
|
2
|
+
title: string;
|
3
|
+
}
|
4
|
+
export declare class NameDto {
|
5
|
+
name: string;
|
6
|
+
}
|
7
|
+
export declare class ContentDto {
|
8
|
+
content: string;
|
9
|
+
}
|
10
|
+
export declare class EmailDto {
|
11
|
+
email: string;
|
12
|
+
}
|
13
|
+
export declare class PhoneDto {
|
14
|
+
email: string;
|
15
|
+
}
|
16
|
+
export declare class SortDto {
|
17
|
+
ids: number[];
|
18
|
+
}
|
19
|
+
export declare class PeriodDto {
|
20
|
+
startDate: Date;
|
21
|
+
endDate: Date;
|
22
|
+
}
|
23
|
+
export declare class UrlDto {
|
24
|
+
url: string;
|
25
|
+
}
|
@@ -0,0 +1,94 @@
|
|
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.UrlDto = exports.PeriodDto = exports.SortDto = exports.PhoneDto = exports.EmailDto = exports.ContentDto = exports.NameDto = exports.TitleDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
15
|
+
class TitleDto {
|
16
|
+
title;
|
17
|
+
}
|
18
|
+
exports.TitleDto = TitleDto;
|
19
|
+
__decorate([
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
21
|
+
(0, class_validator_1.IsString)(),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], TitleDto.prototype, "title", void 0);
|
24
|
+
class NameDto {
|
25
|
+
name;
|
26
|
+
}
|
27
|
+
exports.NameDto = NameDto;
|
28
|
+
__decorate([
|
29
|
+
(0, class_validator_1.IsNotEmpty)(),
|
30
|
+
(0, class_validator_1.IsString)(),
|
31
|
+
__metadata("design:type", String)
|
32
|
+
], NameDto.prototype, "name", void 0);
|
33
|
+
class ContentDto {
|
34
|
+
content;
|
35
|
+
}
|
36
|
+
exports.ContentDto = ContentDto;
|
37
|
+
__decorate([
|
38
|
+
(0, class_validator_1.IsNotEmpty)(),
|
39
|
+
(0, class_validator_1.IsString)(),
|
40
|
+
__metadata("design:type", String)
|
41
|
+
], ContentDto.prototype, "content", void 0);
|
42
|
+
class EmailDto {
|
43
|
+
email;
|
44
|
+
}
|
45
|
+
exports.EmailDto = EmailDto;
|
46
|
+
__decorate([
|
47
|
+
(0, class_validator_1.IsNotEmpty)(),
|
48
|
+
(0, class_validator_1.IsEmail)(),
|
49
|
+
__metadata("design:type", String)
|
50
|
+
], EmailDto.prototype, "email", void 0);
|
51
|
+
class PhoneDto {
|
52
|
+
email;
|
53
|
+
}
|
54
|
+
exports.PhoneDto = PhoneDto;
|
55
|
+
__decorate([
|
56
|
+
(0, class_validator_1.IsNotEmpty)(),
|
57
|
+
(0, class_validator_1.IsPhoneNumber)(),
|
58
|
+
__metadata("design:type", String)
|
59
|
+
], PhoneDto.prototype, "email", void 0);
|
60
|
+
class SortDto {
|
61
|
+
ids;
|
62
|
+
}
|
63
|
+
exports.SortDto = SortDto;
|
64
|
+
__decorate([
|
65
|
+
(0, class_validator_1.IsNotEmpty)(),
|
66
|
+
__metadata("design:type", Array)
|
67
|
+
], SortDto.prototype, "ids", void 0);
|
68
|
+
class PeriodDto {
|
69
|
+
startDate;
|
70
|
+
endDate;
|
71
|
+
}
|
72
|
+
exports.PeriodDto = PeriodDto;
|
73
|
+
__decorate([
|
74
|
+
(0, class_validator_1.IsNotEmpty)(),
|
75
|
+
(0, class_validator_1.IsDate)(),
|
76
|
+
(0, class_transformer_1.Type)(() => Date),
|
77
|
+
__metadata("design:type", Date)
|
78
|
+
], PeriodDto.prototype, "startDate", void 0);
|
79
|
+
__decorate([
|
80
|
+
(0, class_validator_1.IsNotEmpty)(),
|
81
|
+
(0, class_validator_1.IsDate)(),
|
82
|
+
(0, class_transformer_1.Type)(() => Date),
|
83
|
+
__metadata("design:type", Date)
|
84
|
+
], PeriodDto.prototype, "endDate", void 0);
|
85
|
+
class UrlDto {
|
86
|
+
url;
|
87
|
+
}
|
88
|
+
exports.UrlDto = UrlDto;
|
89
|
+
__decorate([
|
90
|
+
(0, class_validator_1.IsNotEmpty)(),
|
91
|
+
(0, class_validator_1.IsUrl)(),
|
92
|
+
__metadata("design:type", String)
|
93
|
+
], UrlDto.prototype, "url", void 0);
|
94
|
+
//# sourceMappingURL=general.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../src/common/general.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8F;AAC9F,yDAAyC;AAEzC,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uCACG;AAGf,MAAa,OAAO;IAGnB,IAAI,CAAS;CACb;AAJD,0BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qCACE;AAGd,MAAa,UAAU;IAGtB,OAAO,CAAS;CAChB;AAJD,gCAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2CACK;AAGjB,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,yBAAO,GAAE;;uCACI;AAGf,MAAa,QAAQ;IAGpB,KAAK,CAAS;CACd;AAJD,4BAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAa,GAAE;;uCACF;AAGf,MAAa,OAAO;IAEnB,GAAG,CAAW;CACd;AAHD,0BAGC;AADA;IADC,IAAA,4BAAU,GAAE;;oCACC;AAGf,MAAa,SAAS;IAKrB,SAAS,CAAO;IAKhB,OAAO,CAAO;CACd;AAXD,8BAWC;AANA;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACN,IAAI;4CAAC;AAKhB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACR,IAAI;0CAAC;AAGf,MAAa,MAAM;IAGlB,GAAG,CAAS;CACZ;AAJD,wBAIC;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,uBAAK,GAAE;;mCACI"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export * from './asset.type';
|
2
|
+
export * from './bookmark.dto';
|
3
|
+
export * from './browse.dto';
|
4
|
+
export * from './general.dto';
|
5
|
+
export * from './module.scope';
|
6
|
+
export * from './module.type';
|
7
|
+
export * from './search.dto';
|
8
|
+
export * from './sort.type';
|
9
|
+
export * from './status.label';
|
10
|
+
export * from './status.type';
|
11
|
+
export * from './user.agent';
|
@@ -0,0 +1,28 @@
|
|
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("./asset.type"), exports);
|
18
|
+
__exportStar(require("./bookmark.dto"), exports);
|
19
|
+
__exportStar(require("./browse.dto"), exports);
|
20
|
+
__exportStar(require("./general.dto"), exports);
|
21
|
+
__exportStar(require("./module.scope"), exports);
|
22
|
+
__exportStar(require("./module.type"), exports);
|
23
|
+
__exportStar(require("./search.dto"), exports);
|
24
|
+
__exportStar(require("./sort.type"), exports);
|
25
|
+
__exportStar(require("./status.label"), exports);
|
26
|
+
__exportStar(require("./status.type"), exports);
|
27
|
+
__exportStar(require("./user.agent"), exports);
|
28
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,iDAA+B;AAC/B,+CAA6B;AAC7B,gDAA8B;AAC9B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B;AAC7B,8CAA4B;AAC5B,iDAA+B;AAC/B,gDAA8B;AAC9B,+CAA6B"}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
export declare enum ModuleScope {
|
2
|
+
Auth = "auth",
|
3
|
+
Author = "author",
|
4
|
+
Boost = "boost",
|
5
|
+
BrandPublisher = "brand:publisher",
|
6
|
+
BrandTeam = "brand:team",
|
7
|
+
BrandSettings = "brand:settings",
|
8
|
+
Post = "post",
|
9
|
+
PostCollection = "post:colleaction",
|
10
|
+
Feedback = "feedback",
|
11
|
+
Promotion = "Promotion",
|
12
|
+
Publisher = "publisher",
|
13
|
+
PublisherTeam = "publisher:team",
|
14
|
+
Question = "question",
|
15
|
+
QuestionCategory = "question:category",
|
16
|
+
Quote = "quote",
|
17
|
+
Report = "report",
|
18
|
+
Survey = "survey",
|
19
|
+
Topic = "topic",
|
20
|
+
UserAdmin = "user:admin",
|
21
|
+
Other = "other"
|
22
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModuleScope = void 0;
|
4
|
+
var ModuleScope;
|
5
|
+
(function (ModuleScope) {
|
6
|
+
ModuleScope["Auth"] = "auth";
|
7
|
+
ModuleScope["Author"] = "author";
|
8
|
+
ModuleScope["Boost"] = "boost";
|
9
|
+
ModuleScope["BrandPublisher"] = "brand:publisher";
|
10
|
+
ModuleScope["BrandTeam"] = "brand:team";
|
11
|
+
ModuleScope["BrandSettings"] = "brand:settings";
|
12
|
+
ModuleScope["Post"] = "post";
|
13
|
+
ModuleScope["PostCollection"] = "post:colleaction";
|
14
|
+
ModuleScope["Feedback"] = "feedback";
|
15
|
+
ModuleScope["Promotion"] = "Promotion";
|
16
|
+
ModuleScope["Publisher"] = "publisher";
|
17
|
+
ModuleScope["PublisherTeam"] = "publisher:team";
|
18
|
+
ModuleScope["Question"] = "question";
|
19
|
+
ModuleScope["QuestionCategory"] = "question:category";
|
20
|
+
ModuleScope["Quote"] = "quote";
|
21
|
+
ModuleScope["Report"] = "report";
|
22
|
+
ModuleScope["Survey"] = "survey";
|
23
|
+
ModuleScope["Topic"] = "topic";
|
24
|
+
ModuleScope["UserAdmin"] = "user:admin";
|
25
|
+
ModuleScope["Other"] = "other";
|
26
|
+
})(ModuleScope || (exports.ModuleScope = ModuleScope = {}));
|
27
|
+
//# sourceMappingURL=module.scope.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"module.scope.js","sourceRoot":"","sources":["../../src/common/module.scope.ts"],"names":[],"mappings":";;;AAAA,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"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModuleType = void 0;
|
4
|
+
var ModuleType;
|
5
|
+
(function (ModuleType) {
|
6
|
+
ModuleType["Home"] = "HOME";
|
7
|
+
ModuleType["Browse"] = "BROWSE";
|
8
|
+
ModuleType["Library"] = "LIBRARY";
|
9
|
+
ModuleType["Question"] = "QUESTION";
|
10
|
+
})(ModuleType || (exports.ModuleType = ModuleType = {}));
|
11
|
+
//# sourceMappingURL=module.type.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"module.type.js","sourceRoot":"","sources":["../../src/common/module.type.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"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { PostType } from "../post";
|
2
|
+
import { SortType } from "./sort.type";
|
3
|
+
import { StatusType } from "./status.type";
|
4
|
+
export declare class SearchParamsDto {
|
5
|
+
type?: PostType;
|
6
|
+
status?: StatusType;
|
7
|
+
term?: string;
|
8
|
+
sort?: SortType;
|
9
|
+
topics?: number[];
|
10
|
+
categories?: number[];
|
11
|
+
authors?: number[];
|
12
|
+
startDate?: Date;
|
13
|
+
endDate?: Date;
|
14
|
+
}
|
@@ -0,0 +1,74 @@
|
|
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.SearchParamsDto = 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
|
+
const sort_type_1 = require("./sort.type");
|
17
|
+
const status_type_1 = require("./status.type");
|
18
|
+
class SearchParamsDto {
|
19
|
+
type;
|
20
|
+
status;
|
21
|
+
term;
|
22
|
+
sort;
|
23
|
+
topics;
|
24
|
+
categories;
|
25
|
+
authors;
|
26
|
+
startDate;
|
27
|
+
endDate;
|
28
|
+
}
|
29
|
+
exports.SearchParamsDto = SearchParamsDto;
|
30
|
+
__decorate([
|
31
|
+
(0, class_validator_1.IsOptional)(),
|
32
|
+
(0, class_validator_1.IsEnum)(post_1.PostType),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], SearchParamsDto.prototype, "type", void 0);
|
35
|
+
__decorate([
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
37
|
+
(0, class_validator_1.IsEnum)(status_type_1.StatusType),
|
38
|
+
__metadata("design:type", String)
|
39
|
+
], SearchParamsDto.prototype, "status", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
42
|
+
(0, class_validator_1.IsString)(),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], SearchParamsDto.prototype, "term", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
47
|
+
(0, class_validator_1.IsEnum)(sort_type_1.SortType),
|
48
|
+
__metadata("design:type", String)
|
49
|
+
], SearchParamsDto.prototype, "sort", void 0);
|
50
|
+
__decorate([
|
51
|
+
(0, class_validator_1.IsOptional)(),
|
52
|
+
__metadata("design:type", Array)
|
53
|
+
], SearchParamsDto.prototype, "topics", void 0);
|
54
|
+
__decorate([
|
55
|
+
(0, class_validator_1.IsOptional)(),
|
56
|
+
__metadata("design:type", Array)
|
57
|
+
], SearchParamsDto.prototype, "categories", void 0);
|
58
|
+
__decorate([
|
59
|
+
(0, class_validator_1.IsOptional)(),
|
60
|
+
__metadata("design:type", Array)
|
61
|
+
], SearchParamsDto.prototype, "authors", void 0);
|
62
|
+
__decorate([
|
63
|
+
(0, class_validator_1.IsOptional)(),
|
64
|
+
(0, class_validator_1.IsDate)(),
|
65
|
+
(0, class_transformer_1.Type)(() => Date),
|
66
|
+
__metadata("design:type", Date)
|
67
|
+
], SearchParamsDto.prototype, "startDate", void 0);
|
68
|
+
__decorate([
|
69
|
+
(0, class_validator_1.IsOptional)(),
|
70
|
+
(0, class_validator_1.IsDate)(),
|
71
|
+
(0, class_transformer_1.Type)(() => Date),
|
72
|
+
__metadata("design:type", Date)
|
73
|
+
], SearchParamsDto.prototype, "endDate", void 0);
|
74
|
+
//# sourceMappingURL=search.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"search.dto.js","sourceRoot":"","sources":["../../src/common/search.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,yDAAyC;AACzC,kCAAmC;AACnC,2CAAuC;AACvC,+CAA2C;AAO3C,MAAa,eAAe;IAI3B,IAAI,CAAY;IAIhB,MAAM,CAAc;IAIpB,IAAI,CAAU;IAId,IAAI,CAAY;IAGhB,MAAM,CAAY;IAGlB,UAAU,CAAY;IAGtB,OAAO,CAAY;IAKnB,SAAS,CAAQ;IAKjB,OAAO,CAAQ;CACf;AApCD,0CAoCC;AAhCA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,eAAQ,CAAC;;6CACD;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,wBAAU,CAAC;;+CACC;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,oBAAQ,CAAC;;6CACD;AAGhB;IADC,IAAA,4BAAU,GAAE;;+CACK;AAGlB;IADC,IAAA,4BAAU,GAAE;;mDACS;AAGtB;IADC,IAAA,4BAAU,GAAE;;gDACM;AAKnB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACL,IAAI;kDAAC;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACR,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,IAAI,CAAC;8BACP,IAAI;gDAAC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.SortType = void 0;
|
4
|
+
var SortType;
|
5
|
+
(function (SortType) {
|
6
|
+
SortType["Newest"] = "newest";
|
7
|
+
SortType["Relevant"] = "relevant";
|
8
|
+
SortType["Popular"] = "popular";
|
9
|
+
SortType["Liked"] = "liked";
|
10
|
+
SortType["Downloaded"] = "downloaded";
|
11
|
+
SortType["Oldest"] = "oldest";
|
12
|
+
})(SortType || (exports.SortType = SortType = {}));
|
13
|
+
//# sourceMappingURL=sort.type.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"sort.type.js","sourceRoot":"","sources":["../../src/common/sort.type.ts"],"names":[],"mappings":";;;AAMA,IAAY,QA8BX;AA9BD,WAAY,QAAQ;IAInB,6BAAiB,CAAA;IAKjB,iCAAqB,CAAA;IAKrB,+BAAmB,CAAA;IAKnB,2BAAe,CAAA;IAKf,qCAAyB,CAAA;IAKzB,6BAAiB,CAAA;AAClB,CAAC,EA9BW,QAAQ,wBAAR,QAAQ,QA8BnB"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.StatusLabel = void 0;
|
4
|
+
var StatusLabel;
|
5
|
+
(function (StatusLabel) {
|
6
|
+
StatusLabel["Upcoming"] = "UPCOMING";
|
7
|
+
StatusLabel["Live"] = "LIVE";
|
8
|
+
StatusLabel["Expired"] = "EXPIRED";
|
9
|
+
StatusLabel["Ended"] = "ENDED";
|
10
|
+
})(StatusLabel || (exports.StatusLabel = StatusLabel = {}));
|
11
|
+
//# sourceMappingURL=status.label.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"status.label.js","sourceRoot":"","sources":["../../src/common/status.label.ts"],"names":[],"mappings":";;;AAKA,IAAY,WAwBX;AAxBD,WAAY,WAAW;IAMtB,oCAAqB,CAAA;IAMrB,4BAAa,CAAA;IAMb,kCAAmB,CAAA;IAKnB,8BAAe,CAAA;AAChB,CAAC,EAxBW,WAAW,2BAAX,WAAW,QAwBtB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.StatusType = void 0;
|
4
|
+
var StatusType;
|
5
|
+
(function (StatusType) {
|
6
|
+
StatusType["Draft"] = "DRAFT";
|
7
|
+
StatusType["ReadyForPublish"] = "READY";
|
8
|
+
StatusType["Published"] = "PUBLISHED";
|
9
|
+
StatusType["Archived"] = "ARCHIVED";
|
10
|
+
StatusType["Blocked"] = "BLOCKED";
|
11
|
+
})(StatusType || (exports.StatusType = StatusType = {}));
|
12
|
+
//# sourceMappingURL=status.type.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"status.type.js","sourceRoot":"","sources":["../../src/common/status.type.ts"],"names":[],"mappings":";;;AAKA,IAAY,UA4BX;AA5BD,WAAY,UAAU;IAKrB,6BAAe,CAAA;IAKf,uCAAyB,CAAA;IAMzB,qCAAuB,CAAA;IAMvB,mCAAqB,CAAA;IAKrB,iCAAmB,CAAA;AACpB,CAAC,EA5BW,UAAU,0BAAV,UAAU,QA4BrB"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"user.agent.js","sourceRoot":"","sources":["../../src/common/user.agent.ts"],"names":[],"mappings":""}
|
@@ -0,0 +1,35 @@
|
|
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.ContactEmailDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class ContactEmailDto {
|
15
|
+
name;
|
16
|
+
email;
|
17
|
+
message;
|
18
|
+
}
|
19
|
+
exports.ContactEmailDto = ContactEmailDto;
|
20
|
+
__decorate([
|
21
|
+
(0, class_validator_1.IsNotEmpty)(),
|
22
|
+
(0, class_validator_1.IsString)(),
|
23
|
+
__metadata("design:type", String)
|
24
|
+
], ContactEmailDto.prototype, "name", void 0);
|
25
|
+
__decorate([
|
26
|
+
(0, class_validator_1.IsNotEmpty)(),
|
27
|
+
(0, class_validator_1.IsString)(),
|
28
|
+
__metadata("design:type", String)
|
29
|
+
], ContactEmailDto.prototype, "email", void 0);
|
30
|
+
__decorate([
|
31
|
+
(0, class_validator_1.IsNotEmpty)(),
|
32
|
+
(0, class_validator_1.IsString)(),
|
33
|
+
__metadata("design:type", String)
|
34
|
+
], ContactEmailDto.prototype, "message", void 0);
|
35
|
+
//# sourceMappingURL=contact.dto.js.map
|