@ynput/ayon-frontend-shared 0.2.32 → 0.2.34

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 (636) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +32 -22
  3. package/dist/DetailsPanel.es.js.map +1 -1
  4. package/dist/Feed.cjs.js +1 -1
  5. package/dist/Feed.es.js +19 -13
  6. package/dist/Feed.es.js.map +1 -1
  7. package/dist/Views.cjs.js.map +1 -1
  8. package/dist/Views.es.js.map +1 -1
  9. package/dist/_virtual/index.cjs5.js +1 -1
  10. package/dist/_virtual/index.cjs6.js +1 -1
  11. package/dist/_virtual/index.es5.js +2 -5
  12. package/dist/_virtual/index.es5.js.map +1 -1
  13. package/dist/_virtual/index.es6.js +5 -2
  14. package/dist/_virtual/index.es6.js.map +1 -1
  15. package/dist/api.cjs.js +1 -1
  16. package/dist/api.es.js +230 -223
  17. package/dist/api.es.js.map +1 -1
  18. package/dist/components.cjs.js +1 -1
  19. package/dist/components.es.js +84 -69
  20. package/dist/components.es.js.map +1 -1
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.es.js +19 -9
  23. package/dist/index.es.js.map +1 -1
  24. package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
  25. package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
  26. package/dist/node_modules/remove-accents/index.cjs.js +1 -1
  27. package/dist/node_modules/remove-accents/index.es.js +1 -1
  28. package/dist/shared/src/api/base/client.cjs.js +1 -1
  29. package/dist/shared/src/api/base/client.cjs.js.map +1 -1
  30. package/dist/shared/src/api/base/client.es.js +9 -8
  31. package/dist/shared/src/api/base/client.es.js.map +1 -1
  32. package/dist/shared/src/api/generated/activityFeed.cjs.js +1 -1
  33. package/dist/shared/src/api/generated/activityFeed.cjs.js.map +1 -1
  34. package/dist/shared/src/api/generated/activityFeed.es.js +3 -0
  35. package/dist/shared/src/api/generated/activityFeed.es.js.map +1 -1
  36. package/dist/shared/src/api/generated/entityLists.cjs.js +1 -1
  37. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  38. package/dist/shared/src/api/generated/entityLists.es.js +4 -1
  39. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  40. package/dist/shared/src/api/generated/graphql.cjs.js +10 -7
  41. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  42. package/dist/shared/src/api/generated/graphql.es.js +15 -12
  43. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  44. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  45. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  46. package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
  47. package/dist/shared/src/api/generated/views.es.js.map +1 -1
  48. package/dist/shared/src/api/queries/activities/getActivities.cjs.js +1 -1
  49. package/dist/shared/src/api/queries/activities/getActivities.cjs.js.map +1 -1
  50. package/dist/shared/src/api/queries/activities/getActivities.es.js +4 -8
  51. package/dist/shared/src/api/queries/activities/getActivities.es.js.map +1 -1
  52. package/dist/shared/src/api/queries/activities/getCategories.cjs.js +2 -0
  53. package/dist/shared/src/api/queries/activities/getCategories.cjs.js.map +1 -0
  54. package/dist/shared/src/api/queries/activities/getCategories.es.js +53 -0
  55. package/dist/shared/src/api/queries/activities/getCategories.es.js.map +1 -0
  56. package/dist/shared/src/api/queries/activities/updateActivities.cjs.js +1 -1
  57. package/dist/shared/src/api/queries/activities/updateActivities.cjs.js.map +1 -1
  58. package/dist/shared/src/api/queries/activities/updateActivities.es.js +53 -51
  59. package/dist/shared/src/api/queries/activities/updateActivities.es.js.map +1 -1
  60. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +1 -1
  61. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
  62. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +5 -3
  63. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
  64. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +1 -1
  65. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
  66. package/dist/shared/src/api/queries/entities/updateEntity.es.js +32 -30
  67. package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
  68. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -1
  69. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
  70. package/dist/shared/src/api/queries/entityLists/getLists.es.js +68 -68
  71. package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
  72. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -1
  73. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
  74. package/dist/shared/src/api/queries/entityLists/updateLists.es.js +47 -49
  75. package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
  76. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +1 -1
  77. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
  78. package/dist/shared/src/api/queries/overview/updateOverview.es.js +62 -60
  79. package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
  80. package/dist/shared/src/api/queries/share/share.cjs.js +1 -1
  81. package/dist/shared/src/api/queries/share/share.cjs.js.map +1 -1
  82. package/dist/shared/src/api/queries/share/share.es.js +38 -12
  83. package/dist/shared/src/api/queries/share/share.es.js.map +1 -1
  84. package/dist/shared/src/api/queries/users/getUsers.cjs.js +2 -2
  85. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  86. package/dist/shared/src/api/queries/users/getUsers.es.js +39 -33
  87. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  88. package/dist/shared/src/api/queries/users/guests.cjs.js +2 -0
  89. package/dist/shared/src/api/queries/users/guests.cjs.js.map +1 -0
  90. package/dist/shared/src/api/queries/users/guests.es.js +60 -0
  91. package/dist/shared/src/api/queries/users/guests.es.js.map +1 -0
  92. package/dist/shared/src/api/queries/views/updateViews.cjs.js +1 -1
  93. package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -1
  94. package/dist/shared/src/api/queries/views/updateViews.es.js +14 -15
  95. package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -1
  96. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.cjs.js +2 -0
  97. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.cjs.js.map +1 -0
  98. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.es.js +135 -0
  99. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.es.js.map +1 -0
  100. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.cjs.js +39 -0
  101. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.cjs.js.map +1 -0
  102. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.es.js +44 -0
  103. package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.es.js.map +1 -0
  104. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js +2 -0
  105. package/dist/shared/src/components/AccessUser/AccessUser.cjs.js.map +1 -0
  106. package/dist/shared/src/components/AccessUser/AccessUser.es.js +43 -0
  107. package/dist/shared/src/components/AccessUser/AccessUser.es.js.map +1 -0
  108. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js +46 -0
  109. package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js.map +1 -0
  110. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js +50 -0
  111. package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js.map +1 -0
  112. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +1 -1
  113. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
  114. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +4 -2
  115. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
  116. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +1 -1
  117. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
  118. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +4 -2
  119. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
  120. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
  121. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
  122. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +4 -2
  123. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
  124. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +47 -43
  125. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -1
  126. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +47 -43
  127. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -1
  128. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +2 -2
  129. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -1
  130. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js +4 -2
  131. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -1
  132. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +1 -1
  133. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -1
  134. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +4 -2
  135. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -1
  136. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
  137. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
  138. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +4 -2
  139. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
  140. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  141. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  142. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +12 -2
  143. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  144. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
  145. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
  146. package/dist/shared/src/components/Feedback/FeedbackContext.es.js +6 -4
  147. package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
  148. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  149. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  150. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +12 -2
  151. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
  152. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
  153. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
  154. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +4 -2
  155. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
  156. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  157. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  158. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +12 -2
  159. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
  160. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +1 -1
  161. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -1
  162. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +40 -38
  163. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -1
  164. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  165. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  166. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +12 -2
  167. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  168. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js +9 -0
  169. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.cjs.js.map +1 -0
  170. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js +25 -0
  171. package/dist/shared/src/components/Powerpack/RequiredPowerpackVersion.es.js.map +1 -0
  172. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
  173. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  174. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +14 -4
  175. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  176. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js +1 -1
  177. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js.map +1 -1
  178. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js +12 -2
  179. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js.map +1 -1
  180. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  181. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  182. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +25 -21
  183. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  184. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
  185. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
  186. package/dist/shared/src/components/RenameForm/RenameForm.es.js +12 -2
  187. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
  188. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +1 -1
  189. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
  190. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +4 -2
  191. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
  192. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  193. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  194. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +12 -2
  195. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  196. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  197. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  198. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +13 -3
  199. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  200. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  201. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  202. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +12 -2
  203. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  204. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +1 -1
  205. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
  206. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +4 -2
  207. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
  208. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
  209. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  210. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +4 -2
  211. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  212. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js +12 -0
  213. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js.map +1 -0
  214. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js +46 -0
  215. package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js.map +1 -0
  216. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  217. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  218. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +12 -2
  219. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  220. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
  221. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  222. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +12 -2
  223. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  224. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +1 -1
  225. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
  226. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +6 -4
  227. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
  228. package/dist/shared/src/components/Watchers/Watchers.cjs.js +1 -1
  229. package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
  230. package/dist/shared/src/components/Watchers/Watchers.es.js +4 -2
  231. package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
  232. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  233. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  234. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +12 -2
  235. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  236. package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
  237. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  238. package/dist/shared/src/containers/Actions/Actions.es.js +4 -2
  239. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  240. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  241. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  242. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +12 -2
  243. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  244. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  245. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  246. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +136 -117
  247. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  248. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  249. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  250. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +12 -2
  251. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  252. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  253. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  254. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +28 -18
  255. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  256. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  257. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  258. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +13 -3
  259. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  260. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
  261. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  262. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +4 -2
  263. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  264. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
  265. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
  266. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +5 -2
  267. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
  268. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
  269. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
  270. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +21 -17
  271. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
  272. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
  273. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
  274. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +4 -2
  275. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
  276. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  277. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  278. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +12 -2
  279. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
  280. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  281. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  282. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +12 -2
  283. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
  284. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  285. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  286. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +12 -2
  287. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
  288. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  289. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  290. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +12 -2
  291. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
  292. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
  293. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
  294. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +4 -2
  295. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
  296. package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
  297. package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
  298. package/dist/shared/src/containers/Feed/Feed.es.js +92 -95
  299. package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
  300. package/dist/shared/src/containers/Feed/Feed.styled.cjs.js +4 -4
  301. package/dist/shared/src/containers/Feed/Feed.styled.cjs.js.map +1 -1
  302. package/dist/shared/src/containers/Feed/Feed.styled.es.js +8 -7
  303. package/dist/shared/src/containers/Feed/Feed.styled.es.js.map +1 -1
  304. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.cjs.js +13 -0
  305. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.cjs.js.map +1 -0
  306. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.es.js +89 -0
  307. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.es.js.map +1 -0
  308. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.cjs.js +21 -0
  309. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.cjs.js.map +1 -0
  310. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js +62 -0
  311. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js.map +1 -0
  312. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.cjs.js +51 -0
  313. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.cjs.js.map +1 -0
  314. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.es.js +76 -0
  315. package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.es.js.map +1 -0
  316. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
  317. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  318. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +164 -130
  319. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  320. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js +34 -14
  321. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js.map +1 -1
  322. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js +45 -24
  323. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js.map +1 -1
  324. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.cjs.js +3 -3
  325. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.cjs.js.map +1 -1
  326. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.es.js +58 -48
  327. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.es.js.map +1 -1
  328. package/dist/shared/src/containers/Feed/components/ActivityHeader/ActivityHeader.cjs.js +1 -1
  329. package/dist/shared/src/containers/Feed/components/ActivityHeader/ActivityHeader.cjs.js.map +1 -1
  330. package/dist/shared/src/containers/Feed/components/ActivityHeader/ActivityHeader.es.js +28 -28
  331. package/dist/shared/src/containers/Feed/components/ActivityHeader/ActivityHeader.es.js.map +1 -1
  332. package/dist/shared/src/containers/Feed/components/ActivityItem.cjs.js.map +1 -1
  333. package/dist/shared/src/containers/Feed/components/ActivityItem.es.js.map +1 -1
  334. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.cjs.js +1 -1
  335. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.cjs.js.map +1 -1
  336. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.es.js +24 -20
  337. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.es.js.map +1 -1
  338. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.cjs.js +12 -12
  339. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.cjs.js.map +1 -1
  340. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.es.js +13 -13
  341. package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.es.js.map +1 -1
  342. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
  343. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
  344. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +339 -257
  345. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
  346. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js +69 -41
  347. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js.map +1 -1
  348. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js +77 -48
  349. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js.map +1 -1
  350. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.cjs.js +2 -0
  351. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.cjs.js.map +1 -0
  352. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.es.js +19 -0
  353. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.es.js.map +1 -0
  354. package/dist/shared/src/containers/Feed/components/CommentMentionSelect/CommentMentionSelect.cjs.js +1 -1
  355. package/dist/shared/src/containers/Feed/components/CommentMentionSelect/CommentMentionSelect.cjs.js.map +1 -1
  356. package/dist/shared/src/containers/Feed/components/CommentMentionSelect/CommentMentionSelect.es.js +34 -31
  357. package/dist/shared/src/containers/Feed/components/CommentMentionSelect/CommentMentionSelect.es.js.map +1 -1
  358. package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.cjs.js +1 -1
  359. package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.cjs.js.map +1 -1
  360. package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.es.js +15 -6
  361. package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.es.js.map +1 -1
  362. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.cjs.js +1 -1
  363. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.cjs.js.map +1 -1
  364. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.es.js +24 -14
  365. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.es.js.map +1 -1
  366. package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.cjs.js +1 -1
  367. package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.cjs.js.map +1 -1
  368. package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.es.js +60 -38
  369. package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.es.js.map +1 -1
  370. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.cjs.js +1 -1
  371. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.cjs.js.map +1 -1
  372. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.es.js +26 -8
  373. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.es.js.map +1 -1
  374. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.cjs.js +65 -20
  375. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.cjs.js.map +1 -1
  376. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.es.js +71 -26
  377. package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.es.js.map +1 -1
  378. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
  379. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  380. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +5 -2
  381. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  382. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
  383. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  384. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +39 -33
  385. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  386. package/dist/shared/src/containers/Feed/hooks/useCommentMutations.cjs.js +1 -1
  387. package/dist/shared/src/containers/Feed/hooks/useCommentMutations.cjs.js.map +1 -1
  388. package/dist/shared/src/containers/Feed/hooks/useCommentMutations.es.js +57 -53
  389. package/dist/shared/src/containers/Feed/hooks/useCommentMutations.es.js.map +1 -1
  390. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +1 -1
  391. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
  392. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +4 -2
  393. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
  394. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  395. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  396. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +12 -2
  397. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  398. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  399. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  400. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +51 -41
  401. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  402. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
  403. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
  404. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +12 -2
  405. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
  406. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  407. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  408. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +12 -2
  409. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  410. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  411. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  412. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +12 -2
  413. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
  414. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
  415. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
  416. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +12 -10
  417. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
  418. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  419. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  420. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +50 -40
  421. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  422. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
  423. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  424. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +4 -2
  425. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  426. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  427. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
  428. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +7 -5
  429. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
  430. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  431. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  432. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +24 -21
  433. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  434. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  435. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  436. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +12 -2
  437. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  438. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  439. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  440. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +12 -2
  441. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  442. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
  443. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
  444. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +12 -2
  445. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
  446. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
  447. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
  448. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +4 -2
  449. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
  450. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  451. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  452. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +12 -2
  453. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  454. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +1 -1
  455. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
  456. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +4 -2
  457. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
  458. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  459. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  460. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +12 -2
  461. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  462. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  463. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  464. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +12 -2
  465. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
  466. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  467. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  468. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +12 -2
  469. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
  470. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +1 -1
  471. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
  472. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +4 -2
  473. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
  474. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  475. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  476. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +12 -2
  477. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  478. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  479. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  480. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +23 -13
  481. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  482. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js +1 -1
  483. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js.map +1 -1
  484. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js +7 -7
  485. package/dist/shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js.map +1 -1
  486. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +1 -1
  487. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  488. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +5 -3
  489. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  490. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  491. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  492. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +14 -4
  493. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  494. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
  495. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
  496. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +12 -2
  497. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
  498. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  499. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  500. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +12 -2
  501. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  502. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  503. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  504. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +43 -33
  505. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  506. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
  507. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
  508. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +4 -2
  509. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
  510. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
  511. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
  512. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +6 -4
  513. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
  514. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
  515. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
  516. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +4 -2
  517. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
  518. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
  519. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
  520. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +4 -2
  521. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
  522. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
  523. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
  524. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +4 -2
  525. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
  526. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +1 -1
  527. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -1
  528. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +4 -2
  529. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -1
  530. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
  531. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
  532. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +4 -2
  533. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
  534. package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
  535. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  536. package/dist/shared/src/context/AddonProjectContext.es.js +6 -4
  537. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  538. package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
  539. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  540. package/dist/shared/src/context/DetailsPanelContext.es.js +73 -66
  541. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  542. package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
  543. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  544. package/dist/shared/src/context/PowerpackContext.es.js +42 -26
  545. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  546. package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
  547. package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
  548. package/dist/shared/src/context/RemoteModulesContext.es.js +6 -4
  549. package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
  550. package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
  551. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  552. package/dist/shared/src/hooks/useActionTriggers.es.js +4 -2
  553. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  554. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
  555. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  556. package/dist/shared/src/hooks/useEntityUpdate.es.js +4 -2
  557. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  558. package/dist/shared/src/hooks/useHierarchyTable.cjs.js +1 -1
  559. package/dist/shared/src/hooks/useHierarchyTable.cjs.js.map +1 -1
  560. package/dist/shared/src/hooks/useHierarchyTable.es.js +4 -2
  561. package/dist/shared/src/hooks/useHierarchyTable.es.js.map +1 -1
  562. package/dist/shared/src/hooks/useLoadModule.cjs.js.map +1 -1
  563. package/dist/shared/src/hooks/useLoadModule.es.js.map +1 -1
  564. package/dist/shared/src/hooks/useScopedStatuses.cjs.js +1 -1
  565. package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
  566. package/dist/shared/src/hooks/useScopedStatuses.es.js +6 -4
  567. package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
  568. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
  569. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
  570. package/dist/shared/src/hooks/useUserProjectConfig.es.js +4 -2
  571. package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
  572. package/dist/shared/src/util/colorUtils.cjs.js +2 -0
  573. package/dist/shared/src/util/colorUtils.cjs.js.map +1 -0
  574. package/dist/shared/src/util/colorUtils.es.js +40 -0
  575. package/dist/shared/src/util/colorUtils.es.js.map +1 -0
  576. package/dist/types/api/generated/activityFeed.d.ts +9 -0
  577. package/dist/types/api/generated/entityLists.d.ts +2 -0
  578. package/dist/types/api/generated/graphql.d.ts +11 -3
  579. package/dist/types/api/generated/projects.d.ts +4 -4
  580. package/dist/types/api/generated/views.d.ts +9 -3
  581. package/dist/types/api/index.d.ts +1 -0
  582. package/dist/types/api/queries/activities/getCategories.d.ts +142 -0
  583. package/dist/types/api/queries/activities/getMentions.d.ts +1 -0
  584. package/dist/types/api/queries/activities/index.d.ts +1 -0
  585. package/dist/types/api/queries/activities/updateReaction.d.ts +1 -0
  586. package/dist/types/api/queries/users/getUsers.d.ts +132 -0
  587. package/dist/types/api/queries/users/guests.d.ts +453 -0
  588. package/dist/types/api/queries/users/index.d.ts +1 -0
  589. package/dist/types/api/queries/watchers/getWatchers.d.ts +1 -0
  590. package/dist/types/components/AccessSearchInput/AccessSearchInput.d.ts +16 -0
  591. package/dist/types/components/AccessSearchInput/AccessSearchInput.styled.d.ts +2 -0
  592. package/dist/types/components/AccessSearchInput/index.d.ts +2 -0
  593. package/dist/types/components/AccessUser/AccessUser.d.ts +24 -0
  594. package/dist/types/components/AccessUser/AccessUser.styled.d.ts +1 -0
  595. package/dist/types/components/AccessUser/index.d.ts +1 -0
  596. package/dist/types/components/Powerpack/RequiredPowerpackVersion.d.ts +5 -0
  597. package/dist/types/components/Powerpack/index.d.ts +1 -0
  598. package/dist/types/components/ShareOptionIcon/ShareOptionIcon.d.ts +16 -0
  599. package/dist/types/components/ShareOptionIcon/index.d.ts +1 -0
  600. package/dist/types/components/index.d.ts +4 -0
  601. package/dist/types/containers/DetailsPanel/DetailsPanel.d.ts +3 -1
  602. package/dist/types/containers/DetailsPanel/FeedContextWrapper.d.ts +1 -1
  603. package/dist/types/containers/DetailsPanel/FeedWrapper.d.ts +2 -1
  604. package/dist/types/containers/Feed/Feed.d.ts +3 -2
  605. package/dist/types/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.d.ts +14 -0
  606. package/dist/types/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.d.ts +10 -0
  607. package/dist/types/containers/Feed/components/ActivityCategorySelect/CategoryTag.d.ts +10 -0
  608. package/dist/types/containers/Feed/components/ActivityCategorySelect/index.d.ts +3 -0
  609. package/dist/types/containers/Feed/components/ActivityComment/ActivityComment.d.ts +1 -1
  610. package/dist/types/containers/Feed/components/ActivityComment/ActivityComment.styled.d.ts +2 -1
  611. package/dist/types/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.d.ts +3 -1
  612. package/dist/types/containers/Feed/components/ActivityItem.d.ts +1 -1
  613. package/dist/types/containers/Feed/components/ActivityReference/ActivityReference.d.ts +2 -0
  614. package/dist/types/containers/Feed/components/ActivityReference/ActivityReference.styled.d.ts +2 -0
  615. package/dist/types/containers/Feed/components/CommentInput/CommentInput.d.ts +1 -0
  616. package/dist/types/containers/Feed/components/CommentInput/CommentInput.styled.d.ts +7 -1
  617. package/dist/types/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.d.ts +11 -0
  618. package/dist/types/containers/Feed/components/CommentMentionSelect/CommentMentionSelect.d.ts +2 -1
  619. package/dist/types/containers/Feed/components/ReactionContainer/ExistingReactions.d.ts +4 -1
  620. package/dist/types/containers/Feed/components/ReactionContainer/Reaction.d.ts +4 -1
  621. package/dist/types/containers/Feed/components/ReactionContainer/ReactionPanelOpener.d.ts +4 -1
  622. package/dist/types/containers/Feed/components/ReactionContainer/Reactions.d.ts +5 -1
  623. package/dist/types/containers/Feed/components/ReactionContainer/Reactions.styled.d.ts +8 -3
  624. package/dist/types/containers/Feed/context/FeedContext.d.ts +3 -1
  625. package/dist/types/containers/Feed/hooks/useCommentMutations.d.ts +3 -2
  626. package/dist/types/containers/Feed/index.d.ts +1 -0
  627. package/dist/types/containers/ProjectTreeTable/widgets/BooleanWidget.d.ts +1 -0
  628. package/dist/types/containers/Views/index.d.ts +5 -2
  629. package/dist/types/context/DetailsPanelContext.d.ts +9 -0
  630. package/dist/types/context/PowerpackContext.d.ts +1 -1
  631. package/dist/types/util/colorUtils.d.ts +42 -0
  632. package/dist/types/util/index.d.ts +1 -0
  633. package/dist/util.cjs.js +1 -1
  634. package/dist/util.es.js +30 -24
  635. package/dist/util.es.js.map +1 -1
  636. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import { createApi as d } from "../../../../node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.es.js";
2
- import { graphqlRequestBaseQuery as l } from "@rtk-query/graphql-request-base-query";
3
- import { GraphQLClient as u } from "../../../../node_modules/graphql-request/build/legacy/classes/GraphQLClient.es.js";
2
+ import { graphqlRequestBaseQuery as u } from "@rtk-query/graphql-request-base-query";
3
+ import { GraphQLClient as l } from "../../../../node_modules/graphql-request/build/legacy/classes/GraphQLClient.es.js";
4
4
  import { fetchBaseQuery as p } from "../../../../node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js";
5
5
  const y = (e, ...s) => (n, o, i) => {
6
6
  for (const { predicate: r, baseQuery: a } of s)
@@ -74,17 +74,18 @@ const y = (e, ...s) => (n, o, i) => {
74
74
  "viewer",
75
75
  "watchers",
76
76
  "workfile",
77
- "link"
77
+ "link",
78
+ "guest"
78
79
  ], c = (e) => {
79
80
  const s = localStorage.getItem("accessToken");
80
81
  return s && e.set("Authorization", `Bearer ${s}`), e.set("X-Sender", window.senderId), e;
81
- }, m = new u(`${window.location.origin}/graphql`), f = l({
82
+ }, g = new l(`${window.location.origin}/graphql`), m = u({
82
83
  prepareHeaders: c,
83
84
  url: "/graphql",
84
85
  // @ts-ignore
85
- client: m
86
- }), g = p({ baseUrl: "/", prepareHeaders: c }), b = y(g, {
87
- baseQuery: f,
86
+ client: g
87
+ }), f = p({ baseUrl: "/", prepareHeaders: c }), b = y(f, {
88
+ baseQuery: m,
88
89
  predicate: (e) => !!e.document && !!e.variables
89
90
  }), w = async (e, s, n) => {
90
91
  var r, a;
@@ -107,6 +108,6 @@ const y = (e, ...s) => (n, o, i) => {
107
108
  export {
108
109
  A as api,
109
110
  S as buildOperations,
110
- m as client
111
+ g as client
111
112
  };
112
113
  //# sourceMappingURL=client.es.js.map
@@ -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 'actions',\n 'activity',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'branch',\n 'bundleList',\n 'config',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'detail',\n 'entities',\n 'entitiesVersions',\n 'entity',\n 'entityActivities',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entityListFolder',\n 'feedback',\n 'folder',\n 'hierarchy',\n 'inbox',\n 'info',\n 'installerList',\n 'kanban',\n 'kanBanTask',\n 'login',\n 'marketAddon',\n 'overviewTask',\n 'product',\n 'progress',\n 'project',\n 'projectAddons',\n 'projects',\n 'review',\n 'secrets',\n 'service',\n 'session',\n 'settingsAddons',\n 'shared',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'userPool',\n 'version',\n 'view',\n 'viewer',\n 'watchers',\n 'workfile',\n 'link',\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":["combineBaseQueries","defaultBQ","caseBQs","arg","api","extraOptions","predicate","baseQuery","buildOperations","ids","type","data","id","tagTypes","prepareHeaders","headers","storedAccessToken","client","GraphQLClient","baseGraphqlQuery","graphqlRequestBaseQuery","fetchBaseQuery","polymorphBaseQuery","args","baseQueryWithRedirect","url","shouldRedirectToLogin","result","_a","error","_b","createApi"],"mappings":";;;;AAkBA,MAAMA,IACJ,CAUEC,MACGC,MAOL,CAACC,GAAKC,GAAKC,MAAiB;AAC1B,aAAW,EAAE,WAAAC,GAAW,WAAAC,EAAAA,KAAeL;AACrC,QAAII,EAAUH,GAAKC,GAAKC,CAAY;AAC3BE,aAAAA,EAAUJ,GAAKC,GAAKC,CAAY;AAGpC,SAAAJ,EAAUE,GAAKC,GAAKC,CAAY;AACzC,GAGWG,IAAkB,CAACC,GAAeC,GAAcC,MAC3DF,EAAI,IAAI,CAACG,OAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAYF;AAAA,EACZ,UAAUE;AAAA,EACV,MAAAD;AACF,EAAE,GAEEE,IAAW;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;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF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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 'actions',\n 'activity',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'branch',\n 'bundleList',\n 'config',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'detail',\n 'entities',\n 'entitiesVersions',\n 'entity',\n 'entityActivities',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entityListFolder',\n 'feedback',\n 'folder',\n 'hierarchy',\n 'inbox',\n 'info',\n 'installerList',\n 'kanban',\n 'kanBanTask',\n 'login',\n 'marketAddon',\n 'overviewTask',\n 'product',\n 'progress',\n 'project',\n 'projectAddons',\n 'projects',\n 'review',\n 'secrets',\n 'service',\n 'session',\n 'settingsAddons',\n 'shared',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'userPool',\n 'version',\n 'view',\n 'viewer',\n 'watchers',\n 'workfile',\n 'link',\n 'guest',\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":["combineBaseQueries","defaultBQ","caseBQs","arg","api","extraOptions","predicate","baseQuery","buildOperations","ids","type","data","id","tagTypes","prepareHeaders","headers","storedAccessToken","client","GraphQLClient","baseGraphqlQuery","graphqlRequestBaseQuery","fetchBaseQuery","polymorphBaseQuery","args","baseQueryWithRedirect","url","shouldRedirectToLogin","result","_a","error","_b","createApi"],"mappings":";;;;AAkBA,MAAMA,IACJ,CAUEC,MACGC,MAOL,CAACC,GAAKC,GAAKC,MAAiB;AAC1B,aAAW,EAAE,WAAAC,GAAW,WAAAC,EAAAA,KAAeL;AACrC,QAAII,EAAUH,GAAKC,GAAKC,CAAY;AAC3BE,aAAAA,EAAUJ,GAAKC,GAAKC,CAAY;AAGpC,SAAAJ,EAAUE,GAAKC,GAAKC,CAAY;AACzC,GAGWG,IAAkB,CAACC,GAAeC,GAAcC,MAC3DF,EAAI,IAAI,CAACG,OAAQ;AAAA,EACf,MAAM;AAAA,EACN,YAAYF;AAAA,EACZ,UAAUE;AAAA,EACV,MAAAD;AACF,EAAE,GAEEE,IAAW;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;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UAAIA,KAAA,QAAAA,EAAO,cAAYC,IAAAD,EAAM,aAAN,gBAAAC,EAAgB,YAAW,MAC1BJ,EAAA,IAEtB,QAAQ,MAAMG,CAAK,GAEfA;AAAA,EAAA,UACN;AAAA,EAAA;AAEJ,GAGazB,IAAM2B,EAAU;AAAA,EAC3B,aAAa;AAAA,EACb,WAAWP;AAAA,EACX,WAAW,OAAO,CAAA;AAAA,EAClB,UAAAX;AACF,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base/client.cjs.js"),s=i.api.injectEndpoints({endpoints:t=>({postProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/activities`,method:"POST",body:e.projectActivityPostModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),patchProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"PATCH",body:e.activityPatchModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),createReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,method:"POST",body:e.createReactionModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions/${e.reaction}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),suggestEntityMention:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/suggest`,method:"POST",body:e.suggestRequest})}),getEntityWatchers:t.query({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`})}),setEntityWatchers:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`,method:"POST",body:e.watchersModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})})}),overrideExisting:!1});exports.api=s;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base/client.cjs.js"),s=i.api.injectEndpoints({endpoints:t=>({postProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/activities`,method:"POST",body:e.projectActivityPostModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),patchProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"PATCH",body:e.activityPatchModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),getActivityCategories:t.query({query:e=>({url:`/api/projects/${e.projectName}/activityCategories`})}),createReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,method:"POST",body:e.createReactionModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions/${e.reaction}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),suggestEntityMention:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/suggest`,method:"POST",body:e.suggestRequest})}),getEntityWatchers:t.query({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`})}),setEntityWatchers:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`,method:"POST",body:e.watchersModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})})}),overrideExisting:!1});exports.api=s;
2
2
  //# sourceMappingURL=activityFeed.cjs.js.map
@@ -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 /** 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":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,oBAAqBA,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,cACtF,OAAQ,OACR,KAAMA,EAAS,yBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,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,OACR,KAAMA,EAAS,cACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,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 getActivityCategories: build.query<\n GetActivityCategoriesApiResponse,\n GetActivityCategoriesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/activityCategories` }),\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 GetActivityCategoriesApiResponse =\n /** status 200 Successful Response */ ActivityCategoriesResponseModel\nexport type GetActivityCategoriesApiArg = {\n projectName: string\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 ActivityCategoriesResponseModel = {\n categories: object[]\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":["injectedRtkApi","api","build","queryAr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AS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,WAC1C,OAAQ,OACR,KAAMA,EAAS,cACjB,EAAA,CACD,EACD,kBAAmBD,EAAM,MAA6D,CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,WACxF,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,YACtF,OAAQ,OACR,KAAMA,EAAS,cACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -33,6 +33,9 @@ const o = i.injectEndpoints({
33
33
  }
34
34
  })
35
35
  }),
36
+ getActivityCategories: t.query({
37
+ query: (e) => ({ url: `/api/projects/${e.projectName}/activityCategories` })
38
+ }),
36
39
  createReactionToActivity: t.mutation({
37
40
  query: (e) => ({
38
41
  url: `/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,
@@ -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 /** 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":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,qBAAqBA,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuBD,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAMA,EAA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AAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,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 getActivityCategories: build.query<\n GetActivityCategoriesApiResponse,\n GetActivityCategoriesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/activityCategories` }),\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 GetActivityCategoriesApiResponse =\n /** status 200 Successful Response */ ActivityCategoriesResponseModel\nexport type GetActivityCategoriesApiArg = {\n projectName: string\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 ActivityCategoriesResponseModel = {\n categories: object[]\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[]\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js"),i=s.api.injectEndpoints({endpoints:e=>({getEntityListAttributesDefinition:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`})}),setEntityListAttributesDefinition:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`,method:"PUT",body:t.payload})}),getListEntities:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/entities`})}),getEntityListFolders:e.query({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`})}),createEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`,method:"POST",body:t.entityListFolderPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"PATCH",body:t.entityListFolderPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),setEntityListFoldersOrder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/order`,method:"POST",body:t.entityListFolderOrderModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"POST",body:t.entityListItemPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItems:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"PATCH",body:t.entityListMultiPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"PATCH",body:t.entityListItemPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists`,method:"POST",body:t.entityListPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),getEntityList:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`})}),deleteEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"DELETE"})}),updateEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"PATCH",body:t.entityListPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),materializeEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/materialize`,method:"POST",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})})}),overrideExisting:!1});exports.api=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base/client.cjs.js"),i=s.api.injectEndpoints({endpoints:e=>({getEntityListAttributesDefinition:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`})}),setEntityListAttributesDefinition:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`,method:"PUT",body:t.payload})}),getListEntities:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/entities`})}),getEntityListFolders:e.query({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`})}),createEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`,method:"POST",body:t.entityListFolderPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"PATCH",body:t.entityListFolderPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),setEntityListFoldersOrder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/order`,method:"POST",body:t.entityListFolderOrderModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"POST",body:t.entityListItemPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItems:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"PATCH",body:t.entityListMultiPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"PATCH",body:t.entityListItemPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists`,method:"POST",body:t.entityListPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),getEntityList:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,params:{metadata_only:t.metadataOnly}})}),deleteEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"DELETE"})}),updateEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"PATCH",body:t.entityListPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),materializeEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/materialize`,method:"POST",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})})}),overrideExisting:!1});exports.api=i;
2
2
  //# sourceMappingURL=entityLists.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\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 GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,cACnE,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,WACrE,EAAA,CACD,EACD,qBAAsBD,EAAM,MAAmE,CAC7F,MAAQC,IAAc,CAAE,IAAK,iBA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AQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,eACnE,OAAQ,OACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n params: {\n metadata_only: queryArg.metadataOnly,\n },\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\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 GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n /** When true, only return metadata */\n metadataOnly?: boolean\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,cACnE,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,WACrE,EAAA,CACD,EACD,qBAAsBD,EAAM,MAAmE,CAC7F,MAAQC,I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CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,eACnE,OAAQ,OACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -120,7 +120,10 @@ const d = s.injectEndpoints({
120
120
  }),
121
121
  getEntityList: e.query({
122
122
  query: (t) => ({
123
- url: `/api/projects/${t.projectName}/lists/${t.listId}`
123
+ url: `/api/projects/${t.projectName}/lists/${t.listId}`,
124
+ params: {
125
+ metadata_only: t.metadataOnly
126
+ }
124
127
  })
125
128
  }),
126
129
  deleteEntityList: e.mutation({
@@ -1 +1 @@
1
- {"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\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 GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,m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AiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n params: {\n metadata_only: queryArg.metadataOnly,\n },\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\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 GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n /** When true, only return metadata */\n metadataOnly?: boolean\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmCD,EAAM,SAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAA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;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -83,7 +83,7 @@
83
83
  version
84
84
  author
85
85
  }
86
- `,g=`
86
+ `,l=`
87
87
  fragment ListItemFragment on BaseNode {
88
88
  active
89
89
  name
@@ -186,7 +186,7 @@
186
186
  hasReviewables
187
187
  priority
188
188
  }
189
- `,l=`
189
+ `,g=`
190
190
  fragment MessageFragment on ActivityNode {
191
191
  projectName
192
192
  activityId
@@ -459,7 +459,7 @@ ${o}`,P=`
459
459
  ${r}
460
460
  ${s}
461
461
  ${n}
462
- ${u}`,A=`
462
+ ${u}`,v=`
463
463
  query GetProductVersions($projectName: String!, $productId: String!) {
464
464
  project(name: $projectName) {
465
465
  product(id: $productId) {
@@ -471,7 +471,7 @@ ${u}`,A=`
471
471
  }
472
472
  }
473
473
  }
474
- `,v=`
474
+ `,A=`
475
475
  query GetListItems($projectName: String!, $listId: String!, $first: Int, $after: String, $before: String, $last: Int, $sortBy: String, $filter: String) {
476
476
  project(name: $projectName) {
477
477
  entityLists(ids: [$listId]) {
@@ -512,7 +512,7 @@ ${u}`,A=`
512
512
  }
513
513
  }
514
514
  }
515
- ${g}`,F=`
515
+ ${l}`,F=`
516
516
  query GetLists($projectName: String!, $first: Int!, $after: String, $filter: String) {
517
517
  project(name: $projectName) {
518
518
  entityLists(first: $first, after: $after, filter: $filter) {
@@ -537,6 +537,8 @@ ${u}`,A=`
537
537
  active
538
538
  projectName
539
539
  owner
540
+ accessLevel
541
+ access
540
542
  count
541
543
  }
542
544
  }
@@ -565,6 +567,7 @@ ${u}`,A=`
565
567
  entityType
566
568
  updatedAt
567
569
  count
570
+ accessLevel
568
571
  }
569
572
  }
570
573
  }
@@ -750,7 +753,7 @@ ${u}`,A=`
750
753
  }
751
754
  }
752
755
  }
753
- ${l}`,R=`
756
+ ${g}`,R=`
754
757
  query GetInboxUnreadCount($important: Boolean) {
755
758
  inbox(
756
759
  last: 500
@@ -824,5 +827,5 @@ ${u}`,A=`
824
827
  }
825
828
  }
826
829
  }
827
- ${d}`,O=E.api.injectEndpoints({endpoints:t=>({GetActivitiesById:t.query({query:e=>({document:y,variables:e})}),GetActivityUsers:t.query({query:e=>({document:p,variables:e})}),GetActivities:t.query({query:e=>({document:$,variables:e})}),GetEntitiesChecklists:t.query({query:e=>({document:I,variables:e})}),GetDetailsPanelFolder:t.query({query:e=>({document:f,variables:e})}),GetDetailsPanelRepresentation:t.query({query:e=>({document:D,variables:e})}),GetDetailsPanelTask:t.query({query:e=>({document:G,variables:e})}),GetDetailsPanelVersion:t.query({query:e=>({document:P,variables:e})}),GetProductVersions:t.query({query:e=>({document:A,variables:e})}),GetListItems:t.query({query:e=>({document:v,variables:e})}),GetLists:t.query({query:e=>({document:F,variables:e})}),GetListsItemsForReviewSession:t.query({query:e=>({document:j,variables:e})}),GetTasksByParent:t.query({query:e=>({document:q,variables:e})}),GetTasksList:t.query({query:e=>({document:T,variables:e})}),GetProjectLatest:t.query({query:e=>({document:N,variables:e})}),GetKanban:t.query({query:e=>({document:b,variables:e})}),GetKanbanProjectUsers:t.query({query:e=>({document:k,variables:e})}),GetKanbanTasks:t.query({query:e=>({document:S,variables:e})}),GetActiveUsersCount:t.query({query:e=>({document:h,variables:e})}),GetAllAssignees:t.query({query:e=>({document:L,variables:e})}),GetAllProjectUsersAsAssignee:t.query({query:e=>({document:w,variables:e})}),GetLatestProductVersion:t.query({query:e=>({document:C,variables:e})}),GetInboxHasUnread:t.query({query:e=>({document:U,variables:e})}),GetInboxMessages:t.query({query:e=>({document:x,variables:e})}),GetInboxUnreadCount:t.query({query:e=>({document:R,variables:e})}),GetMarketInstallEvents:t.query({query:e=>({document:B,variables:e})}),GetInstallEvents:t.query({query:e=>({document:M,variables:e})}),GetProgressTask:t.query({query:e=>({document:V,variables:e})}),GetTasksProgress:t.query({query:e=>({document:K,variables:e})})})});exports.ActivityFragmentFragmentDoc=a;exports.DetailsPanelFolderFragmentFragmentDoc=s;exports.DetailsPanelProductFragmentFragmentDoc=r;exports.DetailsPanelRepresentationFragmentFragmentDoc=u;exports.DetailsPanelTaskFragmentFragmentDoc=n;exports.DetailsPanelVersionFragmentFragmentDoc=o;exports.GetActiveUsersCountDocument=h;exports.GetActivitiesByIdDocument=y;exports.GetActivitiesDocument=$;exports.GetActivityUsersDocument=p;exports.GetAllAssigneesDocument=L;exports.GetAllProjectUsersAsAssigneeDocument=w;exports.GetDetailsPanelFolderDocument=f;exports.GetDetailsPanelRepresentationDocument=D;exports.GetDetailsPanelTaskDocument=G;exports.GetDetailsPanelVersionDocument=P;exports.GetEntitiesChecklistsDocument=I;exports.GetInboxHasUnreadDocument=U;exports.GetInboxMessagesDocument=x;exports.GetInboxUnreadCountDocument=R;exports.GetInstallEventsDocument=M;exports.GetKanbanDocument=b;exports.GetKanbanProjectUsersDocument=k;exports.GetKanbanTasksDocument=S;exports.GetLatestProductVersionDocument=C;exports.GetListItemsDocument=v;exports.GetListsDocument=F;exports.GetListsItemsForReviewSessionDocument=j;exports.GetMarketInstallEventsDocument=B;exports.GetProductVersionsDocument=A;exports.GetProgressTaskDocument=V;exports.GetProjectLatestDocument=N;exports.GetTasksByParentDocument=q;exports.GetTasksListDocument=T;exports.GetTasksProgressDocument=K;exports.HasLinksFilter=m;exports.KanbanFragmentFragmentDoc=c;exports.ListItemFragmentFragmentDoc=g;exports.MessageFragmentFragmentDoc=l;exports.ProgressTaskFragmentFragmentDoc=d;exports.TaskPropsFragmentFragmentDoc=i;exports.api=O;
830
+ ${d}`,O=E.api.injectEndpoints({endpoints:t=>({GetActivitiesById:t.query({query:e=>({document:y,variables:e})}),GetActivityUsers:t.query({query:e=>({document:p,variables:e})}),GetActivities:t.query({query:e=>({document:$,variables:e})}),GetEntitiesChecklists:t.query({query:e=>({document:I,variables:e})}),GetDetailsPanelFolder:t.query({query:e=>({document:f,variables:e})}),GetDetailsPanelRepresentation:t.query({query:e=>({document:D,variables:e})}),GetDetailsPanelTask:t.query({query:e=>({document:G,variables:e})}),GetDetailsPanelVersion:t.query({query:e=>({document:P,variables:e})}),GetProductVersions:t.query({query:e=>({document:v,variables:e})}),GetListItems:t.query({query:e=>({document:A,variables:e})}),GetLists:t.query({query:e=>({document:F,variables:e})}),GetListsItemsForReviewSession:t.query({query:e=>({document:j,variables:e})}),GetTasksByParent:t.query({query:e=>({document:q,variables:e})}),GetTasksList:t.query({query:e=>({document:T,variables:e})}),GetProjectLatest:t.query({query:e=>({document:N,variables:e})}),GetKanban:t.query({query:e=>({document:b,variables:e})}),GetKanbanProjectUsers:t.query({query:e=>({document:k,variables:e})}),GetKanbanTasks:t.query({query:e=>({document:S,variables:e})}),GetActiveUsersCount:t.query({query:e=>({document:h,variables:e})}),GetAllAssignees:t.query({query:e=>({document:L,variables:e})}),GetAllProjectUsersAsAssignee:t.query({query:e=>({document:w,variables:e})}),GetLatestProductVersion:t.query({query:e=>({document:C,variables:e})}),GetInboxHasUnread:t.query({query:e=>({document:U,variables:e})}),GetInboxMessages:t.query({query:e=>({document:x,variables:e})}),GetInboxUnreadCount:t.query({query:e=>({document:R,variables:e})}),GetMarketInstallEvents:t.query({query:e=>({document:B,variables:e})}),GetInstallEvents:t.query({query:e=>({document:M,variables:e})}),GetProgressTask:t.query({query:e=>({document:V,variables:e})}),GetTasksProgress:t.query({query:e=>({document:K,variables:e})})})});exports.ActivityFragmentFragmentDoc=a;exports.DetailsPanelFolderFragmentFragmentDoc=s;exports.DetailsPanelProductFragmentFragmentDoc=r;exports.DetailsPanelRepresentationFragmentFragmentDoc=u;exports.DetailsPanelTaskFragmentFragmentDoc=n;exports.DetailsPanelVersionFragmentFragmentDoc=o;exports.GetActiveUsersCountDocument=h;exports.GetActivitiesByIdDocument=y;exports.GetActivitiesDocument=$;exports.GetActivityUsersDocument=p;exports.GetAllAssigneesDocument=L;exports.GetAllProjectUsersAsAssigneeDocument=w;exports.GetDetailsPanelFolderDocument=f;exports.GetDetailsPanelRepresentationDocument=D;exports.GetDetailsPanelTaskDocument=G;exports.GetDetailsPanelVersionDocument=P;exports.GetEntitiesChecklistsDocument=I;exports.GetInboxHasUnreadDocument=U;exports.GetInboxMessagesDocument=x;exports.GetInboxUnreadCountDocument=R;exports.GetInstallEventsDocument=M;exports.GetKanbanDocument=b;exports.GetKanbanProjectUsersDocument=k;exports.GetKanbanTasksDocument=S;exports.GetLatestProductVersionDocument=C;exports.GetListItemsDocument=A;exports.GetListsDocument=F;exports.GetListsItemsForReviewSessionDocument=j;exports.GetMarketInstallEventsDocument=B;exports.GetProductVersionsDocument=v;exports.GetProgressTaskDocument=V;exports.GetProjectLatestDocument=N;exports.GetTasksByParentDocument=q;exports.GetTasksListDocument=T;exports.GetTasksProgressDocument=K;exports.HasLinksFilter=m;exports.KanbanFragmentFragmentDoc=c;exports.ListItemFragmentFragmentDoc=l;exports.MessageFragmentFragmentDoc=g;exports.ProgressTaskFragmentFragmentDoc=d;exports.TaskPropsFragmentFragmentDoc=i;exports.api=O;
828
831
  //# sourceMappingURL=graphql.cjs.js.map