@abyss-project/tools 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (442) hide show
  1. package/.eslintrc.js +33 -0
  2. package/.prettierrc +5 -0
  3. package/dist/api/abyss.admin.api.d.ts +7 -0
  4. package/dist/api/abyss.admin.api.js +28 -0
  5. package/dist/api/atlas-document.api.d.ts +6 -0
  6. package/dist/api/atlas-document.api.js +26 -0
  7. package/dist/api/atlas-group.api.d.ts +6 -0
  8. package/dist/api/atlas-group.api.js +24 -0
  9. package/dist/api/atlas-page-content.api.d.ts +0 -0
  10. package/dist/api/atlas-page-content.api.js +1 -0
  11. package/dist/api/atlas-page.api.d.ts +10 -0
  12. package/dist/api/atlas-page.api.js +46 -0
  13. package/dist/api/atlas.api.d.ts +8 -0
  14. package/dist/api/atlas.api.js +35 -0
  15. package/dist/api/atlas.public.api.d.ts +4 -0
  16. package/dist/api/atlas.public.api.js +18 -0
  17. package/dist/api/board-card-checklist.api.d.ts +8 -0
  18. package/dist/api/board-card-checklist.api.js +32 -0
  19. package/dist/api/board-card-comment.api.d.ts +5 -0
  20. package/dist/api/board-card-comment.api.js +20 -0
  21. package/dist/api/board-card-document.api.d.ts +5 -0
  22. package/dist/api/board-card-document.api.js +20 -0
  23. package/dist/api/board-card.api.d.ts +11 -0
  24. package/dist/api/board-card.api.js +48 -0
  25. package/dist/api/board-column.api.d.ts +5 -0
  26. package/dist/api/board-column.api.js +20 -0
  27. package/dist/api/board-label.api.d.ts +8 -0
  28. package/dist/api/board-label.api.js +33 -0
  29. package/dist/api/board.api.d.ts +12 -0
  30. package/dist/api/board.api.js +41 -0
  31. package/dist/api/draw.api.d.ts +8 -0
  32. package/dist/api/draw.api.js +36 -0
  33. package/dist/api/draw.public.api.d.ts +5 -0
  34. package/dist/api/draw.public.api.js +20 -0
  35. package/dist/api/index.d.ts +26 -0
  36. package/dist/api/index.js +42 -0
  37. package/dist/api/memo.api.d.ts +8 -0
  38. package/dist/api/memo.api.js +36 -0
  39. package/dist/api/metrics.api.d.ts +2 -0
  40. package/dist/api/metrics.api.js +8 -0
  41. package/dist/api/retrospective-card.api.d.ts +6 -0
  42. package/dist/api/retrospective-card.api.js +26 -0
  43. package/dist/api/retrospective-member.api.d.ts +5 -0
  44. package/dist/api/retrospective-member.api.js +20 -0
  45. package/dist/api/retrospective-section.api.d.ts +6 -0
  46. package/dist/api/retrospective-section.api.js +26 -0
  47. package/dist/api/retrospective.api.d.ts +8 -0
  48. package/dist/api/retrospective.api.js +34 -0
  49. package/dist/api/retrospective.public.api.d.ts +11 -0
  50. package/dist/api/retrospective.public.api.js +44 -0
  51. package/dist/api/short-link.admin.api.d.ts +7 -0
  52. package/dist/api/short-link.admin.api.js +22 -0
  53. package/dist/api/short-link.api.d.ts +12 -0
  54. package/dist/api/short-link.api.js +48 -0
  55. package/dist/api/short-link.public.api.d.ts +8 -0
  56. package/dist/api/short-link.public.api.js +32 -0
  57. package/dist/api/user-tag.api.d.ts +9 -0
  58. package/dist/api/user-tag.api.js +36 -0
  59. package/dist/constants/atlas.constants.d.ts +2 -0
  60. package/dist/constants/atlas.constants.js +5 -0
  61. package/dist/constants/board.constants.d.ts +5 -0
  62. package/dist/constants/board.constants.js +8 -0
  63. package/dist/constants/index.d.ts +5 -0
  64. package/dist/constants/index.js +21 -0
  65. package/dist/constants/memo.constants.d.ts +3 -0
  66. package/dist/constants/memo.constants.js +6 -0
  67. package/dist/constants/short-link.constants.d.ts +8 -0
  68. package/dist/constants/short-link.constants.js +11 -0
  69. package/dist/constants/user-tag.constants.d.ts +3 -0
  70. package/dist/constants/user-tag.constants.js +6 -0
  71. package/dist/index.d.ts +262 -0
  72. package/dist/index.js +341 -0
  73. package/dist/server-sent-events/index.d.ts +10 -0
  74. package/dist/server-sent-events/index.js +28 -0
  75. package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.d.ts +74 -0
  76. package/dist/server-sent-events/protocols/atlas/atlas.sse-protocol.js +21 -0
  77. package/dist/server-sent-events/protocols/atlas/index.d.ts +1 -0
  78. package/dist/server-sent-events/protocols/atlas/index.js +17 -0
  79. package/dist/server-sent-events/protocols/board/board.sse-protocol.d.ts +91 -0
  80. package/dist/server-sent-events/protocols/board/board.sse-protocol.js +23 -0
  81. package/dist/server-sent-events/protocols/board/index.d.ts +1 -0
  82. package/dist/server-sent-events/protocols/board/index.js +17 -0
  83. package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.d.ts +18 -0
  84. package/dist/server-sent-events/protocols/board-card/board-card.sse-protocol.js +11 -0
  85. package/dist/server-sent-events/protocols/board-card/index.d.ts +1 -0
  86. package/dist/server-sent-events/protocols/board-card/index.js +17 -0
  87. package/dist/server-sent-events/protocols/index.d.ts +20 -0
  88. package/dist/server-sent-events/protocols/index.js +29 -0
  89. package/dist/server-sent-events/protocols/retrospective/index.d.ts +1 -0
  90. package/dist/server-sent-events/protocols/retrospective/index.js +17 -0
  91. package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.d.ts +69 -0
  92. package/dist/server-sent-events/protocols/retrospective/retrospective.sse-protocol.js +21 -0
  93. package/dist/server-sent-events/server-sent-events.manager.d.ts +23 -0
  94. package/dist/server-sent-events/server-sent-events.manager.js +59 -0
  95. package/dist/types/draw.type.d.ts +132 -0
  96. package/dist/types/draw.type.js +15 -0
  97. package/dist/types/enum/api-error.enum.d.ts +21 -0
  98. package/dist/types/enum/api-error.enum.js +26 -0
  99. package/dist/types/enum/board-activity.enum.d.ts +170 -0
  100. package/dist/types/enum/board-activity.enum.js +37 -0
  101. package/dist/types/enum/board-column-type.enum.d.ts +6 -0
  102. package/dist/types/enum/board-column-type.enum.js +10 -0
  103. package/dist/types/enum/index.d.ts +3 -0
  104. package/dist/types/enum/index.js +19 -0
  105. package/dist/types/index.d.ts +4 -0
  106. package/dist/types/index.js +19 -0
  107. package/dist/types/interface/api/index.d.ts +5 -0
  108. package/dist/types/interface/api/index.js +21 -0
  109. package/dist/types/interface/api/requests/abyss.admin.request.d.ts +14 -0
  110. package/dist/types/interface/api/requests/abyss.admin.request.js +2 -0
  111. package/dist/types/interface/api/requests/atlas-document.request.d.ts +26 -0
  112. package/dist/types/interface/api/requests/atlas-document.request.js +2 -0
  113. package/dist/types/interface/api/requests/atlas-group.request.d.ts +40 -0
  114. package/dist/types/interface/api/requests/atlas-group.request.js +2 -0
  115. package/dist/types/interface/api/requests/atlas-page.request.d.ts +72 -0
  116. package/dist/types/interface/api/requests/atlas-page.request.js +2 -0
  117. package/dist/types/interface/api/requests/atlas.public.request.d.ts +18 -0
  118. package/dist/types/interface/api/requests/atlas.public.request.js +2 -0
  119. package/dist/types/interface/api/requests/atlas.request.d.ts +33 -0
  120. package/dist/types/interface/api/requests/atlas.request.js +2 -0
  121. package/dist/types/interface/api/requests/board-card-checklist.request.d.ts +55 -0
  122. package/dist/types/interface/api/requests/board-card-checklist.request.js +2 -0
  123. package/dist/types/interface/api/requests/board-card-comment.request.d.ts +25 -0
  124. package/dist/types/interface/api/requests/board-card-comment.request.js +2 -0
  125. package/dist/types/interface/api/requests/board-card-document.request.d.ts +25 -0
  126. package/dist/types/interface/api/requests/board-card-document.request.js +2 -0
  127. package/dist/types/interface/api/requests/board-card.request.d.ts +77 -0
  128. package/dist/types/interface/api/requests/board-card.request.js +2 -0
  129. package/dist/types/interface/api/requests/board-column.request.d.ts +26 -0
  130. package/dist/types/interface/api/requests/board-column.request.js +2 -0
  131. package/dist/types/interface/api/requests/board-label.request.d.ts +36 -0
  132. package/dist/types/interface/api/requests/board-label.request.js +2 -0
  133. package/dist/types/interface/api/requests/board.request.d.ts +25 -0
  134. package/dist/types/interface/api/requests/board.request.js +2 -0
  135. package/dist/types/interface/api/requests/draw.public.request.d.ts +17 -0
  136. package/dist/types/interface/api/requests/draw.public.request.js +2 -0
  137. package/dist/types/interface/api/requests/draw.request.d.ts +31 -0
  138. package/dist/types/interface/api/requests/draw.request.js +2 -0
  139. package/dist/types/interface/api/requests/index.d.ts +26 -0
  140. package/dist/types/interface/api/requests/index.js +42 -0
  141. package/dist/types/interface/api/requests/memo.request.d.ts +29 -0
  142. package/dist/types/interface/api/requests/memo.request.js +2 -0
  143. package/dist/types/interface/api/requests/metrics.request.d.ts +3 -0
  144. package/dist/types/interface/api/requests/metrics.request.js +2 -0
  145. package/dist/types/interface/api/requests/retrospective-card.request.d.ts +32 -0
  146. package/dist/types/interface/api/requests/retrospective-card.request.js +2 -0
  147. package/dist/types/interface/api/requests/retrospective-member.request.d.ts +17 -0
  148. package/dist/types/interface/api/requests/retrospective-member.request.js +2 -0
  149. package/dist/types/interface/api/requests/retrospective-section.request.d.ts +36 -0
  150. package/dist/types/interface/api/requests/retrospective-section.request.js +2 -0
  151. package/dist/types/interface/api/requests/retrospective.public.request.d.ts +71 -0
  152. package/dist/types/interface/api/requests/retrospective.public.request.js +2 -0
  153. package/dist/types/interface/api/requests/retrospective.request.d.ts +39 -0
  154. package/dist/types/interface/api/requests/retrospective.request.js +2 -0
  155. package/dist/types/interface/api/requests/short-link.admin.request.d.ts +29 -0
  156. package/dist/types/interface/api/requests/short-link.admin.request.js +2 -0
  157. package/dist/types/interface/api/requests/short-link.public.request.d.ts +33 -0
  158. package/dist/types/interface/api/requests/short-link.public.request.js +2 -0
  159. package/dist/types/interface/api/requests/short-link.request.d.ts +47 -0
  160. package/dist/types/interface/api/requests/short-link.request.js +2 -0
  161. package/dist/types/interface/api/requests/user-tag.request.d.ts +37 -0
  162. package/dist/types/interface/api/requests/user-tag.request.js +2 -0
  163. package/dist/types/interface/api/responses/abyss.admin.response.d.ts +14 -0
  164. package/dist/types/interface/api/responses/abyss.admin.response.js +2 -0
  165. package/dist/types/interface/api/responses/atlas-document.response.d.ts +19 -0
  166. package/dist/types/interface/api/responses/atlas-document.response.js +2 -0
  167. package/dist/types/interface/api/responses/atlas-group.response.d.ts +19 -0
  168. package/dist/types/interface/api/responses/atlas-group.response.js +2 -0
  169. package/dist/types/interface/api/responses/atlas-page.response.d.ts +44 -0
  170. package/dist/types/interface/api/responses/atlas-page.response.js +2 -0
  171. package/dist/types/interface/api/responses/atlas.public.response.d.ts +18 -0
  172. package/dist/types/interface/api/responses/atlas.public.response.js +2 -0
  173. package/dist/types/interface/api/responses/atlas.response.d.ts +19 -0
  174. package/dist/types/interface/api/responses/atlas.response.js +2 -0
  175. package/dist/types/interface/api/responses/board-card-checklist.response.d.ts +27 -0
  176. package/dist/types/interface/api/responses/board-card-checklist.response.js +2 -0
  177. package/dist/types/interface/api/responses/board-card-comment.response.d.ts +17 -0
  178. package/dist/types/interface/api/responses/board-card-comment.response.js +2 -0
  179. package/dist/types/interface/api/responses/board-card-document.response.d.ts +20 -0
  180. package/dist/types/interface/api/responses/board-card-document.response.js +2 -0
  181. package/dist/types/interface/api/responses/board-card.response.d.ts +47 -0
  182. package/dist/types/interface/api/responses/board-card.response.js +2 -0
  183. package/dist/types/interface/api/responses/board-column.response.d.ts +17 -0
  184. package/dist/types/interface/api/responses/board-column.response.js +2 -0
  185. package/dist/types/interface/api/responses/board-label.response.d.ts +30 -0
  186. package/dist/types/interface/api/responses/board-label.response.js +2 -0
  187. package/dist/types/interface/api/responses/board.response.d.ts +59 -0
  188. package/dist/types/interface/api/responses/board.response.js +2 -0
  189. package/dist/types/interface/api/responses/draw.public.response.d.ts +17 -0
  190. package/dist/types/interface/api/responses/draw.public.response.js +2 -0
  191. package/dist/types/interface/api/responses/draw.response.d.ts +19 -0
  192. package/dist/types/interface/api/responses/draw.response.js +2 -0
  193. package/dist/types/interface/api/responses/index.d.ts +26 -0
  194. package/dist/types/interface/api/responses/index.js +42 -0
  195. package/dist/types/interface/api/responses/memo.response.d.ts +19 -0
  196. package/dist/types/interface/api/responses/memo.response.js +2 -0
  197. package/dist/types/interface/api/responses/metrics.response.d.ts +13 -0
  198. package/dist/types/interface/api/responses/metrics.response.js +2 -0
  199. package/dist/types/interface/api/responses/retrospective-card.response.d.ts +19 -0
  200. package/dist/types/interface/api/responses/retrospective-card.response.js +2 -0
  201. package/dist/types/interface/api/responses/retrospective-member.response.d.ts +18 -0
  202. package/dist/types/interface/api/responses/retrospective-member.response.js +2 -0
  203. package/dist/types/interface/api/responses/retrospective-section.response.d.ts +19 -0
  204. package/dist/types/interface/api/responses/retrospective-section.response.js +2 -0
  205. package/dist/types/interface/api/responses/retrospective.public.response.d.ts +36 -0
  206. package/dist/types/interface/api/responses/retrospective.public.response.js +2 -0
  207. package/dist/types/interface/api/responses/retrospective.response.d.ts +19 -0
  208. package/dist/types/interface/api/responses/retrospective.response.js +2 -0
  209. package/dist/types/interface/api/responses/short-link.admin.response.d.ts +17 -0
  210. package/dist/types/interface/api/responses/short-link.admin.response.js +2 -0
  211. package/dist/types/interface/api/responses/short-link.public.response.d.ts +21 -0
  212. package/dist/types/interface/api/responses/short-link.public.response.js +2 -0
  213. package/dist/types/interface/api/responses/short-link.response.d.ts +25 -0
  214. package/dist/types/interface/api/responses/short-link.response.js +2 -0
  215. package/dist/types/interface/api/responses/user-tag.response.d.ts +32 -0
  216. package/dist/types/interface/api/responses/user-tag.response.js +2 -0
  217. package/dist/types/interface/api/type-message/api-error.d.ts +6 -0
  218. package/dist/types/interface/api/type-message/api-error.js +2 -0
  219. package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -0
  220. package/dist/types/interface/api/type-message/base-paginate.js +2 -0
  221. package/dist/types/interface/api/type-message/response.d.ts +5 -0
  222. package/dist/types/interface/api/type-message/response.js +2 -0
  223. package/dist/types/interface/index.d.ts +2 -0
  224. package/dist/types/interface/index.js +18 -0
  225. package/dist/types/interface/models/atlas-document.dto.d.ts +19 -0
  226. package/dist/types/interface/models/atlas-document.dto.js +2 -0
  227. package/dist/types/interface/models/atlas-group.dto.d.ts +18 -0
  228. package/dist/types/interface/models/atlas-group.dto.js +2 -0
  229. package/dist/types/interface/models/atlas-page-content.dto.d.ts +14 -0
  230. package/dist/types/interface/models/atlas-page-content.dto.js +2 -0
  231. package/dist/types/interface/models/atlas-page.dto.d.ts +23 -0
  232. package/dist/types/interface/models/atlas-page.dto.js +2 -0
  233. package/dist/types/interface/models/atlas.dto.d.ts +30 -0
  234. package/dist/types/interface/models/atlas.dto.js +2 -0
  235. package/dist/types/interface/models/board-activity.dto.d.ts +17 -0
  236. package/dist/types/interface/models/board-activity.dto.js +2 -0
  237. package/dist/types/interface/models/board-card-checklist-row.dto.d.ts +11 -0
  238. package/dist/types/interface/models/board-card-checklist-row.dto.js +2 -0
  239. package/dist/types/interface/models/board-card-checklist.dto.d.ts +13 -0
  240. package/dist/types/interface/models/board-card-checklist.dto.js +2 -0
  241. package/dist/types/interface/models/board-card-comment.dto.d.ts +12 -0
  242. package/dist/types/interface/models/board-card-comment.dto.js +2 -0
  243. package/dist/types/interface/models/board-card-document.dto.d.ts +19 -0
  244. package/dist/types/interface/models/board-card-document.dto.js +2 -0
  245. package/dist/types/interface/models/board-card-label.dto.d.ts +11 -0
  246. package/dist/types/interface/models/board-card-label.dto.js +2 -0
  247. package/dist/types/interface/models/board-card-member.dto.d.ts +11 -0
  248. package/dist/types/interface/models/board-card-member.dto.js +2 -0
  249. package/dist/types/interface/models/board-card.dto.d.ts +34 -0
  250. package/dist/types/interface/models/board-card.dto.js +2 -0
  251. package/dist/types/interface/models/board-column.dto.d.ts +14 -0
  252. package/dist/types/interface/models/board-column.dto.js +2 -0
  253. package/dist/types/interface/models/board-label.dto.d.ts +10 -0
  254. package/dist/types/interface/models/board-label.dto.js +2 -0
  255. package/dist/types/interface/models/board.dto.d.ts +29 -0
  256. package/dist/types/interface/models/board.dto.js +2 -0
  257. package/dist/types/interface/models/draw.dto.d.ts +25 -0
  258. package/dist/types/interface/models/draw.dto.js +2 -0
  259. package/dist/types/interface/models/index.d.ts +28 -0
  260. package/dist/types/interface/models/index.js +44 -0
  261. package/dist/types/interface/models/memo.dto.d.ts +19 -0
  262. package/dist/types/interface/models/memo.dto.js +2 -0
  263. package/dist/types/interface/models/organization.dto.d.ts +9 -0
  264. package/dist/types/interface/models/organization.dto.js +2 -0
  265. package/dist/types/interface/models/project.dto.d.ts +22 -0
  266. package/dist/types/interface/models/project.dto.js +2 -0
  267. package/dist/types/interface/models/retrospective-card.dto.d.ts +14 -0
  268. package/dist/types/interface/models/retrospective-card.dto.js +2 -0
  269. package/dist/types/interface/models/retrospective-member.dto.d.ts +12 -0
  270. package/dist/types/interface/models/retrospective-member.dto.js +2 -0
  271. package/dist/types/interface/models/retrospective-section.dto.d.ts +13 -0
  272. package/dist/types/interface/models/retrospective-section.dto.js +2 -0
  273. package/dist/types/interface/models/retrospective.dto.d.ts +29 -0
  274. package/dist/types/interface/models/retrospective.dto.js +2 -0
  275. package/dist/types/interface/models/short-link-click.dto.d.ts +30 -0
  276. package/dist/types/interface/models/short-link-click.dto.js +2 -0
  277. package/dist/types/interface/models/short-link.dto.d.ts +71 -0
  278. package/dist/types/interface/models/short-link.dto.js +2 -0
  279. package/dist/types/interface/models/user-tag.dto.d.ts +22 -0
  280. package/dist/types/interface/models/user-tag.dto.js +2 -0
  281. package/dist/types/interface/models/user.dto.d.ts +23 -0
  282. package/dist/types/interface/models/user.dto.js +2 -0
  283. package/dist/utils/board.utils.d.ts +5 -0
  284. package/dist/utils/board.utils.js +39 -0
  285. package/dist/utils/enum.utils.d.ts +1 -0
  286. package/dist/utils/enum.utils.js +9 -0
  287. package/dist/utils/error.utils.d.ts +15 -0
  288. package/dist/utils/error.utils.js +24 -0
  289. package/dist/utils/icons.utils.d.ts +75 -0
  290. package/dist/utils/icons.utils.js +86 -0
  291. package/dist/utils/index.d.ts +5 -0
  292. package/dist/utils/index.js +21 -0
  293. package/dist/utils/shape.utils.d.ts +26 -0
  294. package/dist/utils/shape.utils.js +181 -0
  295. package/package.json +53 -0
  296. package/src/api/abyss.admin.api.ts +60 -0
  297. package/src/api/atlas-document.api.ts +68 -0
  298. package/src/api/atlas-group.api.ts +69 -0
  299. package/src/api/atlas-page-content.api.ts +0 -0
  300. package/src/api/atlas-page.api.ts +124 -0
  301. package/src/api/atlas.api.ts +65 -0
  302. package/src/api/atlas.public.api.ts +42 -0
  303. package/src/api/board-card-checklist.api.ts +99 -0
  304. package/src/api/board-card-comment.api.ts +57 -0
  305. package/src/api/board-card-document.api.ts +57 -0
  306. package/src/api/board-card.api.ts +137 -0
  307. package/src/api/board-column.api.ts +54 -0
  308. package/src/api/board-label.api.ts +87 -0
  309. package/src/api/board.api.ts +67 -0
  310. package/src/api/draw.api.ts +58 -0
  311. package/src/api/draw.public.api.ts +48 -0
  312. package/src/api/index.ts +43 -0
  313. package/src/api/memo.api.ts +59 -0
  314. package/src/api/metrics.api.ts +15 -0
  315. package/src/api/retrospective-card.api.ts +74 -0
  316. package/src/api/retrospective-member.api.ts +54 -0
  317. package/src/api/retrospective-section.api.ts +74 -0
  318. package/src/api/retrospective.api.ts +86 -0
  319. package/src/api/retrospective.public.api.ts +147 -0
  320. package/src/api/short-link.admin.api.ts +39 -0
  321. package/src/api/short-link.api.ts +90 -0
  322. package/src/api/short-link.public.api.ts +60 -0
  323. package/src/api/user-tag.api.ts +70 -0
  324. package/src/constants/atlas.constants.ts +2 -0
  325. package/src/constants/board.constants.ts +7 -0
  326. package/src/constants/index.ts +5 -0
  327. package/src/constants/memo.constants.ts +3 -0
  328. package/src/constants/short-link.constants.ts +11 -0
  329. package/src/constants/user-tag.constants.ts +3 -0
  330. package/src/index.ts +541 -0
  331. package/src/server-sent-events/index.ts +13 -0
  332. package/src/server-sent-events/protocols/atlas/atlas.sse-protocol.ts +90 -0
  333. package/src/server-sent-events/protocols/atlas/index.ts +1 -0
  334. package/src/server-sent-events/protocols/board/board.sse-protocol.ts +115 -0
  335. package/src/server-sent-events/protocols/board/index.ts +1 -0
  336. package/src/server-sent-events/protocols/board-card/board-card.sse-protocol.ts +26 -0
  337. package/src/server-sent-events/protocols/board-card/index.ts +1 -0
  338. package/src/server-sent-events/protocols/index.ts +26 -0
  339. package/src/server-sent-events/protocols/retrospective/index.ts +1 -0
  340. package/src/server-sent-events/protocols/retrospective/retrospective.sse-protocol.ts +92 -0
  341. package/src/server-sent-events/server-sent-events.manager.ts +73 -0
  342. package/src/types/draw.type.ts +173 -0
  343. package/src/types/enum/api-error.enum.ts +23 -0
  344. package/src/types/enum/board-activity.enum.ts +189 -0
  345. package/src/types/enum/board-column-type.enum.ts +6 -0
  346. package/src/types/enum/index.ts +3 -0
  347. package/src/types/index.ts +5 -0
  348. package/src/types/interface/api/index.ts +5 -0
  349. package/src/types/interface/api/requests/abyss.admin.request.ts +16 -0
  350. package/src/types/interface/api/requests/atlas-document.request.ts +32 -0
  351. package/src/types/interface/api/requests/atlas-group.request.ts +45 -0
  352. package/src/types/interface/api/requests/atlas-page.request.ts +84 -0
  353. package/src/types/interface/api/requests/atlas.public.request.ts +21 -0
  354. package/src/types/interface/api/requests/atlas.request.ts +40 -0
  355. package/src/types/interface/api/requests/board-card-checklist.request.ts +61 -0
  356. package/src/types/interface/api/requests/board-card-comment.request.ts +28 -0
  357. package/src/types/interface/api/requests/board-card-document.request.ts +29 -0
  358. package/src/types/interface/api/requests/board-card.request.ts +86 -0
  359. package/src/types/interface/api/requests/board-column.request.ts +30 -0
  360. package/src/types/interface/api/requests/board-label.request.ts +42 -0
  361. package/src/types/interface/api/requests/board.request.ts +30 -0
  362. package/src/types/interface/api/requests/draw.public.request.ts +20 -0
  363. package/src/types/interface/api/requests/draw.request.ts +37 -0
  364. package/src/types/interface/api/requests/index.ts +26 -0
  365. package/src/types/interface/api/requests/memo.request.ts +35 -0
  366. package/src/types/interface/api/requests/metrics.request.ts +3 -0
  367. package/src/types/interface/api/requests/retrospective-card.request.ts +38 -0
  368. package/src/types/interface/api/requests/retrospective-member.request.ts +20 -0
  369. package/src/types/interface/api/requests/retrospective-section.request.ts +43 -0
  370. package/src/types/interface/api/requests/retrospective.public.request.ts +84 -0
  371. package/src/types/interface/api/requests/retrospective.request.ts +46 -0
  372. package/src/types/interface/api/requests/short-link.admin.request.ts +35 -0
  373. package/src/types/interface/api/requests/short-link.public.request.ts +40 -0
  374. package/src/types/interface/api/requests/short-link.request.ts +57 -0
  375. package/src/types/interface/api/requests/user-tag.request.ts +45 -0
  376. package/src/types/interface/api/responses/abyss.admin.response.ts +17 -0
  377. package/src/types/interface/api/responses/atlas-document.response.ts +24 -0
  378. package/src/types/interface/api/responses/atlas-group.response.ts +23 -0
  379. package/src/types/interface/api/responses/atlas-page.response.ts +53 -0
  380. package/src/types/interface/api/responses/atlas.public.response.ts +21 -0
  381. package/src/types/interface/api/responses/atlas.response.ts +23 -0
  382. package/src/types/interface/api/responses/board-card-checklist.response.ts +31 -0
  383. package/src/types/interface/api/responses/board-card-comment.response.ts +20 -0
  384. package/src/types/interface/api/responses/board-card-document.response.ts +21 -0
  385. package/src/types/interface/api/responses/board-card.response.ts +55 -0
  386. package/src/types/interface/api/responses/board-column.response.ts +20 -0
  387. package/src/types/interface/api/responses/board-label.response.ts +31 -0
  388. package/src/types/interface/api/responses/board.response.ts +68 -0
  389. package/src/types/interface/api/responses/draw.public.response.ts +20 -0
  390. package/src/types/interface/api/responses/draw.response.ts +23 -0
  391. package/src/types/interface/api/responses/index.ts +26 -0
  392. package/src/types/interface/api/responses/memo.response.ts +23 -0
  393. package/src/types/interface/api/responses/metrics.response.ts +16 -0
  394. package/src/types/interface/api/responses/retrospective-card.response.ts +23 -0
  395. package/src/types/interface/api/responses/retrospective-member.response.ts +22 -0
  396. package/src/types/interface/api/responses/retrospective-section.response.ts +23 -0
  397. package/src/types/interface/api/responses/retrospective.public.response.ts +57 -0
  398. package/src/types/interface/api/responses/retrospective.response.ts +23 -0
  399. package/src/types/interface/api/responses/short-link.admin.response.ts +21 -0
  400. package/src/types/interface/api/responses/short-link.public.response.ts +26 -0
  401. package/src/types/interface/api/responses/short-link.response.ts +31 -0
  402. package/src/types/interface/api/responses/user-tag.response.ts +38 -0
  403. package/src/types/interface/api/type-message/api-error.ts +7 -0
  404. package/src/types/interface/api/type-message/base-paginate.ts +11 -0
  405. package/src/types/interface/api/type-message/response.ts +6 -0
  406. package/src/types/interface/index.ts +2 -0
  407. package/src/types/interface/models/atlas-document.dto.ts +22 -0
  408. package/src/types/interface/models/atlas-group.dto.ts +21 -0
  409. package/src/types/interface/models/atlas-page-content.dto.ts +17 -0
  410. package/src/types/interface/models/atlas-page.dto.ts +26 -0
  411. package/src/types/interface/models/atlas.dto.ts +34 -0
  412. package/src/types/interface/models/board-activity.dto.ts +20 -0
  413. package/src/types/interface/models/board-card-checklist-row.dto.ts +14 -0
  414. package/src/types/interface/models/board-card-checklist.dto.ts +16 -0
  415. package/src/types/interface/models/board-card-comment.dto.ts +15 -0
  416. package/src/types/interface/models/board-card-document.dto.ts +22 -0
  417. package/src/types/interface/models/board-card-label.dto.ts +14 -0
  418. package/src/types/interface/models/board-card-member.dto.ts +14 -0
  419. package/src/types/interface/models/board-card.dto.ts +37 -0
  420. package/src/types/interface/models/board-column.dto.ts +17 -0
  421. package/src/types/interface/models/board-label.dto.ts +13 -0
  422. package/src/types/interface/models/board.dto.ts +32 -0
  423. package/src/types/interface/models/draw.dto.ts +28 -0
  424. package/src/types/interface/models/index.ts +28 -0
  425. package/src/types/interface/models/memo.dto.ts +22 -0
  426. package/src/types/interface/models/organization.dto.ts +12 -0
  427. package/src/types/interface/models/project.dto.ts +25 -0
  428. package/src/types/interface/models/retrospective-card.dto.ts +17 -0
  429. package/src/types/interface/models/retrospective-member.dto.ts +15 -0
  430. package/src/types/interface/models/retrospective-section.dto.ts +16 -0
  431. package/src/types/interface/models/retrospective.dto.ts +32 -0
  432. package/src/types/interface/models/short-link-click.dto.ts +33 -0
  433. package/src/types/interface/models/short-link.dto.ts +48 -0
  434. package/src/types/interface/models/user-tag.dto.ts +26 -0
  435. package/src/types/interface/models/user.dto.ts +26 -0
  436. package/src/utils/board.utils.ts +57 -0
  437. package/src/utils/enum.utils.ts +6 -0
  438. package/src/utils/error.utils.ts +30 -0
  439. package/src/utils/icons.utils.ts +96 -0
  440. package/src/utils/index.ts +5 -0
  441. package/src/utils/shape.utils.ts +296 -0
  442. package/tsconfig.json +24 -0
@@ -0,0 +1,189 @@
1
+ export enum BoardActivityType {
2
+ CARD_CREATE = 'CARD_CREATE',
3
+ CARD_UPDATE = 'CARD_UPDATE',
4
+ CARD_ARCHIVE = 'CARD_ARCHIVE',
5
+ CARD_RESTORE = 'CARD_RESTORE',
6
+ CARD_MOVE_COLUMN = 'CARD_MOVE_COLUMN',
7
+ CARD_MOVE_BOARD = 'CARD_MOVE_BOARD',
8
+
9
+ COLUMN_CREATE = 'COLUMN_CREATE',
10
+ COLUMN_UPDATE = 'COLUMN_UPDATE',
11
+ COLUMN_DELETE = 'COLUMN_DELETE',
12
+
13
+ COMMENT_CREATE = 'COMMENT_CREATE',
14
+ COMMENT_UPDATE = 'COMMENT_UPDATE',
15
+ COMMENT_DELETE = 'COMMENT_DELETE',
16
+
17
+ LABEL_CREATE = 'LABEL_CREATE',
18
+ LABEL_DELETE = 'LABEL_DELETE',
19
+ LABEL_UPDATE = 'LABEL_UPDATE',
20
+ LABEL_ADD = 'LABEL_ADD',
21
+ LABEL_REMOVE = 'LABEL_REMOVE',
22
+
23
+ MEMBER_ADD = 'MEMBER_ADD',
24
+ MEMBER_REMOVE = 'MEMBER_REMOVE',
25
+
26
+ CHECKLIST_CREATE = 'CHECKLIST_CREATE',
27
+ CHECKLIST_UPDATE = 'CHECKLIST_UPDATE',
28
+ CHECKLIST_DELETE = 'CHECKLIST_DELETE',
29
+ CHECKLIST_ITEM_ADD = 'CHECKLIST_ITEM_ADD',
30
+ CHECKLIST_ITEM_UPDATE = 'CHECKLIST_ITEM_UPDATE',
31
+ CHECKLIST_ITEM_DELETE = 'CHECKLIST_ITEM_DELETE',
32
+
33
+ DOCUMENT_ADD = 'DOCUMENT_ADD',
34
+ DOCUMENT_REMOVE = 'DOCUMENT_REMOVE',
35
+ }
36
+
37
+ type ValueOf<T> = T[keyof T];
38
+
39
+ export type BoardActivityDataContent = ValueOf<
40
+ {
41
+ [K in BoardActivityType]: {
42
+ type: K;
43
+ payload: BoardActivityData[K];
44
+ };
45
+ }
46
+ >;
47
+
48
+ export class BoardActivityData
49
+ implements Record<BoardActivityType, Record<string, string | number | Date | boolean>>
50
+ {
51
+ [BoardActivityType.CARD_CREATE]!: {
52
+ boardCardName: string;
53
+ boardCardId: string;
54
+ boardColumnName: string;
55
+ boardColumnId: string;
56
+ };
57
+ [BoardActivityType.CARD_UPDATE]!: {
58
+ boardCardName: string;
59
+ boardCardId: string;
60
+ };
61
+ [BoardActivityType.CARD_ARCHIVE]!: {
62
+ boardCardId: string;
63
+ };
64
+ [BoardActivityType.CARD_RESTORE]!: {
65
+ boardCardId: string;
66
+ };
67
+ [BoardActivityType.CARD_MOVE_COLUMN]!: {
68
+ boardCardName: string;
69
+ boardCardId: string;
70
+ toBoardColumnId: string;
71
+ toBoardColumnName: string;
72
+ };
73
+ [BoardActivityType.CARD_MOVE_BOARD]!: {
74
+ boardCardName: string;
75
+ boardCardId: string;
76
+ toBoardColumnId: string;
77
+ toBoardColumnName: string;
78
+ toBoardId: string;
79
+ toBoardName: string;
80
+ };
81
+
82
+ [BoardActivityType.COLUMN_CREATE]!: {
83
+ boardColumnName: string;
84
+ boardColumnId: string;
85
+ };
86
+ [BoardActivityType.COLUMN_UPDATE]!: {
87
+ boardColumnName: string;
88
+ boardColumnId: string;
89
+ };
90
+ [BoardActivityType.COLUMN_DELETE]!: {
91
+ boardColumnId: string;
92
+ };
93
+
94
+ [BoardActivityType.COMMENT_CREATE]!: {
95
+ boardCardCommentId: string;
96
+ boardCardId: string;
97
+ };
98
+ [BoardActivityType.COMMENT_UPDATE]!: {
99
+ boardCardCommentId: string;
100
+ fromBoardCardCommentContent: string;
101
+ toBoardCardCommentContent: string;
102
+ boardCardId: string;
103
+ };
104
+ [BoardActivityType.COMMENT_DELETE]!: {
105
+ boardCardCommentId: string;
106
+ boardCardId: string;
107
+ };
108
+
109
+ [BoardActivityType.LABEL_CREATE]!: {
110
+ boardLabelId: string;
111
+ boardLabelName: string;
112
+ boardLabelColor: string;
113
+ };
114
+ [BoardActivityType.LABEL_DELETE]!: {
115
+ boardLabelId: string;
116
+ };
117
+ [BoardActivityType.LABEL_UPDATE]!: {
118
+ boardLabelId: string;
119
+ boardLabelName: string;
120
+ boardLabelColor: string;
121
+ };
122
+
123
+ [BoardActivityType.LABEL_ADD]!: {
124
+ boardLabelId: string;
125
+ boardCardId: string;
126
+ boardLabelName: string;
127
+ };
128
+ [BoardActivityType.LABEL_REMOVE]!: {
129
+ boardLabelId: string;
130
+ boardCardId: string;
131
+ boardLabelName: string;
132
+ };
133
+
134
+ [BoardActivityType.MEMBER_ADD]!: {
135
+ boardCardId: string;
136
+ userId: string;
137
+ };
138
+ [BoardActivityType.MEMBER_REMOVE]!: {
139
+ boardCardId: string;
140
+ userId: string;
141
+ };
142
+
143
+ [BoardActivityType.CHECKLIST_CREATE]!: {
144
+ boardCardId: string;
145
+ boardCardChecklistId: string;
146
+ boardCardChecklistName: string;
147
+ };
148
+ [BoardActivityType.CHECKLIST_UPDATE]!: {
149
+ boardCardId: string;
150
+ boardCardChecklistId: string;
151
+ boardCardChecklistName: string;
152
+ };
153
+ [BoardActivityType.CHECKLIST_DELETE]!: {
154
+ boardCardId: string;
155
+ boardCardChecklistId: string;
156
+ boardCardChecklistName: string;
157
+ };
158
+ [BoardActivityType.CHECKLIST_ITEM_ADD]!: {
159
+ boardCardId: string;
160
+ boardCardChecklistId: string;
161
+ boardCardChecklistItemId: string;
162
+ boardCardChecklistItemContent: string;
163
+ boardCardChecklistName: string;
164
+ };
165
+ [BoardActivityType.CHECKLIST_ITEM_UPDATE]!: {
166
+ boardCardId: string;
167
+ boardCardChecklistId: string;
168
+ boardCardChecklistItemId: string;
169
+ boardCardChecklistName: string;
170
+ };
171
+ [BoardActivityType.CHECKLIST_ITEM_DELETE]!: {
172
+ boardCardId: string;
173
+ boardCardChecklistId: string;
174
+ boardCardChecklistItemId: string;
175
+ boardCardChecklistName: string;
176
+ boardCardChecklistItemContent: string;
177
+ };
178
+
179
+ [BoardActivityType.DOCUMENT_ADD]!: {
180
+ boardCardId: string;
181
+ boardCardDocumentId: string;
182
+ boardCardDocumentName: string;
183
+ };
184
+ [BoardActivityType.DOCUMENT_REMOVE]!: {
185
+ boardCardId: string;
186
+ boardCardDocumentId: string;
187
+ boardCardDocumentName: string;
188
+ };
189
+ }
@@ -0,0 +1,6 @@
1
+ export enum BoardColumnType {
2
+ CONCEPTION = 'CONCEPTION',
3
+ BACKLOG = 'BACKLOG',
4
+ DOING = 'DOING',
5
+ DONE = 'DONE',
6
+ }
@@ -0,0 +1,3 @@
1
+ export * from './api-error.enum';
2
+ export * from './board-activity.enum';
3
+ export * from './board-column-type.enum';
@@ -0,0 +1,5 @@
1
+ export * from './interface';
2
+ export * from './enum';
3
+ export * from './draw.type';
4
+
5
+ export type ValueOf<T> = T[keyof T];
@@ -0,0 +1,5 @@
1
+ export * from './requests';
2
+ export * from './responses';
3
+ export * from './type-message/response';
4
+ export * from './type-message/api-error';
5
+ export * from './type-message/base-paginate';
@@ -0,0 +1,16 @@
1
+ export interface IActivateUserServiceAbyssAdminBody {
2
+ userId: string;
3
+ }
4
+
5
+ export interface ISyncOrganizationAbyssAdminBody {
6
+ id: string;
7
+ name: string;
8
+ slug: string;
9
+ }
10
+
11
+ export interface ISyncProjectAbyssAdminBody {
12
+ id: string;
13
+ name: string;
14
+ userId: string;
15
+ organizationId: string;
16
+ }
@@ -0,0 +1,32 @@
1
+ import { QueryPaginate } from '..';
2
+
3
+ export type IGetUploadPreSignedUrlAtlasDocumentParams = {
4
+ atlasId: string;
5
+ atlasPageId: string;
6
+ };
7
+ export type IGetUploadPreSignedUrlAtlasDocumentBody = {
8
+ name: string;
9
+ };
10
+
11
+ export type IGetAtlasDocumentParams = {
12
+ atlasId: string;
13
+ atlasDocumentId: string;
14
+ };
15
+
16
+ export type IDeleteAtlasDocumentParams = {
17
+ atlasId: string;
18
+ atlasDocumentId: string;
19
+ };
20
+
21
+ export type IPaginateAtlasDocumentParams = {
22
+ atlasId: string;
23
+ };
24
+
25
+ export type IPaginateAtlasDocumentQuery = QueryPaginate & {
26
+ atlasPageId?: string;
27
+ };
28
+
29
+ export type IListAtlasDocumentParams = {
30
+ atlasId: string;
31
+ atlasPageId: string;
32
+ };
@@ -0,0 +1,45 @@
1
+ export interface IGetAtlasGroupParams {
2
+ atlasId: string;
3
+ atlasGroupId: string;
4
+ }
5
+
6
+ export interface IPaginateAtlasGroupParams {
7
+ atlasId: string;
8
+ }
9
+
10
+ export interface IPaginateAtlasGroupQuery {
11
+ name?: string;
12
+ parentAtlasGroupId?: string;
13
+ page?: number;
14
+ limit?: number;
15
+ }
16
+
17
+ export interface ICreateAtlasGroupParams {
18
+ atlasId: string;
19
+ }
20
+ export interface ICreateAtlasGroupBody {
21
+ name: string;
22
+ description?: string | null;
23
+ icon?: string | null;
24
+ color?: string | null;
25
+ parentAtlasGroupId?: string | null;
26
+ position?: number;
27
+ }
28
+
29
+ export interface IUpdateAtlasGroupParams {
30
+ atlasId: string;
31
+ atlasGroupId: string;
32
+ }
33
+ export interface IUpdateAtlasGroupBody {
34
+ name?: string;
35
+ description?: string | null;
36
+ icon?: string | null;
37
+ color?: string | null;
38
+ parentAtlasGroupId?: string | null;
39
+ position?: number;
40
+ }
41
+
42
+ export interface IDeleteAtlasGroupParams {
43
+ atlasId: string;
44
+ atlasGroupId: string;
45
+ }
@@ -0,0 +1,84 @@
1
+ export interface IGetAtlasPageParams {
2
+ atlasId: string;
3
+ atlasPageId: string;
4
+ }
5
+
6
+ export interface IGetAtlasPageBySlugParams {
7
+ atlasId: string;
8
+ slug: string;
9
+ }
10
+
11
+ export interface IPaginateAtlasPageParams {
12
+ atlasId: string;
13
+ }
14
+
15
+ export interface IPaginateAtlasPageQuery {
16
+ title?: string;
17
+ slug?: string;
18
+ atlasGroupId?: string;
19
+ page?: number;
20
+ limit?: number;
21
+ }
22
+
23
+ export interface ICreateAtlasPageParams {
24
+ atlasId: string;
25
+ }
26
+
27
+ export interface ICreateAtlasPageBody {
28
+ title: string;
29
+ icon?: string | null;
30
+ color?: string | null;
31
+ atlasGroupId?: string | null;
32
+ position?: number;
33
+ content?: string;
34
+ }
35
+
36
+ export interface IUpdateAtlasPageParams {
37
+ atlasId: string;
38
+ atlasPageId: string;
39
+ }
40
+
41
+ export interface IUpdateAtlasPageBody {
42
+ title?: string;
43
+ icon?: string | null;
44
+ color?: string | null;
45
+ atlasGroupId?: string | null;
46
+ position?: number;
47
+ }
48
+
49
+ export interface IDeleteAtlasPageParams {
50
+ atlasId: string;
51
+ atlasPageId: string;
52
+ }
53
+
54
+ export interface IUpdateAtlasPageContentParams {
55
+ atlasId: string;
56
+ atlasPageId: string;
57
+ }
58
+ export interface IUpdateAtlasPageContentBody {
59
+ diff: string;
60
+ }
61
+
62
+ export interface IGetAtlasPageContentHistoryParams {
63
+ atlasId: string;
64
+ atlasPageId: string;
65
+ }
66
+ export interface IGetAtlasPageContentHistoryQuery {
67
+ page?: number;
68
+ limit?: number;
69
+ }
70
+
71
+ export interface IRestoreAtlasPageContentParams {
72
+ atlasId: string;
73
+ atlasPageId: string;
74
+ version: number;
75
+ }
76
+
77
+ export interface ISearchAtlasContentParams {
78
+ atlasId: string;
79
+ }
80
+ export interface ISearchAtlasContentQuery {
81
+ query: string;
82
+ page?: number;
83
+ limit?: number;
84
+ }
@@ -0,0 +1,21 @@
1
+ export interface IGetAtlasPublicParams {
2
+ publicAccessToken: string;
3
+ }
4
+
5
+ export type ISSEAtlasPublicParams = {
6
+ publicAccessToken: string;
7
+ };
8
+
9
+ export interface IGetPageAtlasPublicParams {
10
+ publicAccessToken: string;
11
+ atlasPageId: string;
12
+ }
13
+
14
+ export interface ISearchContentAtlasPublicParams {
15
+ publicAccessToken: string;
16
+ }
17
+ export interface ISearchContentAtlasPublicQuery {
18
+ query: string;
19
+ page?: number;
20
+ limit?: number;
21
+ }
@@ -0,0 +1,40 @@
1
+ export interface IGetAtlasParams {
2
+ atlasId: string;
3
+ }
4
+
5
+ export interface IPaginateProjectAtlasParams {
6
+ projectId: string;
7
+ }
8
+
9
+ export interface IPaginateAtlasQuery {
10
+ title?: string;
11
+ page?: number;
12
+ limit?: number;
13
+ }
14
+
15
+ export interface ICreateForProjectAtlasParams {
16
+ projectId: string;
17
+ }
18
+
19
+ export interface ICreateAtlasBody {
20
+ title: string;
21
+ description?: string | null;
22
+ }
23
+
24
+ export interface IUpdateAtlasParams {
25
+ atlasId: string;
26
+ }
27
+ export interface IUpdateAtlasBody {
28
+ title?: string;
29
+ description?: string | null;
30
+ enablePublicAccess?: boolean;
31
+ transferToProjectId?: string | null;
32
+ }
33
+
34
+ export interface IDeleteAtlasParams {
35
+ atlasId: string;
36
+ }
37
+
38
+ export type ISSEAtlasParams = {
39
+ atlasId: string;
40
+ };
@@ -0,0 +1,61 @@
1
+ export type ICreateBoardCardChecklistParams = {
2
+ boardId: string;
3
+ boardCardId: string;
4
+ };
5
+ export type ICreateBoardCardChecklistBody = {
6
+ title: string;
7
+ position: number;
8
+ };
9
+
10
+ export type IUpdateBoardCardChecklistParams = {
11
+ boardId: string;
12
+ boardCardId: string;
13
+ boardCardChecklistId: string;
14
+ };
15
+ export type IUpdateBoardCardChecklistBody = {
16
+ title?: string;
17
+ position?: number;
18
+ maskCompletedRows?: boolean;
19
+ };
20
+
21
+ export type IGetBoardCardChecklistParams = {
22
+ boardId: string;
23
+ boardCardId: string;
24
+ boardCardChecklistId: string;
25
+ };
26
+
27
+ export type IDeleteBoardCardChecklistParams = {
28
+ boardId: string;
29
+ boardCardId: string;
30
+ boardCardChecklistId: string;
31
+ };
32
+
33
+ export type IAddRowBoardCardChecklistParams = {
34
+ boardId: string;
35
+ boardCardId: string;
36
+ boardCardChecklistId: string;
37
+ };
38
+ export type IAddRowBoardCardChecklistBody = {
39
+ content: string;
40
+ position: number;
41
+ };
42
+
43
+ export type IRemoveRowBoardCardChecklistParams = {
44
+ boardId: string;
45
+ boardCardId: string;
46
+ boardCardChecklistId: string;
47
+ boardCardChecklistRowId: string;
48
+ };
49
+
50
+ export type IUpdateRowBoardCardChecklistParams = {
51
+ boardId: string;
52
+ boardCardId: string;
53
+ boardCardChecklistId: string;
54
+ boardCardChecklistRowId: string;
55
+ };
56
+ export type IUpdateRowBoardCardChecklistBody = {
57
+ content?: string;
58
+ completed?: boolean;
59
+ position?: number;
60
+ boardCardChecklistId?: string;
61
+ };
@@ -0,0 +1,28 @@
1
+ export type ICreateBoardCardCommentParams = {
2
+ boardId: string;
3
+ boardCardId: string;
4
+ };
5
+ export type ICreateBoardCardCommentBody = {
6
+ content: string;
7
+ };
8
+
9
+ export type IUpdateBoardCardCommentParams = {
10
+ boardId: string;
11
+ boardCardId: string;
12
+ boardCardCommentId: string;
13
+ };
14
+ export type IUpdateBoardCardCommentBody = {
15
+ content?: string;
16
+ };
17
+
18
+ export type IGetBoardCardCommentParams = {
19
+ boardId: string;
20
+ boardCardId: string;
21
+ boardCardCommentId: string;
22
+ };
23
+
24
+ export type IDeleteBoardCardCommentParams = {
25
+ boardId: string;
26
+ boardCardId: string;
27
+ boardCardCommentId: string;
28
+ };
@@ -0,0 +1,29 @@
1
+ export type IGetUploadPreSignedUrlBoardCardDocumentParams = {
2
+ boardId: string;
3
+ boardCardId: string;
4
+ };
5
+ export type IGetUploadPreSignedUrlBoardCardDocumentBody = {
6
+ name: string;
7
+ };
8
+
9
+ export type IGetBoardCardDocumentParams = {
10
+ boardId: string;
11
+ boardCardId: string;
12
+ boardCardDocumentId: string;
13
+ };
14
+
15
+ export type IDeleteBoardCardDocumentParams = {
16
+ boardId: string;
17
+ boardCardId: string;
18
+ boardCardDocumentId: string;
19
+ };
20
+
21
+ export type ICloudImportBoardCardDocumentParams = {
22
+ boardId: string;
23
+ boardCardId: string;
24
+ };
25
+
26
+ export type ICloudImportBoardCardDocumentBody = {
27
+ cloudId: string;
28
+ fileId: string[];
29
+ };
@@ -0,0 +1,86 @@
1
+ export type ICreateBoardCardParams = {
2
+ boardId: string;
3
+ boardColumnId: string;
4
+ };
5
+ export type ICreateBoardCardBody = {
6
+ title: string;
7
+ position: number;
8
+ description?: string | null;
9
+ weight?: number;
10
+ startDate?: Date;
11
+ endDate?: Date;
12
+ };
13
+
14
+ export type IUpdateBoardCardParams = {
15
+ boardId: string;
16
+ boardCardId: string;
17
+ };
18
+ export type IUpdateBoardCardBody = {
19
+ title?: string;
20
+ description?: string | null;
21
+ position?: number;
22
+ boardColumnId?: string;
23
+ weight?: number;
24
+ startDate?: Date | null;
25
+ endDate?: Date | null;
26
+ bannerId?: string | null;
27
+ };
28
+
29
+ export type IGetBoardCardParams = {
30
+ boardId: string;
31
+ boardCardId: string;
32
+ };
33
+
34
+ export type ISSEBoardCardParams = {
35
+ boardId: string;
36
+ boardCardId: string;
37
+ };
38
+
39
+ export type IDeleteBoardCardParams = {
40
+ boardId: string;
41
+ boardCardId: string;
42
+ };
43
+
44
+ export type IRestoreBoardCardParams = {
45
+ boardId: string;
46
+ boardCardId: string;
47
+ };
48
+ export type IRestoreBoardCardBody = {
49
+ boardColumnId: string;
50
+ };
51
+
52
+ export type IAddMemberBoardCardParams = {
53
+ boardId: string;
54
+ boardCardId: string;
55
+ userId: string;
56
+ };
57
+ export type IRemoveMemberBoardCardParams = {
58
+ boardId: string;
59
+ boardCardId: string;
60
+ userId: string;
61
+ };
62
+
63
+ export type IGetAllBoardCardParams = {
64
+ boardId: string;
65
+ };
66
+ export type IGetAllBoardCardQuery = {
67
+ archived?: boolean;
68
+ };
69
+
70
+ export type IMoveToBoardBoardCardParams = {
71
+ boardId: string;
72
+ boardCardId: string;
73
+ };
74
+ export type IMoveToBoardBoardCardBody = {
75
+ boardColumnId: string;
76
+ boardId: string;
77
+ };
78
+
79
+ export type ISearchBoardCardParams = {
80
+ boardId: string;
81
+ };
82
+ export type ISearchBoardCardQuery = {
83
+ query?: string;
84
+ page?: number;
85
+ limit?: number;
86
+ };
@@ -0,0 +1,30 @@
1
+ import { BoardColumnType } from '../../../enum';
2
+
3
+ export type ICreateBoardColumnParams = {
4
+ boardId: string;
5
+ };
6
+ export type ICreateBoardColumnBody = {
7
+ title: string;
8
+ position: number;
9
+ type?: BoardColumnType;
10
+ };
11
+
12
+ export type IUpdateBoardColumnParams = {
13
+ boardId: string;
14
+ boardColumnId: string;
15
+ };
16
+ export type IUpdateBoardColumnBody = {
17
+ title?: string;
18
+ position?: number;
19
+ type?: BoardColumnType;
20
+ };
21
+
22
+ export type IGetBoardColumnParams = {
23
+ boardId: string;
24
+ boardColumnId: string;
25
+ };
26
+
27
+ export type IDeleteBoardColumnParams = {
28
+ boardId: string;
29
+ boardColumnId: string;
30
+ };