@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,36 @@
|
|
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.GalleryItem = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class GalleryItem {
|
15
|
+
title;
|
16
|
+
imageUrl;
|
17
|
+
sort;
|
18
|
+
constructor(props) {
|
19
|
+
Object.assign(this, props);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
exports.GalleryItem = GalleryItem;
|
23
|
+
__decorate([
|
24
|
+
(0, class_transformer_1.Expose)(),
|
25
|
+
__metadata("design:type", String)
|
26
|
+
], GalleryItem.prototype, "title", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_transformer_1.Expose)(),
|
29
|
+
__metadata("design:type", String)
|
30
|
+
], GalleryItem.prototype, "imageUrl", void 0);
|
31
|
+
__decorate([
|
32
|
+
(0, class_transformer_1.Expose)({ groups: ['admin'] }),
|
33
|
+
(0, class_transformer_1.Type)(() => Number),
|
34
|
+
__metadata("design:type", Number)
|
35
|
+
], GalleryItem.prototype, "sort", void 0);
|
36
|
+
//# sourceMappingURL=gallery.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"gallery.model.js","sourceRoot":"","sources":["../../src/gallery/gallery.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AAGjD,MAAa,WAAW;IAGvB,KAAK,CAAS;IAGd,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAEb,YAAY,KAA4B;QACvC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,kCAeC;AAZA;IADC,IAAA,0BAAM,GAAE;;0CACK;AAGd;IADC,IAAA,0BAAM,GAAE;;6CACQ;AAIjB;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;yCACN"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './gallery.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("./gallery.model"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/gallery/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAgC"}
|
package/lib/index.d.ts
CHANGED
@@ -1,5 +1,28 @@
|
|
1
|
-
export * from './
|
2
|
-
export * from './
|
3
|
-
export * from './
|
4
|
-
export * from './
|
1
|
+
export * from './auth';
|
2
|
+
export * from './author';
|
3
|
+
export * from './boost';
|
4
|
+
export * from './brand';
|
5
|
+
export * from './category';
|
6
|
+
export * from './collection';
|
7
|
+
export * from './common';
|
8
|
+
export * from './contact';
|
9
|
+
export * from './feedback';
|
10
|
+
export * from './gallery';
|
11
|
+
export * from './item';
|
12
|
+
export * from './link';
|
13
|
+
export * from './log';
|
14
|
+
export * from './metric';
|
15
|
+
export * from './notification';
|
16
|
+
export * from './popularity';
|
17
|
+
export * from './post';
|
18
|
+
export * from './promotion';
|
19
|
+
export * from './publisher';
|
20
|
+
export * from './question';
|
21
|
+
export * from './quote';
|
5
22
|
export * from './security';
|
23
|
+
export * from './social';
|
24
|
+
export * from './survey';
|
25
|
+
export * from './topic';
|
26
|
+
export * from './ui';
|
27
|
+
export * from './user';
|
28
|
+
export * from './verification';
|
package/lib/index.js
CHANGED
@@ -14,9 +14,32 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
-
__exportStar(require("./
|
18
|
-
__exportStar(require("./
|
19
|
-
__exportStar(require("./
|
20
|
-
__exportStar(require("./
|
17
|
+
__exportStar(require("./auth"), exports);
|
18
|
+
__exportStar(require("./author"), exports);
|
19
|
+
__exportStar(require("./boost"), exports);
|
20
|
+
__exportStar(require("./brand"), exports);
|
21
|
+
__exportStar(require("./category"), exports);
|
22
|
+
__exportStar(require("./collection"), exports);
|
23
|
+
__exportStar(require("./common"), exports);
|
24
|
+
__exportStar(require("./contact"), exports);
|
25
|
+
__exportStar(require("./feedback"), exports);
|
26
|
+
__exportStar(require("./gallery"), exports);
|
27
|
+
__exportStar(require("./item"), exports);
|
28
|
+
__exportStar(require("./link"), exports);
|
29
|
+
__exportStar(require("./log"), exports);
|
30
|
+
__exportStar(require("./metric"), exports);
|
31
|
+
__exportStar(require("./notification"), exports);
|
32
|
+
__exportStar(require("./popularity"), exports);
|
33
|
+
__exportStar(require("./post"), exports);
|
34
|
+
__exportStar(require("./promotion"), exports);
|
35
|
+
__exportStar(require("./publisher"), exports);
|
36
|
+
__exportStar(require("./question"), exports);
|
37
|
+
__exportStar(require("./quote"), exports);
|
21
38
|
__exportStar(require("./security"), exports);
|
39
|
+
__exportStar(require("./social"), exports);
|
40
|
+
__exportStar(require("./survey"), exports);
|
41
|
+
__exportStar(require("./topic"), exports);
|
42
|
+
__exportStar(require("./ui"), exports);
|
43
|
+
__exportStar(require("./user"), exports);
|
44
|
+
__exportStar(require("./verification"), exports);
|
22
45
|
//# sourceMappingURL=index.js.map
|
package/lib/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,0CAAwB;AACxB,4CAA0B;AAC1B,2CAAyB;AACzB,6CAA2B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,2CAAyB;AACzB,4CAA0B;AAC1B,6CAA2B;AAC3B,4CAA0B;AAC1B,yCAAuB;AACvB,yCAAuB;AACvB,wCAAsB;AACtB,2CAAyB;AACzB,iDAA+B;AAC/B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,uCAAqB;AACrB,yCAAuB;AACvB,iDAA+B"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './item.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("./item.model"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/item/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { IconProp } from '@fortawesome/fontawesome-svg-core';
|
2
|
+
import { Context } from '../ui';
|
3
|
+
export declare class Item<T = any> {
|
4
|
+
name?: string;
|
5
|
+
title?: string;
|
6
|
+
value?: T;
|
7
|
+
active?: boolean;
|
8
|
+
readonly?: boolean;
|
9
|
+
icon?: IconProp;
|
10
|
+
iconSelected?: IconProp;
|
11
|
+
context?: Context;
|
12
|
+
props?: any;
|
13
|
+
constructor(props?: Partial<Item>);
|
14
|
+
}
|
@@ -0,0 +1,37 @@
|
|
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.Item = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class Item {
|
15
|
+
name;
|
16
|
+
title;
|
17
|
+
value;
|
18
|
+
active;
|
19
|
+
readonly;
|
20
|
+
icon;
|
21
|
+
iconSelected;
|
22
|
+
context;
|
23
|
+
props;
|
24
|
+
constructor(props) {
|
25
|
+
Object.assign(this, props);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
exports.Item = Item;
|
29
|
+
__decorate([
|
30
|
+
(0, class_transformer_1.Type)(() => Number),
|
31
|
+
__metadata("design:type", Boolean)
|
32
|
+
], Item.prototype, "active", void 0);
|
33
|
+
__decorate([
|
34
|
+
(0, class_transformer_1.Type)(() => Number),
|
35
|
+
__metadata("design:type", Boolean)
|
36
|
+
], Item.prototype, "readonly", void 0);
|
37
|
+
//# sourceMappingURL=item.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"item.model.js","sourceRoot":"","sources":["../../src/item/item.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AAYzC,MAAa,IAAI;IAKhB,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,KAAK,CAAK;IAMV,MAAM,CAAW;IAMjB,QAAQ,CAAW;IAKnB,IAAI,CAAY;IAKhB,YAAY,CAAY;IAKxB,OAAO,CAAW;IAKlB,KAAK,CAAO;IAEZ,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AArDD,oBAqDC;AA/BA;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;oCACF;AAMjB;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;sCACA"}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from './link.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("./link.model"), exports);
|
18
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/link/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
2
|
+
import { Permission, Role } from "../security";
|
3
|
+
export declare class Link {
|
4
|
+
id?: string;
|
5
|
+
title?: string;
|
6
|
+
icon?: IconProp;
|
7
|
+
iconName?: any;
|
8
|
+
image?: string;
|
9
|
+
url?: string;
|
10
|
+
href?: string;
|
11
|
+
active?: boolean;
|
12
|
+
permission?: string;
|
13
|
+
permissions?: Permission[];
|
14
|
+
roles?: Role[];
|
15
|
+
constructor(props: Partial<Link>);
|
16
|
+
}
|
@@ -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.Link = void 0;
|
13
|
+
const class_transformer_1 = require("class-transformer");
|
14
|
+
class Link {
|
15
|
+
id;
|
16
|
+
title;
|
17
|
+
icon;
|
18
|
+
iconName;
|
19
|
+
image;
|
20
|
+
url;
|
21
|
+
href;
|
22
|
+
active;
|
23
|
+
permission;
|
24
|
+
permissions;
|
25
|
+
roles;
|
26
|
+
constructor(props) {
|
27
|
+
Object.assign(this, props);
|
28
|
+
}
|
29
|
+
}
|
30
|
+
exports.Link = Link;
|
31
|
+
__decorate([
|
32
|
+
(0, class_transformer_1.Type)(() => Boolean),
|
33
|
+
__metadata("design:type", Boolean)
|
34
|
+
], Link.prototype, "active", void 0);
|
35
|
+
//# sourceMappingURL=link.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/link/link.model.ts"],"names":[],"mappings":";;;;;;;;;;;;AACA,yDAAyC;AAQzC,MAAa,IAAI;IAIhB,EAAE,CAAU;IAKZ,KAAK,CAAU;IAKf,IAAI,CAAY;IAKhB,QAAQ,CAAO;IAKf,KAAK,CAAU;IAKf,GAAG,CAAU;IAKb,IAAI,CAAU;IAMd,MAAM,CAAW;IAOjB,UAAU,CAAU;IAKpB,WAAW,CAAgB;IAK3B,KAAK,CAAU;IAEf,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9DD,oBA8DC;AAtBA;IADC,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,OAAO,CAAC;;oCACH"}
|
package/lib/log/index.js
ADDED
@@ -0,0 +1,19 @@
|
|
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("./log.event"), exports);
|
18
|
+
__exportStar(require("./log.model"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/log/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,8CAA4B"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export declare enum LogEventType {
|
2
|
+
Create = "CREATE",
|
3
|
+
Update = "UPDATE",
|
4
|
+
Delete = "DELETE",
|
5
|
+
Status = "STATUS",
|
6
|
+
Start = "START",
|
7
|
+
Reject = "REJECT",
|
8
|
+
Complete = "COMPLETE",
|
9
|
+
Attention = "ATTENTION",
|
10
|
+
Invite = "INVITE",
|
11
|
+
Activate = "ACTIVATE",
|
12
|
+
Notify = "NOTIFY",
|
13
|
+
Event = "EVENT"
|
14
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LogEventType = void 0;
|
4
|
+
var LogEventType;
|
5
|
+
(function (LogEventType) {
|
6
|
+
LogEventType["Create"] = "CREATE";
|
7
|
+
LogEventType["Update"] = "UPDATE";
|
8
|
+
LogEventType["Delete"] = "DELETE";
|
9
|
+
LogEventType["Status"] = "STATUS";
|
10
|
+
LogEventType["Start"] = "START";
|
11
|
+
LogEventType["Reject"] = "REJECT";
|
12
|
+
LogEventType["Complete"] = "COMPLETE";
|
13
|
+
LogEventType["Attention"] = "ATTENTION";
|
14
|
+
LogEventType["Invite"] = "INVITE";
|
15
|
+
LogEventType["Activate"] = "ACTIVATE";
|
16
|
+
LogEventType["Notify"] = "NOTIFY";
|
17
|
+
LogEventType["Event"] = "EVENT";
|
18
|
+
})(LogEventType || (exports.LogEventType = LogEventType = {}));
|
19
|
+
//# sourceMappingURL=log.event.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"log.event.js","sourceRoot":"","sources":["../../src/log/log.event.ts"],"names":[],"mappings":";;;AAKA,IAAY,YAaX;AAbD,WAAY,YAAY;IACvB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;IACf,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,uCAAuB,CAAA;IACvB,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,iCAAiB,CAAA;IACjB,+BAAe,CAAA;AAChB,CAAC,EAbW,YAAY,4BAAZ,YAAY,QAavB"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { ModuleScope } from "../common";
|
2
|
+
import { User } from "../user";
|
3
|
+
import { LogEventType } from './log.event';
|
4
|
+
export declare class Log {
|
5
|
+
date: Date;
|
6
|
+
user?: User;
|
7
|
+
content?: string;
|
8
|
+
entityId?: number;
|
9
|
+
scope?: ModuleScope;
|
10
|
+
event?: LogEventType;
|
11
|
+
constructor(props?: Partial<Log>);
|
12
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Log = void 0;
|
4
|
+
class Log {
|
5
|
+
date;
|
6
|
+
user;
|
7
|
+
content;
|
8
|
+
entityId;
|
9
|
+
scope;
|
10
|
+
event;
|
11
|
+
constructor(props) {
|
12
|
+
Object.assign(this, props);
|
13
|
+
}
|
14
|
+
}
|
15
|
+
exports.Log = Log;
|
16
|
+
//# sourceMappingURL=log.model.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"log.model.js","sourceRoot":"","sources":["../../src/log/log.model.ts"],"names":[],"mappings":";;;AAKA,MAAa,GAAG;IAMf,IAAI,CAAO;IAQX,IAAI,CAAQ;IAMZ,OAAO,CAAU;IAQjB,QAAQ,CAAU;IAQlB,KAAK,CAAe;IAMpB,KAAK,CAAgB;IAErB,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA/CD,kBA+CC"}
|
@@ -0,0 +1,19 @@
|
|
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("./metric.model"), exports);
|
18
|
+
__exportStar(require("./metric.type"), exports);
|
19
|
+
//# sourceMappingURL=index.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/metric/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA+B;AAC/B,gDAA8B"}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
import { IconProp } from "@fortawesome/fontawesome-svg-core";
|
2
|
+
import { MetricType } from "./metric.type";
|
3
|
+
import { Author } from "../author";
|
4
|
+
import { Post } from "../post";
|
5
|
+
import { Question } from "../question";
|
6
|
+
export declare class Metric {
|
7
|
+
name?: string;
|
8
|
+
title?: string;
|
9
|
+
type: MetricType;
|
10
|
+
value: number;
|
11
|
+
active: boolean;
|
12
|
+
icon: IconProp;
|
13
|
+
iconActive: IconProp;
|
14
|
+
constructor(props?: Partial<Metric>);
|
15
|
+
static seen(val: number, active?: boolean): Metric;
|
16
|
+
static opens(val: number, active?: boolean): Metric;
|
17
|
+
static likes(val: number, active?: boolean): Metric;
|
18
|
+
static bookmarks(val: number, active?: boolean): Metric;
|
19
|
+
static shares(val: number, active?: boolean): Metric;
|
20
|
+
static downloads(val: number, active?: boolean): Metric;
|
21
|
+
static feedbacks(val: number, active?: boolean): Metric;
|
22
|
+
static total(title: string, val: number, icon?: IconProp, active?: boolean): Metric;
|
23
|
+
static getByAuthor(author: Author): Metric[];
|
24
|
+
static getByPost(post: Post): Metric[];
|
25
|
+
static getByQuestion(question: Question): Metric[];
|
26
|
+
static getIconByType(metricType: MetricType, active?: boolean): IconProp;
|
27
|
+
}
|