@intelact/bright 0.2.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (162) 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.d.ts +1 -1
  50. package/lib/enums/account.enum.js +3 -3
  51. package/lib/enums/account.enum.js.map +1 -1
  52. package/lib/enums/asset.enum.js +2 -2
  53. package/lib/enums/asset.enum.js.map +1 -1
  54. package/lib/enums/color.enum.d.ts +30 -0
  55. package/lib/enums/color.enum.js +37 -0
  56. package/lib/enums/color.enum.js.map +1 -0
  57. package/lib/enums/index.d.ts +12 -11
  58. package/lib/enums/index.js +22 -30
  59. package/lib/enums/index.js.map +1 -1
  60. package/lib/enums/module.enum.js +2 -2
  61. package/lib/enums/module.enum.js.map +1 -1
  62. package/lib/enums/notification.enum.js +2 -2
  63. package/lib/enums/notification.enum.js.map +1 -1
  64. package/lib/enums/post.enum.js +1 -1
  65. package/lib/enums/post.enum.js.map +1 -1
  66. package/lib/enums/setting.enum.js +1 -1
  67. package/lib/enums/setting.enum.js.map +1 -1
  68. package/lib/enums/social.enum.js +2 -2
  69. package/lib/enums/social.enum.js.map +1 -1
  70. package/lib/enums/sort.enum.d.ts +5 -0
  71. package/lib/enums/sort.enum.js +8 -2
  72. package/lib/enums/sort.enum.js.map +1 -1
  73. package/lib/enums/status.enum.js +1 -1
  74. package/lib/enums/status.enum.js.map +1 -1
  75. package/lib/enums/tracks.enum.js +3 -3
  76. package/lib/enums/tracks.enum.js.map +1 -1
  77. package/lib/enums/verification.enum.js +1 -1
  78. package/lib/enums/verification.enum.js.map +1 -1
  79. package/lib/index.d.ts +1 -0
  80. package/lib/index.js +2 -5
  81. package/lib/index.js.map +1 -1
  82. package/lib/models/administrator.d.ts +14 -0
  83. package/lib/models/administrator.js +18 -0
  84. package/lib/models/administrator.js.map +1 -0
  85. package/lib/models/asset.d.ts +9 -0
  86. package/lib/models/asset.js +15 -0
  87. package/lib/models/asset.js.map +1 -0
  88. package/lib/models/author.d.ts +9 -0
  89. package/lib/models/author.js +16 -0
  90. package/lib/models/author.js.map +1 -0
  91. package/lib/models/boost.d.ts +9 -0
  92. package/lib/models/boost.js +15 -0
  93. package/lib/models/boost.js.map +1 -0
  94. package/lib/models/brand.d.ts +18 -0
  95. package/lib/models/brand.js +22 -0
  96. package/lib/models/brand.js.map +1 -0
  97. package/lib/models/category.d.ts +7 -0
  98. package/lib/models/category.js +14 -0
  99. package/lib/models/category.js.map +1 -0
  100. package/lib/models/collection.d.ts +6 -0
  101. package/lib/models/collection.js +12 -0
  102. package/lib/models/collection.js.map +1 -0
  103. package/lib/models/feedback.d.ts +22 -0
  104. package/lib/models/feedback.js +34 -0
  105. package/lib/models/feedback.js.map +1 -0
  106. package/lib/models/gallery.d.ts +5 -0
  107. package/lib/models/gallery.js +10 -0
  108. package/lib/models/gallery.js.map +1 -0
  109. package/lib/models/index.d.ts +21 -0
  110. package/lib/models/index.js +34 -0
  111. package/lib/models/index.js.map +1 -0
  112. package/lib/models/item.model.d.ts +11 -0
  113. package/lib/models/item.model.js +18 -0
  114. package/lib/models/item.model.js.map +1 -0
  115. package/lib/models/link.model.d.ts +11 -0
  116. package/lib/models/link.model.js +16 -0
  117. package/lib/models/link.model.js.map +1 -0
  118. package/lib/models/notification.d.ts +13 -0
  119. package/lib/models/notification.js +22 -0
  120. package/lib/models/notification.js.map +1 -0
  121. package/lib/models/pagination.d.ts +17 -0
  122. package/lib/models/pagination.js +3 -0
  123. package/lib/models/pagination.js.map +1 -0
  124. package/lib/models/post.d.ts +42 -0
  125. package/lib/models/post.js +36 -0
  126. package/lib/models/post.js.map +1 -0
  127. package/lib/models/promotion.d.ts +9 -0
  128. package/lib/models/promotion.js +16 -0
  129. package/lib/models/promotion.js.map +1 -0
  130. package/lib/models/publisher.d.ts +12 -0
  131. package/lib/models/publisher.js +18 -0
  132. package/lib/models/publisher.js.map +1 -0
  133. package/lib/models/question.d.ts +32 -0
  134. package/lib/models/question.js +38 -0
  135. package/lib/models/question.js.map +1 -0
  136. package/lib/models/quote.d.ts +5 -0
  137. package/lib/models/quote.js +12 -0
  138. package/lib/models/quote.js.map +1 -0
  139. package/lib/models/response.d.ts +5 -0
  140. package/lib/models/response.js +3 -0
  141. package/lib/models/response.js.map +1 -0
  142. package/lib/models/survey.d.ts +26 -0
  143. package/lib/models/survey.js +39 -0
  144. package/lib/models/survey.js.map +1 -0
  145. package/lib/models/token.d.ts +7 -0
  146. package/lib/models/token.js +3 -0
  147. package/lib/models/token.js.map +1 -0
  148. package/lib/models/topic.d.ts +8 -0
  149. package/lib/models/topic.js +15 -0
  150. package/lib/models/topic.js.map +1 -0
  151. package/lib/models/user.d.ts +19 -0
  152. package/lib/models/user.js +14 -0
  153. package/lib/models/user.js.map +1 -0
  154. package/lib/security/index.d.ts +3 -3
  155. package/lib/security/index.js +13 -7
  156. package/lib/security/index.js.map +1 -1
  157. package/lib/security/permissions.js +1 -1
  158. package/lib/security/permissions.js.map +1 -1
  159. package/lib/security/role.js +1 -1
  160. package/lib/security/role.js.map +1 -1
  161. package/lib/tsconfig.tsbuildinfo +1 -1
  162. package/package.json +8 -2
@@ -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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ED,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
@@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BAAoB;IAEhC,GAAG,CAAW;CACd;AADA;IADC,IAAA,4BAAU,GAAE;;iDACC;AAFf,oDAGC"}
@@ -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"}
@@ -6,7 +6,7 @@ export declare enum AccountStatusType {
6
6
  Closed = "CLOSED"
7
7
  }
8
8
  export declare enum AccountType {
9
- Owner = "OWNER",
9
+ Stakeholder = "STAKEHOLDER",
10
10
  Brand = "BRAND",
11
11
  Publisher = "PUBLISHER"
12
12
  }
@@ -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
- AccountType["Owner"] = "OWNER";
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,8BAAe,CAAA;IAKf,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"}
@@ -0,0 +1,30 @@
1
+ export declare enum Color {
2
+ Primary = "text-primary",
3
+ Secondary = "text-secondary",
4
+ Success = "text-success",
5
+ Danger = "text-danger",
6
+ Warning = "text-warning",
7
+ Info = "text-info",
8
+ Light = "text-light",
9
+ Dark = "text-dark"
10
+ }
11
+ export declare enum Background {
12
+ Primary = "bg-primary",
13
+ Secondary = "bg-secondary",
14
+ Success = "bg-success",
15
+ Danger = "bg-danger",
16
+ Warning = "bg-warning",
17
+ Info = "bg-info",
18
+ Light = "bg-light",
19
+ Dark = "bg-dark"
20
+ }
21
+ export declare enum Context {
22
+ Primary = "context-primary",
23
+ Secondary = "context-secondary",
24
+ Success = "context-success",
25
+ Danger = "context-danger",
26
+ Warning = "context-warning",
27
+ Info = "context-info",
28
+ Light = "context-light",
29
+ Dark = "context-dark"
30
+ }
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Context = exports.Background = exports.Color = void 0;
4
+ var Color;
5
+ (function (Color) {
6
+ Color["Primary"] = "text-primary";
7
+ Color["Secondary"] = "text-secondary";
8
+ Color["Success"] = "text-success";
9
+ Color["Danger"] = "text-danger";
10
+ Color["Warning"] = "text-warning";
11
+ Color["Info"] = "text-info";
12
+ Color["Light"] = "text-light";
13
+ Color["Dark"] = "text-dark";
14
+ })(Color = exports.Color || (exports.Color = {}));
15
+ var Background;
16
+ (function (Background) {
17
+ Background["Primary"] = "bg-primary";
18
+ Background["Secondary"] = "bg-secondary";
19
+ Background["Success"] = "bg-success";
20
+ Background["Danger"] = "bg-danger";
21
+ Background["Warning"] = "bg-warning";
22
+ Background["Info"] = "bg-info";
23
+ Background["Light"] = "bg-light";
24
+ Background["Dark"] = "bg-dark";
25
+ })(Background = exports.Background || (exports.Background = {}));
26
+ var Context;
27
+ (function (Context) {
28
+ Context["Primary"] = "context-primary";
29
+ Context["Secondary"] = "context-secondary";
30
+ Context["Success"] = "context-success";
31
+ Context["Danger"] = "context-danger";
32
+ Context["Warning"] = "context-warning";
33
+ Context["Info"] = "context-info";
34
+ Context["Light"] = "context-light";
35
+ Context["Dark"] = "context-dark";
36
+ })(Context = exports.Context || (exports.Context = {}));
37
+ //# sourceMappingURL=color.enum.js.map
@@ -0,0 +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,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,11 +1,12 @@
1
- export { AccountStatusType, AccountType } from './account.enum';
2
- export { AssetType, AssetCategoryType } from './asset.enum';
3
- export { NotificationChannelType, NotificationType } from './notification.enum';
4
- export { ModuleType, FeatureType } from './module.enum';
5
- export { PostType } from './post.enum';
6
- export { SettingType } from './setting.enum';
7
- export { SortType } from './sort.enum';
8
- export { SocialLoginType, SocialShareType } from './social.enum';
9
- export { StatusType } from './status.enum';
10
- export { ContentActionType, SurveyActionType, AuthActionType } from './tracks.enum';
11
- 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,33 +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.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 notification_enum_1 = require("./notification.enum");
11
- Object.defineProperty(exports, "NotificationChannelType", { enumerable: true, get: function () { return notification_enum_1.NotificationChannelType; } });
12
- Object.defineProperty(exports, "NotificationType", { enumerable: true, get: function () { return notification_enum_1.NotificationType; } });
13
- var module_enum_1 = require("./module.enum");
14
- Object.defineProperty(exports, "ModuleType", { enumerable: true, get: function () { return module_enum_1.ModuleType; } });
15
- Object.defineProperty(exports, "FeatureType", { enumerable: true, get: function () { return module_enum_1.FeatureType; } });
16
- var post_enum_1 = require("./post.enum");
17
- Object.defineProperty(exports, "PostType", { enumerable: true, get: function () { return post_enum_1.PostType; } });
18
- var setting_enum_1 = require("./setting.enum");
19
- Object.defineProperty(exports, "SettingType", { enumerable: true, get: function () { return setting_enum_1.SettingType; } });
20
- var sort_enum_1 = require("./sort.enum");
21
- Object.defineProperty(exports, "SortType", { enumerable: true, get: function () { return sort_enum_1.SortType; } });
22
- var social_enum_1 = require("./social.enum");
23
- Object.defineProperty(exports, "SocialLoginType", { enumerable: true, get: function () { return social_enum_1.SocialLoginType; } });
24
- Object.defineProperty(exports, "SocialShareType", { enumerable: true, get: function () { return social_enum_1.SocialShareType; } });
25
- var status_enum_1 = require("./status.enum");
26
- Object.defineProperty(exports, "StatusType", { enumerable: true, get: function () { return status_enum_1.StatusType; } });
27
- var tracks_enum_1 = require("./tracks.enum");
28
- Object.defineProperty(exports, "ContentActionType", { enumerable: true, get: function () { return tracks_enum_1.ContentActionType; } });
29
- Object.defineProperty(exports, "SurveyActionType", { enumerable: true, get: function () { return tracks_enum_1.SurveyActionType; } });
30
- Object.defineProperty(exports, "AuthActionType", { enumerable: true, get: function () { return tracks_enum_1.AuthActionType; } });
31
- var verification_enum_1 = require("./verification.enum");
32
- 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);
33
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,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