@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.
Files changed (90) hide show
  1. package/lib/dtos/asset.dto.d.ts +14 -0
  2. package/lib/dtos/asset.dto.js +70 -0
  3. package/lib/dtos/asset.dto.js.map +1 -0
  4. package/lib/dtos/auth.dto.d.ts +27 -0
  5. package/lib/dtos/auth.dto.js +127 -0
  6. package/lib/dtos/auth.dto.js.map +1 -0
  7. package/lib/dtos/author.dto.d.ts +14 -0
  8. package/lib/dtos/author.dto.js +57 -0
  9. package/lib/dtos/author.dto.js.map +1 -0
  10. package/lib/dtos/boost.dto.d.ts +12 -0
  11. package/lib/dtos/boost.dto.js +65 -0
  12. package/lib/dtos/boost.dto.js.map +1 -0
  13. package/lib/dtos/brand.dto.d.ts +9 -0
  14. package/lib/dtos/brand.dto.js +39 -0
  15. package/lib/dtos/brand.dto.js.map +1 -0
  16. package/lib/dtos/browse.dto.d.ts +8 -0
  17. package/lib/dtos/browse.dto.js +48 -0
  18. package/lib/dtos/browse.dto.js.map +1 -0
  19. package/lib/dtos/category.dto.d.ts +7 -0
  20. package/lib/dtos/category.dto.js +37 -0
  21. package/lib/dtos/category.dto.js.map +1 -0
  22. package/lib/dtos/contact.dto.d.ts +5 -0
  23. package/lib/dtos/contact.dto.js +35 -0
  24. package/lib/dtos/contact.dto.js.map +1 -0
  25. package/lib/dtos/feedback.dto.d.ts +11 -0
  26. package/lib/dtos/feedback.dto.js +51 -0
  27. package/lib/dtos/feedback.dto.js.map +1 -0
  28. package/lib/dtos/index.d.ts +15 -0
  29. package/lib/dtos/index.js +28 -0
  30. package/lib/dtos/index.js.map +1 -0
  31. package/lib/dtos/post.dto.d.ts +38 -0
  32. package/lib/dtos/post.dto.js +139 -0
  33. package/lib/dtos/post.dto.js.map +1 -0
  34. package/lib/dtos/promotion.dto.d.ts +21 -0
  35. package/lib/dtos/promotion.dto.js +95 -0
  36. package/lib/dtos/promotion.dto.js.map +1 -0
  37. package/lib/dtos/publisher.dto.d.ts +19 -0
  38. package/lib/dtos/publisher.dto.js +73 -0
  39. package/lib/dtos/publisher.dto.js.map +1 -0
  40. package/lib/dtos/question.dto.d.ts +30 -0
  41. package/lib/dtos/question.dto.js +132 -0
  42. package/lib/dtos/question.dto.js.map +1 -0
  43. package/lib/dtos/survey.dto.d.ts +40 -0
  44. package/lib/dtos/survey.dto.js +153 -0
  45. package/lib/dtos/survey.dto.js.map +1 -0
  46. package/lib/dtos/topic.dto.d.ts +8 -0
  47. package/lib/dtos/topic.dto.js +43 -0
  48. package/lib/dtos/topic.dto.js.map +1 -0
  49. package/lib/enums/account.enum.js +2 -2
  50. package/lib/enums/account.enum.js.map +1 -1
  51. package/lib/enums/asset.enum.js +2 -2
  52. package/lib/enums/asset.enum.js.map +1 -1
  53. package/lib/enums/color.enum.js +3 -3
  54. package/lib/enums/color.enum.js.map +1 -1
  55. package/lib/enums/index.d.ts +12 -12
  56. package/lib/enums/index.js +22 -34
  57. package/lib/enums/index.js.map +1 -1
  58. package/lib/enums/module.enum.js +2 -2
  59. package/lib/enums/module.enum.js.map +1 -1
  60. package/lib/enums/notification.enum.js +2 -2
  61. package/lib/enums/notification.enum.js.map +1 -1
  62. package/lib/enums/post.enum.js +1 -1
  63. package/lib/enums/post.enum.js.map +1 -1
  64. package/lib/enums/setting.enum.js +1 -1
  65. package/lib/enums/setting.enum.js.map +1 -1
  66. package/lib/enums/social.enum.js +2 -2
  67. package/lib/enums/social.enum.js.map +1 -1
  68. package/lib/enums/sort.enum.d.ts +5 -0
  69. package/lib/enums/sort.enum.js +8 -2
  70. package/lib/enums/sort.enum.js.map +1 -1
  71. package/lib/enums/status.enum.js +1 -1
  72. package/lib/enums/status.enum.js.map +1 -1
  73. package/lib/enums/tracks.enum.js +3 -3
  74. package/lib/enums/tracks.enum.js.map +1 -1
  75. package/lib/enums/verification.enum.js +1 -1
  76. package/lib/enums/verification.enum.js.map +1 -1
  77. package/lib/index.js +1 -5
  78. package/lib/index.js.map +1 -1
  79. package/lib/models/index.d.ts +21 -21
  80. package/lib/models/index.js +31 -43
  81. package/lib/models/index.js.map +1 -1
  82. package/lib/security/index.d.ts +3 -3
  83. package/lib/security/index.js +13 -7
  84. package/lib/security/index.js.map +1 -1
  85. package/lib/security/permissions.js +1 -1
  86. package/lib/security/permissions.js.map +1 -1
  87. package/lib/security/role.js +1 -1
  88. package/lib/security/role.js.map +1 -1
  89. package/lib/tsconfig.tsbuildinfo +1 -1
  90. 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,8 @@
1
+ export declare class SubmitTopicDto {
2
+ title: string;
3
+ description: string;
4
+ weight: number;
5
+ }
6
+ export declare class SortTopicsDto {
7
+ ids: number[];
8
+ }
@@ -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 || (exports.AccountStatusType = 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 || (exports.AccountType = 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,iCAAjB,iBAAiB,QAyB5B;AAED,IAAY,WAgBX;AAhBD,WAAY,WAAW;IAKtB,0CAA2B,CAAA;IAK3B,8BAAe,CAAA;IAKf,sCAAuB,CAAA;AACxB,CAAC,EAhBW,WAAW,2BAAX,WAAW,QAgBtB"}
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"}
@@ -7,7 +7,7 @@ var AssetType;
7
7
  AssetType["Video"] = "VIDEO";
8
8
  AssetType["Audio"] = "AUDIO";
9
9
  AssetType["Doc"] = "DOC";
10
- })(AssetType || (exports.AssetType = 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 || (exports.AssetCategoryType = 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,yBAAT,SAAS,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,iCAAjB,iBAAiB,QAqC5B"}
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"}
@@ -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 || (exports.Color = 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 || (exports.Background = 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 || (exports.Context = 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,qBAAL,KAAK,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,0BAAV,UAAU,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,uBAAP,OAAO,QASlB"}
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"}
@@ -1,12 +1,12 @@
1
- export { AccountStatusType, AccountType } from './account.enum';
2
- export { AssetType, AssetCategoryType } from './asset.enum';
3
- export { Color, Background, Context } from './color.enum';
4
- export { NotificationChannelType, NotificationType } from './notification.enum';
5
- export { ModuleType, FeatureType } from './module.enum';
6
- export { PostType } from './post.enum';
7
- export { SettingType } from './setting.enum';
8
- export { SortType } from './sort.enum';
9
- export { SocialLoginType, SocialShareType } from './social.enum';
10
- export { StatusType } from './status.enum';
11
- export { ContentActionType, SurveyActionType, AuthActionType } from './tracks.enum';
12
- export { VerificationType } from './verification.enum';
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';
@@ -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
- exports.VerificationType = exports.AuthActionType = exports.SurveyActionType = exports.ContentActionType = exports.StatusType = exports.SocialShareType = exports.SocialLoginType = exports.SortType = exports.SettingType = exports.PostType = exports.FeatureType = exports.ModuleType = exports.NotificationType = exports.NotificationChannelType = exports.Context = exports.Background = exports.Color = exports.AssetCategoryType = exports.AssetType = exports.AccountType = exports.AccountStatusType = void 0;
4
- var account_enum_1 = require("./account.enum");
5
- Object.defineProperty(exports, "AccountStatusType", { enumerable: true, get: function () { return account_enum_1.AccountStatusType; } });
6
- Object.defineProperty(exports, "AccountType", { enumerable: true, get: function () { return account_enum_1.AccountType; } });
7
- var asset_enum_1 = require("./asset.enum");
8
- Object.defineProperty(exports, "AssetType", { enumerable: true, get: function () { return asset_enum_1.AssetType; } });
9
- Object.defineProperty(exports, "AssetCategoryType", { enumerable: true, get: function () { return asset_enum_1.AssetCategoryType; } });
10
- var color_enum_1 = require("./color.enum");
11
- Object.defineProperty(exports, "Color", { enumerable: true, get: function () { return color_enum_1.Color; } });
12
- Object.defineProperty(exports, "Background", { enumerable: true, get: function () { return color_enum_1.Background; } });
13
- Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return color_enum_1.Context; } });
14
- var notification_enum_1 = require("./notification.enum");
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/enums/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgE;AAAvD,iHAAA,iBAAiB,OAAA;AAAE,2GAAA,WAAW,OAAA;AACvC,2CAA4D;AAAnD,uGAAA,SAAS,OAAA;AAAE,+GAAA,iBAAiB,OAAA;AACrC,2CAA0D;AAAjD,mGAAA,KAAK,OAAA;AAAE,wGAAA,UAAU,OAAA;AAAE,qGAAA,OAAO,OAAA;AACnC,yDAAgF;AAAvE,4HAAA,uBAAuB,OAAA;AAAE,qHAAA,gBAAgB,OAAA;AAClD,6CAAwD;AAA/C,yGAAA,UAAU,OAAA;AAAE,0GAAA,WAAW,OAAA;AAChC,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,+CAA6C;AAApC,2GAAA,WAAW,OAAA;AACpB,yCAAuC;AAA9B,qGAAA,QAAQ,OAAA;AACjB,6CAAiE;AAAxD,8GAAA,eAAe,OAAA;AAAE,8GAAA,eAAe,OAAA;AACzC,6CAA2C;AAAlC,yGAAA,UAAU,OAAA;AACnB,6CAAoF;AAA3E,gHAAA,iBAAiB,OAAA;AAAE,+GAAA,gBAAgB,OAAA;AAAE,6GAAA,cAAc,OAAA;AAC5D,yDAAuD;AAA9C,qHAAA,gBAAgB,OAAA"}
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"}
@@ -7,7 +7,7 @@ var ModuleType;
7
7
  ModuleType["Browse"] = "BROWSE";
8
8
  ModuleType["Library"] = "LIBRARY";
9
9
  ModuleType["Question"] = "QUESTION";
10
- })(ModuleType || (exports.ModuleType = 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 || (exports.FeatureType = 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,0BAAV,UAAU,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,2BAAX,WAAW,QAkBtB"}
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 || (exports.NotificationType = 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 || (exports.NotificationChannelType = 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,gCAAhB,gBAAgB,QAqB3B;AAOD,IAAY,uBAqBX;AArBD,WAAY,uBAAuB;IAKlC,wCAAa,CAAA;IAKb,sCAAW,CAAA;IAKX,0CAAe,CAAA;IAKf,0CAAe,CAAA;AAChB,CAAC,EArBW,uBAAuB,uCAAvB,uBAAuB,QAqBlC"}
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"}
@@ -10,5 +10,5 @@ var PostType;
10
10
  PostType["Event"] = "EVENT";
11
11
  PostType["News"] = "NEWS";
12
12
  PostType["Quote"] = "QUOTE";
13
- })(PostType || (exports.PostType = 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,wBAAR,QAAQ,QAoCnB"}
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 || (exports.SettingType = 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,2BAAX,WAAW,QAqBtB"}
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"}
@@ -8,12 +8,12 @@ var SocialLoginType;
8
8
  SocialLoginType["Facebook"] = "FACEBOOK";
9
9
  SocialLoginType["Linkedin"] = "LINKEDIN";
10
10
  SocialLoginType["Apple"] = "APPLE";
11
- })(SocialLoginType || (exports.SocialLoginType = 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 || (exports.SocialShareType = 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,+BAAf,eAAe,QA0B1B;AAKD,IAAY,eAqBX;AArBD,WAAY,eAAe;IAK1B,sCAAmB,CAAA;IAKnB,wCAAqB,CAAA;IAKrB,wCAAqB,CAAA;IAKrB,uCAAoB,CAAA;AACrB,CAAC,EArBW,eAAe,+BAAf,eAAe,QAqB1B"}
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"}
@@ -6,3 +6,8 @@ export declare enum SortType {
6
6
  Downloaded = "downloaded",
7
7
  Oldest = "oldest"
8
8
  }
9
+ export declare enum AuthorSortType {
10
+ Name = "name",
11
+ Publications = "publications",
12
+ Popularity = "popularity"
13
+ }
@@ -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 || (exports.SortType = 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,wBAAR,QAAQ,QA8BnB"}
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"}
@@ -8,5 +8,5 @@ var StatusType;
8
8
  StatusType["Published"] = "PUBLISHED";
9
9
  StatusType["Archived"] = "ARCHIVED";
10
10
  StatusType["Blocked"] = "BLOCKED";
11
- })(StatusType || (exports.StatusType = 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,0BAAV,UAAU,QA4BrB"}
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"}
@@ -10,13 +10,13 @@ var ContentActionType;
10
10
  ContentActionType["Share"] = "SHARE";
11
11
  ContentActionType["Download"] = "DOWNLOAD";
12
12
  ContentActionType["Feedback"] = "FEEDBACK";
13
- })(ContentActionType || (exports.ContentActionType = 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 || (exports.SurveyActionType = 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 || (exports.AuthActionType = 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,iCAAjB,iBAAiB,QA6B5B;AAKD,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAI3B,mCAAe,CAAA;IAKf,2CAAuB,CAAA;IAKvB,qCAAiB,CAAA;AAClB,CAAC,EAfW,gBAAgB,gCAAhB,gBAAgB,QAe3B;AAED,IAAY,cAmCX;AAnCD,WAAY,cAAc;IAIzB,mCAAiB,CAAA;IAKjB,mCAAiB,CAAA;IAKjB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;IAKvB,2CAAyB,CAAA;IAKzB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;AACxB,CAAC,EAnCW,cAAc,8BAAd,cAAc,QAmCzB"}
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 || (exports.VerificationType = VerificationType = {}));
9
+ })(VerificationType = exports.VerificationType || (exports.VerificationType = {}));
10
10
  //# sourceMappingURL=verification.enum.js.map