@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
@@ -1 +1 @@
1
- {"version":3,"file":"status.enum.js","sourceRoot":"","sources":["../../src/enums/status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UA4BX;AA5BD,WAAY,UAAU;IAKrB,6BAAe,CAAA;IAKf,uCAAyB,CAAA;IAMzB,qCAAuB,CAAA;IAMvB,mCAAqB,CAAA;IAKrB,iCAAmB,CAAA;AACpB,CAAC,EA5BW,UAAU,0BAAV,UAAU,QA4BrB"}
1
+ {"version":3,"file":"status.enum.js","sourceRoot":"","sources":["../../src/enums/status.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,UA4BX;AA5BD,WAAY,UAAU;IAKrB,6BAAe,CAAA;IAKf,uCAAyB,CAAA;IAMzB,qCAAuB,CAAA;IAMvB,mCAAqB,CAAA;IAKrB,iCAAmB,CAAA;AACpB,CAAC,EA5BW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QA4BrB"}
@@ -10,13 +10,13 @@ var ContentActionType;
10
10
  ContentActionType["Share"] = "SHARE";
11
11
  ContentActionType["Download"] = "DOWNLOAD";
12
12
  ContentActionType["Feedback"] = "FEEDBACK";
13
- })(ContentActionType || (exports.ContentActionType = ContentActionType = {}));
13
+ })(ContentActionType = exports.ContentActionType || (exports.ContentActionType = {}));
14
14
  var SurveyActionType;
15
15
  (function (SurveyActionType) {
16
16
  SurveyActionType["Start"] = "START";
17
17
  SurveyActionType["Completed"] = "COMPLETED";
18
18
  SurveyActionType["Reject"] = "REJECT";
19
- })(SurveyActionType || (exports.SurveyActionType = SurveyActionType = {}));
19
+ })(SurveyActionType = exports.SurveyActionType || (exports.SurveyActionType = {}));
20
20
  var AuthActionType;
21
21
  (function (AuthActionType) {
22
22
  AuthActionType["Signin"] = "SIGNIN";
@@ -26,5 +26,5 @@ var AuthActionType;
26
26
  AuthActionType["Takeovered"] = "TAKEOVERED";
27
27
  AuthActionType["Deleted"] = "DELETED";
28
28
  AuthActionType["Suspended"] = "SUSPENDED";
29
- })(AuthActionType || (exports.AuthActionType = AuthActionType = {}));
29
+ })(AuthActionType = exports.AuthActionType || (exports.AuthActionType = {}));
30
30
  //# sourceMappingURL=tracks.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBA6BX;AA7BD,WAAY,iBAAiB;IAI5B,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,0CAAqB,CAAA;IAIrB,oCAAe,CAAA;IAIf,0CAAqB,CAAA;IAIrB,0CAAqB,CAAA;AACtB,CAAC,EA7BW,iBAAiB,iCAAjB,iBAAiB,QA6B5B;AAKD,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAI3B,mCAAe,CAAA;IAKf,2CAAuB,CAAA;IAKvB,qCAAiB,CAAA;AAClB,CAAC,EAfW,gBAAgB,gCAAhB,gBAAgB,QAe3B;AAED,IAAY,cAmCX;AAnCD,WAAY,cAAc;IAIzB,mCAAiB,CAAA;IAKjB,mCAAiB,CAAA;IAKjB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;IAKvB,2CAAyB,CAAA;IAKzB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;AACxB,CAAC,EAnCW,cAAc,8BAAd,cAAc,QAmCzB"}
1
+ {"version":3,"file":"tracks.enum.js","sourceRoot":"","sources":["../../src/enums/tracks.enum.ts"],"names":[],"mappings":";;;AAGA,IAAY,iBA6BX;AA7BD,WAAY,iBAAiB;IAI5B,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,kCAAa,CAAA;IAIb,0CAAqB,CAAA;IAIrB,oCAAe,CAAA;IAIf,0CAAqB,CAAA;IAIrB,0CAAqB,CAAA;AACtB,CAAC,EA7BW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA6B5B;AAKD,IAAY,gBAeX;AAfD,WAAY,gBAAgB;IAI3B,mCAAe,CAAA;IAKf,2CAAuB,CAAA;IAKvB,qCAAiB,CAAA;AAClB,CAAC,EAfW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAe3B;AAED,IAAY,cAmCX;AAnCD,WAAY,cAAc;IAIzB,mCAAiB,CAAA;IAKjB,mCAAiB,CAAA;IAKjB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;IAKvB,2CAAyB,CAAA;IAKzB,qCAAmB,CAAA;IAKnB,yCAAuB,CAAA;AACxB,CAAC,EAnCW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAmCzB"}
@@ -6,5 +6,5 @@ var VerificationType;
6
6
  VerificationType["Ownership"] = "OWNERSHIP";
7
7
  VerificationType["Email"] = "EMAIL";
8
8
  VerificationType["Phone"] = "PHONE";
9
- })(VerificationType || (exports.VerificationType = VerificationType = {}));
9
+ })(VerificationType = exports.VerificationType || (exports.VerificationType = {}));
10
10
  //# sourceMappingURL=verification.enum.js.map
@@ -1 +1 @@
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
+ {"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,GAAhB,wBAAgB,KAAhB,wBAAgB,QAgB3B"}
package/lib/index.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './enums';
2
+ export * from './models';
2
3
  export * from './security';
package/lib/index.js CHANGED
@@ -1,11 +1,7 @@
1
1
  "use strict";
2
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
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);
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
9
5
  }) : (function(o, m, k, k2) {
10
6
  if (k2 === undefined) k2 = k;
11
7
  o[k2] = m[k];
@@ -15,5 +11,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
11
  };
16
12
  Object.defineProperty(exports, "__esModule", { value: true });
17
13
  __exportStar(require("./enums"), exports);
14
+ __exportStar(require("./models"), exports);
18
15
  __exportStar(require("./security"), exports);
19
16
  //# sourceMappingURL=index.js.map
package/lib/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,6CAA2B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0CAAwB;AACxB,2CAAyB;AACzB,6CAA2B"}
@@ -0,0 +1,14 @@
1
+ import { AccountStatusType, AccountType } from '../enums';
2
+ import { Permission } from '../security';
3
+ import { Publisher } from './publisher';
4
+ export declare class Administrator {
5
+ name: string;
6
+ image: string;
7
+ phone: string;
8
+ email: string;
9
+ status: AccountStatusType;
10
+ accountType: AccountType;
11
+ permissions: Permission[];
12
+ publishers: Publisher[];
13
+ constructor(props?: Partial<Administrator>);
14
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Administrator = void 0;
4
+ class Administrator {
5
+ name;
6
+ image;
7
+ phone;
8
+ email;
9
+ status;
10
+ accountType;
11
+ permissions;
12
+ publishers;
13
+ constructor(props) {
14
+ Object.assign(this, props);
15
+ }
16
+ }
17
+ exports.Administrator = Administrator;
18
+ //# sourceMappingURL=administrator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"administrator.js","sourceRoot":"","sources":["../../src/models/administrator.ts"],"names":[],"mappings":";;;AAOA,MAAa,aAAa;IAKzB,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,KAAK,CAAS;IAKd,MAAM,CAAoB;IAK1B,WAAW,CAAc;IAKzB,WAAW,CAAe;IAK1B,UAAU,CAAc;IAExB,YAAY,KAA8B;QACzC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7CD,sCA6CC"}
@@ -0,0 +1,9 @@
1
+ import { AssetType } from '../enums';
2
+ export declare class Asset {
3
+ type: AssetType;
4
+ url: string;
5
+ title: string;
6
+ tags: string[];
7
+ mimeType: string;
8
+ constructor(props?: Partial<Asset>);
9
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Asset = void 0;
4
+ class Asset {
5
+ type;
6
+ url;
7
+ title;
8
+ tags;
9
+ mimeType;
10
+ constructor(props) {
11
+ Object.assign(this, props);
12
+ }
13
+ }
14
+ exports.Asset = Asset;
15
+ //# sourceMappingURL=asset.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"asset.js","sourceRoot":"","sources":["../../src/models/asset.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAKjB,IAAI,CAAY;IAKhB,GAAG,CAAS;IAKZ,KAAK,CAAS;IAKd,IAAI,CAAW;IAKf,QAAQ,CAAS;IAEjB,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,sBA8BC"}
@@ -0,0 +1,9 @@
1
+ export declare class Author {
2
+ slug: string;
3
+ name: string;
4
+ biography: string;
5
+ imageUrl: string;
6
+ totalPosts: number;
7
+ totalQuestions: number;
8
+ constructor(props?: Partial<Author>);
9
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Author = void 0;
4
+ class Author {
5
+ slug;
6
+ name;
7
+ biography;
8
+ imageUrl;
9
+ totalPosts;
10
+ totalQuestions;
11
+ constructor(props) {
12
+ Object.assign(this, props);
13
+ }
14
+ }
15
+ exports.Author = Author;
16
+ //# sourceMappingURL=author.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"author.js","sourceRoot":"","sources":["../../src/models/author.ts"],"names":[],"mappings":";;;AAGA,MAAa,MAAM;IAKlB,IAAI,CAAS;IAKb,IAAI,CAAS;IAKb,SAAS,CAAS;IAKlB,QAAQ,CAAS;IAKjB,UAAU,CAAS;IAKnB,cAAc,CAAS;IAEvB,YAAY,KAAuB;QAClC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAnCD,wBAmCC"}
@@ -0,0 +1,9 @@
1
+ import { Post } from './post';
2
+ export declare class Boost {
3
+ title: string;
4
+ startDate: Date;
5
+ endDate: Date;
6
+ totalItems: number;
7
+ items: Post[];
8
+ constructor(props?: Partial<Boost>);
9
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Boost = void 0;
4
+ class Boost {
5
+ title;
6
+ startDate;
7
+ endDate;
8
+ totalItems;
9
+ items;
10
+ constructor(props) {
11
+ Object.assign(this, props);
12
+ }
13
+ }
14
+ exports.Boost = Boost;
15
+ //# sourceMappingURL=boost.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"boost.js","sourceRoot":"","sources":["../../src/models/boost.ts"],"names":[],"mappings":";;;AAEA,MAAa,KAAK;IAKjB,KAAK,CAAS;IAKd,SAAS,CAAO;IAKhB,OAAO,CAAO;IAKd,UAAU,CAAS;IAKnB,KAAK,CAAS;IAEd,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,sBA8BC"}
@@ -0,0 +1,18 @@
1
+ import { ModuleType } from '../enums';
2
+ export declare class Brand {
3
+ name: string;
4
+ title: string;
5
+ slogan: string;
6
+ host: string;
7
+ email: string;
8
+ description: string;
9
+ language: string;
10
+ logo: string;
11
+ active: boolean;
12
+ maintaince: boolean;
13
+ modules: ModuleType[];
14
+ settings: {
15
+ [key: string]: any;
16
+ };
17
+ constructor(props?: Partial<Brand>);
18
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Brand = void 0;
4
+ class Brand {
5
+ name;
6
+ title;
7
+ slogan;
8
+ host;
9
+ email;
10
+ description;
11
+ language;
12
+ logo;
13
+ active;
14
+ maintaince;
15
+ modules;
16
+ settings;
17
+ constructor(props) {
18
+ Object.assign(this, props);
19
+ }
20
+ }
21
+ exports.Brand = Brand;
22
+ //# sourceMappingURL=brand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"brand.js","sourceRoot":"","sources":["../../src/models/brand.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAMjB,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,MAAM,CAAS;IAKf,IAAI,CAAS;IAKb,KAAK,CAAS;IAKd,WAAW,CAAS;IAKpB,QAAQ,CAAS;IAKjB,IAAI,CAAS;IAKb,MAAM,CAAU;IAKhB,UAAU,CAAU;IAKpB,OAAO,CAAe;IAKtB,QAAQ,CAAyB;IAEjC,YAAY,KAAsB;QACjC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAlED,sBAkEC"}
@@ -0,0 +1,7 @@
1
+ export declare class Category {
2
+ title: string;
3
+ hash: string;
4
+ description: string;
5
+ sort: number;
6
+ constructor(props?: Partial<Category>);
7
+ }
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Category = void 0;
4
+ class Category {
5
+ title;
6
+ hash;
7
+ description;
8
+ sort;
9
+ constructor(props) {
10
+ Object.assign(this, props);
11
+ }
12
+ }
13
+ exports.Category = Category;
14
+ //# sourceMappingURL=category.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"category.js","sourceRoot":"","sources":["../../src/models/category.ts"],"names":[],"mappings":";;;AAGA,MAAa,QAAQ;IAKpB,KAAK,CAAS;IAKd,IAAI,CAAS;IAKb,WAAW,CAAS;IAKpB,IAAI,CAAS;IAEb,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,4BAyBC"}
@@ -0,0 +1,6 @@
1
+ import { Post } from './post';
2
+ export declare class Collection {
3
+ title: string;
4
+ items: Post[];
5
+ constructor(props?: Partial<Collection>);
6
+ }
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Collection = void 0;
4
+ class Collection {
5
+ title;
6
+ items;
7
+ constructor(props) {
8
+ Object.assign(this, props);
9
+ }
10
+ }
11
+ exports.Collection = Collection;
12
+ //# sourceMappingURL=collection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"collection.js","sourceRoot":"","sources":["../../src/models/collection.ts"],"names":[],"mappings":";;;AAKA,MAAa,UAAU;IAKtB,KAAK,CAAS;IAKd,KAAK,CAAS;IAEd,YAAY,KAA2B;QACtC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,gCAeC"}
@@ -0,0 +1,22 @@
1
+ import { PostType } from '../enums';
2
+ export declare class Feedback {
3
+ type: PostType;
4
+ title: string;
5
+ description: string;
6
+ items: Promise<FeedbackItem[]>;
7
+ constructor(props?: Partial<Feedback>);
8
+ }
9
+ export declare class FeedbackItem {
10
+ question: string;
11
+ multiple: boolean;
12
+ sort: number;
13
+ readonly: boolean;
14
+ options: FeedbackOption[];
15
+ constructor(props?: FeedbackItem);
16
+ }
17
+ export declare class FeedbackOption {
18
+ id: number;
19
+ content: string;
20
+ sort: number;
21
+ constructor(props?: Partial<FeedbackOption>);
22
+ }
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FeedbackOption = exports.FeedbackItem = exports.Feedback = void 0;
4
+ class Feedback {
5
+ type;
6
+ title;
7
+ description;
8
+ items;
9
+ constructor(props) {
10
+ Object.assign(this, props);
11
+ }
12
+ }
13
+ exports.Feedback = Feedback;
14
+ class FeedbackItem {
15
+ question;
16
+ multiple;
17
+ sort;
18
+ readonly;
19
+ options;
20
+ constructor(props) {
21
+ Object.assign(this, props);
22
+ }
23
+ }
24
+ exports.FeedbackItem = FeedbackItem;
25
+ class FeedbackOption {
26
+ id;
27
+ content;
28
+ sort;
29
+ constructor(props) {
30
+ Object.assign(this, props);
31
+ }
32
+ }
33
+ exports.FeedbackOption = FeedbackOption;
34
+ //# sourceMappingURL=feedback.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"feedback.js","sourceRoot":"","sources":["../../src/models/feedback.ts"],"names":[],"mappings":";;;AAEA,MAAa,QAAQ;IAKpB,IAAI,CAAW;IAKf,KAAK,CAAS;IAKd,WAAW,CAAQ;IAOnB,KAAK,CAA0B;IAI/B,YAAY,KAAyB;QACpC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA7BD,4BA6BC;AAED,MAAa,YAAY;IAKxB,QAAQ,CAAS;IAKjB,QAAQ,CAAU;IAKlB,IAAI,CAAS;IAKb,QAAQ,CAAU;IAKlB,OAAO,CAAmB;IAE1B,YAAY,KAAoB;QAC/B,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AA9BD,oCA8BC;AAED,MAAa,cAAc;IAK1B,EAAE,CAAS;IAKX,OAAO,CAAS;IAKhB,IAAI,CAAS;IAEb,YAAY,KAA+B;QAC1C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AApBD,wCAoBC"}
@@ -0,0 +1,5 @@
1
+ export declare class GalleryItem {
2
+ title: string;
3
+ imageUrl: string;
4
+ sort: number;
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GalleryItem = void 0;
4
+ class GalleryItem {
5
+ title;
6
+ imageUrl;
7
+ sort;
8
+ }
9
+ exports.GalleryItem = GalleryItem;
10
+ //# sourceMappingURL=gallery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"gallery.js","sourceRoot":"","sources":["../../src/models/gallery.ts"],"names":[],"mappings":";;;AAGA,MAAa,WAAW;IAKvB,KAAK,CAAS;IAKd,QAAQ,CAAS;IAKjB,IAAI,CAAS;CACb;AAhBD,kCAgBC"}
@@ -0,0 +1,21 @@
1
+ export * from './administrator';
2
+ export * from './asset';
3
+ export * from './author';
4
+ export * from './boost';
5
+ export * from './brand';
6
+ export * from './category';
7
+ export * from './collection';
8
+ export * from './feedback';
9
+ export * from './gallery';
10
+ export * from './notification';
11
+ export * from './pagination';
12
+ export * from './post';
13
+ export * from './promotion';
14
+ export * from './publisher';
15
+ export * from './question';
16
+ export * from './quote';
17
+ export * from './response';
18
+ export * from './survey';
19
+ export * from './token';
20
+ export * from './topic';
21
+ export * from './user';
@@ -0,0 +1,34 @@
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
+ };
12
+ Object.defineProperty(exports, "__esModule", { value: true });
13
+ __exportStar(require("./administrator"), exports);
14
+ __exportStar(require("./asset"), exports);
15
+ __exportStar(require("./author"), exports);
16
+ __exportStar(require("./boost"), exports);
17
+ __exportStar(require("./brand"), exports);
18
+ __exportStar(require("./category"), exports);
19
+ __exportStar(require("./collection"), exports);
20
+ __exportStar(require("./feedback"), exports);
21
+ __exportStar(require("./gallery"), exports);
22
+ __exportStar(require("./notification"), exports);
23
+ __exportStar(require("./pagination"), exports);
24
+ __exportStar(require("./post"), exports);
25
+ __exportStar(require("./promotion"), exports);
26
+ __exportStar(require("./publisher"), exports);
27
+ __exportStar(require("./question"), exports);
28
+ __exportStar(require("./quote"), exports);
29
+ __exportStar(require("./response"), exports);
30
+ __exportStar(require("./survey"), exports);
31
+ __exportStar(require("./token"), exports);
32
+ __exportStar(require("./topic"), exports);
33
+ __exportStar(require("./user"), exports);
34
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,kDAAgC;AAChC,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,6CAA2B;AAC3B,+CAA6B;AAC7B,6CAA2B;AAC3B,4CAA0B;AAC1B,iDAA+B;AAC/B,+CAA6B;AAC7B,yCAAuB;AACvB,8CAA4B;AAC5B,8CAA4B;AAC5B,6CAA2B;AAC3B,0CAAwB;AACxB,6CAA2B;AAC3B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,yCAAuB"}
@@ -0,0 +1,11 @@
1
+ export declare class Item<T = any> {
2
+ name?: string;
3
+ title?: string;
4
+ value?: T;
5
+ active?: boolean;
6
+ readonly?: boolean;
7
+ icon?: any;
8
+ iconSelected?: any;
9
+ props?: any;
10
+ constructor(props?: Partial<Item>);
11
+ }
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Item = void 0;
4
+ class Item {
5
+ name;
6
+ title;
7
+ value;
8
+ active;
9
+ readonly;
10
+ icon;
11
+ iconSelected;
12
+ props;
13
+ constructor(props) {
14
+ Object.assign(this, props);
15
+ }
16
+ }
17
+ exports.Item = Item;
18
+ //# sourceMappingURL=item.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item.model.js","sourceRoot":"","sources":["../../src/models/item.model.ts"],"names":[],"mappings":";;;AASA,MAAa,IAAI;IAKhB,IAAI,CAAU;IAMd,KAAK,CAAU;IAKf,KAAK,CAAK;IAKV,MAAM,CAAW;IAKjB,QAAQ,CAAW;IAKnB,IAAI,CAAO;IAKX,YAAY,CAAO;IAKnB,KAAK,CAAO;IAIZ,YAAY,KAAqB;QAChC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAhDD,oBAgDC"}
@@ -0,0 +1,11 @@
1
+ export declare class ILink {
2
+ id?: string;
3
+ title?: string;
4
+ icon?: AnimationPlaybackEvent;
5
+ iconName?: any;
6
+ image?: string;
7
+ url?: string;
8
+ href?: string;
9
+ active?: boolean;
10
+ permission?: string;
11
+ }
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ILink = void 0;
4
+ class ILink {
5
+ id;
6
+ title;
7
+ icon;
8
+ iconName;
9
+ image;
10
+ url;
11
+ href;
12
+ active;
13
+ permission;
14
+ }
15
+ exports.ILink = ILink;
16
+ //# sourceMappingURL=link.model.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.model.js","sourceRoot":"","sources":["../../src/models/link.model.ts"],"names":[],"mappings":";;;AAKA,MAAa,KAAK;IAIjB,EAAE,CAAU;IAKZ,KAAK,CAAU;IAKf,IAAI,CAA0B;IAK9B,QAAQ,CAAO;IAKf,KAAK,CAAU;IAKf,GAAG,CAAU;IAKb,IAAI,CAAU;IAKd,MAAM,CAAW;IAKjB,UAAU,CAAU;CACpB;AA7CD,sBA6CC"}
@@ -0,0 +1,13 @@
1
+ import { NotificationType } from '../enums';
2
+ export declare class Notification {
3
+ type: NotificationType;
4
+ title: string;
5
+ message: string;
6
+ data: string;
7
+ constructor(props?: Partial<Notification>);
8
+ }
9
+ export declare class NotificationToken {
10
+ deviceType: string;
11
+ token: string;
12
+ constructor(props?: Partial<NotificationToken>);
13
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NotificationToken = exports.Notification = void 0;
4
+ class Notification {
5
+ type;
6
+ title;
7
+ message;
8
+ data;
9
+ constructor(props) {
10
+ Object.assign(this, props);
11
+ }
12
+ }
13
+ exports.Notification = Notification;
14
+ class NotificationToken {
15
+ deviceType;
16
+ token;
17
+ constructor(props) {
18
+ Object.assign(this, props);
19
+ }
20
+ }
21
+ exports.NotificationToken = NotificationToken;
22
+ //# sourceMappingURL=notification.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"notification.js","sourceRoot":"","sources":["../../src/models/notification.ts"],"names":[],"mappings":";;;AAKA,MAAa,YAAY;IAKxB,IAAI,CAAmB;IAKvB,KAAK,CAAS;IAKd,OAAO,CAAS;IAKhB,IAAI,CAAS;IAEb,YAAY,KAA6B;QACxC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAzBD,oCAyBC;AAKD,MAAa,iBAAiB;IAK7B,UAAU,CAAS;IAKnB,KAAK,CAAS;IAEd,YAAY,KAAkC;QAC7C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IAC5B,CAAC;CACD;AAfD,8CAeC"}
@@ -0,0 +1,17 @@
1
+ export interface IPaginationRequest<T = any> {
2
+ skip: number;
3
+ page?: number;
4
+ limit: number;
5
+ orderBy: string;
6
+ orderDirection: 'ASC' | 'DESC';
7
+ params?: T;
8
+ }
9
+ export interface IPaginationResponse<T> {
10
+ currentPage: number;
11
+ skippedRecords: number;
12
+ totalPages: number;
13
+ hasNext: boolean;
14
+ data: T[];
15
+ payloadSize: number;
16
+ totalRecords: number;
17
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=pagination.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pagination.js","sourceRoot":"","sources":["../../src/models/pagination.ts"],"names":[],"mappings":""}
@@ -0,0 +1,42 @@
1
+ import { Author } from './author';
2
+ import { Publisher } from './publisher';
3
+ import { Topic } from './topic';
4
+ import { PostType, StatusType } from '../enums';
5
+ import { GalleryItem } from './gallery';
6
+ import { Feedback } from './feedback';
7
+ export declare class Post {
8
+ publisher: Publisher;
9
+ author: Author;
10
+ topics: Topic[];
11
+ feedbacks: Feedback;
12
+ collections: Post[];
13
+ gallery: GalleryItem[];
14
+ postType: PostType;
15
+ status: StatusType;
16
+ publishedDate: Date;
17
+ slug: string;
18
+ title: string;
19
+ description: string;
20
+ content: string;
21
+ info: IPostAdditionals;
22
+ duration: number;
23
+ totalHits: number;
24
+ totalLikes: number;
25
+ totalShares: number;
26
+ totalBookmarks: number;
27
+ totalDownloads: number;
28
+ pdfUrl: string;
29
+ imageUrl: string;
30
+ bannerUrl: string;
31
+ mediaUrl: string;
32
+ mediaEmbeddedUrl: string;
33
+ externUrl: string;
34
+ constructor(props?: Partial<Post>);
35
+ }
36
+ export interface IPostAdditionals {
37
+ translatedBy: string;
38
+ totalPages: number;
39
+ eventLocation: string;
40
+ eventStartTime: Date;
41
+ eventEndTime: Date;
42
+ }