@intelact/bright 0.9.127 → 0.9.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (221) hide show
  1. package/lib/feedback/feedback.model.d.ts +2 -0
  2. package/lib/feedback/feedback.model.js +9 -0
  3. package/lib/feedback/feedback.model.js.map +1 -1
  4. package/lib/publisher/publisher.model.d.ts +2 -0
  5. package/lib/publisher/publisher.model.js +9 -0
  6. package/lib/publisher/publisher.model.js.map +1 -1
  7. package/lib/tsconfig.tsbuildinfo +1 -1
  8. package/package.json +1 -1
  9. package/lib/author/author.sort.d.ts +0 -7
  10. package/lib/author/author.sort.js +0 -12
  11. package/lib/author/author.sort.js.map +0 -1
  12. package/lib/common/browse.dto.d.ts +0 -9
  13. package/lib/common/browse.dto.js +0 -47
  14. package/lib/common/browse.dto.js.map +0 -1
  15. package/lib/dtos/asset.dto.d.ts +0 -14
  16. package/lib/dtos/asset.dto.js +0 -70
  17. package/lib/dtos/asset.dto.js.map +0 -1
  18. package/lib/dtos/auth.dto.d.ts +0 -39
  19. package/lib/dtos/auth.dto.js +0 -162
  20. package/lib/dtos/auth.dto.js.map +0 -1
  21. package/lib/dtos/author.dto.d.ts +0 -14
  22. package/lib/dtos/author.dto.js +0 -57
  23. package/lib/dtos/author.dto.js.map +0 -1
  24. package/lib/dtos/boost.dto.d.ts +0 -5
  25. package/lib/dtos/boost.dto.js +0 -38
  26. package/lib/dtos/boost.dto.js.map +0 -1
  27. package/lib/dtos/brand.dto.d.ts +0 -6
  28. package/lib/dtos/brand.dto.js +0 -41
  29. package/lib/dtos/brand.dto.js.map +0 -1
  30. package/lib/dtos/browse.dto.d.ts +0 -11
  31. package/lib/dtos/browse.dto.js +0 -55
  32. package/lib/dtos/browse.dto.js.map +0 -1
  33. package/lib/dtos/bulk.dto.d.ts +0 -3
  34. package/lib/dtos/bulk.dto.js +0 -22
  35. package/lib/dtos/bulk.dto.js.map +0 -1
  36. package/lib/dtos/category.dto.d.ts +0 -7
  37. package/lib/dtos/category.dto.js +0 -38
  38. package/lib/dtos/category.dto.js.map +0 -1
  39. package/lib/dtos/contact.dto.d.ts +0 -5
  40. package/lib/dtos/contact.dto.js +0 -35
  41. package/lib/dtos/contact.dto.js.map +0 -1
  42. package/lib/dtos/feedback.dto.d.ts +0 -9
  43. package/lib/dtos/feedback.dto.js +0 -47
  44. package/lib/dtos/feedback.dto.js.map +0 -1
  45. package/lib/dtos/general.dto.d.ts +0 -25
  46. package/lib/dtos/general.dto.js +0 -94
  47. package/lib/dtos/general.dto.js.map +0 -1
  48. package/lib/dtos/index.d.ts +0 -15
  49. package/lib/dtos/index.js +0 -32
  50. package/lib/dtos/index.js.map +0 -1
  51. package/lib/dtos/notification.d.ts +0 -4
  52. package/lib/dtos/notification.dto.d.ts +0 -4
  53. package/lib/dtos/notification.dto.js +0 -29
  54. package/lib/dtos/notification.dto.js.map +0 -1
  55. package/lib/dtos/notification.js +0 -29
  56. package/lib/dtos/notification.js.map +0 -1
  57. package/lib/dtos/post.dto.d.ts +0 -25
  58. package/lib/dtos/post.dto.js +0 -118
  59. package/lib/dtos/post.dto.js.map +0 -1
  60. package/lib/dtos/promotion.dto.d.ts +0 -5
  61. package/lib/dtos/promotion.dto.js +0 -38
  62. package/lib/dtos/promotion.dto.js.map +0 -1
  63. package/lib/dtos/publisher.dto.d.ts +0 -8
  64. package/lib/dtos/publisher.dto.js +0 -39
  65. package/lib/dtos/publisher.dto.js.map +0 -1
  66. package/lib/dtos/question.dto.d.ts +0 -15
  67. package/lib/dtos/question.dto.js +0 -86
  68. package/lib/dtos/question.dto.js.map +0 -1
  69. package/lib/dtos/search.dto.d.ts +0 -12
  70. package/lib/dtos/search.dto.js +0 -72
  71. package/lib/dtos/search.dto.js.map +0 -1
  72. package/lib/dtos/survey.dto.d.ts +0 -9
  73. package/lib/dtos/survey.dto.js +0 -54
  74. package/lib/dtos/survey.dto.js.map +0 -1
  75. package/lib/dtos/topic.dto.d.ts +0 -12
  76. package/lib/dtos/topic.dto.js +0 -50
  77. package/lib/dtos/topic.dto.js.map +0 -1
  78. package/lib/dtos/user.dto.d.ts +0 -24
  79. package/lib/dtos/user.dto.js +0 -99
  80. package/lib/dtos/user.dto.js.map +0 -1
  81. package/lib/enums/account.enum.d.ts +0 -11
  82. package/lib/enums/account.enum.js +0 -17
  83. package/lib/enums/account.enum.js.map +0 -1
  84. package/lib/enums/asset.enum.d.ts +0 -7
  85. package/lib/enums/asset.enum.js +0 -12
  86. package/lib/enums/asset.enum.js.map +0 -1
  87. package/lib/enums/color.enum.d.ts +0 -30
  88. package/lib/enums/color.enum.js +0 -37
  89. package/lib/enums/color.enum.js.map +0 -1
  90. package/lib/enums/feed.enum.d.ts +0 -5
  91. package/lib/enums/feed.enum.js +0 -10
  92. package/lib/enums/feed.enum.js.map +0 -1
  93. package/lib/enums/index.d.ts +0 -13
  94. package/lib/enums/index.js +0 -30
  95. package/lib/enums/index.js.map +0 -1
  96. package/lib/enums/module.enum.d.ts +0 -28
  97. package/lib/enums/module.enum.js +0 -34
  98. package/lib/enums/module.enum.js.map +0 -1
  99. package/lib/enums/notification.enum.d.ts +0 -12
  100. package/lib/enums/notification.enum.js +0 -18
  101. package/lib/enums/notification.enum.js.map +0 -1
  102. package/lib/enums/popularity.enum.d.ts +0 -8
  103. package/lib/enums/popularity.enum.js +0 -13
  104. package/lib/enums/popularity.enum.js.map +0 -1
  105. package/lib/enums/post.enum.d.ts +0 -8
  106. package/lib/enums/post.enum.js +0 -13
  107. package/lib/enums/post.enum.js.map +0 -1
  108. package/lib/enums/setting.enum.d.ts +0 -10
  109. package/lib/enums/setting.enum.js +0 -15
  110. package/lib/enums/setting.enum.js.map +0 -1
  111. package/lib/enums/social.enum.d.ts +0 -14
  112. package/lib/enums/social.enum.js +0 -20
  113. package/lib/enums/social.enum.js.map +0 -1
  114. package/lib/enums/sort.enum.d.ts +0 -21
  115. package/lib/enums/sort.enum.js +0 -28
  116. package/lib/enums/sort.enum.js.map +0 -1
  117. package/lib/enums/status.enum.d.ts +0 -13
  118. package/lib/enums/status.enum.js +0 -19
  119. package/lib/enums/status.enum.js.map +0 -1
  120. package/lib/enums/survey.enum.d.ts +0 -6
  121. package/lib/enums/survey.enum.js +0 -11
  122. package/lib/enums/survey.enum.js.map +0 -1
  123. package/lib/enums/tracks.enum.d.ts +0 -38
  124. package/lib/enums/tracks.enum.js +0 -46
  125. package/lib/enums/tracks.enum.js.map +0 -1
  126. package/lib/enums/verification.enum.d.ts +0 -5
  127. package/lib/enums/verification.enum.js +0 -10
  128. package/lib/enums/verification.enum.js.map +0 -1
  129. package/lib/helpers/index.d.ts +0 -2
  130. package/lib/helpers/index.js +0 -19
  131. package/lib/helpers/index.js.map +0 -1
  132. package/lib/helpers/popularity.helper.d.ts +0 -2
  133. package/lib/helpers/popularity.helper.js +0 -58
  134. package/lib/helpers/popularity.helper.js.map +0 -1
  135. package/lib/helpers/post.helper.d.ts +0 -2
  136. package/lib/helpers/post.helper.js +0 -22
  137. package/lib/helpers/post.helper.js.map +0 -1
  138. package/lib/metric/metric.interface.d.ts +0 -11
  139. package/lib/metric/metric.interface.js +0 -3
  140. package/lib/metric/metric.interface.js.map +0 -1
  141. package/lib/models/asset.d.ts +0 -10
  142. package/lib/models/asset.js +0 -54
  143. package/lib/models/asset.js.map +0 -1
  144. package/lib/models/author.d.ts +0 -16
  145. package/lib/models/author.js +0 -83
  146. package/lib/models/author.js.map +0 -1
  147. package/lib/models/boost.d.ts +0 -14
  148. package/lib/models/boost.js +0 -73
  149. package/lib/models/boost.js.map +0 -1
  150. package/lib/models/brand.d.ts +0 -38
  151. package/lib/models/brand.js +0 -241
  152. package/lib/models/brand.js.map +0 -1
  153. package/lib/models/category.d.ts +0 -13
  154. package/lib/models/category.js +0 -69
  155. package/lib/models/category.js.map +0 -1
  156. package/lib/models/collection.d.ts +0 -14
  157. package/lib/models/collection.js +0 -65
  158. package/lib/models/collection.js.map +0 -1
  159. package/lib/models/feedback.d.ts +0 -38
  160. package/lib/models/feedback.js +0 -157
  161. package/lib/models/feedback.js.map +0 -1
  162. package/lib/models/gallery.d.ts +0 -6
  163. package/lib/models/gallery.js +0 -36
  164. package/lib/models/gallery.js.map +0 -1
  165. package/lib/models/index.d.ts +0 -23
  166. package/lib/models/index.js +0 -40
  167. package/lib/models/index.js.map +0 -1
  168. package/lib/models/item.d.ts +0 -14
  169. package/lib/models/item.js +0 -37
  170. package/lib/models/item.js.map +0 -1
  171. package/lib/models/link.d.ts +0 -16
  172. package/lib/models/link.js +0 -35
  173. package/lib/models/link.js.map +0 -1
  174. package/lib/models/log.d.ts +0 -11
  175. package/lib/models/log.js +0 -16
  176. package/lib/models/log.js.map +0 -1
  177. package/lib/models/metric.d.ts +0 -20
  178. package/lib/models/metric.js +0 -186
  179. package/lib/models/metric.js.map +0 -1
  180. package/lib/models/notification.d.ts +0 -14
  181. package/lib/models/notification.js +0 -64
  182. package/lib/models/notification.js.map +0 -1
  183. package/lib/models/pagination.d.ts +0 -17
  184. package/lib/models/pagination.js +0 -3
  185. package/lib/models/pagination.js.map +0 -1
  186. package/lib/models/post.d.ts +0 -88
  187. package/lib/models/post.js +0 -466
  188. package/lib/models/post.js.map +0 -1
  189. package/lib/models/promotion.d.ts +0 -21
  190. package/lib/models/promotion.js +0 -108
  191. package/lib/models/promotion.js.map +0 -1
  192. package/lib/models/publisher.d.ts +0 -25
  193. package/lib/models/publisher.js +0 -118
  194. package/lib/models/publisher.js.map +0 -1
  195. package/lib/models/question.d.ts +0 -47
  196. package/lib/models/question.js +0 -238
  197. package/lib/models/question.js.map +0 -1
  198. package/lib/models/quote.d.ts +0 -5
  199. package/lib/models/quote.js +0 -31
  200. package/lib/models/quote.js.map +0 -1
  201. package/lib/models/response.d.ts +0 -6
  202. package/lib/models/response.js +0 -3
  203. package/lib/models/response.js.map +0 -1
  204. package/lib/models/share.d.ts +0 -6
  205. package/lib/models/share.js +0 -3
  206. package/lib/models/share.js.map +0 -1
  207. package/lib/models/survey.d.ts +0 -43
  208. package/lib/models/survey.js +0 -214
  209. package/lib/models/survey.js.map +0 -1
  210. package/lib/models/token.d.ts +0 -7
  211. package/lib/models/token.js +0 -3
  212. package/lib/models/token.js.map +0 -1
  213. package/lib/models/topic.d.ts +0 -17
  214. package/lib/models/topic.js +0 -90
  215. package/lib/models/topic.js.map +0 -1
  216. package/lib/models/user.d.ts +0 -49
  217. package/lib/models/user.js +0 -258
  218. package/lib/models/user.js.map +0 -1
  219. package/lib/survey/survey.event.d.ts +0 -5
  220. package/lib/survey/survey.event.js +0 -10
  221. package/lib/survey/survey.event.js.map +0 -1
@@ -1,28 +0,0 @@
1
- export declare enum ModuleType {
2
- Home = "HOME",
3
- Browse = "BROWSE",
4
- Library = "LIBRARY",
5
- Question = "QUESTION"
6
- }
7
- export declare enum ModuleScope {
8
- Auth = "auth",
9
- Author = "author",
10
- Boost = "boost",
11
- BrandPublisher = "brand:publisher",
12
- BrandTeam = "brand:team",
13
- BrandSettings = "brand:settings",
14
- Post = "post",
15
- PostCollection = "post:colleaction",
16
- Feedback = "feedback",
17
- Promotion = "Promotion",
18
- Publisher = "publisher",
19
- PublisherTeam = "publisher:team",
20
- Question = "question",
21
- QuestionCategory = "question:category",
22
- Quote = "quote",
23
- Report = "report",
24
- Survey = "survey",
25
- Topic = "topic",
26
- UserAdmin = "user:admin",
27
- Other = "other"
28
- }
@@ -1,34 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModuleScope = exports.ModuleType = void 0;
4
- var ModuleType;
5
- (function (ModuleType) {
6
- ModuleType["Home"] = "HOME";
7
- ModuleType["Browse"] = "BROWSE";
8
- ModuleType["Library"] = "LIBRARY";
9
- ModuleType["Question"] = "QUESTION";
10
- })(ModuleType || (exports.ModuleType = ModuleType = {}));
11
- var ModuleScope;
12
- (function (ModuleScope) {
13
- ModuleScope["Auth"] = "auth";
14
- ModuleScope["Author"] = "author";
15
- ModuleScope["Boost"] = "boost";
16
- ModuleScope["BrandPublisher"] = "brand:publisher";
17
- ModuleScope["BrandTeam"] = "brand:team";
18
- ModuleScope["BrandSettings"] = "brand:settings";
19
- ModuleScope["Post"] = "post";
20
- ModuleScope["PostCollection"] = "post:colleaction";
21
- ModuleScope["Feedback"] = "feedback";
22
- ModuleScope["Promotion"] = "Promotion";
23
- ModuleScope["Publisher"] = "publisher";
24
- ModuleScope["PublisherTeam"] = "publisher:team";
25
- ModuleScope["Question"] = "question";
26
- ModuleScope["QuestionCategory"] = "question:category";
27
- ModuleScope["Quote"] = "quote";
28
- ModuleScope["Report"] = "report";
29
- ModuleScope["Survey"] = "survey";
30
- ModuleScope["Topic"] = "topic";
31
- ModuleScope["UserAdmin"] = "user:admin";
32
- ModuleScope["Other"] = "other";
33
- })(ModuleScope || (exports.ModuleScope = ModuleScope = {}));
34
- //# sourceMappingURL=module.enum.js.map
@@ -1 +0,0 @@
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,WAqBX;AArBD,WAAY,WAAW;IACtB,4BAAa,CAAA;IACb,gCAAiB,CAAA;IACjB,8BAAe,CAAA;IACf,iDAAkC,CAAA;IAClC,uCAAwB,CAAA;IACxB,+CAAgC,CAAA;IAChC,4BAAa,CAAA;IACb,kDAAmC,CAAA;IACnC,oCAAqB,CAAA;IACrB,sCAAuB,CAAA;IACvB,sCAAuB,CAAA;IACvB,+CAAgC,CAAA;IAChC,oCAAqB,CAAA;IACrB,qDAAsC,CAAA;IACtC,8BAAe,CAAA;IACf,gCAAiB,CAAA;IACjB,gCAAiB,CAAA;IACjB,8BAAe,CAAA;IACf,uCAAwB,CAAA;IACxB,8BAAe,CAAA;AAChB,CAAC,EArBW,WAAW,2BAAX,WAAW,QAqBtB"}
@@ -1,12 +0,0 @@
1
- export declare enum NotificationType {
2
- Info = "INFO",
3
- Success = "SUCCESS",
4
- Warning = "WARNING",
5
- Error = "ERROR"
6
- }
7
- export declare enum NotificationChannelType {
8
- Push = "PUSH",
9
- SMS = "SMS",
10
- InApp = "INAPP",
11
- Email = "EMAIL"
12
- }
@@ -1,18 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.NotificationChannelType = exports.NotificationType = void 0;
4
- var NotificationType;
5
- (function (NotificationType) {
6
- NotificationType["Info"] = "INFO";
7
- NotificationType["Success"] = "SUCCESS";
8
- NotificationType["Warning"] = "WARNING";
9
- NotificationType["Error"] = "ERROR";
10
- })(NotificationType || (exports.NotificationType = NotificationType = {}));
11
- var NotificationChannelType;
12
- (function (NotificationChannelType) {
13
- NotificationChannelType["Push"] = "PUSH";
14
- NotificationChannelType["SMS"] = "SMS";
15
- NotificationChannelType["InApp"] = "INAPP";
16
- NotificationChannelType["Email"] = "EMAIL";
17
- })(NotificationChannelType || (exports.NotificationChannelType = NotificationChannelType = {}));
18
- //# sourceMappingURL=notification.enum.js.map
@@ -1 +0,0 @@
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,8 +0,0 @@
1
- export declare enum Popularity {
2
- Poor = "POOR",
3
- Week = "WEEK",
4
- Fair = "FAIR",
5
- Great = "GREAT",
6
- Excellent = "EXCELLANT",
7
- Exceptional = "EXCEPTIONAL"
8
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Popularity = void 0;
4
- var Popularity;
5
- (function (Popularity) {
6
- Popularity["Poor"] = "POOR";
7
- Popularity["Week"] = "WEEK";
8
- Popularity["Fair"] = "FAIR";
9
- Popularity["Great"] = "GREAT";
10
- Popularity["Excellent"] = "EXCELLANT";
11
- Popularity["Exceptional"] = "EXCEPTIONAL";
12
- })(Popularity || (exports.Popularity = Popularity = {}));
13
- //# sourceMappingURL=popularity.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popularity.enum.js","sourceRoot":"","sources":["../../src/enums/popularity.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,UAoCX;AApCD,WAAY,UAAU;IAKrB,2BAAa,CAAA;IAMb,2BAAa,CAAA;IAMb,2BAAa,CAAA;IAMb,6BAAe,CAAA;IAMf,qCAAuB,CAAA;IAMvB,yCAA2B,CAAA;AAC5B,CAAC,EApCW,UAAU,0BAAV,UAAU,QAoCrB"}
@@ -1,8 +0,0 @@
1
- export declare enum PostType {
2
- Article = "ARTICLE",
3
- Book = "BOOK",
4
- Video = "VIDEO",
5
- Audio = "AUDIO",
6
- Event = "EVENT",
7
- News = "NEWS"
8
- }
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PostType = void 0;
4
- var PostType;
5
- (function (PostType) {
6
- PostType["Article"] = "ARTICLE";
7
- PostType["Book"] = "BOOK";
8
- PostType["Video"] = "VIDEO";
9
- PostType["Audio"] = "AUDIO";
10
- PostType["Event"] = "EVENT";
11
- PostType["News"] = "NEWS";
12
- })(PostType || (exports.PostType = PostType = {}));
13
- //# sourceMappingURL=post.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"post.enum.js","sourceRoot":"","sources":["../../src/enums/post.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,QA+BX;AA/BD,WAAY,QAAQ;IAKnB,+BAAmB,CAAA;IAKnB,yBAAa,CAAA;IAKb,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,2BAAe,CAAA;IAKf,yBAAa,CAAA;AACd,CAAC,EA/BW,QAAQ,wBAAR,QAAQ,QA+BnB"}
@@ -1,10 +0,0 @@
1
- export declare enum SettingType {
2
- Config = "CONFIG",
3
- Legal = "LEGAL",
4
- Social = "SOCIAL",
5
- Link = "LINK",
6
- Auth = "AUTH",
7
- Mail = "MAIL",
8
- Provider = "PROVIDER",
9
- Other = "OTHER"
10
- }
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SettingType = void 0;
4
- var SettingType;
5
- (function (SettingType) {
6
- SettingType["Config"] = "CONFIG";
7
- SettingType["Legal"] = "LEGAL";
8
- SettingType["Social"] = "SOCIAL";
9
- SettingType["Link"] = "LINK";
10
- SettingType["Auth"] = "AUTH";
11
- SettingType["Mail"] = "MAIL";
12
- SettingType["Provider"] = "PROVIDER";
13
- SettingType["Other"] = "OTHER";
14
- })(SettingType || (exports.SettingType = SettingType = {}));
15
- //# sourceMappingURL=setting.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setting.enum.js","sourceRoot":"","sources":["../../src/enums/setting.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,WAyCX;AAzCD,WAAY,WAAW;IAKtB,gCAAiB,CAAA;IAKjB,8BAAe,CAAA;IAKf,gCAAiB,CAAA;IAKjB,4BAAa,CAAA;IAKb,4BAAa,CAAA;IAKb,4BAAa,CAAA;IAKb,oCAAqB,CAAA;IAKrB,8BAAe,CAAA;AAChB,CAAC,EAzCW,WAAW,2BAAX,WAAW,QAyCtB"}
@@ -1,14 +0,0 @@
1
- export declare enum SocialLoginType {
2
- Google = "GOOGLE",
3
- Twitter = "TWITTER",
4
- Facebook = "FACEBOOK",
5
- Linkedin = "LINKEDIN",
6
- Apple = "APPLE"
7
- }
8
- export declare enum SocialShareType {
9
- Twitter = "TWITTER",
10
- Facebook = "FACEBOOK",
11
- Instagram = "INSTAGRAM",
12
- Linkedin = "LINKEDIN",
13
- Whatsup = "WHATSAPP"
14
- }
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SocialShareType = exports.SocialLoginType = void 0;
4
- var SocialLoginType;
5
- (function (SocialLoginType) {
6
- SocialLoginType["Google"] = "GOOGLE";
7
- SocialLoginType["Twitter"] = "TWITTER";
8
- SocialLoginType["Facebook"] = "FACEBOOK";
9
- SocialLoginType["Linkedin"] = "LINKEDIN";
10
- SocialLoginType["Apple"] = "APPLE";
11
- })(SocialLoginType || (exports.SocialLoginType = SocialLoginType = {}));
12
- var SocialShareType;
13
- (function (SocialShareType) {
14
- SocialShareType["Twitter"] = "TWITTER";
15
- SocialShareType["Facebook"] = "FACEBOOK";
16
- SocialShareType["Instagram"] = "INSTAGRAM";
17
- SocialShareType["Linkedin"] = "LINKEDIN";
18
- SocialShareType["Whatsup"] = "WHATSAPP";
19
- })(SocialShareType || (exports.SocialShareType = SocialShareType = {}));
20
- //# sourceMappingURL=social.enum.js.map
@@ -1 +0,0 @@
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,eA0BX;AA1BD,WAAY,eAAe;IAK1B,sCAAmB,CAAA;IAKnB,wCAAqB,CAAA;IAKrB,0CAAuB,CAAA;IAKvB,wCAAqB,CAAA;IAKrB,uCAAoB,CAAA;AACrB,CAAC,EA1BW,eAAe,+BAAf,eAAe,QA0B1B"}
@@ -1,21 +0,0 @@
1
- export declare enum SortType {
2
- Newest = "newest",
3
- Relevant = "relevant",
4
- Popular = "popular",
5
- Liked = "liked",
6
- Downloaded = "downloaded",
7
- Oldest = "oldest"
8
- }
9
- export declare enum AuthorSortType {
10
- Name = "name",
11
- NameDescending = "name_descending",
12
- Publications = "publications",
13
- Popularity = "popularity"
14
- }
15
- export declare enum PublisherSortType {
16
- Name = "name",
17
- RegistrationDate = "regdate",
18
- Users = "users",
19
- Publications = "publications",
20
- Popularity = "popularity"
21
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PublisherSortType = exports.AuthorSortType = exports.SortType = void 0;
4
- var SortType;
5
- (function (SortType) {
6
- SortType["Newest"] = "newest";
7
- SortType["Relevant"] = "relevant";
8
- SortType["Popular"] = "popular";
9
- SortType["Liked"] = "liked";
10
- SortType["Downloaded"] = "downloaded";
11
- SortType["Oldest"] = "oldest";
12
- })(SortType || (exports.SortType = SortType = {}));
13
- var AuthorSortType;
14
- (function (AuthorSortType) {
15
- AuthorSortType["Name"] = "name";
16
- AuthorSortType["NameDescending"] = "name_descending";
17
- AuthorSortType["Publications"] = "publications";
18
- AuthorSortType["Popularity"] = "popularity";
19
- })(AuthorSortType || (exports.AuthorSortType = AuthorSortType = {}));
20
- var PublisherSortType;
21
- (function (PublisherSortType) {
22
- PublisherSortType["Name"] = "name";
23
- PublisherSortType["RegistrationDate"] = "regdate";
24
- PublisherSortType["Users"] = "users";
25
- PublisherSortType["Publications"] = "publications";
26
- PublisherSortType["Popularity"] = "popularity";
27
- })(PublisherSortType || (exports.PublisherSortType = PublisherSortType = {}));
28
- //# sourceMappingURL=sort.enum.js.map
@@ -1 +0,0 @@
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;AAED,IAAY,cAqBX;AArBD,WAAY,cAAc;IAKzB,+BAAa,CAAA;IAKb,oDAAkC,CAAA;IAKlC,+CAA6B,CAAA;IAK7B,2CAAyB,CAAA;AAC1B,CAAC,EArBW,cAAc,8BAAd,cAAc,QAqBzB;AAED,IAAY,iBA0BX;AA1BD,WAAY,iBAAiB;IAK5B,kCAAa,CAAA;IAKb,iDAA4B,CAAA;IAK5B,oCAAe,CAAA;IAKf,kDAA6B,CAAA;IAK7B,8CAAyB,CAAA;AAC1B,CAAC,EA1BW,iBAAiB,iCAAjB,iBAAiB,QA0B5B"}
@@ -1,13 +0,0 @@
1
- export declare enum StatusType {
2
- Draft = "DRAFT",
3
- ReadyForPublish = "READY",
4
- Published = "PUBLISHED",
5
- Archived = "ARCHIVED",
6
- Blocked = "BLOCKED"
7
- }
8
- export declare enum StatusLabel {
9
- Upcoming = "UPCOMING",
10
- Live = "LIVE",
11
- Expired = "EXPIRED",
12
- Ended = "ENDED"
13
- }
@@ -1,19 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StatusLabel = exports.StatusType = void 0;
4
- var StatusType;
5
- (function (StatusType) {
6
- StatusType["Draft"] = "DRAFT";
7
- StatusType["ReadyForPublish"] = "READY";
8
- StatusType["Published"] = "PUBLISHED";
9
- StatusType["Archived"] = "ARCHIVED";
10
- StatusType["Blocked"] = "BLOCKED";
11
- })(StatusType || (exports.StatusType = StatusType = {}));
12
- var StatusLabel;
13
- (function (StatusLabel) {
14
- StatusLabel["Upcoming"] = "UPCOMING";
15
- StatusLabel["Live"] = "LIVE";
16
- StatusLabel["Expired"] = "EXPIRED";
17
- StatusLabel["Ended"] = "ENDED";
18
- })(StatusLabel || (exports.StatusLabel = StatusLabel = {}));
19
- //# sourceMappingURL=status.enum.js.map
@@ -1 +0,0 @@
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;AAED,IAAY,WAwBX;AAxBD,WAAY,WAAW;IAMtB,oCAAqB,CAAA;IAMrB,4BAAa,CAAA;IAMb,kCAAmB,CAAA;IAKnB,8BAAe,CAAA;AAChB,CAAC,EAxBW,WAAW,2BAAX,WAAW,QAwBtB"}
@@ -1,6 +0,0 @@
1
- export declare enum SurveyLabel {
2
- Upcoming = "UPCOMING",
3
- Live = "LIVE",
4
- Expired = "EXPIRED",
5
- Ended = "ENDED"
6
- }
@@ -1,11 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SurveyLabel = void 0;
4
- var SurveyLabel;
5
- (function (SurveyLabel) {
6
- SurveyLabel["Upcoming"] = "UPCOMING";
7
- SurveyLabel["Live"] = "LIVE";
8
- SurveyLabel["Expired"] = "EXPIRED";
9
- SurveyLabel["Ended"] = "ENDED";
10
- })(SurveyLabel || (exports.SurveyLabel = SurveyLabel = {}));
11
- //# sourceMappingURL=survey.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"survey.enum.js","sourceRoot":"","sources":["../../src/enums/survey.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAwBX;AAxBD,WAAY,WAAW;IAMtB,oCAAqB,CAAA;IAMrB,4BAAa,CAAA;IAMb,kCAAmB,CAAA;IAKnB,8BAAe,CAAA;AAChB,CAAC,EAxBW,WAAW,2BAAX,WAAW,QAwBtB"}
@@ -1,38 +0,0 @@
1
- export declare enum MetricType {
2
- Seen = "SEEN",
3
- Open = "OPEN",
4
- Like = "LIKE",
5
- Bookmark = "BOOKMARK",
6
- Share = "SHARE",
7
- Download = "DOWNLOAD",
8
- Feedback = "FEEDBACK",
9
- Total = "TOTAL"
10
- }
11
- export declare enum EventType {
12
- Create = "CREATE",
13
- Update = "UPDATE",
14
- Delete = "DELETE",
15
- Status = "STATUS",
16
- Start = "START",
17
- Reject = "REJECT",
18
- Complete = "COMPLETE",
19
- Attention = "ATTENTION",
20
- Invite = "INVITE",
21
- Activate = "ACTIVATE",
22
- Notify = "NOTIFY",
23
- Event = "EVENT"
24
- }
25
- export declare enum SurveyActionType {
26
- Start = "START",
27
- Completed = "COMPLETED",
28
- Reject = "REJECT"
29
- }
30
- export declare enum AuthActionType {
31
- Signin = "SIGNIN",
32
- Signup = "SIGNUP",
33
- Signout = "SIGNOUT",
34
- Anonymous = "ANONYMOUS",
35
- Takeovered = "TAKEOVERED",
36
- Deleted = "DELETED",
37
- Suspended = "SUSPENDED"
38
- }
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthActionType = exports.SurveyActionType = exports.EventType = exports.MetricType = void 0;
4
- var MetricType;
5
- (function (MetricType) {
6
- MetricType["Seen"] = "SEEN";
7
- MetricType["Open"] = "OPEN";
8
- MetricType["Like"] = "LIKE";
9
- MetricType["Bookmark"] = "BOOKMARK";
10
- MetricType["Share"] = "SHARE";
11
- MetricType["Download"] = "DOWNLOAD";
12
- MetricType["Feedback"] = "FEEDBACK";
13
- MetricType["Total"] = "TOTAL";
14
- })(MetricType || (exports.MetricType = MetricType = {}));
15
- var EventType;
16
- (function (EventType) {
17
- EventType["Create"] = "CREATE";
18
- EventType["Update"] = "UPDATE";
19
- EventType["Delete"] = "DELETE";
20
- EventType["Status"] = "STATUS";
21
- EventType["Start"] = "START";
22
- EventType["Reject"] = "REJECT";
23
- EventType["Complete"] = "COMPLETE";
24
- EventType["Attention"] = "ATTENTION";
25
- EventType["Invite"] = "INVITE";
26
- EventType["Activate"] = "ACTIVATE";
27
- EventType["Notify"] = "NOTIFY";
28
- EventType["Event"] = "EVENT";
29
- })(EventType || (exports.EventType = EventType = {}));
30
- var SurveyActionType;
31
- (function (SurveyActionType) {
32
- SurveyActionType["Start"] = "START";
33
- SurveyActionType["Completed"] = "COMPLETED";
34
- SurveyActionType["Reject"] = "REJECT";
35
- })(SurveyActionType || (exports.SurveyActionType = SurveyActionType = {}));
36
- var AuthActionType;
37
- (function (AuthActionType) {
38
- AuthActionType["Signin"] = "SIGNIN";
39
- AuthActionType["Signup"] = "SIGNUP";
40
- AuthActionType["Signout"] = "SIGNOUT";
41
- AuthActionType["Anonymous"] = "ANONYMOUS";
42
- AuthActionType["Takeovered"] = "TAKEOVERED";
43
- AuthActionType["Deleted"] = "DELETED";
44
- AuthActionType["Suspended"] = "SUSPENDED";
45
- })(AuthActionType || (exports.AuthActionType = AuthActionType = {}));
46
- //# sourceMappingURL=tracks.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UAmCX;AAnCD,WAAY,UAAU;IAIrB,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,2BAAa,CAAA;IAIb,mCAAqB,CAAA;IAIrB,6BAAe,CAAA;IAIf,mCAAqB,CAAA;IAIrB,mCAAqB,CAAA;IAKrB,6BAAe,CAAA;AAEhB,CAAC,EAnCW,UAAU,0BAAV,UAAU,QAmCrB;AAED,IAAY,SAaX;AAbD,WAAY,SAAS;IACpB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;IACf,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,oCAAuB,CAAA;IACvB,8BAAiB,CAAA;IACjB,kCAAqB,CAAA;IACrB,8BAAiB,CAAA;IACjB,4BAAe,CAAA;AAChB,CAAC,EAbW,SAAS,yBAAT,SAAS,QAapB;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,5 +0,0 @@
1
- export declare enum VerificationType {
2
- Ownership = "OWNERSHIP",
3
- Email = "EMAIL",
4
- Phone = "PHONE"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VerificationType = void 0;
4
- var VerificationType;
5
- (function (VerificationType) {
6
- VerificationType["Ownership"] = "OWNERSHIP";
7
- VerificationType["Email"] = "EMAIL";
8
- VerificationType["Phone"] = "PHONE";
9
- })(VerificationType || (exports.VerificationType = VerificationType = {}));
10
- //# sourceMappingURL=verification.enum.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"verification.enum.js","sourceRoot":"","sources":["../../src/enums/verification.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,gBAgBX;AAhBD,WAAY,gBAAgB;IAK3B,2CAAuB,CAAA;IAKvB,mCAAe,CAAA;IAKf,mCAAe,CAAA;AAChB,CAAC,EAhBW,gBAAgB,gCAAhB,gBAAgB,QAgB3B"}
@@ -1,2 +0,0 @@
1
- export * from './popularity.helper';
2
- export * from './post.helper';
@@ -1,19 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./popularity.helper"), exports);
18
- __exportStar(require("./post.helper"), exports);
19
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,gDAA8B"}
@@ -1,2 +0,0 @@
1
- import { Item } from "../models";
2
- export declare function getPopularityByWeight(weight: number): Item<number>;
@@ -1,58 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPopularityByWeight = void 0;
4
- const enums_1 = require("../enums");
5
- const models_1 = require("../models");
6
- function getPopularityByWeight(weight) {
7
- if (!weight) {
8
- return new models_1.Item({
9
- title: 'n/A',
10
- value: 0,
11
- context: enums_1.Context.Light
12
- });
13
- }
14
- if (weight < 1.9999) {
15
- return new models_1.Item({
16
- title: enums_1.Popularity.Poor,
17
- value: weight,
18
- context: enums_1.Context.Secondary
19
- });
20
- }
21
- if (weight >= 2 && weight < 3.9999) {
22
- return new models_1.Item({
23
- title: enums_1.Popularity.Week,
24
- value: weight,
25
- context: enums_1.Context.Dark
26
- });
27
- }
28
- if (weight >= 4 && weight < 5.9999) {
29
- return new models_1.Item({
30
- title: enums_1.Popularity.Fair,
31
- value: weight,
32
- context: enums_1.Context.Primary
33
- });
34
- }
35
- if (weight >= 6 && weight < 7.9999) {
36
- return new models_1.Item({
37
- title: enums_1.Popularity.Great,
38
- value: weight,
39
- context: enums_1.Context.Info
40
- });
41
- }
42
- if (weight >= 8 && weight < 8.9999) {
43
- return new models_1.Item({
44
- title: enums_1.Popularity.Excellent,
45
- value: weight,
46
- context: enums_1.Context.Success
47
- });
48
- }
49
- if (weight >= 9 && weight <= 10) {
50
- return new models_1.Item({
51
- title: enums_1.Popularity.Exceptional,
52
- value: weight,
53
- context: enums_1.Context.Danger
54
- });
55
- }
56
- }
57
- exports.getPopularityByWeight = getPopularityByWeight;
58
- //# sourceMappingURL=popularity.helper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popularity.helper.js","sourceRoot":"","sources":["../../src/helpers/popularity.helper.ts"],"names":[],"mappings":";;;AAAA,oCAA+C;AAC/C,sCAAiC;AAEjC,SAAgB,qBAAqB,CAAC,MAAc;IAEnD,IAAI,CAAC,MAAM,EAAE,CAAC;QACb,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,KAAK;YACZ,KAAK,EAAE,CAAC;YACR,OAAO,EAAE,eAAO,CAAC,KAAK;SACtB,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;QACrB,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,IAAI;YACtB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,SAAS;SAC1B,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;QACpC,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,IAAI;YACtB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,IAAI;SACrB,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;QACpC,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,IAAI;YACtB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,OAAO;SACxB,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;QACpC,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,KAAK;YACvB,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,IAAI;SACrB,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,GAAG,MAAM,EAAE,CAAC;QACpC,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,SAAS;YAC3B,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,OAAO;SACxB,CAAC,CAAC;IACJ,CAAC;IAED,IAAI,MAAM,IAAI,CAAC,IAAI,MAAM,IAAI,EAAE,EAAE,CAAC;QACjC,OAAO,IAAI,aAAI,CAAS;YACvB,KAAK,EAAE,kBAAU,CAAC,WAAW;YAC7B,KAAK,EAAE,MAAM;YACb,OAAO,EAAE,eAAO,CAAC,MAAM;SACvB,CAAC,CAAC;IACJ,CAAC;AACF,CAAC;AAzDD,sDAyDC"}
@@ -1,2 +0,0 @@
1
- import { PostType } from "../enums";
2
- export declare function getPostIcon(postType: PostType, custom?: boolean): "file-lines" | "microphone" | "circle-play" | "newspaper" | "headphones" | "book-open" | "/assets/icons/content-type-article.svg" | "/assets/icons/content-type-book.svg" | "/assets/icons/content-type-audio.svg" | "/assets/icons/content-type-video.svg" | "/assets/icons/content-type-news.svg" | "/assets/icons/content-type-event.svg";
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getPostIcon = void 0;
4
- const enums_1 = require("../enums");
5
- function getPostIcon(postType, custom) {
6
- switch (postType) {
7
- case enums_1.PostType.Article:
8
- return custom ? '/assets/icons/content-type-article.svg' : 'file-lines';
9
- case enums_1.PostType.Book:
10
- return custom ? '/assets/icons/content-type-book.svg' : 'book-open';
11
- case enums_1.PostType.Audio:
12
- return custom ? '/assets/icons/content-type-audio.svg' : 'headphones';
13
- case enums_1.PostType.Video:
14
- return custom ? '/assets/icons/content-type-video.svg' : 'circle-play';
15
- case enums_1.PostType.News:
16
- return custom ? '/assets/icons/content-type-news.svg' : 'newspaper';
17
- case enums_1.PostType.Event:
18
- return custom ? '/assets/icons/content-type-event.svg' : 'microphone';
19
- }
20
- }
21
- exports.getPostIcon = getPostIcon;
22
- //# sourceMappingURL=post.helper.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"post.helper.js","sourceRoot":"","sources":["../../src/helpers/post.helper.ts"],"names":[],"mappings":";;;AAAA,oCAAoC;AAEpC,SAAgB,WAAW,CAAC,QAAkB,EAAE,MAAgB;IAC/D,QAAQ,QAAQ,EAAE,CAAC;QAClB,KAAK,gBAAQ,CAAC,OAAO;YACpB,OAAO,MAAM,CAAC,CAAC,CAAC,wCAAwC,CAAC,CAAC,CAAA,YAAY,CAAC;QACxE,KAAK,gBAAQ,CAAC,IAAI;YACjB,OAAO,MAAM,CAAC,CAAC,CAAC,qCAAqC,CAAC,CAAC,CAAC,WAAW,CAAC;QACrE,KAAK,gBAAQ,CAAC,KAAK;YAClB,OAAO,MAAM,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,YAAY,CAAC;QACvE,KAAK,gBAAQ,CAAC,KAAK;YAClB,OAAO,MAAM,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,aAAa,CAAC;QACxE,KAAK,gBAAQ,CAAC,IAAI;YACjB,OAAO,MAAM,CAAC,CAAC,CAAC,qCAAqC,CAAC,CAAC,CAAC,WAAW,CAAC;QACrE,KAAK,gBAAQ,CAAC,KAAK;YAClB,OAAO,MAAM,CAAC,CAAC,CAAC,sCAAsC,CAAC,CAAC,CAAC,YAAY,CAAC;IACxE,CAAC;AACF,CAAC;AAfD,kCAeC"}
@@ -1,11 +0,0 @@
1
- export interface IMetrics {
2
- id: number;
3
- seen: number;
4
- opens: number;
5
- likes: number;
6
- shares: number;
7
- bookmarks: number;
8
- downloads: number;
9
- feedbacks: number;
10
- items: number;
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=metric.interface.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"metric.interface.js","sourceRoot":"","sources":["../../src/metric/metric.interface.ts"],"names":[],"mappings":""}
@@ -1,10 +0,0 @@
1
- import { AssetType } from '../enums';
2
- export declare class Asset {
3
- id: number;
4
- type: AssetType;
5
- url: string;
6
- title: string;
7
- tags: string[];
8
- mimeType: string;
9
- constructor(props?: Partial<Asset>);
10
- }