@intelact/bright 0.9.126 → 0.9.128

Sign up to get free protection for your applications and to get access to all the features.
Files changed (236) hide show
  1. package/lib/chart/chart.dto.d.ts +16 -0
  2. package/lib/chart/chart.dto.js +87 -0
  3. package/lib/chart/chart.dto.js.map +1 -0
  4. package/lib/chart/chart.interface.d.ts +14 -0
  5. package/lib/{models/pagination.js → chart/chart.interface.js} +1 -1
  6. package/lib/chart/chart.interface.js.map +1 -0
  7. package/lib/chart/chart.model.d.ts +8 -0
  8. package/lib/{models/token.js → chart/chart.model.js} +1 -1
  9. package/lib/chart/chart.model.js.map +1 -0
  10. package/lib/chart/chart.types.d.ts +6 -0
  11. package/lib/chart/chart.types.js +11 -0
  12. package/lib/chart/chart.types.js.map +1 -0
  13. package/lib/chart/index.d.ts +4 -0
  14. package/lib/{helpers → chart}/index.js +4 -2
  15. package/lib/chart/index.js.map +1 -0
  16. package/lib/feedback/feedback.model.d.ts +2 -0
  17. package/lib/feedback/feedback.model.js +9 -0
  18. package/lib/feedback/feedback.model.js.map +1 -1
  19. package/lib/index.d.ts +1 -0
  20. package/lib/index.js +1 -0
  21. package/lib/index.js.map +1 -1
  22. package/lib/publisher/publisher.model.d.ts +2 -0
  23. package/lib/publisher/publisher.model.js +9 -0
  24. package/lib/publisher/publisher.model.js.map +1 -1
  25. package/lib/tsconfig.tsbuildinfo +1 -1
  26. package/package.json +1 -1
  27. package/lib/author/author.sort.d.ts +0 -7
  28. package/lib/author/author.sort.js +0 -12
  29. package/lib/author/author.sort.js.map +0 -1
  30. package/lib/common/browse.dto.d.ts +0 -9
  31. package/lib/common/browse.dto.js +0 -47
  32. package/lib/common/browse.dto.js.map +0 -1
  33. package/lib/dtos/asset.dto.d.ts +0 -14
  34. package/lib/dtos/asset.dto.js +0 -70
  35. package/lib/dtos/asset.dto.js.map +0 -1
  36. package/lib/dtos/auth.dto.d.ts +0 -39
  37. package/lib/dtos/auth.dto.js +0 -162
  38. package/lib/dtos/auth.dto.js.map +0 -1
  39. package/lib/dtos/author.dto.d.ts +0 -14
  40. package/lib/dtos/author.dto.js +0 -57
  41. package/lib/dtos/author.dto.js.map +0 -1
  42. package/lib/dtos/boost.dto.d.ts +0 -5
  43. package/lib/dtos/boost.dto.js +0 -38
  44. package/lib/dtos/boost.dto.js.map +0 -1
  45. package/lib/dtos/brand.dto.d.ts +0 -6
  46. package/lib/dtos/brand.dto.js +0 -41
  47. package/lib/dtos/brand.dto.js.map +0 -1
  48. package/lib/dtos/browse.dto.d.ts +0 -11
  49. package/lib/dtos/browse.dto.js +0 -55
  50. package/lib/dtos/browse.dto.js.map +0 -1
  51. package/lib/dtos/bulk.dto.d.ts +0 -3
  52. package/lib/dtos/bulk.dto.js +0 -22
  53. package/lib/dtos/bulk.dto.js.map +0 -1
  54. package/lib/dtos/category.dto.d.ts +0 -7
  55. package/lib/dtos/category.dto.js +0 -38
  56. package/lib/dtos/category.dto.js.map +0 -1
  57. package/lib/dtos/contact.dto.d.ts +0 -5
  58. package/lib/dtos/contact.dto.js +0 -35
  59. package/lib/dtos/contact.dto.js.map +0 -1
  60. package/lib/dtos/feedback.dto.d.ts +0 -9
  61. package/lib/dtos/feedback.dto.js +0 -47
  62. package/lib/dtos/feedback.dto.js.map +0 -1
  63. package/lib/dtos/general.dto.d.ts +0 -25
  64. package/lib/dtos/general.dto.js +0 -94
  65. package/lib/dtos/general.dto.js.map +0 -1
  66. package/lib/dtos/index.d.ts +0 -15
  67. package/lib/dtos/index.js +0 -32
  68. package/lib/dtos/index.js.map +0 -1
  69. package/lib/dtos/notification.d.ts +0 -4
  70. package/lib/dtos/notification.dto.d.ts +0 -4
  71. package/lib/dtos/notification.dto.js +0 -29
  72. package/lib/dtos/notification.dto.js.map +0 -1
  73. package/lib/dtos/notification.js +0 -29
  74. package/lib/dtos/notification.js.map +0 -1
  75. package/lib/dtos/post.dto.d.ts +0 -25
  76. package/lib/dtos/post.dto.js +0 -118
  77. package/lib/dtos/post.dto.js.map +0 -1
  78. package/lib/dtos/promotion.dto.d.ts +0 -5
  79. package/lib/dtos/promotion.dto.js +0 -38
  80. package/lib/dtos/promotion.dto.js.map +0 -1
  81. package/lib/dtos/publisher.dto.d.ts +0 -8
  82. package/lib/dtos/publisher.dto.js +0 -39
  83. package/lib/dtos/publisher.dto.js.map +0 -1
  84. package/lib/dtos/question.dto.d.ts +0 -15
  85. package/lib/dtos/question.dto.js +0 -86
  86. package/lib/dtos/question.dto.js.map +0 -1
  87. package/lib/dtos/search.dto.d.ts +0 -12
  88. package/lib/dtos/search.dto.js +0 -72
  89. package/lib/dtos/search.dto.js.map +0 -1
  90. package/lib/dtos/survey.dto.d.ts +0 -9
  91. package/lib/dtos/survey.dto.js +0 -54
  92. package/lib/dtos/survey.dto.js.map +0 -1
  93. package/lib/dtos/topic.dto.d.ts +0 -12
  94. package/lib/dtos/topic.dto.js +0 -50
  95. package/lib/dtos/topic.dto.js.map +0 -1
  96. package/lib/dtos/user.dto.d.ts +0 -24
  97. package/lib/dtos/user.dto.js +0 -99
  98. package/lib/dtos/user.dto.js.map +0 -1
  99. package/lib/enums/account.enum.d.ts +0 -11
  100. package/lib/enums/account.enum.js +0 -17
  101. package/lib/enums/account.enum.js.map +0 -1
  102. package/lib/enums/asset.enum.d.ts +0 -7
  103. package/lib/enums/asset.enum.js +0 -12
  104. package/lib/enums/asset.enum.js.map +0 -1
  105. package/lib/enums/color.enum.d.ts +0 -30
  106. package/lib/enums/color.enum.js +0 -37
  107. package/lib/enums/color.enum.js.map +0 -1
  108. package/lib/enums/feed.enum.d.ts +0 -5
  109. package/lib/enums/feed.enum.js +0 -10
  110. package/lib/enums/feed.enum.js.map +0 -1
  111. package/lib/enums/index.d.ts +0 -13
  112. package/lib/enums/index.js +0 -30
  113. package/lib/enums/index.js.map +0 -1
  114. package/lib/enums/module.enum.d.ts +0 -28
  115. package/lib/enums/module.enum.js +0 -34
  116. package/lib/enums/module.enum.js.map +0 -1
  117. package/lib/enums/notification.enum.d.ts +0 -12
  118. package/lib/enums/notification.enum.js +0 -18
  119. package/lib/enums/notification.enum.js.map +0 -1
  120. package/lib/enums/popularity.enum.d.ts +0 -8
  121. package/lib/enums/popularity.enum.js +0 -13
  122. package/lib/enums/popularity.enum.js.map +0 -1
  123. package/lib/enums/post.enum.d.ts +0 -8
  124. package/lib/enums/post.enum.js +0 -13
  125. package/lib/enums/post.enum.js.map +0 -1
  126. package/lib/enums/setting.enum.d.ts +0 -10
  127. package/lib/enums/setting.enum.js +0 -15
  128. package/lib/enums/setting.enum.js.map +0 -1
  129. package/lib/enums/social.enum.d.ts +0 -14
  130. package/lib/enums/social.enum.js +0 -20
  131. package/lib/enums/social.enum.js.map +0 -1
  132. package/lib/enums/sort.enum.d.ts +0 -21
  133. package/lib/enums/sort.enum.js +0 -28
  134. package/lib/enums/sort.enum.js.map +0 -1
  135. package/lib/enums/status.enum.d.ts +0 -13
  136. package/lib/enums/status.enum.js +0 -19
  137. package/lib/enums/status.enum.js.map +0 -1
  138. package/lib/enums/survey.enum.d.ts +0 -6
  139. package/lib/enums/survey.enum.js +0 -11
  140. package/lib/enums/survey.enum.js.map +0 -1
  141. package/lib/enums/tracks.enum.d.ts +0 -38
  142. package/lib/enums/tracks.enum.js +0 -46
  143. package/lib/enums/tracks.enum.js.map +0 -1
  144. package/lib/enums/verification.enum.d.ts +0 -5
  145. package/lib/enums/verification.enum.js +0 -10
  146. package/lib/enums/verification.enum.js.map +0 -1
  147. package/lib/helpers/index.d.ts +0 -2
  148. package/lib/helpers/index.js.map +0 -1
  149. package/lib/helpers/popularity.helper.d.ts +0 -2
  150. package/lib/helpers/popularity.helper.js +0 -58
  151. package/lib/helpers/popularity.helper.js.map +0 -1
  152. package/lib/helpers/post.helper.d.ts +0 -2
  153. package/lib/helpers/post.helper.js +0 -22
  154. package/lib/helpers/post.helper.js.map +0 -1
  155. package/lib/metric/metric.interface.d.ts +0 -11
  156. package/lib/metric/metric.interface.js +0 -3
  157. package/lib/metric/metric.interface.js.map +0 -1
  158. package/lib/models/asset.d.ts +0 -10
  159. package/lib/models/asset.js +0 -54
  160. package/lib/models/asset.js.map +0 -1
  161. package/lib/models/author.d.ts +0 -16
  162. package/lib/models/author.js +0 -83
  163. package/lib/models/author.js.map +0 -1
  164. package/lib/models/boost.d.ts +0 -14
  165. package/lib/models/boost.js +0 -73
  166. package/lib/models/boost.js.map +0 -1
  167. package/lib/models/brand.d.ts +0 -38
  168. package/lib/models/brand.js +0 -241
  169. package/lib/models/brand.js.map +0 -1
  170. package/lib/models/category.d.ts +0 -13
  171. package/lib/models/category.js +0 -69
  172. package/lib/models/category.js.map +0 -1
  173. package/lib/models/collection.d.ts +0 -14
  174. package/lib/models/collection.js +0 -65
  175. package/lib/models/collection.js.map +0 -1
  176. package/lib/models/feedback.d.ts +0 -38
  177. package/lib/models/feedback.js +0 -157
  178. package/lib/models/feedback.js.map +0 -1
  179. package/lib/models/gallery.d.ts +0 -6
  180. package/lib/models/gallery.js +0 -36
  181. package/lib/models/gallery.js.map +0 -1
  182. package/lib/models/index.d.ts +0 -23
  183. package/lib/models/index.js +0 -40
  184. package/lib/models/index.js.map +0 -1
  185. package/lib/models/item.d.ts +0 -14
  186. package/lib/models/item.js +0 -37
  187. package/lib/models/item.js.map +0 -1
  188. package/lib/models/link.d.ts +0 -16
  189. package/lib/models/link.js +0 -35
  190. package/lib/models/link.js.map +0 -1
  191. package/lib/models/log.d.ts +0 -11
  192. package/lib/models/log.js +0 -16
  193. package/lib/models/log.js.map +0 -1
  194. package/lib/models/metric.d.ts +0 -20
  195. package/lib/models/metric.js +0 -186
  196. package/lib/models/metric.js.map +0 -1
  197. package/lib/models/notification.d.ts +0 -14
  198. package/lib/models/notification.js +0 -64
  199. package/lib/models/notification.js.map +0 -1
  200. package/lib/models/pagination.d.ts +0 -17
  201. package/lib/models/pagination.js.map +0 -1
  202. package/lib/models/post.d.ts +0 -88
  203. package/lib/models/post.js +0 -466
  204. package/lib/models/post.js.map +0 -1
  205. package/lib/models/promotion.d.ts +0 -21
  206. package/lib/models/promotion.js +0 -108
  207. package/lib/models/promotion.js.map +0 -1
  208. package/lib/models/publisher.d.ts +0 -25
  209. package/lib/models/publisher.js +0 -118
  210. package/lib/models/publisher.js.map +0 -1
  211. package/lib/models/question.d.ts +0 -47
  212. package/lib/models/question.js +0 -238
  213. package/lib/models/question.js.map +0 -1
  214. package/lib/models/quote.d.ts +0 -5
  215. package/lib/models/quote.js +0 -31
  216. package/lib/models/quote.js.map +0 -1
  217. package/lib/models/response.d.ts +0 -6
  218. package/lib/models/response.js +0 -3
  219. package/lib/models/response.js.map +0 -1
  220. package/lib/models/share.d.ts +0 -6
  221. package/lib/models/share.js +0 -3
  222. package/lib/models/share.js.map +0 -1
  223. package/lib/models/survey.d.ts +0 -43
  224. package/lib/models/survey.js +0 -214
  225. package/lib/models/survey.js.map +0 -1
  226. package/lib/models/token.d.ts +0 -7
  227. package/lib/models/token.js.map +0 -1
  228. package/lib/models/topic.d.ts +0 -17
  229. package/lib/models/topic.js +0 -90
  230. package/lib/models/topic.js.map +0 -1
  231. package/lib/models/user.d.ts +0 -49
  232. package/lib/models/user.js +0 -258
  233. package/lib/models/user.js.map +0 -1
  234. package/lib/survey/survey.event.d.ts +0 -5
  235. package/lib/survey/survey.event.js +0 -10
  236. package/lib/survey/survey.event.js.map +0 -1
@@ -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 +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
- }
@@ -1,54 +0,0 @@
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.Asset = void 0;
13
- const class_transformer_1 = require("class-transformer");
14
- const enums_1 = require("../enums");
15
- class Asset {
16
- id;
17
- type;
18
- url;
19
- title;
20
- tags;
21
- mimeType;
22
- constructor(props) {
23
- Object.assign(this, props);
24
- }
25
- }
26
- exports.Asset = Asset;
27
- __decorate([
28
- (0, class_transformer_1.Expose)({ groups: ['admin'] }),
29
- (0, class_transformer_1.Type)(() => Number),
30
- __metadata("design:type", Number)
31
- ], Asset.prototype, "id", void 0);
32
- __decorate([
33
- (0, class_transformer_1.Expose)(),
34
- (0, class_transformer_1.Expose)({ groups: ['admin'] }),
35
- __metadata("design:type", String)
36
- ], Asset.prototype, "type", void 0);
37
- __decorate([
38
- (0, class_transformer_1.Expose)(),
39
- __metadata("design:type", String)
40
- ], Asset.prototype, "url", void 0);
41
- __decorate([
42
- (0, class_transformer_1.Expose)(),
43
- __metadata("design:type", String)
44
- ], Asset.prototype, "title", void 0);
45
- __decorate([
46
- (0, class_transformer_1.Expose)(),
47
- (0, class_transformer_1.Expose)({ groups: ['admin'] }),
48
- __metadata("design:type", Array)
49
- ], Asset.prototype, "tags", void 0);
50
- __decorate([
51
- (0, class_transformer_1.Expose)({ groups: ['admin'] }),
52
- __metadata("design:type", String)
53
- ], Asset.prototype, "mimeType", void 0);
54
- //# sourceMappingURL=asset.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"asset.js","sourceRoot":"","sources":["../../src/models/asset.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yDAAiD;AACjD,oCAAqC;AAKrC,MAAa,KAAK;IAIjB,EAAE,CAAS;IAIX,IAAI,CAAY;IAGhB,GAAG,CAAS;IAGZ,KAAK,CAAS;IAId,IAAI,CAAW;IAGf,QAAQ,CAAS;IAEjB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA1BD,sBA0BC;AAtBA;IAFC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;IAC7B,IAAA,wBAAI,EAAC,GAAG,EAAE,CAAC,MAAM,CAAC;;iCACR;AAIX;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;mCACd;AAGhB;IADC,IAAA,0BAAM,GAAE;;kCACG;AAGZ;IADC,IAAA,0BAAM,GAAE;;oCACK;AAId;IAFC,IAAA,0BAAM,GAAE;IACR,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;mCACf;AAGf;IADC,IAAA,0BAAM,EAAC,EAAE,MAAM,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;;uCACb"}
@@ -1,16 +0,0 @@
1
- import { Item } from "./item";
2
- import { Metric } from "./metric";
3
- import { Log } from "./log";
4
- export declare class Author {
5
- id: number;
6
- slug: string;
7
- name: string;
8
- biography: string;
9
- imageUrl: string;
10
- metricPosts: Metric;
11
- metricQuestions: Metric;
12
- created: Log;
13
- updated: Log;
14
- constructor(props?: Partial<Author>);
15
- static toItemList(data: Author[], key?: 'id' | 'slug'): Item<any>[];
16
- }