@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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intelact/bright",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Bright common",
5
5
  "author": "Intelact Solutions Ltd.",
6
6
  "main": "lib/index.js",
@@ -8,7 +8,9 @@
8
8
  "typings": "lib/index.d.ts",
9
9
  "exports": {
10
10
  ".": "./lib/index.js",
11
+ "./dtos": "./lib/dtos/index.js",
11
12
  "./enums": "./lib/enums/index.js",
13
+ "./models": "./lib/models/index.js",
12
14
  "./security": "./lib/security/index.js"
13
15
  },
14
16
  "scripts": {
@@ -18,14 +20,18 @@
18
20
  "type": "git",
19
21
  "url": "https://github.com/Intelact-Solutions/bright-common.git"
20
22
  },
21
- "files": ["lib/**/*"],
23
+ "files": [
24
+ "lib/**/*"
25
+ ],
22
26
  "engines": {
23
27
  "node": ">=18"
24
28
  },
25
29
  "dependencies": {
30
+ "class-transformer": "^0.5.1",
26
31
  "class-validator": "^0.14.1"
27
32
  },
28
33
  "peerDependencies": {
34
+ "class-transformer": "^0.5.1",
29
35
  "class-validator": "^0.14.1"
30
36
  },
31
37
  "devDependencies": {