@intelact/bright 0.3.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/dtos/asset.dto.d.ts +14 -0
- package/lib/dtos/asset.dto.js +70 -0
- package/lib/dtos/asset.dto.js.map +1 -0
- package/lib/dtos/auth.dto.d.ts +27 -0
- package/lib/dtos/auth.dto.js +127 -0
- package/lib/dtos/auth.dto.js.map +1 -0
- package/lib/dtos/author.dto.d.ts +14 -0
- package/lib/dtos/author.dto.js +57 -0
- package/lib/dtos/author.dto.js.map +1 -0
- package/lib/dtos/boost.dto.d.ts +12 -0
- package/lib/dtos/boost.dto.js +65 -0
- package/lib/dtos/boost.dto.js.map +1 -0
- package/lib/dtos/brand.dto.d.ts +9 -0
- package/lib/dtos/brand.dto.js +39 -0
- package/lib/dtos/brand.dto.js.map +1 -0
- package/lib/dtos/browse.dto.d.ts +8 -0
- package/lib/dtos/browse.dto.js +48 -0
- package/lib/dtos/browse.dto.js.map +1 -0
- package/lib/dtos/category.dto.d.ts +7 -0
- package/lib/dtos/category.dto.js +37 -0
- package/lib/dtos/category.dto.js.map +1 -0
- package/lib/dtos/contact.dto.d.ts +5 -0
- package/lib/dtos/contact.dto.js +35 -0
- package/lib/dtos/contact.dto.js.map +1 -0
- package/lib/dtos/feedback.dto.d.ts +11 -0
- package/lib/dtos/feedback.dto.js +51 -0
- package/lib/dtos/feedback.dto.js.map +1 -0
- package/lib/dtos/index.d.ts +15 -0
- package/lib/dtos/index.js +28 -0
- package/lib/dtos/index.js.map +1 -0
- package/lib/dtos/post.dto.d.ts +38 -0
- package/lib/dtos/post.dto.js +139 -0
- package/lib/dtos/post.dto.js.map +1 -0
- package/lib/dtos/promotion.dto.d.ts +21 -0
- package/lib/dtos/promotion.dto.js +95 -0
- package/lib/dtos/promotion.dto.js.map +1 -0
- package/lib/dtos/publisher.dto.d.ts +19 -0
- package/lib/dtos/publisher.dto.js +73 -0
- package/lib/dtos/publisher.dto.js.map +1 -0
- package/lib/dtos/question.dto.d.ts +30 -0
- package/lib/dtos/question.dto.js +132 -0
- package/lib/dtos/question.dto.js.map +1 -0
- package/lib/dtos/survey.dto.d.ts +40 -0
- package/lib/dtos/survey.dto.js +153 -0
- package/lib/dtos/survey.dto.js.map +1 -0
- package/lib/dtos/topic.dto.d.ts +8 -0
- package/lib/dtos/topic.dto.js +43 -0
- package/lib/dtos/topic.dto.js.map +1 -0
- package/lib/enums/account.enum.js +2 -2
- package/lib/enums/account.enum.js.map +1 -1
- package/lib/enums/asset.enum.js +2 -2
- package/lib/enums/asset.enum.js.map +1 -1
- package/lib/enums/color.enum.js +3 -3
- package/lib/enums/color.enum.js.map +1 -1
- package/lib/enums/index.d.ts +12 -12
- package/lib/enums/index.js +22 -34
- package/lib/enums/index.js.map +1 -1
- package/lib/enums/module.enum.js +2 -2
- package/lib/enums/module.enum.js.map +1 -1
- package/lib/enums/notification.enum.js +2 -2
- package/lib/enums/notification.enum.js.map +1 -1
- package/lib/enums/post.enum.js +1 -1
- package/lib/enums/post.enum.js.map +1 -1
- package/lib/enums/setting.enum.js +1 -1
- package/lib/enums/setting.enum.js.map +1 -1
- package/lib/enums/social.enum.js +2 -2
- package/lib/enums/social.enum.js.map +1 -1
- package/lib/enums/sort.enum.d.ts +5 -0
- package/lib/enums/sort.enum.js +8 -2
- package/lib/enums/sort.enum.js.map +1 -1
- package/lib/enums/status.enum.js +1 -1
- package/lib/enums/status.enum.js.map +1 -1
- package/lib/enums/tracks.enum.js +3 -3
- package/lib/enums/tracks.enum.js.map +1 -1
- package/lib/enums/verification.enum.js +1 -1
- package/lib/enums/verification.enum.js.map +1 -1
- package/lib/index.js +1 -5
- package/lib/index.js.map +1 -1
- package/lib/models/index.d.ts +21 -21
- package/lib/models/index.js +31 -43
- package/lib/models/index.js.map +1 -1
- package/lib/security/index.d.ts +3 -3
- package/lib/security/index.js +13 -7
- package/lib/security/index.js.map +1 -1
- package/lib/security/permissions.js +1 -1
- package/lib/security/permissions.js.map +1 -1
- package/lib/security/role.js +1 -1
- package/lib/security/role.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +11 -4
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"question.dto.js","sourceRoot":"","sources":["../../src/dtos/question.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgG;AAChG,oCAAoC;AAEpC,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,IAAI,CAAW;IAGf,OAAO,CAAW;CAClB;AAXA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,EAAC,gBAAQ,CAAC;;+CACF;AAGf;IADC,IAAA,4BAAU,GAAE;;kDACK;AAdnB,8CAeC;AAED,MAAa,iBAAiB;IAI7B,IAAI,CAAS;IAGb,MAAM,CAAW;IAIjB,KAAK,CAAS;IAId,QAAQ,CAAS;IAIjB,IAAI,CAAS;IAIb,KAAK,CAAS;IAId,KAAK,CAAS;IAId,OAAO,CAAU;CACjB;AA5BA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAGb;IADC,IAAA,4BAAU,GAAE;;iDACI;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAIjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+CACE;AAIb;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gDACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,2BAAS,GAAE;;kDACK;AA/BlB,8CAgCC;AAED,MAAa,gBAAgB;IAI5B,OAAO,CAAS;CAChB;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACK;AAJjB,4CAKC;AAED,MAAa,sBAAsB;IAGlC,KAAK,CAAS;CACd;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACG;AAHf,wDAIC;AAED,MAAa,iBAAiB;IAG7B,QAAQ,CAAS;CACjB;AADA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACM;AAHlB,8CAIC;AAED,MAAa,sBAAsB;IAIlC,OAAO,CAAS;IAIhB,QAAQ,CAAS;CACjB;AALA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;uDACK;AAIhB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;wDACM;AARlB,wDASC"}
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { StatusType, SortType } from '../enums';
|
2
|
+
export declare class SurveyParamsDto {
|
3
|
+
status: StatusType;
|
4
|
+
startDate: Date;
|
5
|
+
endDate: Date;
|
6
|
+
term: string;
|
7
|
+
sort: SortType;
|
8
|
+
}
|
9
|
+
export declare class CreateSurveyDto {
|
10
|
+
name: string;
|
11
|
+
}
|
12
|
+
export declare class UpdateSurveyNameDto {
|
13
|
+
name: string;
|
14
|
+
}
|
15
|
+
export declare class UpdateSurveyDescriptionDto {
|
16
|
+
description: string;
|
17
|
+
}
|
18
|
+
export declare class UpdateSurveyPeriodDto {
|
19
|
+
startDate: Date;
|
20
|
+
endDate: Date;
|
21
|
+
}
|
22
|
+
export declare class CreateSurveyQuestionDto {
|
23
|
+
question: string;
|
24
|
+
multiple: boolean;
|
25
|
+
}
|
26
|
+
export declare class UpdateSurveyQuestionDto {
|
27
|
+
question: string;
|
28
|
+
}
|
29
|
+
export declare class SortSurveyQuestionsDto {
|
30
|
+
ids: number[];
|
31
|
+
}
|
32
|
+
export declare class CreateSurveyOptionDto {
|
33
|
+
content: string;
|
34
|
+
}
|
35
|
+
export declare class UpdateSurveyOptionDto {
|
36
|
+
content: string;
|
37
|
+
}
|
38
|
+
export declare class SortSurveyOptionsDto {
|
39
|
+
ids: number[];
|
40
|
+
}
|
@@ -0,0 +1,153 @@
|
|
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.SortSurveyOptionsDto = exports.UpdateSurveyOptionDto = exports.CreateSurveyOptionDto = exports.SortSurveyQuestionsDto = exports.UpdateSurveyQuestionDto = exports.CreateSurveyQuestionDto = exports.UpdateSurveyPeriodDto = exports.UpdateSurveyDescriptionDto = exports.UpdateSurveyNameDto = exports.CreateSurveyDto = exports.SurveyParamsDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
15
|
+
const enums_1 = require("../enums");
|
16
|
+
class SurveyParamsDto {
|
17
|
+
status;
|
18
|
+
startDate;
|
19
|
+
endDate;
|
20
|
+
term;
|
21
|
+
sort;
|
22
|
+
}
|
23
|
+
__decorate([
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
25
|
+
(0, class_validator_1.IsEnum)(enums_1.StatusType),
|
26
|
+
__metadata("design:type", String)
|
27
|
+
], SurveyParamsDto.prototype, "status", void 0);
|
28
|
+
__decorate([
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
30
|
+
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
31
|
+
(0, class_validator_1.IsDate)(),
|
32
|
+
__metadata("design:type", Date)
|
33
|
+
], SurveyParamsDto.prototype, "startDate", void 0);
|
34
|
+
__decorate([
|
35
|
+
(0, class_validator_1.IsOptional)(),
|
36
|
+
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
37
|
+
(0, class_validator_1.IsDate)(),
|
38
|
+
__metadata("design:type", Date)
|
39
|
+
], SurveyParamsDto.prototype, "endDate", void 0);
|
40
|
+
__decorate([
|
41
|
+
(0, class_validator_1.IsOptional)(),
|
42
|
+
(0, class_validator_1.IsString)(),
|
43
|
+
__metadata("design:type", String)
|
44
|
+
], SurveyParamsDto.prototype, "term", void 0);
|
45
|
+
__decorate([
|
46
|
+
(0, class_validator_1.IsOptional)(),
|
47
|
+
(0, class_validator_1.IsEnum)(enums_1.SortType),
|
48
|
+
__metadata("design:type", String)
|
49
|
+
], SurveyParamsDto.prototype, "sort", void 0);
|
50
|
+
exports.SurveyParamsDto = SurveyParamsDto;
|
51
|
+
class CreateSurveyDto {
|
52
|
+
name;
|
53
|
+
}
|
54
|
+
__decorate([
|
55
|
+
(0, class_validator_1.IsNotEmpty)(),
|
56
|
+
(0, class_validator_1.IsString)(),
|
57
|
+
__metadata("design:type", String)
|
58
|
+
], CreateSurveyDto.prototype, "name", void 0);
|
59
|
+
exports.CreateSurveyDto = CreateSurveyDto;
|
60
|
+
class UpdateSurveyNameDto {
|
61
|
+
name;
|
62
|
+
}
|
63
|
+
__decorate([
|
64
|
+
(0, class_validator_1.IsNotEmpty)(),
|
65
|
+
(0, class_validator_1.IsString)(),
|
66
|
+
__metadata("design:type", String)
|
67
|
+
], UpdateSurveyNameDto.prototype, "name", void 0);
|
68
|
+
exports.UpdateSurveyNameDto = UpdateSurveyNameDto;
|
69
|
+
class UpdateSurveyDescriptionDto {
|
70
|
+
description;
|
71
|
+
}
|
72
|
+
__decorate([
|
73
|
+
(0, class_validator_1.IsNotEmpty)(),
|
74
|
+
(0, class_validator_1.IsString)(),
|
75
|
+
__metadata("design:type", String)
|
76
|
+
], UpdateSurveyDescriptionDto.prototype, "description", void 0);
|
77
|
+
exports.UpdateSurveyDescriptionDto = UpdateSurveyDescriptionDto;
|
78
|
+
class UpdateSurveyPeriodDto {
|
79
|
+
startDate;
|
80
|
+
endDate;
|
81
|
+
}
|
82
|
+
__decorate([
|
83
|
+
(0, class_validator_1.IsNotEmpty)(),
|
84
|
+
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
85
|
+
(0, class_validator_1.IsDate)(),
|
86
|
+
__metadata("design:type", Date)
|
87
|
+
], UpdateSurveyPeriodDto.prototype, "startDate", void 0);
|
88
|
+
__decorate([
|
89
|
+
(0, class_validator_1.IsNotEmpty)(),
|
90
|
+
(0, class_transformer_1.Transform)(({ value }) => (new Date(value.toString()))),
|
91
|
+
(0, class_validator_1.IsDate)(),
|
92
|
+
__metadata("design:type", Date)
|
93
|
+
], UpdateSurveyPeriodDto.prototype, "endDate", void 0);
|
94
|
+
exports.UpdateSurveyPeriodDto = UpdateSurveyPeriodDto;
|
95
|
+
class CreateSurveyQuestionDto {
|
96
|
+
question;
|
97
|
+
multiple;
|
98
|
+
}
|
99
|
+
__decorate([
|
100
|
+
(0, class_validator_1.IsNotEmpty)(),
|
101
|
+
(0, class_validator_1.IsString)(),
|
102
|
+
__metadata("design:type", String)
|
103
|
+
], CreateSurveyQuestionDto.prototype, "question", void 0);
|
104
|
+
__decorate([
|
105
|
+
(0, class_validator_1.IsNotEmpty)(),
|
106
|
+
(0, class_validator_1.IsBoolean)(),
|
107
|
+
__metadata("design:type", Boolean)
|
108
|
+
], CreateSurveyQuestionDto.prototype, "multiple", void 0);
|
109
|
+
exports.CreateSurveyQuestionDto = CreateSurveyQuestionDto;
|
110
|
+
class UpdateSurveyQuestionDto {
|
111
|
+
question;
|
112
|
+
}
|
113
|
+
__decorate([
|
114
|
+
(0, class_validator_1.IsNotEmpty)(),
|
115
|
+
(0, class_validator_1.IsString)(),
|
116
|
+
__metadata("design:type", String)
|
117
|
+
], UpdateSurveyQuestionDto.prototype, "question", void 0);
|
118
|
+
exports.UpdateSurveyQuestionDto = UpdateSurveyQuestionDto;
|
119
|
+
class SortSurveyQuestionsDto {
|
120
|
+
ids;
|
121
|
+
}
|
122
|
+
__decorate([
|
123
|
+
(0, class_validator_1.IsNotEmpty)(),
|
124
|
+
__metadata("design:type", Array)
|
125
|
+
], SortSurveyQuestionsDto.prototype, "ids", void 0);
|
126
|
+
exports.SortSurveyQuestionsDto = SortSurveyQuestionsDto;
|
127
|
+
class CreateSurveyOptionDto {
|
128
|
+
content;
|
129
|
+
}
|
130
|
+
__decorate([
|
131
|
+
(0, class_validator_1.IsNotEmpty)(),
|
132
|
+
(0, class_validator_1.IsString)(),
|
133
|
+
__metadata("design:type", String)
|
134
|
+
], CreateSurveyOptionDto.prototype, "content", void 0);
|
135
|
+
exports.CreateSurveyOptionDto = CreateSurveyOptionDto;
|
136
|
+
class UpdateSurveyOptionDto {
|
137
|
+
content;
|
138
|
+
}
|
139
|
+
__decorate([
|
140
|
+
(0, class_validator_1.IsNotEmpty)(),
|
141
|
+
(0, class_validator_1.IsString)(),
|
142
|
+
__metadata("design:type", String)
|
143
|
+
], UpdateSurveyOptionDto.prototype, "content", void 0);
|
144
|
+
exports.UpdateSurveyOptionDto = UpdateSurveyOptionDto;
|
145
|
+
class SortSurveyOptionsDto {
|
146
|
+
ids;
|
147
|
+
}
|
148
|
+
__decorate([
|
149
|
+
(0, class_validator_1.IsNotEmpty)(),
|
150
|
+
__metadata("design:type", Array)
|
151
|
+
], SortSurveyOptionsDto.prototype, "ids", void 0);
|
152
|
+
exports.SortSurveyOptionsDto = SortSurveyOptionsDto;
|
153
|
+
//# sourceMappingURL=survey.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"survey.dto.js","sourceRoot":"","sources":["../../src/dtos/survey.dto.ts"],"names":[],"mappings":"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"}
|
@@ -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.SortTopicsDto = exports.SubmitTopicDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
class SubmitTopicDto {
|
15
|
+
title;
|
16
|
+
description;
|
17
|
+
weight;
|
18
|
+
}
|
19
|
+
__decorate([
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
21
|
+
(0, class_validator_1.IsString)(),
|
22
|
+
__metadata("design:type", String)
|
23
|
+
], SubmitTopicDto.prototype, "title", void 0);
|
24
|
+
__decorate([
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
26
|
+
(0, class_validator_1.IsString)(),
|
27
|
+
__metadata("design:type", String)
|
28
|
+
], SubmitTopicDto.prototype, "description", void 0);
|
29
|
+
__decorate([
|
30
|
+
(0, class_validator_1.IsNotEmpty)(),
|
31
|
+
(0, class_validator_1.IsNumber)(),
|
32
|
+
__metadata("design:type", Number)
|
33
|
+
], SubmitTopicDto.prototype, "weight", void 0);
|
34
|
+
exports.SubmitTopicDto = SubmitTopicDto;
|
35
|
+
class SortTopicsDto {
|
36
|
+
ids;
|
37
|
+
}
|
38
|
+
__decorate([
|
39
|
+
(0, class_validator_1.IsNotEmpty)(),
|
40
|
+
__metadata("design:type", Array)
|
41
|
+
], SortTopicsDto.prototype, "ids", void 0);
|
42
|
+
exports.SortTopicsDto = SortTopicsDto;
|
43
|
+
//# sourceMappingURL=topic.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"topic.dto.js","sourceRoot":"","sources":["../../src/dtos/topic.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6E;AAE7E,MAAa,cAAc;IAG1B,KAAK,CAAS;IAId,WAAW,CAAS;IAIpB,MAAM,CAAS;CACf;AATA;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACG;AAId;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mDACS;AAIpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACI;AAXhB,wCAYC;AAED,MAAa,aAAa;IAEzB,GAAG,CAAW;CACd;AADA;IADC,IAAA,4BAAU,GAAE;;0CACC;AAFf,sCAGC"}
|
@@ -8,11 +8,11 @@ var AccountStatusType;
|
|
8
8
|
AccountStatusType["Disabled"] = "DISABLED";
|
9
9
|
AccountStatusType["Blocked"] = "BLOCKED";
|
10
10
|
AccountStatusType["Closed"] = "CLOSED";
|
11
|
-
})(AccountStatusType
|
11
|
+
})(AccountStatusType = exports.AccountStatusType || (exports.AccountStatusType = {}));
|
12
12
|
var AccountType;
|
13
13
|
(function (AccountType) {
|
14
14
|
AccountType["Stakeholder"] = "STAKEHOLDER";
|
15
15
|
AccountType["Brand"] = "BRAND";
|
16
16
|
AccountType["Publisher"] = "PUBLISHER";
|
17
|
-
})(AccountType
|
17
|
+
})(AccountType = exports.AccountType || (exports.AccountType = {}));
|
18
18
|
//# sourceMappingURL=account.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"account.enum.js","sourceRoot":"","sources":["../../src/enums/account.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAI5B,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;IAKjB,0CAAqB,CAAA;IAKrB,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;AAClB,CAAC,EAzBW,iBAAiB,
|
1
|
+
{"version":3,"file":"account.enum.js","sourceRoot":"","sources":["../../src/enums/account.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBAyBX;AAzBD,WAAY,iBAAiB;IAI5B,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;IAKjB,0CAAqB,CAAA;IAKrB,wCAAmB,CAAA;IAKnB,sCAAiB,CAAA;AAClB,CAAC,EAzBW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAyB5B;AAED,IAAY,WAgBX;AAhBD,WAAY,WAAW;IAKtB,0CAA2B,CAAA;IAK3B,8BAAe,CAAA;IAKf,sCAAuB,CAAA;AACxB,CAAC,EAhBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAgBtB"}
|
package/lib/enums/asset.enum.js
CHANGED
@@ -7,7 +7,7 @@ var AssetType;
|
|
7
7
|
AssetType["Video"] = "VIDEO";
|
8
8
|
AssetType["Audio"] = "AUDIO";
|
9
9
|
AssetType["Doc"] = "DOC";
|
10
|
-
})(AssetType
|
10
|
+
})(AssetType = exports.AssetType || (exports.AssetType = {}));
|
11
11
|
var AssetCategoryType;
|
12
12
|
(function (AssetCategoryType) {
|
13
13
|
AssetCategoryType["Download"] = "DOWNLOAD";
|
@@ -16,5 +16,5 @@ var AssetCategoryType;
|
|
16
16
|
AssetCategoryType["Media"] = "MEDIA";
|
17
17
|
AssetCategoryType["Podcast"] = "PODCAST";
|
18
18
|
AssetCategoryType["Embed"] = "EMBED";
|
19
|
-
})(AssetCategoryType
|
19
|
+
})(AssetCategoryType = exports.AssetCategoryType || (exports.AssetCategoryType = {}));
|
20
20
|
//# sourceMappingURL=asset.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"asset.enum.js","sourceRoot":"","sources":["../../src/enums/asset.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,SAqBX;AArBD,WAAY,SAAS;IAKpB,4BAAe,CAAA;IAKf,4BAAe,CAAA;IAKf,4BAAe,CAAA;IAKf,wBAAW,CAAA;AACZ,CAAC,EArBW,SAAS,
|
1
|
+
{"version":3,"file":"asset.enum.js","sourceRoot":"","sources":["../../src/enums/asset.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,SAqBX;AArBD,WAAY,SAAS;IAKpB,4BAAe,CAAA;IAKf,4BAAe,CAAA;IAKf,4BAAe,CAAA;IAKf,wBAAW,CAAA;AACZ,CAAC,EArBW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAqBpB;AAED,IAAY,iBAqCX;AArCD,WAAY,iBAAiB;IAM5B,0CAAqB,CAAA;IAMrB,oCAAe,CAAA;IAMf,kCAAa,CAAA;IAMb,oCAAe,CAAA;IAMf,wCAAmB,CAAA;IAMnB,oCAAe,CAAA;AAChB,CAAC,EArCW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAqC5B"}
|
package/lib/enums/color.enum.js
CHANGED
@@ -11,7 +11,7 @@ var Color;
|
|
11
11
|
Color["Info"] = "text-info";
|
12
12
|
Color["Light"] = "text-light";
|
13
13
|
Color["Dark"] = "text-dark";
|
14
|
-
})(Color
|
14
|
+
})(Color = exports.Color || (exports.Color = {}));
|
15
15
|
var Background;
|
16
16
|
(function (Background) {
|
17
17
|
Background["Primary"] = "bg-primary";
|
@@ -22,7 +22,7 @@ var Background;
|
|
22
22
|
Background["Info"] = "bg-info";
|
23
23
|
Background["Light"] = "bg-light";
|
24
24
|
Background["Dark"] = "bg-dark";
|
25
|
-
})(Background
|
25
|
+
})(Background = exports.Background || (exports.Background = {}));
|
26
26
|
var Context;
|
27
27
|
(function (Context) {
|
28
28
|
Context["Primary"] = "context-primary";
|
@@ -33,5 +33,5 @@ var Context;
|
|
33
33
|
Context["Info"] = "context-info";
|
34
34
|
Context["Light"] = "context-light";
|
35
35
|
Context["Dark"] = "context-dark";
|
36
|
-
})(Context
|
36
|
+
})(Context = exports.Context || (exports.Context = {}));
|
37
37
|
//# sourceMappingURL=color.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"color.enum.js","sourceRoot":"","sources":["../../src/enums/color.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,KASX;AATD,WAAY,KAAK;IAChB,iCAAwB,CAAA;IACxB,qCAA4B,CAAA;IAC5B,iCAAwB,CAAA;IACxB,+BAAsB,CAAA;IACtB,iCAAwB,CAAA;IACxB,2BAAkB,CAAA;IAClB,6BAAoB,CAAA;IACpB,2BAAkB,CAAA;AACnB,CAAC,EATW,KAAK,
|
1
|
+
{"version":3,"file":"color.enum.js","sourceRoot":"","sources":["../../src/enums/color.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,KASX;AATD,WAAY,KAAK;IAChB,iCAAwB,CAAA;IACxB,qCAA4B,CAAA;IAC5B,iCAAwB,CAAA;IACxB,+BAAsB,CAAA;IACtB,iCAAwB,CAAA;IACxB,2BAAkB,CAAA;IAClB,6BAAoB,CAAA;IACpB,2BAAkB,CAAA;AACnB,CAAC,EATW,KAAK,GAAL,aAAK,KAAL,aAAK,QAShB;AAOD,IAAY,UASX;AATD,WAAY,UAAU;IACrB,oCAAsB,CAAA;IACtB,wCAA0B,CAAA;IAC1B,oCAAsB,CAAA;IACtB,kCAAoB,CAAA;IACpB,oCAAsB,CAAA;IACtB,8BAAgB,CAAA;IAChB,gCAAkB,CAAA;IAClB,8BAAgB,CAAA;AACjB,CAAC,EATW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QASrB;AAOD,IAAY,OASX;AATD,WAAY,OAAO;IAClB,sCAA2B,CAAA;IAC3B,0CAA+B,CAAA;IAC/B,sCAA2B,CAAA;IAC3B,oCAAyB,CAAA;IACzB,sCAA2B,CAAA;IAC3B,gCAAqB,CAAA;IACrB,kCAAuB,CAAA;IACvB,gCAAqB,CAAA;AACtB,CAAC,EATW,OAAO,GAAP,eAAO,KAAP,eAAO,QASlB"}
|
package/lib/enums/index.d.ts
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
export
|
2
|
-
export
|
3
|
-
export
|
4
|
-
export
|
5
|
-
export
|
6
|
-
export
|
7
|
-
export
|
8
|
-
export
|
9
|
-
export
|
10
|
-
export
|
11
|
-
export
|
12
|
-
export
|
1
|
+
export * from './account.enum';
|
2
|
+
export * from './asset.enum';
|
3
|
+
export * from './color.enum';
|
4
|
+
export * from './notification.enum';
|
5
|
+
export * from './module.enum';
|
6
|
+
export * from './post.enum';
|
7
|
+
export * from './setting.enum';
|
8
|
+
export * from './sort.enum';
|
9
|
+
export * from './social.enum';
|
10
|
+
export * from './status.enum';
|
11
|
+
export * from './tracks.enum';
|
12
|
+
export * from './verification.enum';
|
package/lib/enums/index.js
CHANGED
@@ -1,37 +1,25 @@
|
|
1
1
|
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
5
|
+
}) : (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
o[k2] = m[k];
|
8
|
+
}));
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
11
|
+
};
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
Object.defineProperty(exports, "NotificationChannelType", { enumerable: true, get: function () { return notification_enum_1.NotificationChannelType; } });
|
16
|
-
Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return notification_enum_1.NotificationType; } });
|
17
|
-
var module_enum_1 = require("./module.enum");
|
18
|
-
Object.defineProperty(exports, "ModuleType", { enumerable: true, get: function () { return module_enum_1.ModuleType; } });
|
19
|
-
Object.defineProperty(exports, "FeatureType", { enumerable: true, get: function () { return module_enum_1.FeatureType; } });
|
20
|
-
var post_enum_1 = require("./post.enum");
|
21
|
-
Object.defineProperty(exports, "PostType", { enumerable: true, get: function () { return post_enum_1.PostType; } });
|
22
|
-
var setting_enum_1 = require("./setting.enum");
|
23
|
-
Object.defineProperty(exports, "SettingType", { enumerable: true, get: function () { return setting_enum_1.SettingType; } });
|
24
|
-
var sort_enum_1 = require("./sort.enum");
|
25
|
-
Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return sort_enum_1.SortType; } });
|
26
|
-
var social_enum_1 = require("./social.enum");
|
27
|
-
Object.defineProperty(exports, "SocialLoginType", { enumerable: true, get: function () { return social_enum_1.SocialLoginType; } });
|
28
|
-
Object.defineProperty(exports, "SocialShareType", { enumerable: true, get: function () { return social_enum_1.SocialShareType; } });
|
29
|
-
var status_enum_1 = require("./status.enum");
|
30
|
-
Object.defineProperty(exports, "StatusType", { enumerable: true, get: function () { return status_enum_1.StatusType; } });
|
31
|
-
var tracks_enum_1 = require("./tracks.enum");
|
32
|
-
Object.defineProperty(exports, "ContentActionType", { enumerable: true, get: function () { return tracks_enum_1.ContentActionType; } });
|
33
|
-
Object.defineProperty(exports, "SurveyActionType", { enumerable: true, get: function () { return tracks_enum_1.SurveyActionType; } });
|
34
|
-
Object.defineProperty(exports, "AuthActionType", { enumerable: true, get: function () { return tracks_enum_1.AuthActionType; } });
|
35
|
-
var verification_enum_1 = require("./verification.enum");
|
36
|
-
Object.defineProperty(exports, "VerificationType", { enumerable: true, get: function () { return verification_enum_1.VerificationType; } });
|
13
|
+
__exportStar(require("./account.enum"), exports);
|
14
|
+
__exportStar(require("./asset.enum"), exports);
|
15
|
+
__exportStar(require("./color.enum"), exports);
|
16
|
+
__exportStar(require("./notification.enum"), exports);
|
17
|
+
__exportStar(require("./module.enum"), exports);
|
18
|
+
__exportStar(require("./post.enum"), exports);
|
19
|
+
__exportStar(require("./setting.enum"), exports);
|
20
|
+
__exportStar(require("./sort.enum"), exports);
|
21
|
+
__exportStar(require("./social.enum"), exports);
|
22
|
+
__exportStar(require("./status.enum"), exports);
|
23
|
+
__exportStar(require("./tracks.enum"), exports);
|
24
|
+
__exportStar(require("./verification.enum"), exports);
|
37
25
|
//# sourceMappingURL=index.js.map
|
package/lib/enums/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,iDAA+B;AAC/B,+CAA6B;AAC7B,+CAA6B;AAC7B,sDAAoC;AACpC,gDAA8B;AAC9B,8CAA4B;AAC5B,iDAA+B;AAC/B,8CAA4B;AAC5B,gDAA8B;AAC9B,gDAA8B;AAC9B,gDAA8B;AAC9B,sDAAoC"}
|
package/lib/enums/module.enum.js
CHANGED
@@ -7,7 +7,7 @@ var ModuleType;
|
|
7
7
|
ModuleType["Browse"] = "BROWSE";
|
8
8
|
ModuleType["Library"] = "LIBRARY";
|
9
9
|
ModuleType["Question"] = "QUESTION";
|
10
|
-
})(ModuleType
|
10
|
+
})(ModuleType = exports.ModuleType || (exports.ModuleType = {}));
|
11
11
|
var FeatureType;
|
12
12
|
(function (FeatureType) {
|
13
13
|
FeatureType["Dashboard"] = "dashboard";
|
@@ -27,5 +27,5 @@ var FeatureType;
|
|
27
27
|
FeatureType["Setting"] = "setting";
|
28
28
|
FeatureType["Profile"] = "profile";
|
29
29
|
FeatureType["Boost"] = "boost";
|
30
|
-
})(FeatureType
|
30
|
+
})(FeatureType = exports.FeatureType || (exports.FeatureType = {}));
|
31
31
|
//# 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,
|
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,GAAV,kBAAU,KAAV,kBAAU,QAqBrB;AAED,IAAY,WAkBX;AAlBD,WAAY,WAAW;IACtB,sCAAuB,CAAA;IACvB,4BAAa,CAAA;IACb,oCAAqB,CAAA;IACrB,yCAA0B,CAAA;IAC1B,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,oCAAqB,CAAA;IACrB,gCAAiB,CAAA;IACjB,4BAAa,CAAA;IACb,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;IACvB,8BAAe,CAAA;IACf,8BAAe,CAAA;IACf,4BAAa,CAAA;IACb,kCAAmB,CAAA;IACnB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;AAChB,CAAC,EAlBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAkBtB"}
|
@@ -7,12 +7,12 @@ var NotificationType;
|
|
7
7
|
NotificationType["Success"] = "SUCCESS";
|
8
8
|
NotificationType["Warning"] = "WARNING";
|
9
9
|
NotificationType["Error"] = "ERROR";
|
10
|
-
})(NotificationType
|
10
|
+
})(NotificationType = exports.NotificationType || (exports.NotificationType = {}));
|
11
11
|
var NotificationChannelType;
|
12
12
|
(function (NotificationChannelType) {
|
13
13
|
NotificationChannelType["Push"] = "PUSH";
|
14
14
|
NotificationChannelType["SMS"] = "SMS";
|
15
15
|
NotificationChannelType["InApp"] = "INAPP";
|
16
16
|
NotificationChannelType["Email"] = "EMAIL";
|
17
|
-
})(NotificationChannelType
|
17
|
+
})(NotificationChannelType = exports.NotificationChannelType || (exports.NotificationChannelType = {}));
|
18
18
|
//# sourceMappingURL=notification.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"notification.enum.js","sourceRoot":"","sources":["../../src/enums/notification.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,gBAqBX;AArBD,WAAY,gBAAgB;IAK3B,iCAAa,CAAA;IAKb,uCAAmB,CAAA;IAKnB,uCAAmB,CAAA;IAKnB,mCAAe,CAAA;AAChB,CAAC,EArBW,gBAAgB,
|
1
|
+
{"version":3,"file":"notification.enum.js","sourceRoot":"","sources":["../../src/enums/notification.enum.ts"],"names":[],"mappings":";;;AAKA,IAAY,gBAqBX;AArBD,WAAY,gBAAgB;IAK3B,iCAAa,CAAA;IAKb,uCAAmB,CAAA;IAKnB,uCAAmB,CAAA;IAKnB,mCAAe,CAAA;AAChB,CAAC,EArBW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAqB3B;AAOD,IAAY,uBAqBX;AArBD,WAAY,uBAAuB;IAKlC,wCAAa,CAAA;IAKb,sCAAW,CAAA;IAKX,0CAAe,CAAA;IAKf,0CAAe,CAAA;AAChB,CAAC,EArBW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAqBlC"}
|
package/lib/enums/post.enum.js
CHANGED
@@ -10,5 +10,5 @@ var PostType;
|
|
10
10
|
PostType["Event"] = "EVENT";
|
11
11
|
PostType["News"] = "NEWS";
|
12
12
|
PostType["Quote"] = "QUOTE";
|
13
|
-
})(PostType
|
13
|
+
})(PostType = exports.PostType || (exports.PostType = {}));
|
14
14
|
//# sourceMappingURL=post.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"post.enum.js","sourceRoot":"","sources":["../../src/enums/post.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,QAoCX;AApCD,WAAY,QAAQ;IAKnB,+BAAmB,CAAA;IAKnB,yBAAa,CAAA;IAKb,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,yBAAa,CAAA;IAKb,2BAAe,CAAA;AAChB,CAAC,EApCW,QAAQ,
|
1
|
+
{"version":3,"file":"post.enum.js","sourceRoot":"","sources":["../../src/enums/post.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,QAoCX;AApCD,WAAY,QAAQ;IAKnB,+BAAmB,CAAA;IAKnB,yBAAa,CAAA;IAKb,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,yBAAa,CAAA;IAKb,2BAAe,CAAA;AAChB,CAAC,EApCW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAoCnB"}
|
@@ -7,5 +7,5 @@ var SettingType;
|
|
7
7
|
SettingType["Legal"] = "LEGAL";
|
8
8
|
SettingType["Social"] = "SOCIAL";
|
9
9
|
SettingType["Other"] = "OTHER";
|
10
|
-
})(SettingType
|
10
|
+
})(SettingType = exports.SettingType || (exports.SettingType = {}));
|
11
11
|
//# sourceMappingURL=setting.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"setting.enum.js","sourceRoot":"","sources":["../../src/enums/setting.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,WAqBX;AArBD,WAAY,WAAW;IAKtB,gCAAiB,CAAA;IAKjB,8BAAe,CAAA;IAKf,gCAAiB,CAAA;IAKjB,8BAAe,CAAA;AAChB,CAAC,EArBW,WAAW,
|
1
|
+
{"version":3,"file":"setting.enum.js","sourceRoot":"","sources":["../../src/enums/setting.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,WAqBX;AArBD,WAAY,WAAW;IAKtB,gCAAiB,CAAA;IAKjB,8BAAe,CAAA;IAKf,gCAAiB,CAAA;IAKjB,8BAAe,CAAA;AAChB,CAAC,EArBW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAqBtB"}
|
package/lib/enums/social.enum.js
CHANGED
@@ -8,12 +8,12 @@ var SocialLoginType;
|
|
8
8
|
SocialLoginType["Facebook"] = "FACEBOOK";
|
9
9
|
SocialLoginType["Linkedin"] = "LINKEDIN";
|
10
10
|
SocialLoginType["Apple"] = "APPLE";
|
11
|
-
})(SocialLoginType
|
11
|
+
})(SocialLoginType = exports.SocialLoginType || (exports.SocialLoginType = {}));
|
12
12
|
var SocialShareType;
|
13
13
|
(function (SocialShareType) {
|
14
14
|
SocialShareType["Twitter"] = "TWITTER";
|
15
15
|
SocialShareType["Facebook"] = "FACEBOOK";
|
16
16
|
SocialShareType["Linkedin"] = "LINKEDIN";
|
17
17
|
SocialShareType["Whatsup"] = "WHATSAPP";
|
18
|
-
})(SocialShareType
|
18
|
+
})(SocialShareType = exports.SocialShareType || (exports.SocialShareType = {}));
|
19
19
|
//# sourceMappingURL=social.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"social.enum.js","sourceRoot":"","sources":["../../src/enums/social.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,eA0BX;AA1BD,WAAY,eAAe;IAK1B,oCAAiB,CAAA;IAKjB,sCAAmB,CAAA;IAKnB,wCAAqB,CAAA;IAKrB,wCAAqB,CAAA;IAKrB,kCAAe,CAAA;AAChB,CAAC,EA1BW,eAAe
|
1
|
+
{"version":3,"file":"social.enum.js","sourceRoot":"","sources":["../../src/enums/social.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,eA0BX;AA1BD,WAAY,eAAe;IAK1B,oCAAiB,CAAA;IAKjB,sCAAmB,CAAA;IAKnB,wCAAqB,CAAA;IAKrB,wCAAqB,CAAA;IAKrB,kCAAe,CAAA;AAChB,CAAC,EA1BW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QA0B1B;AAKD,IAAY,eAqBX;AArBD,WAAY,eAAe;IAK1B,sCAAmB,CAAA;IAKnB,wCAAqB,CAAA;IAKrB,wCAAqB,CAAA;IAKrB,uCAAoB,CAAA;AACrB,CAAC,EArBW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAqB1B"}
|
package/lib/enums/sort.enum.d.ts
CHANGED
package/lib/enums/sort.enum.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SortType = void 0;
|
3
|
+
exports.AuthorSortType = exports.SortType = void 0;
|
4
4
|
var SortType;
|
5
5
|
(function (SortType) {
|
6
6
|
SortType["Newest"] = "newest";
|
@@ -9,5 +9,11 @@ var SortType;
|
|
9
9
|
SortType["Liked"] = "liked";
|
10
10
|
SortType["Downloaded"] = "downloaded";
|
11
11
|
SortType["Oldest"] = "oldest";
|
12
|
-
})(SortType
|
12
|
+
})(SortType = exports.SortType || (exports.SortType = {}));
|
13
|
+
var AuthorSortType;
|
14
|
+
(function (AuthorSortType) {
|
15
|
+
AuthorSortType["Name"] = "name";
|
16
|
+
AuthorSortType["Publications"] = "publications";
|
17
|
+
AuthorSortType["Popularity"] = "popularity";
|
18
|
+
})(AuthorSortType = exports.AuthorSortType || (exports.AuthorSortType = {}));
|
13
19
|
//# sourceMappingURL=sort.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sort.enum.js","sourceRoot":"","sources":["../../src/enums/sort.enum.ts"],"names":[],"mappings":";;;AAIA,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,
|
1
|
+
{"version":3,"file":"sort.enum.js","sourceRoot":"","sources":["../../src/enums/sort.enum.ts"],"names":[],"mappings":";;;AAIA,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,GAAR,gBAAQ,KAAR,gBAAQ,QA8BnB;AAED,IAAY,cAOX;AAPD,WAAY,cAAc;IAEzB,+BAAa,CAAA;IAEb,+CAA6B,CAAA;IAE7B,2CAAyB,CAAA;AAC1B,CAAC,EAPW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAOzB"}
|
package/lib/enums/status.enum.js
CHANGED
@@ -8,5 +8,5 @@ var StatusType;
|
|
8
8
|
StatusType["Published"] = "PUBLISHED";
|
9
9
|
StatusType["Archived"] = "ARCHIVED";
|
10
10
|
StatusType["Blocked"] = "BLOCKED";
|
11
|
-
})(StatusType
|
11
|
+
})(StatusType = exports.StatusType || (exports.StatusType = {}));
|
12
12
|
//# sourceMappingURL=status.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"status.enum.js","sourceRoot":"","sources":["../../src/enums/status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UA4BX;AA5BD,WAAY,UAAU;IAKrB,6BAAe,CAAA;IAKf,uCAAyB,CAAA;IAMzB,qCAAuB,CAAA;IAMvB,mCAAqB,CAAA;IAKrB,iCAAmB,CAAA;AACpB,CAAC,EA5BW,UAAU,
|
1
|
+
{"version":3,"file":"status.enum.js","sourceRoot":"","sources":["../../src/enums/status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UA4BX;AA5BD,WAAY,UAAU;IAKrB,6BAAe,CAAA;IAKf,uCAAyB,CAAA;IAMzB,qCAAuB,CAAA;IAMvB,mCAAqB,CAAA;IAKrB,iCAAmB,CAAA;AACpB,CAAC,EA5BW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA4BrB"}
|
package/lib/enums/tracks.enum.js
CHANGED
@@ -10,13 +10,13 @@ var ContentActionType;
|
|
10
10
|
ContentActionType["Share"] = "SHARE";
|
11
11
|
ContentActionType["Download"] = "DOWNLOAD";
|
12
12
|
ContentActionType["Feedback"] = "FEEDBACK";
|
13
|
-
})(ContentActionType
|
13
|
+
})(ContentActionType = exports.ContentActionType || (exports.ContentActionType = {}));
|
14
14
|
var SurveyActionType;
|
15
15
|
(function (SurveyActionType) {
|
16
16
|
SurveyActionType["Start"] = "START";
|
17
17
|
SurveyActionType["Completed"] = "COMPLETED";
|
18
18
|
SurveyActionType["Reject"] = "REJECT";
|
19
|
-
})(SurveyActionType
|
19
|
+
})(SurveyActionType = exports.SurveyActionType || (exports.SurveyActionType = {}));
|
20
20
|
var AuthActionType;
|
21
21
|
(function (AuthActionType) {
|
22
22
|
AuthActionType["Signin"] = "SIGNIN";
|
@@ -26,5 +26,5 @@ var AuthActionType;
|
|
26
26
|
AuthActionType["Takeovered"] = "TAKEOVERED";
|
27
27
|
AuthActionType["Deleted"] = "DELETED";
|
28
28
|
AuthActionType["Suspended"] = "SUSPENDED";
|
29
|
-
})(AuthActionType
|
29
|
+
})(AuthActionType = exports.AuthActionType || (exports.AuthActionType = {}));
|
30
30
|
//# sourceMappingURL=tracks.enum.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBA6BX;AA7BD,WAAY,iBAAiB;IAI5B,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,0CAAqB,CAAA;IAIrB,oCAAe,CAAA;IAIf,0CAAqB,CAAA;IAIrB,0CAAqB,CAAA;AACtB,CAAC,EA7BW,iBAAiB,
|
1
|
+
{"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBA6BX;AA7BD,WAAY,iBAAiB;IAI5B,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,0CAAqB,CAAA;IAIrB,oCAAe,CAAA;IAIf,0CAAqB,CAAA;IAIrB,0CAAqB,CAAA;AACtB,CAAC,EA7BW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6B5B;AAKD,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAI3B,mCAAe,CAAA;IAKf,2CAAuB,CAAA;IAKvB,qCAAiB,CAAA;AAClB,CAAC,EAfW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,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,GAAd,sBAAc,KAAd,sBAAc,QAmCzB"}
|
@@ -6,5 +6,5 @@ var VerificationType;
|
|
6
6
|
VerificationType["Ownership"] = "OWNERSHIP";
|
7
7
|
VerificationType["Email"] = "EMAIL";
|
8
8
|
VerificationType["Phone"] = "PHONE";
|
9
|
-
})(VerificationType
|
9
|
+
})(VerificationType = exports.VerificationType || (exports.VerificationType = {}));
|
10
10
|
//# sourceMappingURL=verification.enum.js.map
|