@ynput/ayon-frontend-shared 0.2.19 → 0.2.21

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 (619) hide show
  1. package/dist/DetailsPanel.cjs.js +11 -0
  2. package/dist/DetailsPanel.cjs.js.map +1 -1
  3. package/dist/DetailsPanel.es.js +11 -0
  4. package/dist/DetailsPanel.es.js.map +1 -1
  5. package/dist/ProjectTreeTable.cjs.js +2 -2
  6. package/dist/ProjectTreeTable.es.js +2 -2
  7. package/dist/Views.cjs.js +41 -0
  8. package/dist/Views.cjs.js.map +1 -0
  9. package/dist/Views.es.js +41 -0
  10. package/dist/Views.es.js.map +1 -0
  11. package/dist/_virtual/index.cjs5.js +5 -3
  12. package/dist/_virtual/index.cjs5.js.map +1 -1
  13. package/dist/_virtual/index.cjs6.js +3 -5
  14. package/dist/_virtual/index.cjs6.js.map +1 -1
  15. package/dist/_virtual/index.es5.js +5 -2
  16. package/dist/_virtual/index.es5.js.map +1 -1
  17. package/dist/_virtual/index.es6.js +2 -5
  18. package/dist/_virtual/index.es6.js.map +1 -1
  19. package/dist/api.cjs.js +21 -0
  20. package/dist/api.cjs.js.map +1 -1
  21. package/dist/api.es.js +22 -1
  22. package/dist/api.es.js.map +1 -1
  23. package/dist/components.cjs.js +5 -0
  24. package/dist/components.cjs.js.map +1 -1
  25. package/dist/components.es.js +5 -0
  26. package/dist/components.es.js.map +1 -1
  27. package/dist/index.cjs.js +11 -0
  28. package/dist/index.cjs.js.map +1 -1
  29. package/dist/index.es.js +11 -0
  30. package/dist/index.es.js.map +1 -1
  31. package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
  32. package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
  33. package/dist/node_modules/remove-accents/index.cjs.js +1 -1
  34. package/dist/node_modules/remove-accents/index.es.js +1 -1
  35. package/dist/shared/node_modules/uuid/dist/esm-browser/native.cjs.js +7 -0
  36. package/dist/shared/node_modules/uuid/dist/esm-browser/native.cjs.js.map +1 -0
  37. package/dist/shared/node_modules/uuid/dist/esm-browser/native.es.js +8 -0
  38. package/dist/shared/node_modules/uuid/dist/esm-browser/native.es.js.map +1 -0
  39. package/dist/shared/node_modules/uuid/dist/esm-browser/v4.cjs.js +16 -0
  40. package/dist/shared/node_modules/uuid/dist/esm-browser/v4.cjs.js.map +1 -0
  41. package/dist/shared/node_modules/uuid/dist/esm-browser/v4.es.js +17 -0
  42. package/dist/shared/node_modules/uuid/dist/esm-browser/v4.es.js.map +1 -0
  43. package/dist/shared/src/api/base/client.cjs.js +2 -1
  44. package/dist/shared/src/api/base/client.cjs.js.map +1 -1
  45. package/dist/shared/src/api/base/client.es.js +2 -1
  46. package/dist/shared/src/api/base/client.es.js.map +1 -1
  47. package/dist/shared/src/api/generated/actions.cjs.js +6 -1
  48. package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
  49. package/dist/shared/src/api/generated/actions.es.js +6 -1
  50. package/dist/shared/src/api/generated/actions.es.js.map +1 -1
  51. package/dist/shared/src/api/generated/activityFeed.cjs.js.map +1 -1
  52. package/dist/shared/src/api/generated/activityFeed.es.js.map +1 -1
  53. package/dist/shared/src/api/generated/addons.cjs.js +2 -1
  54. package/dist/shared/src/api/generated/addons.cjs.js.map +1 -1
  55. package/dist/shared/src/api/generated/addons.es.js +2 -1
  56. package/dist/shared/src/api/generated/addons.es.js.map +1 -1
  57. package/dist/shared/src/api/generated/anatomy.cjs.js.map +1 -1
  58. package/dist/shared/src/api/generated/anatomy.es.js.map +1 -1
  59. package/dist/shared/src/api/generated/authentication.cjs.js.map +1 -1
  60. package/dist/shared/src/api/generated/authentication.es.js.map +1 -1
  61. package/dist/shared/src/api/generated/configuration.cjs.js.map +1 -1
  62. package/dist/shared/src/api/generated/configuration.es.js.map +1 -1
  63. package/dist/shared/src/api/generated/links.cjs.js.map +1 -1
  64. package/dist/shared/src/api/generated/links.es.js.map +1 -1
  65. package/dist/shared/src/api/generated/onboarding.cjs.js.map +1 -1
  66. package/dist/shared/src/api/generated/onboarding.es.js.map +1 -1
  67. package/dist/shared/src/api/generated/operations.cjs.js.map +1 -1
  68. package/dist/shared/src/api/generated/operations.es.js.map +1 -1
  69. package/dist/shared/src/api/generated/projects.cjs.js +0 -8
  70. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  71. package/dist/shared/src/api/generated/projects.es.js +0 -8
  72. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  73. package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
  74. package/dist/shared/src/api/generated/system.es.js.map +1 -1
  75. package/dist/shared/src/api/generated/tasks.cjs.js.map +1 -1
  76. package/dist/shared/src/api/generated/tasks.es.js.map +1 -1
  77. package/dist/shared/src/api/generated/views.cjs.js +81 -0
  78. package/dist/shared/src/api/generated/views.cjs.js.map +1 -0
  79. package/dist/shared/src/api/generated/views.es.js +81 -0
  80. package/dist/shared/src/api/generated/views.es.js.map +1 -0
  81. package/dist/shared/src/api/queries/actions/getActions.cjs.js +1 -0
  82. package/dist/shared/src/api/queries/actions/getActions.cjs.js.map +1 -1
  83. package/dist/shared/src/api/queries/actions/getActions.es.js +1 -0
  84. package/dist/shared/src/api/queries/actions/getActions.es.js.map +1 -1
  85. package/dist/shared/src/api/queries/activities/getActivities.cjs.js +1 -0
  86. package/dist/shared/src/api/queries/activities/getActivities.cjs.js.map +1 -1
  87. package/dist/shared/src/api/queries/activities/getActivities.es.js +1 -0
  88. package/dist/shared/src/api/queries/activities/getActivities.es.js.map +1 -1
  89. package/dist/shared/src/api/queries/activities/getMentions.cjs.js +1 -0
  90. package/dist/shared/src/api/queries/activities/getMentions.cjs.js.map +1 -1
  91. package/dist/shared/src/api/queries/activities/getMentions.es.js +1 -0
  92. package/dist/shared/src/api/queries/activities/getMentions.es.js.map +1 -1
  93. package/dist/shared/src/api/queries/activities/updateReaction.cjs.js +1 -0
  94. package/dist/shared/src/api/queries/activities/updateReaction.cjs.js.map +1 -1
  95. package/dist/shared/src/api/queries/activities/updateReaction.es.js +1 -0
  96. package/dist/shared/src/api/queries/activities/updateReaction.es.js.map +1 -1
  97. package/dist/shared/src/api/queries/addons/getAddons.cjs.js +1 -0
  98. package/dist/shared/src/api/queries/addons/getAddons.cjs.js.map +1 -1
  99. package/dist/shared/src/api/queries/addons/getAddons.es.js +1 -0
  100. package/dist/shared/src/api/queries/addons/getAddons.es.js.map +1 -1
  101. package/dist/shared/src/api/queries/attributes/getAttributes.cjs.js +1 -0
  102. package/dist/shared/src/api/queries/attributes/getAttributes.cjs.js.map +1 -1
  103. package/dist/shared/src/api/queries/attributes/getAttributes.es.js +1 -0
  104. package/dist/shared/src/api/queries/attributes/getAttributes.es.js.map +1 -1
  105. package/dist/shared/src/api/queries/authentication/getAuthentication.cjs.js +1 -0
  106. package/dist/shared/src/api/queries/authentication/getAuthentication.cjs.js.map +1 -1
  107. package/dist/shared/src/api/queries/authentication/getAuthentication.es.js +1 -0
  108. package/dist/shared/src/api/queries/authentication/getAuthentication.es.js.map +1 -1
  109. package/dist/shared/src/api/queries/cloud/cloud.cjs.js +67 -0
  110. package/dist/shared/src/api/queries/cloud/cloud.cjs.js.map +1 -0
  111. package/dist/shared/src/api/queries/cloud/cloud.es.js +67 -0
  112. package/dist/shared/src/api/queries/cloud/cloud.es.js.map +1 -0
  113. package/dist/shared/src/api/queries/entities/getEntity.cjs.js +1 -0
  114. package/dist/shared/src/api/queries/entities/getEntity.cjs.js.map +1 -1
  115. package/dist/shared/src/api/queries/entities/getEntity.es.js +1 -0
  116. package/dist/shared/src/api/queries/entities/getEntity.es.js.map +1 -1
  117. package/dist/shared/src/api/queries/entities/getEntityPanel.cjs.js +1 -0
  118. package/dist/shared/src/api/queries/entities/getEntityPanel.cjs.js.map +1 -1
  119. package/dist/shared/src/api/queries/entities/getEntityPanel.es.js +1 -0
  120. package/dist/shared/src/api/queries/entities/getEntityPanel.es.js.map +1 -1
  121. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +4 -0
  122. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
  123. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -0
  124. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
  125. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +11 -1
  126. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
  127. package/dist/shared/src/api/queries/entities/updateEntity.es.js +11 -1
  128. package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
  129. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -0
  130. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
  131. package/dist/shared/src/api/queries/entityLists/getLists.es.js +1 -0
  132. package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
  133. package/dist/shared/src/api/queries/entityLists/getListsAttributes.cjs.js +1 -0
  134. package/dist/shared/src/api/queries/entityLists/getListsAttributes.cjs.js.map +1 -1
  135. package/dist/shared/src/api/queries/entityLists/getListsAttributes.es.js +1 -0
  136. package/dist/shared/src/api/queries/entityLists/getListsAttributes.es.js.map +1 -1
  137. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -0
  138. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
  139. package/dist/shared/src/api/queries/entityLists/updateLists.es.js +1 -0
  140. package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
  141. package/dist/shared/src/api/queries/folders/getFolders.cjs.js +1 -0
  142. package/dist/shared/src/api/queries/folders/getFolders.cjs.js.map +1 -1
  143. package/dist/shared/src/api/queries/folders/getFolders.es.js +1 -0
  144. package/dist/shared/src/api/queries/folders/getFolders.es.js.map +1 -1
  145. package/dist/shared/src/api/queries/grouping/getGrouping.cjs.js +1 -0
  146. package/dist/shared/src/api/queries/grouping/getGrouping.cjs.js.map +1 -1
  147. package/dist/shared/src/api/queries/grouping/getGrouping.es.js +1 -0
  148. package/dist/shared/src/api/queries/grouping/getGrouping.es.js.map +1 -1
  149. package/dist/shared/src/api/queries/overview/getOverview.cjs.js +1 -0
  150. package/dist/shared/src/api/queries/overview/getOverview.cjs.js.map +1 -1
  151. package/dist/shared/src/api/queries/overview/getOverview.es.js +1 -0
  152. package/dist/shared/src/api/queries/overview/getOverview.es.js.map +1 -1
  153. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +17 -2
  154. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
  155. package/dist/shared/src/api/queries/overview/updateOverview.es.js +17 -2
  156. package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
  157. package/dist/shared/src/api/queries/permissions/getPermissions.cjs.js +1 -0
  158. package/dist/shared/src/api/queries/permissions/getPermissions.cjs.js.map +1 -1
  159. package/dist/shared/src/api/queries/permissions/getPermissions.es.js +1 -0
  160. package/dist/shared/src/api/queries/permissions/getPermissions.es.js.map +1 -1
  161. package/dist/shared/src/api/queries/products/createProduct.cjs.js +1 -0
  162. package/dist/shared/src/api/queries/products/createProduct.cjs.js.map +1 -1
  163. package/dist/shared/src/api/queries/products/createProduct.es.js +1 -0
  164. package/dist/shared/src/api/queries/products/createProduct.es.js.map +1 -1
  165. package/dist/shared/src/api/queries/project/getProject.cjs.js +1 -0
  166. package/dist/shared/src/api/queries/project/getProject.cjs.js.map +1 -1
  167. package/dist/shared/src/api/queries/project/getProject.es.js +1 -0
  168. package/dist/shared/src/api/queries/project/getProject.es.js.map +1 -1
  169. package/dist/shared/src/api/queries/review/getReview.cjs.js +1 -0
  170. package/dist/shared/src/api/queries/review/getReview.cjs.js.map +1 -1
  171. package/dist/shared/src/api/queries/review/getReview.es.js +1 -0
  172. package/dist/shared/src/api/queries/review/getReview.es.js.map +1 -1
  173. package/dist/shared/src/api/queries/review/updateReview.cjs.js +1 -0
  174. package/dist/shared/src/api/queries/review/updateReview.cjs.js.map +1 -1
  175. package/dist/shared/src/api/queries/review/updateReview.es.js +1 -0
  176. package/dist/shared/src/api/queries/review/updateReview.es.js.map +1 -1
  177. package/dist/shared/src/api/queries/system/getSystem.cjs.js +1 -0
  178. package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
  179. package/dist/shared/src/api/queries/system/getSystem.es.js +1 -0
  180. package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
  181. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js +1 -0
  182. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js.map +1 -1
  183. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js +1 -0
  184. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js.map +1 -1
  185. package/dist/shared/src/api/queries/users/getUsers.cjs.js +4 -0
  186. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  187. package/dist/shared/src/api/queries/users/getUsers.es.js +4 -0
  188. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  189. package/dist/shared/src/api/queries/users/updateUsers.cjs.js +1 -0
  190. package/dist/shared/src/api/queries/users/updateUsers.cjs.js.map +1 -1
  191. package/dist/shared/src/api/queries/users/updateUsers.es.js +1 -0
  192. package/dist/shared/src/api/queries/users/updateUsers.es.js.map +1 -1
  193. package/dist/shared/src/api/queries/versions/updateVersions.cjs.js +1 -0
  194. package/dist/shared/src/api/queries/versions/updateVersions.cjs.js.map +1 -1
  195. package/dist/shared/src/api/queries/versions/updateVersions.es.js +1 -0
  196. package/dist/shared/src/api/queries/versions/updateVersions.es.js.map +1 -1
  197. package/dist/shared/src/api/queries/views/getViews.cjs.js +96 -0
  198. package/dist/shared/src/api/queries/views/getViews.cjs.js.map +1 -0
  199. package/dist/shared/src/api/queries/views/getViews.es.js +96 -0
  200. package/dist/shared/src/api/queries/views/getViews.es.js.map +1 -0
  201. package/dist/shared/src/api/queries/views/updateViews.cjs.js +193 -0
  202. package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -0
  203. package/dist/shared/src/api/queries/views/updateViews.es.js +193 -0
  204. package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -0
  205. package/dist/shared/src/api/queries/watchers/getWatchers.cjs.js +1 -0
  206. package/dist/shared/src/api/queries/watchers/getWatchers.cjs.js.map +1 -1
  207. package/dist/shared/src/api/queries/watchers/getWatchers.es.js +1 -0
  208. package/dist/shared/src/api/queries/watchers/getWatchers.es.js.map +1 -1
  209. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +4 -0
  210. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
  211. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +4 -0
  212. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
  213. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js +12 -1
  214. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js.map +1 -1
  215. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js +12 -1
  216. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js.map +1 -1
  217. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +11 -0
  218. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  219. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +11 -0
  220. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  221. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +370 -0
  222. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -0
  223. package/dist/shared/src/components/Feedback/FeedbackContext.es.js +370 -0
  224. package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -0
  225. package/dist/shared/src/components/Feedback/SupportBubble.cjs.js +48 -0
  226. package/dist/shared/src/components/Feedback/SupportBubble.cjs.js.map +1 -0
  227. package/dist/shared/src/components/Feedback/SupportBubble.es.js +48 -0
  228. package/dist/shared/src/components/Feedback/SupportBubble.es.js.map +1 -0
  229. package/dist/shared/src/components/Powerpack/CTAButton.cjs.js +10 -0
  230. package/dist/shared/src/components/Powerpack/CTAButton.cjs.js.map +1 -0
  231. package/dist/shared/src/components/Powerpack/CTAButton.es.js +10 -0
  232. package/dist/shared/src/components/Powerpack/CTAButton.es.js.map +1 -0
  233. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +230 -28
  234. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  235. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +231 -29
  236. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  237. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js +3 -0
  238. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js.map +1 -1
  239. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js +3 -0
  240. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js.map +1 -1
  241. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +4 -0
  242. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  243. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +4 -0
  244. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  245. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +180 -0
  246. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  247. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +180 -0
  248. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  249. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +4 -0
  250. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
  251. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +4 -0
  252. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
  253. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +11 -0
  254. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  255. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +11 -0
  256. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  257. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +11 -0
  258. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  259. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +11 -0
  260. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  261. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +11 -0
  262. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  263. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +11 -0
  264. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  265. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +4 -0
  266. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
  267. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +4 -0
  268. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
  269. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +4 -0
  270. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  271. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +4 -0
  272. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  273. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +11 -0
  274. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  275. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +11 -0
  276. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  277. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +11 -0
  278. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  279. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +11 -0
  280. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  281. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +4 -0
  282. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
  283. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +4 -0
  284. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
  285. package/dist/shared/src/components/Watchers/Watchers.cjs.js +4 -0
  286. package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
  287. package/dist/shared/src/components/Watchers/Watchers.es.js +4 -0
  288. package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
  289. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +11 -0
  290. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  291. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +11 -0
  292. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  293. package/dist/shared/src/containers/Actions/Actions.cjs.js +4 -0
  294. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  295. package/dist/shared/src/containers/Actions/Actions.es.js +4 -0
  296. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  297. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +11 -0
  298. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  299. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +11 -0
  300. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  301. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +11 -0
  302. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  303. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +11 -0
  304. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  305. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +11 -0
  306. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  307. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +11 -0
  308. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  309. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +11 -0
  310. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  311. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +11 -0
  312. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  313. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +11 -0
  314. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  315. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +11 -0
  316. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  317. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +4 -0
  318. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  319. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +4 -0
  320. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  321. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +4 -0
  322. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
  323. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +4 -0
  324. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
  325. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +4 -0
  326. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  327. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +4 -0
  328. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  329. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +4 -0
  330. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
  331. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +4 -0
  332. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
  333. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +20 -13
  334. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  335. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +20 -13
  336. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  337. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +11 -0
  338. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  339. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +11 -0
  340. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  341. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.cjs.js.map +1 -1
  342. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.es.js.map +1 -1
  343. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js +69 -21
  344. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js.map +1 -1
  345. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js +69 -21
  346. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js.map +1 -1
  347. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +4 -0
  348. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
  349. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +4 -0
  350. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
  351. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js.map +1 -1
  352. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js.map +1 -1
  353. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js +0 -5
  354. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js.map +1 -1
  355. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js +0 -5
  356. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js.map +1 -1
  357. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +4 -0
  358. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  359. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +4 -0
  360. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  361. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +4 -0
  362. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  363. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +4 -0
  364. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  365. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +4 -0
  366. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  367. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +4 -0
  368. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  369. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +7 -5
  370. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
  371. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +7 -5
  372. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
  373. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +4 -0
  374. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  375. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +4 -0
  376. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  377. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +4 -0
  378. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
  379. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +4 -0
  380. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
  381. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +5 -1
  382. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
  383. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +5 -1
  384. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
  385. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +22 -10
  386. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  387. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +22 -10
  388. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  389. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +4 -0
  390. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  391. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +4 -0
  392. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  393. package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js +106 -0
  394. package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js.map +1 -0
  395. package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.es.js +106 -0
  396. package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.es.js.map +1 -0
  397. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +11 -0
  398. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  399. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +11 -0
  400. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  401. package/dist/shared/src/containers/Views/ViewItem/ViewItem.cjs.js +49 -0
  402. package/dist/shared/src/containers/Views/ViewItem/ViewItem.cjs.js.map +1 -0
  403. package/dist/shared/src/containers/Views/ViewItem/ViewItem.es.js +49 -0
  404. package/dist/shared/src/containers/Views/ViewItem/ViewItem.es.js.map +1 -0
  405. package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.cjs.js +75 -0
  406. package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.cjs.js.map +1 -0
  407. package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.es.js +75 -0
  408. package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.es.js.map +1 -0
  409. package/dist/shared/src/containers/Views/Views.cjs.js +17 -0
  410. package/dist/shared/src/containers/Views/Views.cjs.js.map +1 -0
  411. package/dist/shared/src/containers/Views/Views.es.js +17 -0
  412. package/dist/shared/src/containers/Views/Views.es.js.map +1 -0
  413. package/dist/shared/src/containers/Views/Views.styled.cjs.js +45 -0
  414. package/dist/shared/src/containers/Views/Views.styled.cjs.js.map +1 -0
  415. package/dist/shared/src/containers/Views/Views.styled.es.js +45 -0
  416. package/dist/shared/src/containers/Views/Views.styled.es.js.map +1 -0
  417. package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.cjs.js +41 -0
  418. package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.cjs.js.map +1 -0
  419. package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.es.js +41 -0
  420. package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.es.js.map +1 -0
  421. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.cjs.js +4 -0
  422. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.cjs.js.map +1 -0
  423. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.es.js +5 -0
  424. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.es.js.map +1 -0
  425. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +154 -0
  426. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -0
  427. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +154 -0
  428. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -0
  429. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.cjs.js +32 -0
  430. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.cjs.js.map +1 -0
  431. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js +32 -0
  432. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js.map +1 -0
  433. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.cjs.js +33 -0
  434. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.cjs.js.map +1 -0
  435. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.es.js +33 -0
  436. package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.es.js.map +1 -0
  437. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +105 -0
  438. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -0
  439. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +105 -0
  440. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -0
  441. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +211 -0
  442. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -0
  443. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +211 -0
  444. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -0
  445. package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.cjs.js +52 -0
  446. package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.cjs.js.map +1 -0
  447. package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.es.js +52 -0
  448. package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.es.js.map +1 -0
  449. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js +69 -0
  450. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -0
  451. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js +69 -0
  452. package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -0
  453. package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js +44 -0
  454. package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js.map +1 -0
  455. package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js +44 -0
  456. package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js.map +1 -0
  457. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +186 -0
  458. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -0
  459. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +186 -0
  460. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -0
  461. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +33 -0
  462. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -0
  463. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +33 -0
  464. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -0
  465. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +108 -0
  466. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -0
  467. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +108 -0
  468. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -0
  469. package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.cjs.js +19 -0
  470. package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.cjs.js.map +1 -0
  471. package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.es.js +19 -0
  472. package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.es.js.map +1 -0
  473. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +143 -0
  474. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -0
  475. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +143 -0
  476. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -0
  477. package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.cjs.js +67 -0
  478. package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.cjs.js.map +1 -0
  479. package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.es.js +67 -0
  480. package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.es.js.map +1 -0
  481. package/dist/shared/src/containers/Views/utils/generateWorkingView.cjs.js +13 -0
  482. package/dist/shared/src/containers/Views/utils/generateWorkingView.cjs.js.map +1 -0
  483. package/dist/shared/src/containers/Views/utils/generateWorkingView.es.js +13 -0
  484. package/dist/shared/src/containers/Views/utils/generateWorkingView.es.js.map +1 -0
  485. package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.cjs.js +8 -0
  486. package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.cjs.js.map +1 -0
  487. package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.es.js +8 -0
  488. package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.es.js.map +1 -0
  489. package/dist/shared/src/containers/Views/utils/portalUtils.cjs.js +11 -0
  490. package/dist/shared/src/containers/Views/utils/portalUtils.cjs.js.map +1 -0
  491. package/dist/shared/src/containers/Views/utils/portalUtils.es.js +11 -0
  492. package/dist/shared/src/containers/Views/utils/portalUtils.es.js.map +1 -0
  493. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +125 -0
  494. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -0
  495. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +125 -0
  496. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -0
  497. package/dist/shared/src/context/AddonProjectContext.cjs.js +4 -0
  498. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  499. package/dist/shared/src/context/AddonProjectContext.es.js +4 -0
  500. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  501. package/dist/shared/src/context/DetailsPanelContext.cjs.js +4 -0
  502. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  503. package/dist/shared/src/context/DetailsPanelContext.es.js +4 -0
  504. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  505. package/dist/shared/src/context/PowerpackContext.cjs.js +18 -3
  506. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  507. package/dist/shared/src/context/PowerpackContext.es.js +18 -3
  508. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  509. package/dist/shared/src/context/RemoteModulesContext.cjs.js +4 -0
  510. package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
  511. package/dist/shared/src/context/RemoteModulesContext.es.js +4 -0
  512. package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
  513. package/dist/shared/src/hooks/useActionTriggers.cjs.js +4 -0
  514. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  515. package/dist/shared/src/hooks/useActionTriggers.es.js +4 -0
  516. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  517. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +4 -0
  518. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  519. package/dist/shared/src/hooks/useEntityUpdate.es.js +4 -0
  520. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  521. package/dist/shared/src/hooks/useLoadModule.cjs.js +1 -1
  522. package/dist/shared/src/hooks/useLoadModule.cjs.js.map +1 -1
  523. package/dist/shared/src/hooks/useLoadModule.es.js +1 -1
  524. package/dist/shared/src/hooks/useLoadModule.es.js.map +1 -1
  525. package/dist/shared/src/hooks/useScopedStatuses.cjs.js +4 -0
  526. package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
  527. package/dist/shared/src/hooks/useScopedStatuses.es.js +4 -0
  528. package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
  529. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +4 -0
  530. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
  531. package/dist/shared/src/hooks/useUserProjectConfig.es.js +4 -0
  532. package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
  533. package/dist/shared/src/util/columnConfigConverter.cjs.js +116 -0
  534. package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -0
  535. package/dist/shared/src/util/columnConfigConverter.es.js +116 -0
  536. package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -0
  537. package/dist/types/Views.d.ts +2 -0
  538. package/dist/types/api/generated/actions.d.ts +11 -4
  539. package/dist/types/api/generated/activityFeed.d.ts +3 -0
  540. package/dist/types/api/generated/addons.d.ts +1 -0
  541. package/dist/types/api/generated/anatomy.d.ts +0 -2
  542. package/dist/types/api/generated/authentication.d.ts +0 -1
  543. package/dist/types/api/generated/configuration.d.ts +6 -0
  544. package/dist/types/api/generated/index.d.ts +2 -0
  545. package/dist/types/api/generated/links.d.ts +7 -5
  546. package/dist/types/api/generated/onboarding.d.ts +0 -1
  547. package/dist/types/api/generated/operations.d.ts +2 -0
  548. package/dist/types/api/generated/powerPack1.1.1Views.d.ts +25 -0
  549. package/dist/types/api/generated/projects.d.ts +0 -35
  550. package/dist/types/api/generated/system.d.ts +2 -0
  551. package/dist/types/api/generated/tasks.d.ts +0 -14
  552. package/dist/types/api/generated/views.d.ts +230 -0
  553. package/dist/types/api/queries/cloud/cloud.d.ts +593 -0
  554. package/dist/types/api/queries/cloud/index.d.ts +1 -0
  555. package/dist/types/api/queries/index.d.ts +2 -0
  556. package/dist/types/api/queries/project/getProject.d.ts +0 -2
  557. package/dist/types/api/queries/views/getViews.d.ts +551 -0
  558. package/dist/types/api/queries/views/index.d.ts +2 -0
  559. package/dist/types/api/queries/views/updateViews.d.ts +664 -0
  560. package/dist/types/components/Feedback/FeedbackContext.d.ts +17 -0
  561. package/dist/types/components/Feedback/SupportBubble.d.ts +4 -0
  562. package/dist/types/components/Feedback/index.d.ts +2 -0
  563. package/dist/types/components/Powerpack/CTAButton.d.ts +4 -0
  564. package/dist/types/components/Powerpack/PowerpackDialog.d.ts +8 -0
  565. package/dist/types/components/index.d.ts +1 -0
  566. package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsContext.d.ts +15 -5
  567. package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsProvider.d.ts +1 -1
  568. package/dist/types/containers/ProjectTreeTable/context/ProjectTableContext.d.ts +0 -2
  569. package/dist/types/containers/ProjectTreeTable/context/ProjectTableProvider.d.ts +2 -4
  570. package/dist/types/containers/ProjectTreeTable/hooks/index.d.ts +0 -1
  571. package/dist/types/containers/ProjectTreeTable/hooks/useFetchOverviewData.d.ts +3 -5
  572. package/dist/types/containers/ProjectTreeTable/hooks/useProjectTableModules.d.ts +2 -5
  573. package/dist/types/containers/ProjectTreeTable/hooks/useQueryFilters.d.ts +5 -3
  574. package/dist/types/containers/ProjectTreeTable/types/index.d.ts +1 -0
  575. package/dist/types/containers/ProjectTreeTable/types/overviewContext.d.ts +5 -6
  576. package/dist/types/containers/ProjectTreeTable/utils/index.d.ts +1 -0
  577. package/dist/types/containers/ProjectTreeTable/utils/queryFilterToClientFilter.d.ts +24 -0
  578. package/dist/types/containers/Views/ViewItem/ViewItem.d.ts +17 -0
  579. package/dist/types/containers/Views/ViewItem/ViewItem.styled.d.ts +4 -0
  580. package/dist/types/containers/Views/Views.d.ts +2 -0
  581. package/dist/types/containers/Views/Views.styled.d.ts +4 -0
  582. package/dist/types/containers/Views/ViewsButton/ViewsButton.d.ts +2 -0
  583. package/dist/types/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.d.ts +24 -0
  584. package/dist/types/containers/Views/ViewsDialogContainer/ViewsDialogContainer.d.ts +6 -0
  585. package/dist/types/containers/Views/ViewsMenu/ViewsMenu.d.ts +10 -0
  586. package/dist/types/containers/Views/ViewsMenu/ViewsMenu.styled.d.ts +4 -0
  587. package/dist/types/containers/Views/ViewsMenuContainer/ViewsMenuContainer.d.ts +4 -0
  588. package/dist/types/containers/Views/context/ViewsContext.d.ts +46 -0
  589. package/dist/types/containers/Views/hooks/index.d.ts +5 -0
  590. package/dist/types/containers/Views/hooks/pages/useListsViewSettings.d.ts +9 -0
  591. package/dist/types/containers/Views/hooks/pages/useOverviewViewSettings.d.ts +12 -0
  592. package/dist/types/containers/Views/hooks/pages/useTaskProgressViewSettings.d.ts +10 -0
  593. package/dist/types/containers/Views/hooks/pages/viewUpdateHelper.d.ts +0 -0
  594. package/dist/types/containers/Views/hooks/useBuildViewMenuItems.d.ts +22 -0
  595. package/dist/types/containers/Views/hooks/useOverviewViewSettings.d.ts +0 -0
  596. package/dist/types/containers/Views/hooks/useSaveViewFromCurrent.d.ts +12 -0
  597. package/dist/types/containers/Views/hooks/useSelectedView.d.ts +12 -0
  598. package/dist/types/containers/Views/hooks/useViewSettingsChanged.d.ts +6 -0
  599. package/dist/types/containers/Views/hooks/useViewsMutations.d.ts +13 -0
  600. package/dist/types/containers/Views/hooks/useViewsShortcuts.d.ts +13 -0
  601. package/dist/types/containers/Views/index.d.ts +19 -0
  602. package/dist/types/containers/Views/utils/generateWorkingView.d.ts +3 -0
  603. package/dist/types/containers/Views/utils/getCustomViewsFallback.d.ts +13 -0
  604. package/dist/types/containers/Views/utils/portalUtils.d.ts +9 -0
  605. package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +17 -0
  606. package/dist/types/containers/index.d.ts +1 -0
  607. package/dist/types/context/PowerpackContext.d.ts +9 -6
  608. package/dist/types/util/columnConfigConverter.d.ts +15 -0
  609. package/dist/types/util/index.d.ts +1 -0
  610. package/dist/util.cjs.js +3 -0
  611. package/dist/util.cjs.js.map +1 -1
  612. package/dist/util.es.js +3 -0
  613. package/dist/util.es.js.map +1 -1
  614. package/package.json +6 -1
  615. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.cjs.js +0 -24
  616. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.cjs.js.map +0 -1
  617. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.es.js +0 -24
  618. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.es.js.map +0 -1
  619. package/dist/types/containers/ProjectTreeTable/hooks/useColumnSorting.d.ts +0 -12
package/dist/index.es.js CHANGED
@@ -40,6 +40,7 @@ import "./shared/src/api/generated/versions.es.js";
40
40
  import "./shared/src/api/generated/workfiles.es.js";
41
41
  import "./shared/src/api/generated/ynputCloud.es.js";
42
42
  import "./shared/src/api/generated/grouping.es.js";
43
+ import "./shared/src/api/generated/views.es.js";
43
44
  import "./shared/src/api/queries/actions/getActions.es.js";
44
45
  import "./shared/src/api/queries/activities/getActivities.es.js";
45
46
  import "./shared/src/api/queries/activities/updateActivities.es.js";
@@ -73,6 +74,9 @@ import "./shared/src/api/queries/permissions/getPermissions.es.js";
73
74
  import "./shared/src/api/queries/grouping/getGrouping.es.js";
74
75
  import "./shared/src/api/queries/versions/updateVersions.es.js";
75
76
  import "./shared/src/api/queries/products/createProduct.es.js";
77
+ import "./shared/src/api/queries/cloud/cloud.es.js";
78
+ import "./shared/src/api/queries/views/getViews.es.js";
79
+ import "./shared/src/api/queries/views/updateViews.es.js";
76
80
  import "@ynput/ayon-react-components";
77
81
  import "react";
78
82
  import "@dnd-kit/core";
@@ -166,6 +170,10 @@ import "./shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFl
166
170
  import "./shared/src/containers/Actions/Actions.styled.es.js";
167
171
  import "./shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.es.js";
168
172
  import "./shared/src/containers/Actions/ActionIcon.es.js";
173
+ import "./shared/src/containers/Views/context/ViewsContext.es.js";
174
+ import "./shared/src/containers/Views/Views.styled.es.js";
175
+ import "./shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js";
176
+ import "./shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js";
169
177
  import "./shared/src/components/EntityPanelUploader/EntityPanelUploader.styled.es.js";
170
178
  import "./shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js";
171
179
  import "./shared/src/components/EntityPath/EntityPath.styled.es.js";
@@ -176,6 +184,7 @@ import "./shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js"
176
184
  import "./shared/src/components/Powerpack/PowerpackButton.es.js";
177
185
  import "./shared/src/components/Powerpack/PricingLink.es.js";
178
186
  import "./shared/src/components/Powerpack/PowerpackDialog.styled.es.js";
187
+ import "./shared/src/components/Powerpack/CTAButton.es.js";
179
188
  import "./shared/src/components/SettingsPanel/SettingsPanel.es.js";
180
189
  import "./shared/src/components/SettingsPanel/SettingsPanelItemTemplate.es.js";
181
190
  import "./shared/src/components/AttributeEditor/components/MinMaxField.es.js";
@@ -184,6 +193,8 @@ import "./shared/src/components/SearchFilter/filterDates.es.js";
184
193
  import "./shared/src/components/Badge/Badge.es.js";
185
194
  import "./shared/src/components/VersionUploader/components/UploadVersionDialog.es.js";
186
195
  import "./shared/src/components/VersionUploader/context/VersionUploadContext.es.js";
196
+ import "./shared/src/components/Feedback/FeedbackContext.es.js";
197
+ import "./shared/src/components/Feedback/SupportBubble.es.js";
187
198
  export {
188
199
  EmptyPlaceholder,
189
200
  ThumbnailSimple,
@@ -1 +1 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const index$1 = require("../../hast-util-to-string/index.cjs.js");
4
- const index$2 = require("../../../_virtual/index.cjs6.js");
4
+ const index$2 = require("../../../_virtual/index.cjs5.js");
5
5
  require("../../refractor/lib/common.cjs.js");
6
6
  require("../../refractor/lib/all.cjs.js");
7
7
  const index = require("../node_modules/unist-util-visit/lib/index.cjs.js");
@@ -1,5 +1,5 @@
1
1
  import { toString } from "../../hast-util-to-string/index.es.js";
2
- import n from "../../../_virtual/index.es6.js";
2
+ import n from "../../../_virtual/index.es5.js";
3
3
  import "../../refractor/lib/common.es.js";
4
4
  import "../../refractor/lib/all.es.js";
5
5
  import { visit } from "../node_modules/unist-util-visit/lib/index.es.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../_virtual/index.cjs5.js");
3
+ const index = require("../../_virtual/index.cjs6.js");
4
4
  var hasRequiredRemoveAccents;
5
5
  function requireRemoveAccents() {
6
6
  if (hasRequiredRemoveAccents) return index.__module.exports;
@@ -1,4 +1,4 @@
1
- import { __module as removeAccents } from "../../_virtual/index.es5.js";
1
+ import { __module as removeAccents } from "../../_virtual/index.es6.js";
2
2
  var hasRequiredRemoveAccents;
3
3
  function requireRemoveAccents() {
4
4
  if (hasRequiredRemoveAccents) return removeAccents.exports;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
3
+ const native = {
4
+ randomUUID
5
+ };
6
+ module.exports = native;
7
+ //# sourceMappingURL=native.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"native.cjs.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":[],"mappings":";AAAA,MAAM,aAAa,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACtG,MAAe,SAAA;AAAA,EACb;AACF;;","x_google_ignoreList":[0]}
@@ -0,0 +1,8 @@
1
+ const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
2
+ const native = {
3
+ randomUUID
4
+ };
5
+ export {
6
+ native as default
7
+ };
8
+ //# sourceMappingURL=native.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"native.es.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":[],"mappings":"AAAA,MAAM,aAAa,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACtG,MAAe,SAAA;AAAA,EACb;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ const native = require("./native.cjs.js");
3
+ const rng = require("./rng.cjs.js");
4
+ const stringify = require("./stringify.cjs.js");
5
+ function v4(options, buf, offset) {
6
+ if (native.randomUUID && true && !options) {
7
+ return native.randomUUID();
8
+ }
9
+ options = options || {};
10
+ const rnds = options.random || (options.rng || rng)();
11
+ rnds[6] = rnds[6] & 15 | 64;
12
+ rnds[8] = rnds[8] & 63 | 128;
13
+ return stringify.unsafeStringify(rnds);
14
+ }
15
+ module.exports = v4;
16
+ //# sourceMappingURL=v4.cjs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.cjs.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;"],"names":["unsafeStringify"],"mappings":";;;;AAIA,SAAS,GAAG,SAAS,KAAK,QAAQ;AAChC,MAAI,OAAO,cAAc,QAAQ,CAAC,SAAS;AACzC,WAAO,OAAO,WAAY;AAAA,EAC9B;AAEE,YAAU,WAAW,CAAE;AACvB,QAAM,OAAO,QAAQ,WAAW,QAAQ,OAAO;AAE/C,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAC3B,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAY3B,SAAOA,UAAAA,gBAAgB,IAAI;AAC7B;;","x_google_ignoreList":[0]}
@@ -0,0 +1,17 @@
1
+ import native from "./native.es.js";
2
+ import rng from "./rng.es.js";
3
+ import { unsafeStringify } from "./stringify.es.js";
4
+ function v4(options, buf, offset) {
5
+ if (native.randomUUID && true && !options) {
6
+ return native.randomUUID();
7
+ }
8
+ options = options || {};
9
+ const rnds = options.random || (options.rng || rng)();
10
+ rnds[6] = rnds[6] & 15 | 64;
11
+ rnds[8] = rnds[8] & 63 | 128;
12
+ return unsafeStringify(rnds);
13
+ }
14
+ export {
15
+ v4 as default
16
+ };
17
+ //# sourceMappingURL=v4.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"v4.es.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;"],"names":[],"mappings":";;;AAIA,SAAS,GAAG,SAAS,KAAK,QAAQ;AAChC,MAAI,OAAO,cAAc,QAAQ,CAAC,SAAS;AACzC,WAAO,OAAO,WAAY;AAAA,EAC9B;AAEE,YAAU,WAAW,CAAE;AACvB,QAAM,OAAO,QAAQ,WAAW,QAAQ,OAAO;AAE/C,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAC3B,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAY3B,SAAO,gBAAgB,IAAI;AAC7B;","x_google_ignoreList":[0]}
@@ -76,7 +76,8 @@ const tagTypes = [
76
76
  "userPool",
77
77
  "config",
78
78
  "feedback",
79
- "overviewTask"
79
+ "overviewTask",
80
+ "view"
80
81
  ];
81
82
  const prepareHeaders = (headers) => {
82
83
  const storedAccessToken = localStorage.getItem("accessToken");
@@ -1 +1 @@
1
- {"version":3,"file":"client.cjs.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery","GraphQLClient","graphqlRequestBaseQuery","fetchBaseQuery","createApi"],"mappings":";;;;;;AAkBA,MAAM,qBACJ,CAUE,cACG,YAOL,CAAC,KAAKA,MAAK,iBAAiB;AAC1B,aAAW,EAAE,WAAW,WAAAC,WAAAA,KAAe,SAAS;AAC9C,QAAI,UAAU,KAAKD,MAAK,YAAY,GAAG;AAC9BC,aAAAA,WAAU,KAAKD,MAAK,YAAY;AAAA,IAAA;AAAA,EACzC;AAEK,SAAA,UAAU,KAAKA,MAAK,YAAY;AACzC;AAGW,MAAA,kBAAkB,CAAC,KAAe,MAAc,SAC3D,IAAI,IAAI,CAAC,QAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AAAA,EACV;AACF,EAAE;AAEJ,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AA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EJ;AAGO,MAAM,MAAMK,qBAAAA,UAAU;AAAA,EAC3B,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW,OAAO,CAAA;AAAA,EAClB;AACF,CAAC;;;;"}
1
+ {"version":3,"file":"client.cjs.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n 'view',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery","GraphQLClient","graphqlRequestBaseQuery","fetchBaseQuery","createApi"],"mappings":";;;;;;AAkBA,MAAM,qBACJ,CAUE,cACG,YAOL,CAAC,KAAKA,MAAK,iBAAiB;AAC1B,aAAW,EAAE,WAAW,WAAAC,WAAAA,KAAe,SAAS;AAC9C,QAAI,UAAU,KAAKD,MAAK,YAAY,GAAG;AAC9BC,aAAAA,WAAU,KAAKD,MAAK,YAAY;AAAA,IAAA;AAAA,EACzC;AAEK,SAAA,UAAU,KAAKA,MAAK,YAAY;AACzC;AAGW,MAAA,kBAAkB,CAAC,KAAe,MAAc,SAC3D,IAAI,IAAI,CAAC,QAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AAAA,EACV;AACF,EAAE;AAEJ,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA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AAY,WAAM,aAAN,mBAAgB,YAAW,KAAK;AAC/B,4BAAA;AAAA,IAAA,OACjB;AACL,cAAQ,MAAM,KAAK;AAAA,IAAA;AAEf,UAAA;AAAA,EAAA,UACN;AAAA,EAAA;AAEJ;AAGO,MAAM,MAAMK,qBAAAA,UAAU;AAAA,EAC3B,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW,OAAO,CAAA;AAAA,EAClB;AACF,CAAC;;;;"}
@@ -74,7 +74,8 @@ const tagTypes = [
74
74
  "userPool",
75
75
  "config",
76
76
  "feedback",
77
- "overviewTask"
77
+ "overviewTask",
78
+ "view"
78
79
  ];
79
80
  const prepareHeaders = (headers) => {
80
81
  const storedAccessToken = localStorage.getItem("accessToken");
@@ -1 +1 @@
1
- {"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery"],"mappings":";;;;AAkBA,MAAM,qBACJ,CAUE,cACG,YAOL,CAAC,KAAKA,MAAK,iBAAiB;AAC1B,aAAW,EAAE,WAAW,WAAAC,WAAAA,KAAe,SAAS;AAC9C,QAAI,UAAU,KAAKD,MAAK,YAAY,GAAG;AAC9BC,aAAAA,WAAU,KAAKD,MAAK,YAAY;AAAA,IAAA;AAAA,EACzC;AAEK,SAAA,UAAU,KAAKA,MAAK,YAAY;AACzC;AAGW,MAAA,kBAAkB,CAAC,KAAe,MAAc,SAC3D,IAAI,IAAI,CAAC,QAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AAAA,EACV;AACF,EAAE;AAEJ,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA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yBAAyB;AACvC,aAAO,SAAS,OAAO;AAAA,IAAA;AAAA,EAE3B;AAEI,MAAA;AACF,UAAM,SAAS,MAAM,mBAAmB,MAAMA,MAAK,YAAY;AAG3D,UAAA,sCAAQ,UAAR,mBAAe,YAAW,KAAK;AACX,4BAAA;AAAA,IAAA;AAGjB,WAAA;AAAA,WACA,OAAY;AACnB,SAAI,+BAAO,eAAY,WAAM,aAAN,mBAAgB,YAAW,KAAK;AAC/B,4BAAA;AAAA,IAAA,OACjB;AACL,cAAQ,MAAM,KAAK;AAAA,IAAA;AAEf,UAAA;AAAA,EAAA,UACN;AAAA,EAAA;AAEJ;AAGO,MAAM,MAAM,UAAU;AAAA,EAC3B,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW,OAAO,CAAA;AAAA,EAClB;AACF,CAAC;"}
1
+ {"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n 'view',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery"],"mappings":";;;;AAkBA,MAAM,qBACJ,CAUE,cACG,YAOL,CAAC,KAAKA,MAAK,iBAAiB;AAC1B,aAAW,EAAE,WAAW,WAAAC,WAAAA,KAAe,SAAS;AAC9C,QAAI,UAAU,KAAKD,MAAK,YAAY,GAAG;AAC9BC,aAAAA,WAAU,KAAKD,MAAK,YAAY;AAAA,IAAA;AAAA,EACzC;AAEK,SAAA,UAAU,KAAKA,MAAK,YAAY;AACzC;AAGW,MAAA,kBAAkB,CAAC,KAAe,MAAc,SAC3D,IAAI,IAAI,CAAC,QAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,UAAU;AAAA,EACV;AACF,EAAE;AAEJ,MAAM,WAAW;AAAA,EACf;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;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S,KAAK,CAAC,IAAI,WAAW,QAAQ,GAAG;AACzD,cAAQ,MAAM,yBAAyB;AACvC,aAAO,SAAS,OAAO;AAAA,IAAA;AAAA,EAE3B;AAEI,MAAA;AACF,UAAM,SAAS,MAAM,mBAAmB,MAAMA,MAAK,YAAY;AAG3D,UAAA,sCAAQ,UAAR,mBAAe,YAAW,KAAK;AACX,4BAAA;AAAA,IAAA;AAGjB,WAAA;AAAA,WACA,OAAY;AACnB,SAAI,+BAAO,eAAY,WAAM,aAAN,mBAAgB,YAAW,KAAK;AAC/B,4BAAA;AAAA,IAAA,OACjB;AACL,cAAQ,MAAM,KAAK;AAAA,IAAA;AAEf,UAAA;AAAA,EAAA,UACN;AAAA,EAAA;AAEJ;AAGO,MAAM,MAAM,UAAU;AAAA,EAC3B,aAAa;AAAA,EACb,WAAW;AAAA,EACX,WAAW,OAAO,CAAA;AAAA,EAClB;AACF,CAAC;"}
@@ -9,7 +9,8 @@ const injectedRtkApi = client.api.injectEndpoints({
9
9
  method: "POST",
10
10
  body: queryArg.actionContext,
11
11
  params: {
12
- mode: queryArg.mode
12
+ mode: queryArg.mode,
13
+ variant: queryArg.variant
13
14
  }
14
15
  })
15
16
  }),
@@ -34,6 +35,10 @@ const injectedRtkApi = client.api.injectEndpoints({
34
35
  url: `/api/actions/execute`,
35
36
  method: "POST",
36
37
  body: queryArg.actionContext,
38
+ headers: {
39
+ "x-sender": queryArg["x-sender"],
40
+ "x-sender-type": queryArg["x-sender-type"]
41
+ },
37
42
  params: {
38
43
  addonName: queryArg.addonName,
39
44
  addonVersion: queryArg.addonVersion,
@@ -1 +1 @@
1
- {"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?:\n | 'folder'\n | 'product'\n | 'version'\n | 'representation'\n | 'task'\n | 'workfile'\n | 'list'\n | 'project'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n variant: queryArg.variant,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n variant?: string\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** If true, the action is only available to admin users */\n adminOnly?: boolean\n /** If true, the action is only available to manager users */\n managerOnly?: boolean\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,UACf,SAAS,SAAS;AAAA,QAAA;AAAA,MAEtB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAC3C;AAAA,QACA,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -7,7 +7,8 @@ const injectedRtkApi = api.injectEndpoints({
7
7
  method: "POST",
8
8
  body: queryArg.actionContext,
9
9
  params: {
10
- mode: queryArg.mode
10
+ mode: queryArg.mode,
11
+ variant: queryArg.variant
11
12
  }
12
13
  })
13
14
  }),
@@ -32,6 +33,10 @@ const injectedRtkApi = api.injectEndpoints({
32
33
  url: `/api/actions/execute`,
33
34
  method: "POST",
34
35
  body: queryArg.actionContext,
36
+ headers: {
37
+ "x-sender": queryArg["x-sender"],
38
+ "x-sender-type": queryArg["x-sender-type"]
39
+ },
35
40
  params: {
36
41
  addonName: queryArg.addonName,
37
42
  addonVersion: queryArg.addonVersion,
@@ -1 +1 @@
1
- {"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?:\n | 'folder'\n | 'product'\n | 'version'\n | 'representation'\n | 'task'\n | 'workfile'\n | 'list'\n | 'project'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n variant: queryArg.variant,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n variant?: string\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** If true, the action is only available to admin users */\n adminOnly?: boolean\n /** If true, the action is only available to manager users */\n managerOnly?: boolean\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QAC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}
@@ -1 +1 @@
1
- {"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cA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,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,S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S,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: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AA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU,cAAc,SAAS,QAAQ;AAAA,QAC3G,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,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C,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -255,7 +255,8 @@ const injectedRtkApi = client.api.injectEndpoints({
255
255
  project_bundle_name: queryArg.projectBundleName,
256
256
  variant: queryArg.variant,
257
257
  summary: queryArg.summary,
258
- site_id: queryArg.siteId
258
+ site_id: queryArg.siteId,
259
+ limit: queryArg.limit
259
260
  }
260
261
  })
261
262
  })