@ynput/ayon-frontend-shared 0.2.14 → 0.2.15

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 (348) hide show
  1. package/dist/DetailsPanel.cjs.js +7 -0
  2. package/dist/DetailsPanel.cjs.js.map +1 -1
  3. package/dist/DetailsPanel.es.js +7 -0
  4. package/dist/DetailsPanel.es.js.map +1 -1
  5. package/dist/ProjectTreeTable.cjs.js +5 -0
  6. package/dist/ProjectTreeTable.cjs.js.map +1 -1
  7. package/dist/ProjectTreeTable.es.js +5 -0
  8. package/dist/ProjectTreeTable.es.js.map +1 -1
  9. package/dist/_virtual/index.cjs10.js +3 -5
  10. package/dist/_virtual/index.cjs10.js.map +1 -1
  11. package/dist/_virtual/index.cjs4.js +4 -4
  12. package/dist/_virtual/index.cjs5.js +4 -4
  13. package/dist/_virtual/index.cjs6.js +2 -2
  14. package/dist/_virtual/index.cjs7.js +5 -3
  15. package/dist/_virtual/index.cjs7.js.map +1 -1
  16. package/dist/_virtual/index.es10.js +2 -5
  17. package/dist/_virtual/index.es10.js.map +1 -1
  18. package/dist/_virtual/index.es4.js +4 -4
  19. package/dist/_virtual/index.es5.js +4 -4
  20. package/dist/_virtual/index.es6.js +2 -2
  21. package/dist/_virtual/index.es7.js +5 -2
  22. package/dist/_virtual/index.es7.js.map +1 -1
  23. package/dist/api.cjs.js +2 -0
  24. package/dist/api.cjs.js.map +1 -1
  25. package/dist/api.es.js +3 -1
  26. package/dist/components.cjs.js +9 -0
  27. package/dist/components.cjs.js.map +1 -1
  28. package/dist/components.es.js +9 -0
  29. package/dist/components.es.js.map +1 -1
  30. package/dist/context.cjs.js +4 -0
  31. package/dist/context.cjs.js.map +1 -1
  32. package/dist/context.es.js +4 -0
  33. package/dist/context.es.js.map +1 -1
  34. package/dist/index.cjs.js +7 -0
  35. package/dist/index.cjs.js.map +1 -1
  36. package/dist/index.es.js +7 -0
  37. package/dist/index.es.js.map +1 -1
  38. package/dist/node_modules/match-sorter/dist/match-sorter.esm.cjs.js +1 -1
  39. package/dist/node_modules/match-sorter/dist/match-sorter.esm.es.js +1 -1
  40. package/dist/node_modules/parse-numeric-range/index.cjs.js +1 -1
  41. package/dist/node_modules/parse-numeric-range/index.es.js +1 -1
  42. package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
  43. package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
  44. package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
  45. package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
  46. package/dist/node_modules/remove-accents/index.cjs.js +1 -1
  47. package/dist/node_modules/remove-accents/index.es.js +1 -1
  48. package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
  49. package/dist/shared/src/api/generated/actions.es.js.map +1 -1
  50. package/dist/shared/src/api/generated/addons.cjs.js.map +1 -1
  51. package/dist/shared/src/api/generated/addons.es.js.map +1 -1
  52. package/dist/shared/src/api/generated/anatomy.cjs.js.map +1 -1
  53. package/dist/shared/src/api/generated/anatomy.es.js.map +1 -1
  54. package/dist/shared/src/api/generated/attributes.cjs.js.map +1 -1
  55. package/dist/shared/src/api/generated/attributes.es.js.map +1 -1
  56. package/dist/shared/src/api/generated/configuration.cjs.js.map +1 -1
  57. package/dist/shared/src/api/generated/configuration.es.js.map +1 -1
  58. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  59. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  60. package/dist/shared/src/api/generated/events.cjs.js.map +1 -1
  61. package/dist/shared/src/api/generated/events.es.js.map +1 -1
  62. package/dist/shared/src/api/generated/files.cjs.js +5 -0
  63. package/dist/shared/src/api/generated/files.cjs.js.map +1 -1
  64. package/dist/shared/src/api/generated/files.es.js +5 -0
  65. package/dist/shared/src/api/generated/files.es.js.map +1 -1
  66. package/dist/shared/src/api/generated/operations.cjs.js.map +1 -1
  67. package/dist/shared/src/api/generated/operations.es.js.map +1 -1
  68. package/dist/shared/src/api/generated/projects.cjs.js +16 -0
  69. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  70. package/dist/shared/src/api/generated/projects.es.js +16 -0
  71. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  72. package/dist/shared/src/api/generated/reviewables.cjs.js.map +1 -1
  73. package/dist/shared/src/api/generated/reviewables.es.js.map +1 -1
  74. package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
  75. package/dist/shared/src/api/generated/system.es.js.map +1 -1
  76. package/dist/shared/src/api/generated/tasks.cjs.js +8 -0
  77. package/dist/shared/src/api/generated/tasks.cjs.js.map +1 -1
  78. package/dist/shared/src/api/generated/tasks.es.js +8 -0
  79. package/dist/shared/src/api/generated/tasks.es.js.map +1 -1
  80. package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
  81. package/dist/shared/src/api/generated/users.es.js.map +1 -1
  82. package/dist/shared/src/api/queries/overview/getOverview.cjs.js +66 -4
  83. package/dist/shared/src/api/queries/overview/getOverview.cjs.js.map +1 -1
  84. package/dist/shared/src/api/queries/overview/getOverview.es.js +66 -4
  85. package/dist/shared/src/api/queries/overview/getOverview.es.js.map +1 -1
  86. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js +1 -0
  87. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js.map +1 -1
  88. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js +1 -0
  89. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js.map +1 -1
  90. package/dist/shared/src/components/EntityThumbnailUploader/EntityThumbnailUploader.cjs.js +7 -0
  91. package/dist/shared/src/components/EntityThumbnailUploader/EntityThumbnailUploader.cjs.js.map +1 -1
  92. package/dist/shared/src/components/EntityThumbnailUploader/EntityThumbnailUploader.es.js +7 -0
  93. package/dist/shared/src/components/EntityThumbnailUploader/EntityThumbnailUploader.es.js.map +1 -1
  94. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +69 -0
  95. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -0
  96. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +69 -0
  97. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -0
  98. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +48 -0
  99. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -0
  100. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +48 -0
  101. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -0
  102. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js +102 -0
  103. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js.map +1 -0
  104. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js +102 -0
  105. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js.map +1 -0
  106. package/dist/shared/src/components/Powerpack/PricingLink.cjs.js +13 -0
  107. package/dist/shared/src/components/Powerpack/PricingLink.cjs.js.map +1 -0
  108. package/dist/shared/src/components/Powerpack/PricingLink.es.js +13 -0
  109. package/dist/shared/src/components/Powerpack/PricingLink.es.js.map +1 -0
  110. package/dist/shared/src/components/ProjectTableSettings/ColumnsSettings.cjs.js +4 -10
  111. package/dist/shared/src/components/ProjectTableSettings/ColumnsSettings.cjs.js.map +1 -1
  112. package/dist/shared/src/components/ProjectTableSettings/ColumnsSettings.es.js +1 -7
  113. package/dist/shared/src/components/ProjectTableSettings/ColumnsSettings.es.js.map +1 -1
  114. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +5 -1
  115. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  116. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +5 -1
  117. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  118. package/dist/shared/src/components/ProjectTableSettings/TableSettings.styled.cjs.js +13 -0
  119. package/dist/shared/src/components/ProjectTableSettings/TableSettings.styled.cjs.js.map +1 -0
  120. package/dist/shared/src/components/ProjectTableSettings/TableSettings.styled.es.js +13 -0
  121. package/dist/shared/src/components/ProjectTableSettings/TableSettings.styled.es.js.map +1 -0
  122. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +50 -0
  123. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -0
  124. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +50 -0
  125. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -0
  126. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +7 -0
  127. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  128. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +7 -0
  129. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  130. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +7 -0
  131. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  132. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +7 -0
  133. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  134. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +7 -0
  135. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  136. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +7 -0
  137. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  138. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +6 -7
  139. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  140. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +6 -7
  141. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  142. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +6 -2
  143. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
  144. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +6 -2
  145. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
  146. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js +1 -0
  147. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js.map +1 -1
  148. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js +1 -0
  149. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js.map +1 -1
  150. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +7 -0
  151. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  152. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +7 -0
  153. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  154. package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -0
  155. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  156. package/dist/shared/src/containers/Actions/Actions.es.js +1 -0
  157. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  158. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +7 -0
  159. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  160. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +7 -0
  161. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  162. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +7 -0
  163. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  164. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +7 -0
  165. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  166. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +7 -0
  167. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  168. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +7 -0
  169. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  170. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +7 -0
  171. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  172. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +7 -0
  173. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  174. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +8 -1
  175. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  176. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +8 -1
  177. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  178. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -0
  179. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  180. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +1 -0
  181. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  182. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -0
  183. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
  184. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +1 -0
  185. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
  186. package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -0
  187. package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
  188. package/dist/shared/src/containers/Feed/Feed.es.js +1 -0
  189. package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
  190. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -0
  191. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  192. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +1 -0
  193. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  194. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -0
  195. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
  196. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +1 -0
  197. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
  198. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js +1 -0
  199. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js.map +1 -1
  200. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js +1 -0
  201. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js.map +1 -1
  202. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js +1 -0
  203. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js.map +1 -1
  204. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js +1 -0
  205. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js.map +1 -1
  206. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js +1 -0
  207. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js.map +1 -1
  208. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js +1 -0
  209. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js.map +1 -1
  210. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -0
  211. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  212. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +1 -0
  213. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  214. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -0
  215. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  216. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +1 -0
  217. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  218. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +45 -16
  219. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  220. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +45 -16
  221. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  222. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +45 -7
  223. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  224. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +45 -7
  225. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  226. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +202 -0
  227. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -0
  228. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +202 -0
  229. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -0
  230. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js +14 -6
  231. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.cjs.js.map +1 -1
  232. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js +14 -6
  233. package/dist/shared/src/containers/ProjectTreeTable/context/ClipboardContext.es.js.map +1 -1
  234. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.cjs.js +11 -1
  235. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.cjs.js.map +1 -1
  236. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.es.js +11 -1
  237. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.es.js.map +1 -1
  238. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js +22 -2
  239. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js.map +1 -1
  240. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js +22 -2
  241. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js.map +1 -1
  242. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableModulesContext.cjs.js +116 -0
  243. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableModulesContext.cjs.js.map +1 -0
  244. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableModulesContext.es.js +116 -0
  245. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableModulesContext.es.js.map +1 -0
  246. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsContext.cjs.js +1 -0
  247. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsContext.cjs.js.map +1 -1
  248. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsContext.es.js +1 -0
  249. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsContext.es.js.map +1 -1
  250. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js +1 -1
  251. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.cjs.js.map +1 -1
  252. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js +1 -1
  253. package/dist/shared/src/containers/ProjectTreeTable/context/clipboard/clipboardValidation.es.js.map +1 -1
  254. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +137 -0
  255. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -0
  256. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +137 -0
  257. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -0
  258. package/dist/shared/src/containers/ProjectTreeTable/hooks/{useOverviewTable.cjs.js → useBuildProjectDataTable.cjs.js} +3 -3
  259. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -0
  260. package/dist/shared/src/containers/ProjectTreeTable/hooks/{useOverviewTable.es.js → useBuildProjectDataTable.es.js} +3 -3
  261. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -0
  262. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +39 -19
  263. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  264. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +39 -19
  265. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  266. package/dist/shared/src/containers/ProjectTreeTable/widgets/GroupHeaderWidget.cjs.js +108 -0
  267. package/dist/shared/src/containers/ProjectTreeTable/widgets/GroupHeaderWidget.cjs.js.map +1 -0
  268. package/dist/shared/src/containers/ProjectTreeTable/widgets/GroupHeaderWidget.es.js +108 -0
  269. package/dist/shared/src/containers/ProjectTreeTable/widgets/GroupHeaderWidget.es.js.map +1 -0
  270. package/dist/shared/src/containers/ProjectTreeTable/widgets/LoadMoreWidget.cjs.js +29 -0
  271. package/dist/shared/src/containers/ProjectTreeTable/widgets/LoadMoreWidget.cjs.js.map +1 -0
  272. package/dist/shared/src/containers/ProjectTreeTable/widgets/LoadMoreWidget.es.js +30 -0
  273. package/dist/shared/src/containers/ProjectTreeTable/widgets/LoadMoreWidget.es.js.map +1 -0
  274. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +7 -0
  275. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  276. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +7 -0
  277. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  278. package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -0
  279. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  280. package/dist/shared/src/context/DetailsPanelContext.es.js +1 -0
  281. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  282. package/dist/shared/src/context/PowerpackContext.cjs.js +65 -0
  283. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -0
  284. package/dist/shared/src/context/PowerpackContext.es.js +65 -0
  285. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -0
  286. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -0
  287. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  288. package/dist/shared/src/hooks/useEntityUpdate.es.js +1 -0
  289. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  290. package/dist/shared/src/util/getAttributeIcon.cjs.js +7 -1
  291. package/dist/shared/src/util/getAttributeIcon.cjs.js.map +1 -1
  292. package/dist/shared/src/util/getAttributeIcon.es.js +7 -1
  293. package/dist/shared/src/util/getAttributeIcon.es.js.map +1 -1
  294. package/dist/shared/src/util/getEntityTypeIcon.cjs.js +9 -0
  295. package/dist/shared/src/util/getEntityTypeIcon.cjs.js.map +1 -1
  296. package/dist/shared/src/util/getEntityTypeIcon.es.js +9 -0
  297. package/dist/shared/src/util/getEntityTypeIcon.es.js.map +1 -1
  298. package/dist/types/api/generated/actions.d.ts +2 -1
  299. package/dist/types/api/generated/addons.d.ts +8 -1
  300. package/dist/types/api/generated/anatomy.d.ts +1 -14
  301. package/dist/types/api/generated/attributes.d.ts +4 -2
  302. package/dist/types/api/generated/configuration.d.ts +6 -0
  303. package/dist/types/api/generated/entityLists.d.ts +2 -0
  304. package/dist/types/api/generated/events.d.ts +1 -1
  305. package/dist/types/api/generated/files.d.ts +11 -0
  306. package/dist/types/api/generated/operations.d.ts +1 -1
  307. package/dist/types/api/generated/projects.d.ts +59 -0
  308. package/dist/types/api/generated/reviewables.d.ts +1 -0
  309. package/dist/types/api/generated/system.d.ts +5 -3
  310. package/dist/types/api/generated/tasks.d.ts +48 -9
  311. package/dist/types/api/generated/users.d.ts +1 -4
  312. package/dist/types/api/queries/overview/getOverview.d.ts +350 -482
  313. package/dist/types/api/queries/project/getProject.d.ts +6 -0
  314. package/dist/types/components/Powerpack/PowerpackButton.d.ts +7 -0
  315. package/dist/types/components/Powerpack/PowerpackDialog.d.ts +4 -0
  316. package/dist/types/components/Powerpack/PowerpackDialog.styled.d.ts +8 -0
  317. package/dist/types/components/Powerpack/PricingLink.d.ts +4 -0
  318. package/dist/types/components/Powerpack/index.d.ts +3 -0
  319. package/dist/types/components/ProjectTableSettings/ProjectTableSettings.d.ts +2 -1
  320. package/dist/types/components/ProjectTableSettings/TableSettings.styled.d.ts +1 -0
  321. package/dist/types/components/ProjectTableSettings/TableSettingsFallback.d.ts +10 -0
  322. package/dist/types/components/ProjectTableSettings/index.d.ts +1 -0
  323. package/dist/types/components/index.d.ts +1 -0
  324. package/dist/types/containers/ProjectTreeTable/ProjectTreeTable.d.ts +5 -1
  325. package/dist/types/containers/ProjectTreeTable/buildTreeTableColumns.d.ts +3 -1
  326. package/dist/types/containers/ProjectTreeTable/components/GroupSettingsFallback.d.ts +11 -0
  327. package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsContext.d.ts +7 -0
  328. package/dist/types/containers/ProjectTreeTable/context/ProjectTableContext.d.ts +11 -5
  329. package/dist/types/containers/ProjectTreeTable/context/ProjectTableModulesContext.d.ts +12 -0
  330. package/dist/types/containers/ProjectTreeTable/context/index.d.ts +1 -0
  331. package/dist/types/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.d.ts +25 -0
  332. package/dist/types/containers/ProjectTreeTable/hooks/{useOverviewTable.d.ts → useBuildProjectDataTable.d.ts} +3 -1
  333. package/dist/types/containers/ProjectTreeTable/hooks/useCellContextMenu.d.ts +2 -0
  334. package/dist/types/containers/ProjectTreeTable/hooks/useFolderRelationships.d.ts +1 -1
  335. package/dist/types/containers/ProjectTreeTable/types/table.d.ts +13 -5
  336. package/dist/types/containers/ProjectTreeTable/widgets/GroupHeaderWidget.d.ts +13 -0
  337. package/dist/types/containers/ProjectTreeTable/widgets/LoadMoreWidget.d.ts +8 -0
  338. package/dist/types/containers/ProjectTreeTable/widgets/index.d.ts +1 -0
  339. package/dist/types/context/PowerpackContext.d.ts +20 -0
  340. package/dist/types/context/index.d.ts +1 -0
  341. package/dist/types/util/getAttributeIcon.d.ts +1 -1
  342. package/dist/types/util/getEntityTypeIcon.d.ts +1 -0
  343. package/dist/util.cjs.js +1 -0
  344. package/dist/util.cjs.js.map +1 -1
  345. package/dist/util.es.js +2 -1
  346. package/package.json +1 -1
  347. package/dist/shared/src/containers/ProjectTreeTable/hooks/useOverviewTable.cjs.js.map +0 -1
  348. package/dist/shared/src/containers/ProjectTreeTable/hooks/useOverviewTable.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.es.js","sources":["../../../../../src/api/generated/attributes.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAttributeList: build.query<GetAttributeListApiResponse, GetAttributeListApiArg>({\n query: () => ({ url: `/api/attributes` }),\n }),\n setAttributeList: build.mutation<SetAttributeListApiResponse, SetAttributeListApiArg>({\n query: (queryArg) => ({\n url: `/api/attributes`,\n method: 'PUT',\n body: queryArg.setAttributeListModel,\n }),\n }),\n getAttributeConfig: build.query<GetAttributeConfigApiResponse, GetAttributeConfigApiArg>({\n query: (queryArg) => ({ url: `/api/attributes/${queryArg.attributeName}` }),\n }),\n setAttributeConfig: build.mutation<SetAttributeConfigApiResponse, SetAttributeConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/attributes/${queryArg.attributeName}`,\n method: 'PUT',\n body: queryArg.attributePutModel,\n }),\n }),\n deleteAttribute: build.mutation<DeleteAttributeApiResponse, DeleteAttributeApiArg>({\n query: (queryArg) => ({ url: `/api/attributes/${queryArg.attributeName}`, method: 'DELETE' }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAttributeListApiResponse =\n /** status 200 Successful Response */ GetAttributeListModel\nexport type GetAttributeListApiArg = void\nexport type SetAttributeListApiResponse = unknown\nexport type SetAttributeListApiArg = {\n setAttributeListModel: SetAttributeListModel\n}\nexport type GetAttributeConfigApiResponse = /** status 200 Successful Response */ AttributeModel\nexport type GetAttributeConfigApiArg = {\n attributeName: string\n}\nexport type SetAttributeConfigApiResponse = unknown\nexport type SetAttributeConfigApiArg = {\n attributeName: string\n attributePutModel: AttributePutModel\n}\nexport type DeleteAttributeApiResponse = unknown\nexport type DeleteAttributeApiArg = {\n attributeName: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: 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 AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n )[]\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n data: AttributeData\n}\nexport type GetAttributeListModel = {\n attributes?: AttributeModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type SetAttributeListModel = {\n attributes?: AttributeModel[]\n /** Delete custom attributes not includedin the payload from the database. */\n deleteMissing?: boolean\n}\nexport type AttributePutModel = {\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n )[]\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n data: AttributeData\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,kBAAkB,MAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IAAA,CACxC;AAAA,IACD,kBAAkB,MAAM,SAA8D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,oBAAoB,MAAM,MAA+D;AAAA,MACvF,OAAO,CAAC,cAAc,EAAE,KAAK,mBAAmB,SAAS,aAAa,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,oBAAoB,MAAM,SAAkE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,mBAAmB,SAAS,aAAa;AAAA,QAC9C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc,EAAE,KAAK,mBAAmB,SAAS,aAAa,IAAI,QAAQ,SAAS;AAAA,IAC5F,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"attributes.es.js","sources":["../../../../../src/api/generated/attributes.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAttributeList: build.query<GetAttributeListApiResponse, GetAttributeListApiArg>({\n query: () => ({ url: `/api/attributes` }),\n }),\n setAttributeList: build.mutation<SetAttributeListApiResponse, SetAttributeListApiArg>({\n query: (queryArg) => ({\n url: `/api/attributes`,\n method: 'PUT',\n body: queryArg.setAttributeListModel,\n }),\n }),\n getAttributeConfig: build.query<GetAttributeConfigApiResponse, GetAttributeConfigApiArg>({\n query: (queryArg) => ({ url: `/api/attributes/${queryArg.attributeName}` }),\n }),\n setAttributeConfig: build.mutation<SetAttributeConfigApiResponse, SetAttributeConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/attributes/${queryArg.attributeName}`,\n method: 'PUT',\n body: queryArg.attributePutModel,\n }),\n }),\n deleteAttribute: build.mutation<DeleteAttributeApiResponse, DeleteAttributeApiArg>({\n query: (queryArg) => ({ url: `/api/attributes/${queryArg.attributeName}`, method: 'DELETE' }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAttributeListApiResponse =\n /** status 200 Successful Response */ GetAttributeListModel\nexport type GetAttributeListApiArg = void\nexport type SetAttributeListApiResponse = unknown\nexport type SetAttributeListApiArg = {\n setAttributeListModel: SetAttributeListModel\n}\nexport type GetAttributeConfigApiResponse = /** status 200 Successful Response */ AttributeModel\nexport type GetAttributeConfigApiArg = {\n attributeName: string\n}\nexport type SetAttributeConfigApiResponse = unknown\nexport type SetAttributeConfigApiArg = {\n attributeName: string\n attributePutModel: AttributePutModel\n}\nexport type DeleteAttributeApiResponse = unknown\nexport type DeleteAttributeApiArg = {\n attributeName: 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 AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n data: AttributeData\n}\nexport type GetAttributeListModel = {\n attributes?: AttributeModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type SetAttributeListModel = {\n attributes?: AttributeModel[]\n /** Delete custom attributes not includedin the payload from the database. */\n deleteMissing?: boolean\n}\nexport type AttributePutModel = {\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n data: AttributeData\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,kBAAkB,MAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IAAA,CACxC;AAAA,IACD,kBAAkB,MAAM,SAA8D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,oBAAoB,MAAM,MAA+D;AAAA,MACvF,OAAO,CAAC,cAAc,EAAE,KAAK,mBAAmB,SAAS,aAAa,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,oBAAoB,MAAM,SAAkE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,mBAAmB,SAAS,aAAa;AAAA,QAC9C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc,EAAE,KAAK,mBAAmB,SAAS,aAAa,IAAI,QAAQ,SAAS;AAAA,IAC5F,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.cjs.js","sources":["../../../../../src/api/generated/configuration.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getServerConfigSchema: build.query<\n GetServerConfigSchemaApiResponse,\n GetServerConfigSchemaApiArg\n >({\n query: () => ({ url: `/api/config/schema` }),\n }),\n getServerConfig: build.query<GetServerConfigApiResponse, GetServerConfigApiArg>({\n query: () => ({ url: `/api/config` }),\n }),\n setServerConfig: build.mutation<SetServerConfigApiResponse, SetServerConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/config`,\n method: 'POST',\n body: queryArg.serverConfigModel,\n }),\n }),\n getServerConfigOverrides: build.query<\n GetServerConfigOverridesApiResponse,\n GetServerConfigOverridesApiArg\n >({\n query: () => ({ url: `/api/config/overrides` }),\n }),\n getConfigValue: build.query<GetConfigValueApiResponse, GetConfigValueApiArg>({\n query: (queryArg) => ({ url: `/api/config/value/${queryArg.key}` }),\n }),\n getServerConfigFile: build.query<GetServerConfigFileApiResponse, GetServerConfigFileApiArg>({\n query: (queryArg) => ({ url: `/api/config/files/${queryArg.fileType}` }),\n }),\n uploadServerConfigFile: build.mutation<\n UploadServerConfigFileApiResponse,\n UploadServerConfigFileApiArg\n >({\n query: (queryArg) => ({\n url: `/api/config/files/${queryArg.fileType}`,\n method: 'PUT',\n headers: {\n 'x-file-name': queryArg['x-file-name'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetServerConfigSchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigSchemaApiArg = void\nexport type GetServerConfigApiResponse = /** status 200 Successful Response */ ServerConfigModel\nexport type GetServerConfigApiArg = void\nexport type SetServerConfigApiResponse = /** status 200 Successful Response */ any\nexport type SetServerConfigApiArg = {\n serverConfigModel: ServerConfigModel\n}\nexport type GetServerConfigOverridesApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigOverridesApiArg = void\nexport type GetConfigValueApiResponse = /** status 200 Successful Response */ any\nexport type GetConfigValueApiArg = {\n /** The key of the configuration value to retrieve */\n key: string\n}\nexport type GetServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type GetServerConfigFileApiArg = {\n fileType: 'login_background' | 'studio_logo'\n}\nexport type UploadServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type UploadServerConfigFileApiArg = {\n /** The type of file to upload. */\n fileType: 'login_background' | 'studio_logo'\n /** The name of the file. */\n 'x-file-name': string\n 'content-type': string\n}\nexport type CustomizationModel = {\n login_background?: string\n studio_logo?: string\n /** The message that is displayed to users on the login page. Markdown syntax is supported. */\n motd?: string\n}\nexport type ProjectOptionsModel = {\n /** A regular expression that is used to create project code from the project name. */\n project_code_regex?: string\n}\nexport type ServerConfigModel = {\n /** The name of the studio */\n studio_name?: string\n /** Customization options for the login page */\n customization?: CustomizationModel\n project_options?: ProjectOptionsModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,iBAAiB,MAAM,MAAyD;AAAA,MAC9E,OAAO,OAAO,EAAE,KAAK,cAAc;AAAA,IAAA,CACpC;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,MAG9B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,wBAAwB;AAAA,IAAA,CAC9C;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,GAAG,GAAG;AAAA,IAAA,CAClE;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,QAAQ,GAAG;AAAA,IAAA,CACvE;AAAA,IACD,wBAAwB,MAAM,SAG5B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,qBAAqB,SAAS,QAAQ;AAAA,QAC3C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,eAAe,SAAS,aAAa;AAAA,UACrC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"configuration.cjs.js","sources":["../../../../../src/api/generated/configuration.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getServerConfigSchema: build.query<\n GetServerConfigSchemaApiResponse,\n GetServerConfigSchemaApiArg\n >({\n query: () => ({ url: `/api/config/schema` }),\n }),\n getServerConfig: build.query<GetServerConfigApiResponse, GetServerConfigApiArg>({\n query: () => ({ url: `/api/config` }),\n }),\n setServerConfig: build.mutation<SetServerConfigApiResponse, SetServerConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/config`,\n method: 'POST',\n body: queryArg.serverConfigModel,\n }),\n }),\n getServerConfigOverrides: build.query<\n GetServerConfigOverridesApiResponse,\n GetServerConfigOverridesApiArg\n >({\n query: () => ({ url: `/api/config/overrides` }),\n }),\n getConfigValue: build.query<GetConfigValueApiResponse, GetConfigValueApiArg>({\n query: (queryArg) => ({ url: `/api/config/value/${queryArg.key}` }),\n }),\n getServerConfigFile: build.query<GetServerConfigFileApiResponse, GetServerConfigFileApiArg>({\n query: (queryArg) => ({ url: `/api/config/files/${queryArg.fileType}` }),\n }),\n uploadServerConfigFile: build.mutation<\n UploadServerConfigFileApiResponse,\n UploadServerConfigFileApiArg\n >({\n query: (queryArg) => ({\n url: `/api/config/files/${queryArg.fileType}`,\n method: 'PUT',\n headers: {\n 'x-file-name': queryArg['x-file-name'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetServerConfigSchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigSchemaApiArg = void\nexport type GetServerConfigApiResponse = /** status 200 Successful Response */ ServerConfigModel\nexport type GetServerConfigApiArg = void\nexport type SetServerConfigApiResponse = /** status 200 Successful Response */ any\nexport type SetServerConfigApiArg = {\n serverConfigModel: ServerConfigModel\n}\nexport type GetServerConfigOverridesApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigOverridesApiArg = void\nexport type GetConfigValueApiResponse = /** status 200 Successful Response */ any\nexport type GetConfigValueApiArg = {\n /** The key of the configuration value to retrieve */\n key: string\n}\nexport type GetServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type GetServerConfigFileApiArg = {\n fileType: 'login_background' | 'studio_logo'\n}\nexport type UploadServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type UploadServerConfigFileApiArg = {\n /** The type of file to upload. */\n fileType: 'login_background' | 'studio_logo'\n /** The name of the file. */\n 'x-file-name': string\n 'content-type': string\n}\nexport type CustomizationModel = {\n login_background?: string\n studio_logo?: string\n /** The message that is displayed to users on the login page. Markdown syntax is supported. */\n motd?: string\n}\nexport type ProjectOptionsModel = {\n /** A regular expression that is used to create project code from the project name. */\n project_code_regex?: string\n}\nexport type ChangelogSettingsModel = {\n /** If enabled, the changelog will be shown to normal users. */\n show_changelog_to_users?: boolean\n}\nexport type ServerConfigModel = {\n /** The name of the studio */\n studio_name?: string\n /** Customization options for the login page */\n customization?: CustomizationModel\n project_options?: ProjectOptionsModel\n /** Settings for the changelog feature */\n changelog?: ChangelogSettingsModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,iBAAiB,MAAM,MAAyD;AAAA,MAC9E,OAAO,OAAO,EAAE,KAAK,cAAc;AAAA,IAAA,CACpC;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,MAG9B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,wBAAwB;AAAA,IAAA,CAC9C;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,GAAG,GAAG;AAAA,IAAA,CAClE;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,QAAQ,GAAG;AAAA,IAAA,CACvE;AAAA,IACD,wBAAwB,MAAM,SAG5B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,qBAAqB,SAAS,QAAQ;AAAA,QAC3C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,eAAe,SAAS,aAAa;AAAA,UACrC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"configuration.es.js","sources":["../../../../../src/api/generated/configuration.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getServerConfigSchema: build.query<\n GetServerConfigSchemaApiResponse,\n GetServerConfigSchemaApiArg\n >({\n query: () => ({ url: `/api/config/schema` }),\n }),\n getServerConfig: build.query<GetServerConfigApiResponse, GetServerConfigApiArg>({\n query: () => ({ url: `/api/config` }),\n }),\n setServerConfig: build.mutation<SetServerConfigApiResponse, SetServerConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/config`,\n method: 'POST',\n body: queryArg.serverConfigModel,\n }),\n }),\n getServerConfigOverrides: build.query<\n GetServerConfigOverridesApiResponse,\n GetServerConfigOverridesApiArg\n >({\n query: () => ({ url: `/api/config/overrides` }),\n }),\n getConfigValue: build.query<GetConfigValueApiResponse, GetConfigValueApiArg>({\n query: (queryArg) => ({ url: `/api/config/value/${queryArg.key}` }),\n }),\n getServerConfigFile: build.query<GetServerConfigFileApiResponse, GetServerConfigFileApiArg>({\n query: (queryArg) => ({ url: `/api/config/files/${queryArg.fileType}` }),\n }),\n uploadServerConfigFile: build.mutation<\n UploadServerConfigFileApiResponse,\n UploadServerConfigFileApiArg\n >({\n query: (queryArg) => ({\n url: `/api/config/files/${queryArg.fileType}`,\n method: 'PUT',\n headers: {\n 'x-file-name': queryArg['x-file-name'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetServerConfigSchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigSchemaApiArg = void\nexport type GetServerConfigApiResponse = /** status 200 Successful Response */ ServerConfigModel\nexport type GetServerConfigApiArg = void\nexport type SetServerConfigApiResponse = /** status 200 Successful Response */ any\nexport type SetServerConfigApiArg = {\n serverConfigModel: ServerConfigModel\n}\nexport type GetServerConfigOverridesApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigOverridesApiArg = void\nexport type GetConfigValueApiResponse = /** status 200 Successful Response */ any\nexport type GetConfigValueApiArg = {\n /** The key of the configuration value to retrieve */\n key: string\n}\nexport type GetServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type GetServerConfigFileApiArg = {\n fileType: 'login_background' | 'studio_logo'\n}\nexport type UploadServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type UploadServerConfigFileApiArg = {\n /** The type of file to upload. */\n fileType: 'login_background' | 'studio_logo'\n /** The name of the file. */\n 'x-file-name': string\n 'content-type': string\n}\nexport type CustomizationModel = {\n login_background?: string\n studio_logo?: string\n /** The message that is displayed to users on the login page. Markdown syntax is supported. */\n motd?: string\n}\nexport type ProjectOptionsModel = {\n /** A regular expression that is used to create project code from the project name. */\n project_code_regex?: string\n}\nexport type ServerConfigModel = {\n /** The name of the studio */\n studio_name?: string\n /** Customization options for the login page */\n customization?: CustomizationModel\n project_options?: ProjectOptionsModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,iBAAiB,MAAM,MAAyD;AAAA,MAC9E,OAAO,OAAO,EAAE,KAAK,cAAc;AAAA,IAAA,CACpC;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,MAG9B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,wBAAwB;AAAA,IAAA,CAC9C;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,GAAG,GAAG;AAAA,IAAA,CAClE;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,QAAQ,GAAG;AAAA,IAAA,CACvE;AAAA,IACD,wBAAwB,MAAM,SAG5B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,qBAAqB,SAAS,QAAQ;AAAA,QAC3C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,eAAe,SAAS,aAAa;AAAA,UACrC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"configuration.es.js","sources":["../../../../../src/api/generated/configuration.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getServerConfigSchema: build.query<\n GetServerConfigSchemaApiResponse,\n GetServerConfigSchemaApiArg\n >({\n query: () => ({ url: `/api/config/schema` }),\n }),\n getServerConfig: build.query<GetServerConfigApiResponse, GetServerConfigApiArg>({\n query: () => ({ url: `/api/config` }),\n }),\n setServerConfig: build.mutation<SetServerConfigApiResponse, SetServerConfigApiArg>({\n query: (queryArg) => ({\n url: `/api/config`,\n method: 'POST',\n body: queryArg.serverConfigModel,\n }),\n }),\n getServerConfigOverrides: build.query<\n GetServerConfigOverridesApiResponse,\n GetServerConfigOverridesApiArg\n >({\n query: () => ({ url: `/api/config/overrides` }),\n }),\n getConfigValue: build.query<GetConfigValueApiResponse, GetConfigValueApiArg>({\n query: (queryArg) => ({ url: `/api/config/value/${queryArg.key}` }),\n }),\n getServerConfigFile: build.query<GetServerConfigFileApiResponse, GetServerConfigFileApiArg>({\n query: (queryArg) => ({ url: `/api/config/files/${queryArg.fileType}` }),\n }),\n uploadServerConfigFile: build.mutation<\n UploadServerConfigFileApiResponse,\n UploadServerConfigFileApiArg\n >({\n query: (queryArg) => ({\n url: `/api/config/files/${queryArg.fileType}`,\n method: 'PUT',\n headers: {\n 'x-file-name': queryArg['x-file-name'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetServerConfigSchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigSchemaApiArg = void\nexport type GetServerConfigApiResponse = /** status 200 Successful Response */ ServerConfigModel\nexport type GetServerConfigApiArg = void\nexport type SetServerConfigApiResponse = /** status 200 Successful Response */ any\nexport type SetServerConfigApiArg = {\n serverConfigModel: ServerConfigModel\n}\nexport type GetServerConfigOverridesApiResponse = /** status 200 Successful Response */ object\nexport type GetServerConfigOverridesApiArg = void\nexport type GetConfigValueApiResponse = /** status 200 Successful Response */ any\nexport type GetConfigValueApiArg = {\n /** The key of the configuration value to retrieve */\n key: string\n}\nexport type GetServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type GetServerConfigFileApiArg = {\n fileType: 'login_background' | 'studio_logo'\n}\nexport type UploadServerConfigFileApiResponse = /** status 200 Successful Response */ any\nexport type UploadServerConfigFileApiArg = {\n /** The type of file to upload. */\n fileType: 'login_background' | 'studio_logo'\n /** The name of the file. */\n 'x-file-name': string\n 'content-type': string\n}\nexport type CustomizationModel = {\n login_background?: string\n studio_logo?: string\n /** The message that is displayed to users on the login page. Markdown syntax is supported. */\n motd?: string\n}\nexport type ProjectOptionsModel = {\n /** A regular expression that is used to create project code from the project name. */\n project_code_regex?: string\n}\nexport type ChangelogSettingsModel = {\n /** If enabled, the changelog will be shown to normal users. */\n show_changelog_to_users?: boolean\n}\nexport type ServerConfigModel = {\n /** The name of the studio */\n studio_name?: string\n /** Customization options for the login page */\n customization?: CustomizationModel\n project_options?: ProjectOptionsModel\n /** Settings for the changelog feature */\n changelog?: ChangelogSettingsModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,iBAAiB,MAAM,MAAyD;AAAA,MAC9E,OAAO,OAAO,EAAE,KAAK,cAAc;AAAA,IAAA,CACpC;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,MAG9B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,wBAAwB;AAAA,IAAA,CAC9C;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,GAAG,GAAG;AAAA,IAAA,CAClE;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,QAAQ,GAAG;AAAA,IAAA,CACvE;AAAA,IACD,wBAAwB,MAAM,SAG5B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,qBAAqB,SAAS,QAAQ;AAAA,QAC3C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,eAAe,SAAS,aAAa;AAAA,UACrC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -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 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 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}\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 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 = 10 | 20 | 30 | 40\nexport type EntityListPostModel = {\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 /** 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 /** 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}\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 /** 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":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,mCAAmC,MAAM,MAGvC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmC,MAAM,SAGvC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,MAAyD;AAAA,MAC9E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,U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V;AAAA,IAAA,CACD;AAAA,IACD,kBAAkB,MAAM,SAA8D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"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 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 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 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 = 10 | 20 | 30 | 40\nexport type EntityListPostModel = {\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 /** 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 /** 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}\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 /** 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":["api"],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P,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"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 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 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}\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 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 = 10 | 20 | 30 | 40\nexport type EntityListPostModel = {\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 /** 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 /** 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}\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 /** 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":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,mCAAmC,MAAM,MAGvC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA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AAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"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 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 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 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 = 10 | 20 | 30 | 40\nexport type EntityListPostModel = {\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 /** 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 /** 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}\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 /** 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":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,mCAAmC,MAAM,MAGvC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmC,MAAM,SAGvC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,MAAyD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sources":["../../../../../src/api/generated/events.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n enroll: build.mutation<EnrollApiResponse, EnrollApiArg>({\n query: (queryArg) => ({\n url: `/api/enroll`,\n method: 'POST',\n body: queryArg.enrollRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n postEvent: build.mutation<PostEventApiResponse, PostEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events`,\n method: 'POST',\n body: queryArg.dispatchEventRequestModel,\n }),\n }),\n getEvent: build.query<GetEventApiResponse, GetEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}` }),\n }),\n deleteEvent: build.mutation<DeleteEventApiResponse, DeleteEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}`, method: 'DELETE' }),\n }),\n updateExistingEvent: build.mutation<UpdateExistingEventApiResponse, UpdateExistingEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events/${queryArg.eventId}`,\n method: 'PATCH',\n body: queryArg.updateEventRequestModel,\n }),\n }),\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n query: build.mutation<QueryApiResponse, QueryApiArg>({\n query: (queryArg) => ({\n url: `/api/query`,\n method: 'POST',\n body: queryArg.queryRequestModel,\n }),\n }),\n queryTasksFolders: build.mutation<QueryTasksFoldersApiResponse, QueryTasksFoldersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/tasksFolders`,\n method: 'POST',\n body: queryArg.tasksFoldersQuery,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type EnrollApiResponse = /** status 200 Successful Response */ EnrollResponseModel\nexport type EnrollApiArg = {\n 'x-sender'?: string\n 'x-sender-type'?: string\n enrollRequestModel: EnrollRequestModel\n}\nexport type PostEventApiResponse = /** status 200 Successful Response */ DispatchEventResponseModel\nexport type PostEventApiArg = {\n dispatchEventRequestModel: DispatchEventRequestModel\n}\nexport type GetEventApiResponse = /** status 200 Successful Response */ EventModel\nexport type GetEventApiArg = {\n eventId: string\n}\nexport type DeleteEventApiResponse = unknown\nexport type DeleteEventApiArg = {\n eventId: string\n}\nexport type UpdateExistingEventApiResponse = unknown\nexport type UpdateExistingEventApiArg = {\n eventId: string\n updateEventRequestModel: UpdateEventRequestModel\n}\nexport type EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type QueryApiResponse = /** status 200 Successful Response */ object[]\nexport type QueryApiArg = {\n queryRequestModel: QueryRequestModel\n}\nexport type QueryTasksFoldersApiResponse =\n /** status 200 Successful Response */ TasksFoldersResponse\nexport type QueryTasksFoldersApiArg = {\n projectName: string\n tasksFoldersQuery: TasksFoldersQuery\n}\nexport type EnrollResponseModel = {\n id: string\n dependsOn: string\n hash: string\n status?: 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 QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EnrollRequestModel = {\n sourceTopic: string | string[]\n targetTopic: string\n sender?: string\n senderType?: string\n /** Short, human readable description of the target event */\n description?: string\n /** Ensure events are processed in sequential order */\n sequential?: boolean\n /** Filter source events */\n filter?: QueryFilter\n maxRetries?: number\n /** Ignore source events created by specified sender types */\n ignoreSenderTypes?: string[]\n /** Ignore events older than this many days. Use 0 for no limit */\n ignoreOlderThan?: number\n /** Causes enroll endpoint to be really really slow. This flag is for development and testing purposes only. Never use it in production. */\n slothMode?: boolean\n}\nexport type DispatchEventResponseModel = {\n /** ID of the created event. */\n id: string\n}\nexport type DispatchEventRequestModel = {\n /** Topic of the event */\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deterministic hash of the event topic and summary/payload */\n hash?: string\n /** Name of the project if the event belong to one. */\n project?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n /** Is event finished (one shot event) */\n finished?: boolean\n /** Set to False for fire-and-forget events */\n store?: boolean\n /** Allow reusing events with the same hash */\n reuse?: boolean\n}\nexport type EventModel = {\n id?: string\n hash: string\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n senderType?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n retries?: number\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n createdAt?: string\n updatedAt?: string\n}\nexport type UpdateEventRequestModel = {\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deprecated use 'project' instead */\n projectName?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n /** Short, human-readable description of the event and its state */\n description?: string\n summary?: object\n payload?: object\n /** Percentage of progress. Transmitted to clients in real time. */\n progress?: number\n /** Force number of attempted retries */\n retries?: number\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type QueryRequestModel = {\n entity:\n | 'event'\n | 'project'\n | 'user'\n | 'folder'\n | 'product'\n | 'task'\n | 'version'\n | 'representation'\n | 'workfile'\n /** Filter events */\n filter?: QueryFilter\n /** Maximum number of events to return */\n limit?: number\n /** Offset of the first event to return */\n offset?: number\n}\nexport type TasksFoldersResponse = {\n /** List of folder ids containing tasks matching the query */\n folderIds?: string[]\n}\nexport type TasksFoldersQuery = {\n /** Filter object used to resolve the tasks */\n filter?: QueryFilter\n /** 'fulltext' search used to resolve the tasks */\n search?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,QAAQ,MAAM,SAA0C;AAAA,MACtD,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,WAAW,MAAM,SAAgD;AAAA,MAC/D,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,UAAU,MAAM,MAA2C;AAAA,MACzD,OAAO,CAAC,cAAc,EAAE,KAAK,eAAe,SAAS,OAAO,GAAG;AAAA,IAAA,CAChE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc,EAAE,KAAK,eAAe,SAAS,OAAO,IAAI,QAAQ,SAAS;AAAA,IAAA,CAClF;AAAA,IACD,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,eAAe,SAAS,OAAO;AAAA,QACpC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,OAAO,MAAM,SAAwC;AAAA,MACnD,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"events.cjs.js","sources":["../../../../../src/api/generated/events.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n enroll: build.mutation<EnrollApiResponse, EnrollApiArg>({\n query: (queryArg) => ({\n url: `/api/enroll`,\n method: 'POST',\n body: queryArg.enrollRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n postEvent: build.mutation<PostEventApiResponse, PostEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events`,\n method: 'POST',\n body: queryArg.dispatchEventRequestModel,\n }),\n }),\n getEvent: build.query<GetEventApiResponse, GetEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}` }),\n }),\n deleteEvent: build.mutation<DeleteEventApiResponse, DeleteEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}`, method: 'DELETE' }),\n }),\n updateExistingEvent: build.mutation<UpdateExistingEventApiResponse, UpdateExistingEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events/${queryArg.eventId}`,\n method: 'PATCH',\n body: queryArg.updateEventRequestModel,\n }),\n }),\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n query: build.mutation<QueryApiResponse, QueryApiArg>({\n query: (queryArg) => ({\n url: `/api/query`,\n method: 'POST',\n body: queryArg.queryRequestModel,\n }),\n }),\n queryTasksFolders: build.mutation<QueryTasksFoldersApiResponse, QueryTasksFoldersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/tasksFolders`,\n method: 'POST',\n body: queryArg.tasksFoldersQuery,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type EnrollApiResponse = /** status 200 Successful Response */ EnrollResponseModel\nexport type EnrollApiArg = {\n 'x-sender'?: string\n 'x-sender-type'?: string\n enrollRequestModel: EnrollRequestModel\n}\nexport type PostEventApiResponse = /** status 200 Successful Response */ DispatchEventResponseModel\nexport type PostEventApiArg = {\n dispatchEventRequestModel: DispatchEventRequestModel\n}\nexport type GetEventApiResponse = /** status 200 Successful Response */ EventModel\nexport type GetEventApiArg = {\n eventId: string\n}\nexport type DeleteEventApiResponse = unknown\nexport type DeleteEventApiArg = {\n eventId: string\n}\nexport type UpdateExistingEventApiResponse = unknown\nexport type UpdateExistingEventApiArg = {\n eventId: string\n updateEventRequestModel: UpdateEventRequestModel\n}\nexport type EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type QueryApiResponse = /** status 200 Successful Response */ object[]\nexport type QueryApiArg = {\n queryRequestModel: QueryRequestModel\n}\nexport type QueryTasksFoldersApiResponse =\n /** status 200 Successful Response */ TasksFoldersResponse\nexport type QueryTasksFoldersApiArg = {\n projectName: string\n tasksFoldersQuery: TasksFoldersQuery\n}\nexport type EnrollResponseModel = {\n id: string\n dependsOn: string\n hash: string\n status?: 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 QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EnrollRequestModel = {\n sourceTopic: string | string[]\n targetTopic: string\n sender?: string\n senderType?: string\n /** Short, human readable description of the target event */\n description?: string\n /** Ensure events are processed in sequential order */\n sequential?: boolean\n /** Filter source events */\n filter?: QueryFilter\n maxRetries?: number\n /** Ignore source events created by specified sender types */\n ignoreSenderTypes?: string[]\n /** Ignore events older than this many days. Use 0 for no limit */\n ignoreOlderThan?: number\n /** Causes enroll endpoint to be really really slow. This flag is for development and testing purposes only. Never use it in production. */\n slothMode?: boolean\n}\nexport type DispatchEventResponseModel = {\n /** ID of the created event. */\n id: string\n}\nexport type DispatchEventRequestModel = {\n /** Topic of the event */\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deterministic hash of the event topic and summary/payload */\n hash?: string\n /** Name of the project if the event belong to one. */\n project?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n /** Is event finished (one shot event) */\n finished?: boolean\n /** Set to False for fire-and-forget events */\n store?: boolean\n /** Allow reusing events with the same hash */\n reuse?: boolean\n}\nexport type EventModel = {\n id?: string\n hash: string\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n senderType?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n retries?: number\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n createdAt?: string\n updatedAt?: string\n}\nexport type UpdateEventRequestModel = {\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deprecated use 'project' instead */\n projectName?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n /** Short, human-readable description of the event and its state */\n description?: string\n summary?: object\n payload?: object\n /** Percentage of progress. Transmitted to clients in real time. */\n progress?: number\n /** Force number of attempted retries */\n retries?: number\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type QueryRequestModel = {\n entity:\n | 'event'\n | 'project'\n | 'user'\n | 'folder'\n | 'product'\n | 'task'\n | 'version'\n | 'representation'\n | 'workfile'\n /** Filter events */\n filter?: QueryFilter\n /** Maximum number of events to return */\n limit?: number\n /** Offset of the first event to return */\n offset?: number\n}\nexport type TasksFoldersResponse = {\n /** List of folder ids containing tasks matching the query */\n folderIds?: string[]\n}\nexport type TasksFoldersQuery = {\n /** Filter object used to resolve the tasks */\n filter?: QueryFilter\n /** 'fulltext' search used to resolve the tasks */\n search?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,QAAQ,MAAM,SAA0C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A,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"events.es.js","sources":["../../../../../src/api/generated/events.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n enroll: build.mutation<EnrollApiResponse, EnrollApiArg>({\n query: (queryArg) => ({\n url: `/api/enroll`,\n method: 'POST',\n body: queryArg.enrollRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n postEvent: build.mutation<PostEventApiResponse, PostEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events`,\n method: 'POST',\n body: queryArg.dispatchEventRequestModel,\n }),\n }),\n getEvent: build.query<GetEventApiResponse, GetEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}` }),\n }),\n deleteEvent: build.mutation<DeleteEventApiResponse, DeleteEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}`, method: 'DELETE' }),\n }),\n updateExistingEvent: build.mutation<UpdateExistingEventApiResponse, UpdateExistingEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events/${queryArg.eventId}`,\n method: 'PATCH',\n body: queryArg.updateEventRequestModel,\n }),\n }),\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n query: build.mutation<QueryApiResponse, QueryApiArg>({\n query: (queryArg) => ({\n url: `/api/query`,\n method: 'POST',\n body: queryArg.queryRequestModel,\n }),\n }),\n queryTasksFolders: build.mutation<QueryTasksFoldersApiResponse, QueryTasksFoldersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/tasksFolders`,\n method: 'POST',\n body: queryArg.tasksFoldersQuery,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type EnrollApiResponse = /** status 200 Successful Response */ EnrollResponseModel\nexport type EnrollApiArg = {\n 'x-sender'?: string\n 'x-sender-type'?: string\n enrollRequestModel: EnrollRequestModel\n}\nexport type PostEventApiResponse = /** status 200 Successful Response */ DispatchEventResponseModel\nexport type PostEventApiArg = {\n dispatchEventRequestModel: DispatchEventRequestModel\n}\nexport type GetEventApiResponse = /** status 200 Successful Response */ EventModel\nexport type GetEventApiArg = {\n eventId: string\n}\nexport type DeleteEventApiResponse = unknown\nexport type DeleteEventApiArg = {\n eventId: string\n}\nexport type UpdateExistingEventApiResponse = unknown\nexport type UpdateExistingEventApiArg = {\n eventId: string\n updateEventRequestModel: UpdateEventRequestModel\n}\nexport type EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type QueryApiResponse = /** status 200 Successful Response */ object[]\nexport type QueryApiArg = {\n queryRequestModel: QueryRequestModel\n}\nexport type QueryTasksFoldersApiResponse =\n /** status 200 Successful Response */ TasksFoldersResponse\nexport type QueryTasksFoldersApiArg = {\n projectName: string\n tasksFoldersQuery: TasksFoldersQuery\n}\nexport type EnrollResponseModel = {\n id: string\n dependsOn: string\n hash: string\n status?: 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 QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EnrollRequestModel = {\n sourceTopic: string | string[]\n targetTopic: string\n sender?: string\n senderType?: string\n /** Short, human readable description of the target event */\n description?: string\n /** Ensure events are processed in sequential order */\n sequential?: boolean\n /** Filter source events */\n filter?: QueryFilter\n maxRetries?: number\n /** Ignore source events created by specified sender types */\n ignoreSenderTypes?: string[]\n /** Ignore events older than this many days. Use 0 for no limit */\n ignoreOlderThan?: number\n /** Causes enroll endpoint to be really really slow. This flag is for development and testing purposes only. Never use it in production. */\n slothMode?: boolean\n}\nexport type DispatchEventResponseModel = {\n /** ID of the created event. */\n id: string\n}\nexport type DispatchEventRequestModel = {\n /** Topic of the event */\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deterministic hash of the event topic and summary/payload */\n hash?: string\n /** Name of the project if the event belong to one. */\n project?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n /** Is event finished (one shot event) */\n finished?: boolean\n /** Set to False for fire-and-forget events */\n store?: boolean\n /** Allow reusing events with the same hash */\n reuse?: boolean\n}\nexport type EventModel = {\n id?: string\n hash: string\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n senderType?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n retries?: number\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n createdAt?: string\n updatedAt?: string\n}\nexport type UpdateEventRequestModel = {\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deprecated use 'project' instead */\n projectName?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n /** Short, human-readable description of the event and its state */\n description?: string\n summary?: object\n payload?: object\n /** Percentage of progress. Transmitted to clients in real time. */\n progress?: number\n /** Force number of attempted retries */\n retries?: number\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type QueryRequestModel = {\n entity:\n | 'event'\n | 'project'\n | 'user'\n | 'folder'\n | 'product'\n | 'task'\n | 'version'\n | 'representation'\n | 'workfile'\n /** Filter events */\n filter?: QueryFilter\n /** Maximum number of events to return */\n limit?: number\n /** Offset of the first event to return */\n offset?: number\n}\nexport type TasksFoldersResponse = {\n /** List of folder ids containing tasks matching the query */\n folderIds?: string[]\n}\nexport type TasksFoldersQuery = {\n /** Filter object used to resolve the tasks */\n filter?: QueryFilter\n /** 'fulltext' search used to resolve the tasks */\n search?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,QAAQ,MAAM,SAA0C;AAAA,MACtD,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,WAAW,MAAM,SAAgD;AAAA,MAC/D,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,UAAU,MAAM,MAA2C;AAAA,MACzD,OAAO,CAAC,cAAc,EAAE,KAAK,eAAe,SAAS,OAAO,GAAG;AAAA,IAAA,CAChE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc,EAAE,KAAK,eAAe,SAAS,OAAO,IAAI,QAAQ,SAAS;AAAA,IAAA,CAClF;AAAA,IACD,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,eAAe,SAAS,OAAO;AAAA,QACpC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,OAAO,MAAM,SAAwC;AAAA,MACnD,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"events.es.js","sources":["../../../../../src/api/generated/events.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n enroll: build.mutation<EnrollApiResponse, EnrollApiArg>({\n query: (queryArg) => ({\n url: `/api/enroll`,\n method: 'POST',\n body: queryArg.enrollRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n postEvent: build.mutation<PostEventApiResponse, PostEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events`,\n method: 'POST',\n body: queryArg.dispatchEventRequestModel,\n }),\n }),\n getEvent: build.query<GetEventApiResponse, GetEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}` }),\n }),\n deleteEvent: build.mutation<DeleteEventApiResponse, DeleteEventApiArg>({\n query: (queryArg) => ({ url: `/api/events/${queryArg.eventId}`, method: 'DELETE' }),\n }),\n updateExistingEvent: build.mutation<UpdateExistingEventApiResponse, UpdateExistingEventApiArg>({\n query: (queryArg) => ({\n url: `/api/events/${queryArg.eventId}`,\n method: 'PATCH',\n body: queryArg.updateEventRequestModel,\n }),\n }),\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n query: build.mutation<QueryApiResponse, QueryApiArg>({\n query: (queryArg) => ({\n url: `/api/query`,\n method: 'POST',\n body: queryArg.queryRequestModel,\n }),\n }),\n queryTasksFolders: build.mutation<QueryTasksFoldersApiResponse, QueryTasksFoldersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/tasksFolders`,\n method: 'POST',\n body: queryArg.tasksFoldersQuery,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type EnrollApiResponse = /** status 200 Successful Response */ EnrollResponseModel\nexport type EnrollApiArg = {\n 'x-sender'?: string\n 'x-sender-type'?: string\n enrollRequestModel: EnrollRequestModel\n}\nexport type PostEventApiResponse = /** status 200 Successful Response */ DispatchEventResponseModel\nexport type PostEventApiArg = {\n dispatchEventRequestModel: DispatchEventRequestModel\n}\nexport type GetEventApiResponse = /** status 200 Successful Response */ EventModel\nexport type GetEventApiArg = {\n eventId: string\n}\nexport type DeleteEventApiResponse = unknown\nexport type DeleteEventApiArg = {\n eventId: string\n}\nexport type UpdateExistingEventApiResponse = unknown\nexport type UpdateExistingEventApiArg = {\n eventId: string\n updateEventRequestModel: UpdateEventRequestModel\n}\nexport type EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type QueryApiResponse = /** status 200 Successful Response */ object[]\nexport type QueryApiArg = {\n queryRequestModel: QueryRequestModel\n}\nexport type QueryTasksFoldersApiResponse =\n /** status 200 Successful Response */ TasksFoldersResponse\nexport type QueryTasksFoldersApiArg = {\n projectName: string\n tasksFoldersQuery: TasksFoldersQuery\n}\nexport type EnrollResponseModel = {\n id: string\n dependsOn: string\n hash: string\n status?: 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 QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EnrollRequestModel = {\n sourceTopic: string | string[]\n targetTopic: string\n sender?: string\n senderType?: string\n /** Short, human readable description of the target event */\n description?: string\n /** Ensure events are processed in sequential order */\n sequential?: boolean\n /** Filter source events */\n filter?: QueryFilter\n maxRetries?: number\n /** Ignore source events created by specified sender types */\n ignoreSenderTypes?: string[]\n /** Ignore events older than this many days. Use 0 for no limit */\n ignoreOlderThan?: number\n /** Causes enroll endpoint to be really really slow. This flag is for development and testing purposes only. Never use it in production. */\n slothMode?: boolean\n}\nexport type DispatchEventResponseModel = {\n /** ID of the created event. */\n id: string\n}\nexport type DispatchEventRequestModel = {\n /** Topic of the event */\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deterministic hash of the event topic and summary/payload */\n hash?: string\n /** Name of the project if the event belong to one. */\n project?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n /** Is event finished (one shot event) */\n finished?: boolean\n /** Set to False for fire-and-forget events */\n store?: boolean\n /** Allow reusing events with the same hash */\n reuse?: boolean\n}\nexport type EventModel = {\n id?: string\n hash: string\n topic: string\n /** Identifier of the process that sent the event. */\n sender?: string\n senderType?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n /** ID of the event this event depends on. */\n dependsOn?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n retries?: number\n /** Short, human-readable description of the event and its state */\n description?: string\n /** Arbitrary topic-specific data sent to clients in real time */\n summary?: object\n /** Full event payload. Only avaiable in REST endpoint. */\n payload?: object\n createdAt?: string\n updatedAt?: string\n}\nexport type UpdateEventRequestModel = {\n /** Identifier of the process that sent the event. */\n sender?: string\n /** Deprecated use 'project' instead */\n projectName?: string\n /** Name of the project if the event belong to one. */\n project?: string\n user?: string\n status?: 'pending' | 'in_progress' | 'finished' | 'failed' | 'aborted' | 'restarted'\n /** Short, human-readable description of the event and its state */\n description?: string\n summary?: object\n payload?: object\n /** Percentage of progress. Transmitted to clients in real time. */\n progress?: number\n /** Force number of attempted retries */\n retries?: number\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type QueryRequestModel = {\n entity:\n | 'event'\n | 'project'\n | 'user'\n | 'folder'\n | 'product'\n | 'task'\n | 'version'\n | 'representation'\n | 'workfile'\n /** Filter events */\n filter?: QueryFilter\n /** Maximum number of events to return */\n limit?: number\n /** Offset of the first event to return */\n offset?: number\n}\nexport type TasksFoldersResponse = {\n /** List of folder ids containing tasks matching the query */\n folderIds?: string[]\n}\nexport type TasksFoldersQuery = {\n /** Filter object used to resolve the tasks */\n filter?: QueryFilter\n /** 'fulltext' search used to resolve the tasks */\n search?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,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AAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -32,6 +32,11 @@ const injectedRtkApi = client.api.injectEndpoints({
32
32
  method: "HEAD"
33
33
  })
34
34
  }),
35
+ getProjectFileInfo: build.query({
36
+ query: (queryArg) => ({
37
+ url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`
38
+ })
39
+ }),
35
40
  getProjectFilePayload: build.query({
36
41
  query: (queryArg) => ({
37
42
  url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`
@@ -1 +1 @@
1
- {"version":3,"file":"files.cjs.js","sources":["../../../../../src/api/generated/files.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n uploadProjectFile: build.mutation<UploadProjectFileApiResponse, UploadProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files`,\n method: 'POST',\n headers: {\n 'x-file-id': queryArg['x-file-id'],\n 'x-file-name': queryArg['x-file-name'],\n 'x-activity-id': queryArg['x-activity-id'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type UploadProjectFileApiResponse =\n /** status 201 Successful Response */ CreateFileResponseModel\nexport type UploadProjectFileApiArg = {\n projectName: string\n 'x-file-id'?: string\n 'x-file-name': string\n 'x-activity-id'?: string\n 'content-type': string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type CreateFileResponseModel = {\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}\n"],"names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QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,UACN,GAAG,SAAS;AAAA,QAAA;AAAA,MAEhB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"files.cjs.js","sources":["../../../../../src/api/generated/files.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n uploadProjectFile: build.mutation<UploadProjectFileApiResponse, UploadProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files`,\n method: 'POST',\n headers: {\n 'x-file-id': queryArg['x-file-id'],\n 'x-file-name': queryArg['x-file-name'],\n 'x-activity-id': queryArg['x-activity-id'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type UploadProjectFileApiResponse =\n /** status 201 Successful Response */ CreateFileResponseModel\nexport type UploadProjectFileApiArg = {\n projectName: string\n 'x-file-id'?: string\n 'x-file-name': string\n 'x-activity-id'?: string\n 'content-type': string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type CreateFileResponseModel = {\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 FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\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AAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,UACN,GAAG,SAAS;AAAA,QAAA;AAAA,MAEhB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -30,6 +30,11 @@ const injectedRtkApi = api.injectEndpoints({
30
30
  method: "HEAD"
31
31
  })
32
32
  }),
33
+ getProjectFileInfo: build.query({
34
+ query: (queryArg) => ({
35
+ url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`
36
+ })
37
+ }),
33
38
  getProjectFilePayload: build.query({
34
39
  query: (queryArg) => ({
35
40
  url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`
@@ -1 +1 @@
1
- {"version":3,"file":"files.es.js","sources":["../../../../../src/api/generated/files.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n uploadProjectFile: build.mutation<UploadProjectFileApiResponse, UploadProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files`,\n method: 'POST',\n headers: {\n 'x-file-id': queryArg['x-file-id'],\n 'x-file-name': queryArg['x-file-name'],\n 'x-activity-id': queryArg['x-activity-id'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type UploadProjectFileApiResponse =\n /** status 201 Successful Response */ CreateFileResponseModel\nexport type UploadProjectFileApiArg = {\n projectName: string\n 'x-file-id'?: string\n 'x-file-name': string\n 'x-activity-id'?: string\n 'content-type': string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type CreateFileResponseModel = {\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}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,aAAa,SAAS,WAAW;AAAA,UACjC,eAAe,SAAS,aAAa;AAAA,UACrC,iBAAiB,SAAS,eAAe;AAAA,UACzC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoB,MAAM,SAAkE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,yBAAyB,MAAM,MAG7B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,UACN,GAAG,SAAS;AAAA,QAAA;AAAA,MAEhB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"files.es.js","sources":["../../../../../src/api/generated/files.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n uploadProjectFile: build.mutation<UploadProjectFileApiResponse, UploadProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files`,\n method: 'POST',\n headers: {\n 'x-file-id': queryArg['x-file-id'],\n 'x-file-name': queryArg['x-file-name'],\n 'x-activity-id': queryArg['x-activity-id'],\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n getProjectFile: build.query<GetProjectFileApiResponse, GetProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n }),\n }),\n deleteProjectFile: build.mutation<DeleteProjectFileApiResponse, DeleteProjectFileApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'DELETE',\n }),\n }),\n getProjectFileHead: build.mutation<GetProjectFileHeadApiResponse, GetProjectFileHeadApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}`,\n method: 'HEAD',\n }),\n }),\n getProjectFileInfo: build.query<GetProjectFileInfoApiResponse, GetProjectFileInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`,\n }),\n }),\n getProjectFilePayload: build.query<\n GetProjectFilePayloadApiResponse,\n GetProjectFilePayloadApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`,\n }),\n }),\n getProjectFileThumbnail: build.query<\n GetProjectFileThumbnailApiResponse,\n GetProjectFileThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/thumbnail`,\n }),\n }),\n getProjectFileStill: build.query<GetProjectFileStillApiResponse, GetProjectFileStillApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/still`,\n params: {\n t: queryArg.t,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type UploadProjectFileApiResponse =\n /** status 201 Successful Response */ CreateFileResponseModel\nexport type UploadProjectFileApiArg = {\n projectName: string\n 'x-file-id'?: string\n 'x-file-name': string\n 'x-activity-id'?: string\n 'content-type': string\n}\nexport type GetProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type DeleteProjectFileApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectFileApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileHeadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileHeadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileInfoApiResponse = /** status 200 Successful Response */ FileInfo\nexport type GetProjectFileInfoApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFilePayloadApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFilePayloadApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileThumbnailApiArg = {\n projectName: string\n fileId: string\n}\nexport type GetProjectFileStillApiResponse = /** status 200 Successful Response */ any\nexport type GetProjectFileStillApiArg = {\n projectName: string\n fileId: string\n t?: number\n}\nexport type CreateFileResponseModel = {\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 FileInfo = {\n size: number\n filename?: string\n contentType?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,aAAa,SAAS,WAAW;AAAA,UACjC,eAAe,SAAS,aAAa;AAAA,UACrC,iBAAiB,SAAS,eAAe;AAAA,UACzC,gBAAgB,SAAS,cAAc;AAAA,QAAA;AAAA,MAE3C;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoB,MAAM,SAAkE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoB,MAAM,MAA+D;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,MAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,yBAAyB,MAAM,MAG7B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,qBAAqB,MAAM,MAAiE;AAAA,MAC1F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,UAAU,SAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,UACN,GAAG,SAAS;AAAA,QAAA;AAAA,MAEhB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"operations.cjs.js","sources":["../../../../../src/api/generated/operations.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n activitiesOperations: build.mutation<\n ActivitiesOperationsApiResponse,\n ActivitiesOperationsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations/activities`,\n method: 'POST',\n body: queryArg.activityOperationsRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n operations: build.mutation<OperationsApiResponse, OperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations`,\n method: 'POST',\n body: queryArg.operationsRequestModel,\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 EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type ActivitiesOperationsApiResponse =\n /** status 200 Successful Response */ ActivityOperationsResponseModel\nexport type ActivitiesOperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityOperationsRequestModel: ActivityOperationsRequestModel\n}\nexport type OperationsApiResponse = /** status 200 Successful Response */ OperationsResponseModel\nexport type OperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n operationsRequestModel: OperationsRequestModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type ActivityOperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n success: boolean\n status?: number\n detail?: string\n /** `None` if type is `create` and the operation fails. */\n activityId?: string\n}\nexport type ActivityOperationsResponseModel = {\n operations?: ActivityOperationResponseModel[]\n success: boolean\n}\nexport type ActivityOperationModel = {\n /** identifier manually or automatically assigned to each operation */\n id?: string\n type: 'create' | 'update' | 'delete'\n /** ID of the activity. None for create */\n activityId?: string\n /** Data to be used for create or update. Ignored for delete.See create/patch activity endpoint for details */\n data?: Record<string, any>\n}\nexport type ActivityOperationsRequestModel = {\n operations?: ActivityOperationModel[]\n canFail?: boolean\n}\nexport type OperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n success: boolean\n status: number\n errorCode?: string\n detail?: string\n}\nexport type OperationsResponseModel = {\n operations?: OperationResponseModel[]\n success: boolean\n}\nexport type OperationModel = {\n id?: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n data?: Record<string, any>\n force?: boolean\n asUser?: string\n}\nexport type OperationsRequestModel = {\n operations?: OperationModel[]\n canFail?: boolean\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,SAAkD;AAAA,MAClE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"operations.cjs.js","sources":["../../../../../src/api/generated/operations.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n activitiesOperations: build.mutation<\n ActivitiesOperationsApiResponse,\n ActivitiesOperationsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations/activities`,\n method: 'POST',\n body: queryArg.activityOperationsRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n operations: build.mutation<OperationsApiResponse, OperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations`,\n method: 'POST',\n body: queryArg.operationsRequestModel,\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 EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type ActivitiesOperationsApiResponse =\n /** status 200 Successful Response */ ActivityOperationsResponseModel\nexport type ActivitiesOperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityOperationsRequestModel: ActivityOperationsRequestModel\n}\nexport type OperationsApiResponse = /** status 200 Successful Response */ OperationsResponseModel\nexport type OperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n operationsRequestModel: OperationsRequestModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type ActivityOperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n success: boolean\n status?: number\n detail?: string\n /** `None` if type is `create` and the operation fails. */\n activityId?: string\n}\nexport type ActivityOperationsResponseModel = {\n operations?: ActivityOperationResponseModel[]\n success: boolean\n}\nexport type ActivityOperationModel = {\n /** identifier manually or automatically assigned to each operation */\n id?: string\n type: 'create' | 'update' | 'delete'\n /** ID of the activity. None for create */\n activityId?: string\n /** Data to be used for create or update. Ignored for delete.See create/patch activity endpoint for details */\n data?: Record<string, any>\n}\nexport type ActivityOperationsRequestModel = {\n operations?: ActivityOperationModel[]\n canFail?: boolean\n}\nexport type OperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n success: boolean\n status: number\n errorCode?: string\n detail?: string\n}\nexport type OperationsResponseModel = {\n operations?: OperationResponseModel[]\n success: boolean\n}\nexport type OperationModel = {\n id?: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n data?: Record<string, any>\n force?: boolean\n asUser?: string\n}\nexport type OperationsRequestModel = {\n operations?: OperationModel[]\n canFail?: boolean\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,SAAkD;AAAA,MAClE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"operations.es.js","sources":["../../../../../src/api/generated/operations.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n activitiesOperations: build.mutation<\n ActivitiesOperationsApiResponse,\n ActivitiesOperationsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations/activities`,\n method: 'POST',\n body: queryArg.activityOperationsRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n operations: build.mutation<OperationsApiResponse, OperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations`,\n method: 'POST',\n body: queryArg.operationsRequestModel,\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 EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type ActivitiesOperationsApiResponse =\n /** status 200 Successful Response */ ActivityOperationsResponseModel\nexport type ActivitiesOperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityOperationsRequestModel: ActivityOperationsRequestModel\n}\nexport type OperationsApiResponse = /** status 200 Successful Response */ OperationsResponseModel\nexport type OperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n operationsRequestModel: OperationsRequestModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type ActivityOperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n success: boolean\n status?: number\n detail?: string\n /** `None` if type is `create` and the operation fails. */\n activityId?: string\n}\nexport type ActivityOperationsResponseModel = {\n operations?: ActivityOperationResponseModel[]\n success: boolean\n}\nexport type ActivityOperationModel = {\n /** identifier manually or automatically assigned to each operation */\n id?: string\n type: 'create' | 'update' | 'delete'\n /** ID of the activity. None for create */\n activityId?: string\n /** Data to be used for create or update. Ignored for delete.See create/patch activity endpoint for details */\n data?: Record<string, any>\n}\nexport type ActivityOperationsRequestModel = {\n operations?: ActivityOperationModel[]\n canFail?: boolean\n}\nexport type OperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n success: boolean\n status: number\n errorCode?: string\n detail?: string\n}\nexport type OperationsResponseModel = {\n operations?: OperationResponseModel[]\n success: boolean\n}\nexport type OperationModel = {\n id?: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n data?: Record<string, any>\n force?: boolean\n asUser?: string\n}\nexport type OperationsRequestModel = {\n operations?: OperationModel[]\n canFail?: boolean\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,SAAkD;AAAA,MAClE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"operations.es.js","sources":["../../../../../src/api/generated/operations.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n eventOperations: build.mutation<EventOperationsApiResponse, EventOperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/eventops`,\n method: 'POST',\n body: queryArg.eventOperationModel,\n }),\n }),\n activitiesOperations: build.mutation<\n ActivitiesOperationsApiResponse,\n ActivitiesOperationsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations/activities`,\n method: 'POST',\n body: queryArg.activityOperationsRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n operations: build.mutation<OperationsApiResponse, OperationsApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/operations`,\n method: 'POST',\n body: queryArg.operationsRequestModel,\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 EventOperationsApiResponse = /** status 200 Successful Response */ any\nexport type EventOperationsApiArg = {\n eventOperationModel: EventOperationModel\n}\nexport type ActivitiesOperationsApiResponse =\n /** status 200 Successful Response */ ActivityOperationsResponseModel\nexport type ActivitiesOperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityOperationsRequestModel: ActivityOperationsRequestModel\n}\nexport type OperationsApiResponse = /** status 200 Successful Response */ OperationsResponseModel\nexport type OperationsApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n operationsRequestModel: OperationsRequestModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type EventOperationModel = {\n type: 'delete' | 'restart' | 'abort'\n /** Filter source events */\n filter: QueryFilter\n}\nexport type ActivityOperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n success: boolean\n status?: number\n detail?: string\n /** `None` if type is `create` and the operation fails. */\n activityId?: string\n}\nexport type ActivityOperationsResponseModel = {\n operations?: ActivityOperationResponseModel[]\n success: boolean\n}\nexport type ActivityOperationModel = {\n /** identifier manually or automatically assigned to each operation */\n id?: string\n type: 'create' | 'update' | 'delete'\n /** ID of the activity. None for create */\n activityId?: string\n /** Data to be used for create or update. Ignored for delete.See create/patch activity endpoint for details */\n data?: Record<string, any>\n}\nexport type ActivityOperationsRequestModel = {\n operations?: ActivityOperationModel[]\n canFail?: boolean\n}\nexport type OperationResponseModel = {\n id: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n success: boolean\n status: number\n errorCode?: string\n detail?: string\n}\nexport type OperationsResponseModel = {\n operations?: OperationResponseModel[]\n success: boolean\n}\nexport type OperationModel = {\n id?: string\n type: 'create' | 'update' | 'delete'\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityId?: string\n data?: Record<string, any>\n force?: boolean\n asUser?: string\n}\nexport type OperationsRequestModel = {\n operations?: OperationModel[]\n canFail?: boolean\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,SAAkD;AAAA,MAClE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -30,6 +30,11 @@ const injectedRtkApi = client.api.injectEndpoints({
30
30
  method: "HEAD"
31
31
  })
32
32
  }),
33
+ getProjectFileInfo: build.query({
34
+ query: (queryArg) => ({
35
+ url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/info`
36
+ })
37
+ }),
33
38
  getProjectFilePayload: build.query({
34
39
  query: (queryArg) => ({
35
40
  url: `/api/projects/${queryArg.projectName}/files/${queryArg.fileId}/payload`
@@ -170,6 +175,9 @@ const injectedRtkApi = client.api.injectEndpoints({
170
175
  }
171
176
  })
172
177
  }),
178
+ getProjectTags: build.query({
179
+ query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/tags` })
180
+ }),
173
181
  getProjectUsers: build.query({
174
182
  query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/users` })
175
183
  }),
@@ -186,6 +194,14 @@ const injectedRtkApi = client.api.injectEndpoints({
186
194
  method: "POST",
187
195
  body: queryArg.getUrisRequest
188
196
  })
197
+ }),
198
+ planner010DevGetProjectPlannerStatus: build.query({
199
+ query: (queryArg) => ({
200
+ url: `/api/addons/planner/0.1.0-dev/setup`,
201
+ params: {
202
+ project: queryArg.project
203
+ }
204
+ })
189
205
  })
190
206
  }),
191
207
  overrideExisting: false