@ynput/ayon-frontend-shared 0.2.29 → 0.2.30

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 (629) hide show
  1. package/dist/DetailsPanel.cjs.js +1 -1
  2. package/dist/DetailsPanel.es.js +25 -22
  3. package/dist/DetailsPanel.es.js.map +1 -1
  4. package/dist/ProjectTreeTable.cjs.js +1 -1
  5. package/dist/ProjectTreeTable.es.js +51 -49
  6. package/dist/ProjectTreeTable.es.js.map +1 -1
  7. package/dist/api.cjs.js +1 -1
  8. package/dist/api.es.js +220 -213
  9. package/dist/api.es.js.map +1 -1
  10. package/dist/components.cjs.js +1 -1
  11. package/dist/components.es.js +82 -74
  12. package/dist/components.es.js.map +1 -1
  13. package/dist/context.cjs.js +1 -1
  14. package/dist/context.es.js +23 -19
  15. package/dist/context.es.js.map +1 -1
  16. package/dist/hooks.cjs.js +1 -1
  17. package/dist/hooks.es.js +12 -10
  18. package/dist/hooks.es.js.map +1 -1
  19. package/dist/index.cjs.js +1 -1
  20. package/dist/index.es.js +11 -9
  21. package/dist/index.es.js.map +1 -1
  22. package/dist/shared/src/api/base/client.cjs.js +1 -1
  23. package/dist/shared/src/api/base/client.cjs.js.map +1 -1
  24. package/dist/shared/src/api/base/client.es.js +8 -7
  25. package/dist/shared/src/api/base/client.es.js.map +1 -1
  26. package/dist/shared/src/api/generated/anatomy.cjs.js.map +1 -1
  27. package/dist/shared/src/api/generated/anatomy.es.js.map +1 -1
  28. package/dist/shared/src/api/generated/attributes.cjs.js +1 -1
  29. package/dist/shared/src/api/generated/attributes.cjs.js.map +1 -1
  30. package/dist/shared/src/api/generated/attributes.es.js +9 -2
  31. package/dist/shared/src/api/generated/attributes.es.js.map +1 -1
  32. package/dist/shared/src/api/generated/entityLists.cjs.js +1 -1
  33. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  34. package/dist/shared/src/api/generated/entityLists.es.js +46 -0
  35. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  36. package/dist/shared/src/api/generated/graphql.cjs.js +10 -5
  37. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  38. package/dist/shared/src/api/generated/graphql.es.js +23 -18
  39. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  40. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  41. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  42. package/dist/shared/src/api/queries/attributes/updateAttributes.cjs.js +1 -1
  43. package/dist/shared/src/api/queries/attributes/updateAttributes.cjs.js.map +1 -1
  44. package/dist/shared/src/api/queries/attributes/updateAttributes.es.js +12 -5
  45. package/dist/shared/src/api/queries/attributes/updateAttributes.es.js.map +1 -1
  46. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +1 -1
  47. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
  48. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -3
  49. package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
  50. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +1 -1
  51. package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
  52. package/dist/shared/src/api/queries/entities/updateEntity.es.js +33 -32
  53. package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
  54. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -1
  55. package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
  56. package/dist/shared/src/api/queries/entityLists/getLists.es.js +151 -125
  57. package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
  58. package/dist/shared/src/api/queries/entityLists/listFolders.cjs.js +2 -0
  59. package/dist/shared/src/api/queries/entityLists/listFolders.cjs.js.map +1 -0
  60. package/dist/shared/src/api/queries/entityLists/listFolders.es.js +111 -0
  61. package/dist/shared/src/api/queries/entityLists/listFolders.es.js.map +1 -0
  62. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -1
  63. package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
  64. package/dist/shared/src/api/queries/entityLists/updateLists.es.js +104 -88
  65. package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
  66. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +1 -1
  67. package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
  68. package/dist/shared/src/api/queries/overview/updateOverview.es.js +7 -6
  69. package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
  70. package/dist/shared/src/api/queries/project/getProject.cjs.js +1 -19
  71. package/dist/shared/src/api/queries/project/getProject.cjs.js.map +1 -1
  72. package/dist/shared/src/api/queries/project/getProject.es.js +10 -70
  73. package/dist/shared/src/api/queries/project/getProject.es.js.map +1 -1
  74. package/dist/shared/src/api/queries/project/updateProject.cjs.js +1 -1
  75. package/dist/shared/src/api/queries/project/updateProject.cjs.js.map +1 -1
  76. package/dist/shared/src/api/queries/project/updateProject.es.js +35 -61
  77. package/dist/shared/src/api/queries/project/updateProject.es.js.map +1 -1
  78. package/dist/shared/src/api/queries/system/getSystem.cjs.js +1 -1
  79. package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
  80. package/dist/shared/src/api/queries/system/getSystem.es.js +14 -8
  81. package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
  82. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js +1 -1
  83. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js.map +1 -1
  84. package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js +23 -23
  85. package/dist/shared/src/api/queries/users/getUsers.cjs.js +1 -1
  86. package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
  87. package/dist/shared/src/api/queries/users/getUsers.es.js +18 -17
  88. package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
  89. package/dist/shared/src/api/queries/users/updateUsers.cjs.js +1 -1
  90. package/dist/shared/src/api/queries/users/updateUsers.cjs.js.map +1 -1
  91. package/dist/shared/src/api/queries/users/updateUsers.es.js +19 -11
  92. package/dist/shared/src/api/queries/users/updateUsers.es.js.map +1 -1
  93. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
  94. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
  95. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +30 -29
  96. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
  97. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +1 -1
  98. package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
  99. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +3 -2
  100. package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
  101. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js +5 -3
  102. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.cjs.js.map +1 -1
  103. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js +64 -51
  104. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.es.js.map +1 -1
  105. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +3 -3
  106. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
  107. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +66 -59
  108. package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
  109. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js +4 -5
  110. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.cjs.js.map +1 -1
  111. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js +46 -41
  112. package/dist/shared/src/components/DetailsPanelDetails/BorderedSection.es.js.map +1 -1
  113. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
  114. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
  115. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +4 -2
  116. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
  117. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +76 -5
  118. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -1
  119. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +76 -5
  120. package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -1
  121. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +1 -2
  122. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -1
  123. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js +11 -11
  124. package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -1
  125. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js +4 -4
  126. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.cjs.js.map +1 -1
  127. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js +32 -32
  128. package/dist/shared/src/components/DetailsPanelDetails/DetailsSection.es.js.map +1 -1
  129. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js +2 -2
  130. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.cjs.js.map +1 -1
  131. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js +15 -8
  132. package/dist/shared/src/components/DetailsPanelDetails/FieldLabel.es.js.map +1 -1
  133. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +1 -1
  134. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -1
  135. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +3 -2
  136. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -1
  137. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
  138. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
  139. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +3 -2
  140. package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
  141. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
  142. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
  143. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +5 -2
  144. package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
  145. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js +1 -1
  146. package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js.map +1 -1
  147. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js +3 -2
  148. package/dist/shared/src/components/EntityPath/SegmentProvider.es.js.map +1 -1
  149. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.cjs.js +1 -1
  150. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.cjs.js.map +1 -1
  151. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.es.js +51 -152
  152. package/dist/shared/src/components/EnumEditor/DraggableEnumEditorItem.es.js.map +1 -1
  153. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.cjs.js +3 -1
  154. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.cjs.js.map +1 -1
  155. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.es.js +3 -1
  156. package/dist/shared/src/components/EnumEditor/EnumEditor.styled.es.js.map +1 -1
  157. package/dist/shared/src/components/EnumEditor/EnumEditorItem.cjs.js +2 -0
  158. package/dist/shared/src/components/EnumEditor/EnumEditorItem.cjs.js.map +1 -0
  159. package/dist/shared/src/components/EnumEditor/EnumEditorItem.es.js +141 -0
  160. package/dist/shared/src/components/EnumEditor/EnumEditorItem.es.js.map +1 -0
  161. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
  162. package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
  163. package/dist/shared/src/components/Feedback/FeedbackContext.es.js +5 -4
  164. package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
  165. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
  166. package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
  167. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +5 -2
  168. package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
  169. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
  170. package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
  171. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +3 -2
  172. package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
  173. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
  174. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
  175. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +5 -2
  176. package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
  177. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +2 -0
  178. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -0
  179. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +177 -0
  180. package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -0
  181. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js +2 -0
  182. package/dist/shared/src/components/ListMetaData/ListMetaData.cjs.js.map +1 -0
  183. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js +31 -0
  184. package/dist/shared/src/components/ListMetaData/ListMetaData.es.js.map +1 -0
  185. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +3 -3
  186. package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
  187. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +8 -7
  188. package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -1
  189. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
  190. package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
  191. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +42 -31
  192. package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
  193. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js +12 -2
  194. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js.map +1 -1
  195. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js +15 -4
  196. package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js.map +1 -1
  197. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
  198. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
  199. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +7 -4
  200. package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
  201. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
  202. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
  203. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +6 -3
  204. package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
  205. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js +2 -1
  206. package/dist/shared/src/components/QuillListStyles/QuillListStyles.cjs.js.map +1 -1
  207. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js +2 -1
  208. package/dist/shared/src/components/QuillListStyles/QuillListStyles.es.js.map +1 -1
  209. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +5 -5
  210. package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
  211. package/dist/shared/src/components/RenameForm/RenameForm.es.js +116 -105
  212. package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
  213. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +1 -1
  214. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
  215. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +3 -2
  216. package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
  217. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
  218. package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
  219. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +5 -2
  220. package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
  221. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
  222. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
  223. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +6 -3
  224. package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
  225. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
  226. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
  227. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +5 -2
  228. package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
  229. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +1 -1
  230. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
  231. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +3 -2
  232. package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
  233. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
  234. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
  235. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +3 -2
  236. package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
  237. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +3 -3
  238. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
  239. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +6 -5
  240. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
  241. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
  242. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
  243. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +5 -2
  244. package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
  245. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js +1 -1
  246. package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js.map +1 -1
  247. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js +12 -11
  248. package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js.map +1 -1
  249. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
  250. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
  251. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +5 -2
  252. package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
  253. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +1 -1
  254. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
  255. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +5 -4
  256. package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
  257. package/dist/shared/src/components/Watchers/Watchers.cjs.js +1 -1
  258. package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
  259. package/dist/shared/src/components/Watchers/Watchers.es.js +3 -2
  260. package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
  261. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
  262. package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
  263. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +5 -2
  264. package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
  265. package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
  266. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  267. package/dist/shared/src/containers/Actions/Actions.es.js +4 -2
  268. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  269. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
  270. package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
  271. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +5 -2
  272. package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
  273. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
  274. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
  275. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +149 -160
  276. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
  277. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js +7 -1
  278. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.cjs.js.map +1 -1
  279. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.es.js +13 -6
  280. package/dist/shared/src/containers/DetailsPanel/DetailsPanel.styled.es.js.map +1 -1
  281. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
  282. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
  283. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +5 -2
  284. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
  285. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
  286. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
  287. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +6 -3
  288. package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
  289. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
  290. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  291. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +5 -2
  292. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  293. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
  294. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
  295. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +4 -2
  296. package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
  297. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
  298. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
  299. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +3 -2
  300. package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
  301. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
  302. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
  303. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +3 -2
  304. package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
  305. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
  306. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
  307. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +3 -2
  308. package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
  309. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
  310. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
  311. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +5 -2
  312. package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
  313. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
  314. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
  315. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +5 -2
  316. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
  317. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
  318. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
  319. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +5 -2
  320. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
  321. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
  322. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
  323. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +5 -2
  324. package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
  325. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
  326. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
  327. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +4 -2
  328. package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
  329. package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
  330. package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
  331. package/dist/shared/src/containers/Feed/Feed.es.js +20 -19
  332. package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
  333. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
  334. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
  335. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +3 -2
  336. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
  337. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js +18 -3
  338. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js.map +1 -1
  339. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js +24 -9
  340. package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js.map +1 -1
  341. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -1
  342. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
  343. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +3 -2
  344. package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
  345. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js +7 -0
  346. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js.map +1 -1
  347. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js +7 -0
  348. package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js.map +1 -1
  349. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js +1 -1
  350. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js.map +1 -1
  351. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js +3 -2
  352. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js.map +1 -1
  353. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js +1 -1
  354. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js.map +1 -1
  355. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js +3 -2
  356. package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js.map +1 -1
  357. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js +1 -1
  358. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js.map +1 -1
  359. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js +3 -2
  360. package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js.map +1 -1
  361. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
  362. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
  363. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +3 -2
  364. package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
  365. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
  366. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  367. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +7 -5
  368. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  369. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +1 -1
  370. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
  371. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +3 -2
  372. package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
  373. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  374. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  375. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +8 -4
  376. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  377. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  378. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  379. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +191 -183
  380. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  381. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +3 -3
  382. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
  383. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +280 -57
  384. package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
  385. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
  386. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
  387. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +5 -2
  388. package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
  389. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
  390. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
  391. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +5 -2
  392. package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
  393. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
  394. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
  395. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +34 -32
  396. package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
  397. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
  398. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
  399. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +5 -2
  400. package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
  401. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
  402. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
  403. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +10 -9
  404. package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
  405. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
  406. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
  407. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +7 -5
  408. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
  409. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
  410. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
  411. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +20 -18
  412. package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
  413. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
  414. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
  415. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +48 -45
  416. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
  417. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
  418. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
  419. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +5 -2
  420. package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
  421. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +2 -0
  422. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -0
  423. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +239 -0
  424. package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -0
  425. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
  426. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
  427. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +3 -2
  428. package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
  429. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
  430. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
  431. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +5 -2
  432. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
  433. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +1 -1
  434. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
  435. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +3 -2
  436. package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
  437. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
  438. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
  439. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +25 -22
  440. package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
  441. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
  442. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
  443. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +5 -2
  444. package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
  445. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
  446. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
  447. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +5 -2
  448. package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
  449. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +1 -1
  450. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
  451. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +4 -2
  452. package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
  453. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
  454. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
  455. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +5 -2
  456. package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
  457. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
  458. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
  459. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +16 -13
  460. package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
  461. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +1 -1
  462. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  463. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +5 -3
  464. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  465. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js +2 -2
  466. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js.map +1 -1
  467. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js +57 -55
  468. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js.map +1 -1
  469. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
  470. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
  471. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +7 -4
  472. package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
  473. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
  474. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
  475. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +5 -2
  476. package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
  477. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
  478. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
  479. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +5 -2
  480. package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
  481. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
  482. package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
  483. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +169 -148
  484. package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
  485. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js +23 -4
  486. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.cjs.js.map +1 -1
  487. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js +24 -5
  488. package/dist/shared/src/containers/SimpleTable/SimpleTable.styled.es.js.map +1 -1
  489. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js +1 -1
  490. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.cjs.js.map +1 -1
  491. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js +62 -50
  492. package/dist/shared/src/containers/SimpleTable/SimpleTableRowTemplate.es.js.map +1 -1
  493. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
  494. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
  495. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +4 -2
  496. package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
  497. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
  498. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
  499. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +9 -8
  500. package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
  501. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
  502. package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
  503. package/dist/shared/src/containers/Views/context/ViewsContext.es.js +6 -4
  504. package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
  505. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
  506. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
  507. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +4 -2
  508. package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
  509. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
  510. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
  511. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +4 -2
  512. package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
  513. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
  514. package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
  515. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +3 -2
  516. package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
  517. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +1 -1
  518. package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -1
  519. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +3 -2
  520. package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -1
  521. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
  522. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
  523. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +3 -2
  524. package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
  525. package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
  526. package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
  527. package/dist/shared/src/context/AddonProjectContext.es.js +13 -12
  528. package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
  529. package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
  530. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  531. package/dist/shared/src/context/DetailsPanelContext.es.js +6 -4
  532. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  533. package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
  534. package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
  535. package/dist/shared/src/context/PowerpackContext.es.js +61 -41
  536. package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
  537. package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
  538. package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
  539. package/dist/shared/src/context/RemoteModulesContext.es.js +5 -4
  540. package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
  541. package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
  542. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  543. package/dist/shared/src/hooks/useActionTriggers.es.js +3 -2
  544. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  545. package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
  546. package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
  547. package/dist/shared/src/hooks/useEntityUpdate.es.js +4 -2
  548. package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
  549. package/dist/shared/src/hooks/useHierarchyTable.cjs.js +1 -1
  550. package/dist/shared/src/hooks/useHierarchyTable.cjs.js.map +1 -1
  551. package/dist/shared/src/hooks/useHierarchyTable.es.js +3 -2
  552. package/dist/shared/src/hooks/useHierarchyTable.es.js.map +1 -1
  553. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.cjs.js +2 -0
  554. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.cjs.js.map +1 -0
  555. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.es.js +12 -0
  556. package/dist/shared/src/hooks/useQueryArgumentChangeLoading.es.js.map +1 -0
  557. package/dist/shared/src/hooks/useScopedStatuses.cjs.js +1 -1
  558. package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
  559. package/dist/shared/src/hooks/useScopedStatuses.es.js +5 -4
  560. package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
  561. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
  562. package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
  563. package/dist/shared/src/hooks/useUserProjectConfig.es.js +3 -2
  564. package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
  565. package/dist/shared/src/util/checkName.cjs.js +1 -1
  566. package/dist/shared/src/util/checkName.cjs.js.map +1 -1
  567. package/dist/shared/src/util/checkName.es.js +35 -5
  568. package/dist/shared/src/util/checkName.es.js.map +1 -1
  569. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js +1 -1
  570. package/dist/src/components/Menu/MenuComponents/Menu.cjs.js.map +1 -1
  571. package/dist/src/components/Menu/MenuComponents/Menu.es.js +59 -35
  572. package/dist/src/components/Menu/MenuComponents/Menu.es.js.map +1 -1
  573. package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js +13 -0
  574. package/dist/src/components/Menu/MenuComponents/Menu.styled.cjs.js.map +1 -1
  575. package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js +13 -0
  576. package/dist/src/components/Menu/MenuComponents/Menu.styled.es.js.map +1 -1
  577. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js +1 -1
  578. package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js.map +1 -1
  579. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js +52 -36
  580. package/dist/src/components/Menu/MenuComponents/MenuItem.es.js.map +1 -1
  581. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js +1 -1
  582. package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js.map +1 -1
  583. package/dist/src/components/Menu/MenuComponents/MenuList.es.js +103 -83
  584. package/dist/src/components/Menu/MenuComponents/MenuList.es.js.map +1 -1
  585. package/dist/types/api/generated/anatomy.d.ts +23 -0
  586. package/dist/types/api/generated/attributes.d.ts +15 -4
  587. package/dist/types/api/generated/entityLists.d.ts +102 -9
  588. package/dist/types/api/generated/graphql.d.ts +9 -1
  589. package/dist/types/api/generated/projects.d.ts +8 -0
  590. package/dist/types/api/queries/attributes/getAttributes.d.ts +1 -0
  591. package/dist/types/api/queries/attributes/updateAttributes.d.ts +162 -0
  592. package/dist/types/api/queries/entityLists/getLists.d.ts +152 -0
  593. package/dist/types/api/queries/entityLists/getListsAttributes.d.ts +5 -0
  594. package/dist/types/api/queries/entityLists/index.d.ts +1 -0
  595. package/dist/types/api/queries/entityLists/listFolders.d.ts +613 -0
  596. package/dist/types/api/queries/entityLists/types.d.ts +3 -1
  597. package/dist/types/api/queries/entityLists/updateLists.d.ts +5 -0
  598. package/dist/types/api/queries/entityLists/updateListsAttributes.d.ts +5 -0
  599. package/dist/types/api/queries/project/getProject.d.ts +4 -305
  600. package/dist/types/api/queries/project/updateProject.d.ts +803 -0
  601. package/dist/types/api/queries/users/updateUsers.d.ts +160 -0
  602. package/dist/types/components/DetailsPanelAttributes/DetailsPanelAttributesEditor.d.ts +4 -0
  603. package/dist/types/components/DetailsPanelDetails/BorderedSection.d.ts +5 -3
  604. package/dist/types/components/DetailsPanelDetails/DetailsSection.d.ts +3 -2
  605. package/dist/types/components/DetailsPanelDetails/index.d.ts +1 -0
  606. package/dist/types/components/EnumEditor/EnumEditorItem.d.ts +13 -0
  607. package/dist/types/components/EnumEditor/index.d.ts +1 -0
  608. package/dist/types/components/ListAttributeForm/ListAttributeForm.d.ts +11 -0
  609. package/dist/types/components/ListAttributeForm/index.d.ts +1 -0
  610. package/dist/types/components/ListMetaData/ListMetaData.d.ts +8 -0
  611. package/dist/types/components/ListMetaData/index.d.ts +1 -0
  612. package/dist/types/components/Powerpack/PowerpackDialog.styled.d.ts +1 -0
  613. package/dist/types/components/index.d.ts +2 -0
  614. package/dist/types/containers/DetailsPanel/DetailsPanel.styled.d.ts +7 -0
  615. package/dist/types/containers/ProjectTreeTable/context/ProjectDataContext.d.ts +2 -0
  616. package/dist/types/containers/ProjectTreeTable/hooks/index.d.ts +1 -0
  617. package/dist/types/containers/ProjectTreeTable/hooks/useAttributesList.d.ts +1 -2
  618. package/dist/types/containers/ProjectTreeTable/hooks/useColumnGroupBy.d.ts +10 -0
  619. package/dist/types/containers/SimpleTable/SimpleTable.d.ts +3 -0
  620. package/dist/types/containers/SimpleTable/SimpleTableRowTemplate.d.ts +5 -1
  621. package/dist/types/context/AddonProjectContext.d.ts +2 -1
  622. package/dist/types/context/PowerpackContext.d.ts +4 -2
  623. package/dist/types/context/index.d.ts +1 -0
  624. package/dist/types/hooks/index.d.ts +1 -0
  625. package/dist/types/hooks/useQueryArgumentChangeLoading.d.ts +9 -0
  626. package/dist/types/util/checkName.d.ts +9 -1
  627. package/dist/util.cjs.js +1 -1
  628. package/dist/util.es.js +34 -32
  629. package/package.json +1 -1
@@ -1,13 +1,13 @@
1
1
  import { createApi as d } from "../../../../node_modules/@reduxjs/toolkit/dist/query/react/rtk-query-react.modern.es.js";
2
- import { graphqlRequestBaseQuery as u } from "@rtk-query/graphql-request-base-query";
3
- import { GraphQLClient as l } from "../../../../node_modules/graphql-request/build/legacy/classes/GraphQLClient.es.js";
2
+ import { graphqlRequestBaseQuery as l } from "@rtk-query/graphql-request-base-query";
3
+ import { GraphQLClient as u } from "../../../../node_modules/graphql-request/build/legacy/classes/GraphQLClient.es.js";
4
4
  import { fetchBaseQuery as p } from "../../../../node_modules/@reduxjs/toolkit/dist/query/rtk-query.modern.es.js";
5
5
  const y = (e, ...s) => (n, o, i) => {
6
6
  for (const { predicate: r, baseQuery: a } of s)
7
7
  if (r(n, o, i))
8
8
  return a(n, o, i);
9
9
  return e(n, o, i);
10
- }, A = (e, s, n) => e.map((o) => ({
10
+ }, S = (e, s, n) => e.map((o) => ({
11
11
  type: "update",
12
12
  entityType: s,
13
13
  entityId: o,
@@ -38,6 +38,7 @@ const y = (e, ...s) => (n, o, i) => {
38
38
  "entityList",
39
39
  "entityListItem",
40
40
  "entityListAttribute",
41
+ "entityListFolder",
41
42
  "feedback",
42
43
  "folder",
43
44
  "hierarchy",
@@ -77,7 +78,7 @@ const y = (e, ...s) => (n, o, i) => {
77
78
  ], c = (e) => {
78
79
  const s = localStorage.getItem("accessToken");
79
80
  return s && e.set("Authorization", `Bearer ${s}`), e.set("X-Sender", window.senderId), e;
80
- }, m = new l(`${window.location.origin}/graphql`), f = u({
81
+ }, m = new u(`${window.location.origin}/graphql`), f = l({
81
82
  prepareHeaders: c,
82
83
  url: "/graphql",
83
84
  // @ts-ignore
@@ -97,15 +98,15 @@ const y = (e, ...s) => (n, o, i) => {
97
98
  throw t != null && t.response && ((a = t.response) == null ? void 0 : a.status) === 401 ? i() : console.error(t), t;
98
99
  } finally {
99
100
  }
100
- }, L = d({
101
+ }, A = d({
101
102
  reducerPath: "restApi",
102
103
  baseQuery: w,
103
104
  endpoints: () => ({}),
104
105
  tagTypes: h
105
106
  });
106
107
  export {
107
- L as api,
108
- A as buildOperations,
108
+ A as api,
109
+ S as buildOperations,
109
110
  m as client
110
111
  };
111
112
  //# sourceMappingURL=client.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'actions',\n 'activity',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'branch',\n 'bundleList',\n 'config',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'detail',\n 'entities',\n 'entitiesVersions',\n 'entity',\n 'entityActivities',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'feedback',\n 'folder',\n 'hierarchy',\n 'inbox',\n 'info',\n 'installerList',\n 'kanban',\n 'kanBanTask',\n 'login',\n 'marketAddon',\n 'overviewTask',\n 'product',\n 'progress',\n 'project',\n 'projectAddons',\n 'projects',\n 'review',\n 'secrets',\n 'service',\n 'session',\n 'settingsAddons',\n 'shared',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'userPool',\n 'version',\n 'view',\n 'viewer',\n 'watchers',\n 'workfile',\n 'link',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["combineBaseQueries","defaultBQ","caseBQs","arg","api","extraOptions","predicate","baseQuery","buildOperations","ids","type","data","id","tagTypes","prepareHeaders","headers","storedAccessToken","client","GraphQLClient","baseGraphqlQuery","graphqlRequestBaseQuery","fetchBaseQuery","polymorphBaseQuery","args","baseQueryWithRedirect","url","shouldRedirectToLogin","result","_a","error","_b","createApi"],"mappings":"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"}
1
+ {"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'actions',\n 'activity',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'branch',\n 'bundleList',\n 'config',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'detail',\n 'entities',\n 'entitiesVersions',\n 'entity',\n 'entityActivities',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entityListFolder',\n 'feedback',\n 'folder',\n 'hierarchy',\n 'inbox',\n 'info',\n 'installerList',\n 'kanban',\n 'kanBanTask',\n 'login',\n 'marketAddon',\n 'overviewTask',\n 'product',\n 'progress',\n 'project',\n 'projectAddons',\n 'projects',\n 'review',\n 'secrets',\n 'service',\n 'session',\n 'settingsAddons',\n 'shared',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'userPool',\n 'version',\n 'view',\n 'viewer',\n 'watchers',\n 'workfile',\n 'link',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["combineBaseQueries","defaultBQ","caseBQs","arg","api","extraOptions","predicate","baseQuery","buildOperations","ids","type","data","id","tagTypes","prepareHeaders","headers","storedAccessToken","client","GraphQLClient","baseGraphqlQuery","graphqlRequestBaseQuery","fetchBaseQuery","polymorphBaseQuery","args","baseQueryWithRedirect","url","shouldRedirectToLogin","result","_a","error","_b","createApi"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.cjs.js","sources":["../../../../../src/api/generated/anatomy.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAnatomySchema: build.query<GetAnatomySchemaApiResponse, GetAnatomySchemaApiArg>({\n query: () => ({ url: `/api/anatomy/schema` }),\n }),\n getAnatomyPresets: build.query<GetAnatomyPresetsApiResponse, GetAnatomyPresetsApiArg>({\n query: () => ({ url: `/api/anatomy/presets` }),\n }),\n getAnatomyPreset: build.query<GetAnatomyPresetApiResponse, GetAnatomyPresetApiArg>({\n query: (queryArg) => ({ url: `/api/anatomy/presets/${queryArg.presetName}` }),\n }),\n updateAnatomyPreset: build.mutation<UpdateAnatomyPresetApiResponse, UpdateAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'PUT',\n body: queryArg.anatomy,\n }),\n }),\n deleteAnatomyPreset: build.mutation<DeleteAnatomyPresetApiResponse, DeleteAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'DELETE',\n }),\n }),\n setPrimaryPreset: build.mutation<SetPrimaryPresetApiResponse, SetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'POST',\n }),\n }),\n unsetPrimaryPreset: build.mutation<UnsetPrimaryPresetApiResponse, UnsetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'DELETE',\n }),\n }),\n renameAnatomyPreset: build.mutation<RenameAnatomyPresetApiResponse, RenameAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/rename`,\n method: 'POST',\n body: queryArg.renamePresetModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAnatomySchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetAnatomySchemaApiArg = void\nexport type GetAnatomyPresetsApiResponse =\n /** status 200 Successful Response */ AnatomyPresetListModel\nexport type GetAnatomyPresetsApiArg = void\nexport type GetAnatomyPresetApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetAnatomyPresetApiArg = {\n presetName: string\n}\nexport type UpdateAnatomyPresetApiResponse = unknown\nexport type UpdateAnatomyPresetApiArg = {\n presetName: string\n anatomy: Anatomy\n}\nexport type DeleteAnatomyPresetApiResponse = unknown\nexport type DeleteAnatomyPresetApiArg = {\n presetName: string\n}\nexport type SetPrimaryPresetApiResponse = unknown\nexport type SetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type UnsetPrimaryPresetApiResponse = unknown\nexport type UnsetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type RenameAnatomyPresetApiResponse = unknown\nexport type RenameAnatomyPresetApiArg = {\n presetName: string\n renamePresetModel: RenamePresetModel\n}\nexport type AnatomyPresetListItem = {\n name: string\n primary: boolean\n version: string\n}\nexport type AnatomyPresetListModel = {\n /** Anatomy model version currently used in Ayon */\n version: string\n presets?: AnatomyPresetListItem[]\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type Anatomy = {\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RenamePresetModel = {\n /** The new name of the anatomy preset. */\n name: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,iBAAkBA,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,qBAAsB,EAAA,CAC5C,EACD,kBAAmBA,EAAM,MAA6D,CACpF,MAAO,KAAO,CAAE,IAAK,sBAAuB,EAAA,CAC7C,EACD,iBAAkBA,EAAM,MAA2D,CACjF,MAAQC,IAAc,CAAE,IAAK,wBAAwBA,EAAS,UAAU,EAAG,EAAA,CAC5E,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,GAChD,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,GAChD,OAAQ,QACV,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,WAChD,OAAQ,MACV,EAAA,CACD,EACD,mBAAoBD,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,WAChD,OAAQ,QACV,EAAA,CACD,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,UAChD,OAAQ,OACR,KAAMA,EAAS,iBACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"anatomy.cjs.js","sources":["../../../../../src/api/generated/anatomy.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAnatomySchema: build.query<GetAnatomySchemaApiResponse, GetAnatomySchemaApiArg>({\n query: () => ({ url: `/api/anatomy/schema` }),\n }),\n getAnatomyPresets: build.query<GetAnatomyPresetsApiResponse, GetAnatomyPresetsApiArg>({\n query: () => ({ url: `/api/anatomy/presets` }),\n }),\n getAnatomyPreset: build.query<GetAnatomyPresetApiResponse, GetAnatomyPresetApiArg>({\n query: (queryArg) => ({ url: `/api/anatomy/presets/${queryArg.presetName}` }),\n }),\n updateAnatomyPreset: build.mutation<UpdateAnatomyPresetApiResponse, UpdateAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'PUT',\n body: queryArg.anatomy,\n }),\n }),\n deleteAnatomyPreset: build.mutation<DeleteAnatomyPresetApiResponse, DeleteAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'DELETE',\n }),\n }),\n setPrimaryPreset: build.mutation<SetPrimaryPresetApiResponse, SetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'POST',\n }),\n }),\n unsetPrimaryPreset: build.mutation<UnsetPrimaryPresetApiResponse, UnsetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'DELETE',\n }),\n }),\n renameAnatomyPreset: build.mutation<RenameAnatomyPresetApiResponse, RenameAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/rename`,\n method: 'POST',\n body: queryArg.renamePresetModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAnatomySchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetAnatomySchemaApiArg = void\nexport type GetAnatomyPresetsApiResponse =\n /** status 200 Successful Response */ AnatomyPresetListModel\nexport type GetAnatomyPresetsApiArg = void\nexport type GetAnatomyPresetApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetAnatomyPresetApiArg = {\n presetName: string\n}\nexport type UpdateAnatomyPresetApiResponse = unknown\nexport type UpdateAnatomyPresetApiArg = {\n presetName: string\n anatomy: Anatomy\n}\nexport type DeleteAnatomyPresetApiResponse = unknown\nexport type DeleteAnatomyPresetApiArg = {\n presetName: string\n}\nexport type SetPrimaryPresetApiResponse = unknown\nexport type SetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type UnsetPrimaryPresetApiResponse = unknown\nexport type UnsetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type RenameAnatomyPresetApiResponse = unknown\nexport type RenameAnatomyPresetApiArg = {\n presetName: string\n renamePresetModel: RenamePresetModel\n}\nexport type AnatomyPresetListItem = {\n name: string\n primary: boolean\n version: string\n}\nexport type AnatomyPresetListModel = {\n /** Anatomy model version currently used in Ayon */\n version: string\n presets?: AnatomyPresetListItem[]\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RenamePresetModel = {\n /** The new name of the anatomy preset. */\n name: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,iBAAkBA,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,qBAAsB,EAAA,CAC5C,EACD,kBAAmBA,EAAM,MAA6D,CACpF,MAAO,KAAO,CAAE,IAAK,sBAAuB,EAAA,CAC7C,EACD,iBAAkBA,EAAM,MAA2D,CACjF,MAAQC,IAAc,CAAE,IAAK,wBAAwBA,EAAS,UAAU,EAAG,EAAA,CAC5E,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,GAChD,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,GAChD,OAAQ,QACV,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,WAChD,OAAQ,MACV,EAAA,CACD,EACD,mBAAoBD,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,WAChD,OAAQ,QACV,EAAA,CACD,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,wBAAwBA,EAAS,UAAU,UAChD,OAAQ,OACR,KAAMA,EAAS,iBACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"anatomy.es.js","sources":["../../../../../src/api/generated/anatomy.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAnatomySchema: build.query<GetAnatomySchemaApiResponse, GetAnatomySchemaApiArg>({\n query: () => ({ url: `/api/anatomy/schema` }),\n }),\n getAnatomyPresets: build.query<GetAnatomyPresetsApiResponse, GetAnatomyPresetsApiArg>({\n query: () => ({ url: `/api/anatomy/presets` }),\n }),\n getAnatomyPreset: build.query<GetAnatomyPresetApiResponse, GetAnatomyPresetApiArg>({\n query: (queryArg) => ({ url: `/api/anatomy/presets/${queryArg.presetName}` }),\n }),\n updateAnatomyPreset: build.mutation<UpdateAnatomyPresetApiResponse, UpdateAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'PUT',\n body: queryArg.anatomy,\n }),\n }),\n deleteAnatomyPreset: build.mutation<DeleteAnatomyPresetApiResponse, DeleteAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'DELETE',\n }),\n }),\n setPrimaryPreset: build.mutation<SetPrimaryPresetApiResponse, SetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'POST',\n }),\n }),\n unsetPrimaryPreset: build.mutation<UnsetPrimaryPresetApiResponse, UnsetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'DELETE',\n }),\n }),\n renameAnatomyPreset: build.mutation<RenameAnatomyPresetApiResponse, RenameAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/rename`,\n method: 'POST',\n body: queryArg.renamePresetModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAnatomySchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetAnatomySchemaApiArg = void\nexport type GetAnatomyPresetsApiResponse =\n /** status 200 Successful Response */ AnatomyPresetListModel\nexport type GetAnatomyPresetsApiArg = void\nexport type GetAnatomyPresetApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetAnatomyPresetApiArg = {\n presetName: string\n}\nexport type UpdateAnatomyPresetApiResponse = unknown\nexport type UpdateAnatomyPresetApiArg = {\n presetName: string\n anatomy: Anatomy\n}\nexport type DeleteAnatomyPresetApiResponse = unknown\nexport type DeleteAnatomyPresetApiArg = {\n presetName: string\n}\nexport type SetPrimaryPresetApiResponse = unknown\nexport type SetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type UnsetPrimaryPresetApiResponse = unknown\nexport type UnsetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type RenameAnatomyPresetApiResponse = unknown\nexport type RenameAnatomyPresetApiArg = {\n presetName: string\n renamePresetModel: RenamePresetModel\n}\nexport type AnatomyPresetListItem = {\n name: string\n primary: boolean\n version: string\n}\nexport type AnatomyPresetListModel = {\n /** Anatomy model version currently used in Ayon */\n version: string\n presets?: AnatomyPresetListItem[]\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type Anatomy = {\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RenamePresetModel = {\n /** The new name of the anatomy preset. */\n name: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,mBAAmBA,EAAM,MAA6D;AAAA,MACpF,OAAO,OAAO,EAAE,KAAK,uBAAuB;AAAA,IAAA,CAC7C;AAAA,IACD,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,CAACC,OAAc,EAAE,KAAK,wBAAwBA,EAAS,UAAU,GAAG;AAAA,IAAA,CAC5E;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"anatomy.es.js","sources":["../../../../../src/api/generated/anatomy.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAnatomySchema: build.query<GetAnatomySchemaApiResponse, GetAnatomySchemaApiArg>({\n query: () => ({ url: `/api/anatomy/schema` }),\n }),\n getAnatomyPresets: build.query<GetAnatomyPresetsApiResponse, GetAnatomyPresetsApiArg>({\n query: () => ({ url: `/api/anatomy/presets` }),\n }),\n getAnatomyPreset: build.query<GetAnatomyPresetApiResponse, GetAnatomyPresetApiArg>({\n query: (queryArg) => ({ url: `/api/anatomy/presets/${queryArg.presetName}` }),\n }),\n updateAnatomyPreset: build.mutation<UpdateAnatomyPresetApiResponse, UpdateAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'PUT',\n body: queryArg.anatomy,\n }),\n }),\n deleteAnatomyPreset: build.mutation<DeleteAnatomyPresetApiResponse, DeleteAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}`,\n method: 'DELETE',\n }),\n }),\n setPrimaryPreset: build.mutation<SetPrimaryPresetApiResponse, SetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'POST',\n }),\n }),\n unsetPrimaryPreset: build.mutation<UnsetPrimaryPresetApiResponse, UnsetPrimaryPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/primary`,\n method: 'DELETE',\n }),\n }),\n renameAnatomyPreset: build.mutation<RenameAnatomyPresetApiResponse, RenameAnatomyPresetApiArg>({\n query: (queryArg) => ({\n url: `/api/anatomy/presets/${queryArg.presetName}/rename`,\n method: 'POST',\n body: queryArg.renamePresetModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAnatomySchemaApiResponse = /** status 200 Successful Response */ object\nexport type GetAnatomySchemaApiArg = void\nexport type GetAnatomyPresetsApiResponse =\n /** status 200 Successful Response */ AnatomyPresetListModel\nexport type GetAnatomyPresetsApiArg = void\nexport type GetAnatomyPresetApiResponse = /** status 200 Successful Response */ Anatomy\nexport type GetAnatomyPresetApiArg = {\n presetName: string\n}\nexport type UpdateAnatomyPresetApiResponse = unknown\nexport type UpdateAnatomyPresetApiArg = {\n presetName: string\n anatomy: Anatomy\n}\nexport type DeleteAnatomyPresetApiResponse = unknown\nexport type DeleteAnatomyPresetApiArg = {\n presetName: string\n}\nexport type SetPrimaryPresetApiResponse = unknown\nexport type SetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type UnsetPrimaryPresetApiResponse = unknown\nexport type UnsetPrimaryPresetApiArg = {\n presetName: string\n}\nexport type RenameAnatomyPresetApiResponse = unknown\nexport type RenameAnatomyPresetApiArg = {\n presetName: string\n renamePresetModel: RenamePresetModel\n}\nexport type AnatomyPresetListItem = {\n name: string\n primary: boolean\n version: string\n}\nexport type AnatomyPresetListModel = {\n /** Anatomy model version currently used in Ayon */\n version: string\n presets?: AnatomyPresetListItem[]\n}\nexport type EntityNaming = {\n /** How to capitalize the entity names */\n capitalization?: 'lower' | 'upper' | 'keep' | 'pascal' | 'camel'\n /** Character to separate different parts of the name */\n separator?: '' | '_' | '-' | '.'\n}\nexport type Root = {\n name: string\n windows?: string\n linux?: string\n darwin?: string\n}\nexport type WorkTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type PublishTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type HeroTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type DeliveryTemplate = {\n name: string\n directory: string\n file: string\n}\nexport type StagingDirectory = {\n name: string\n directory?: string\n}\nexport type CustomTemplate = {\n name: string\n value?: string\n}\nexport type Templates = {\n version_padding?: number\n version?: string\n frame_padding?: number\n frame?: string\n work?: WorkTemplate[]\n publish?: PublishTemplate[]\n hero?: HeroTemplate[]\n delivery?: DeliveryTemplate[]\n staging?: StagingDirectory[]\n others?: CustomTemplate[]\n}\nexport type ProjectAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderType = {\n name: string\n original_name?: string\n shortName?: string\n icon?: string\n}\nexport type TaskType = {\n name: string\n original_name?: string\n shortName?: string\n color?: string\n icon?: string\n}\nexport type LinkType = {\n link_type: string\n input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n color?: string\n style?: 'solid' | 'dashed'\n}\nexport type Status = {\n name: string\n original_name?: string\n shortName?: string\n state?: 'not_started' | 'in_progress' | 'done' | 'blocked'\n icon?: string\n color?: string\n /** Limit the status to specific entity types. */\n scope?: string[]\n}\nexport type Tag = {\n name: string\n original_name?: string\n color?: string\n}\nexport type DefaultProductBaseType = {\n color?: string\n icon?: string\n}\nexport type ProductBaseType = {\n name?: string\n color?: string\n icon?: string\n}\nexport type ProductBaseTypes = {\n /** Default appearance for product types */\n default?: DefaultProductBaseType\n definitions?: ProductBaseType[]\n}\nexport type Anatomy = {\n /** Settings for automatic entity name generation */\n entity_naming?: EntityNaming\n /** Setup root paths for the project */\n roots?: Root[]\n /** Path templates configuration */\n templates?: Templates\n /** Attributes configuration */\n attributes?: ProjectAttribModel\n /** Folder types configuration */\n folder_types?: FolderType[]\n /** Task types configuration */\n task_types?: TaskType[]\n /** Link types configuration */\n link_types?: LinkType[]\n /** Statuses configuration */\n statuses?: Status[]\n /** Tags configuration */\n tags?: Tag[]\n product_base_types?: ProductBaseTypes\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type RenamePresetModel = {\n /** The new name of the anatomy preset. */\n name: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,mBAAmBA,EAAM,MAA6D;AAAA,MACpF,OAAO,OAAO,EAAE,KAAK,uBAAuB;AAAA,IAAA,CAC7C;AAAA,IACD,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,CAACC,OAAc,EAAE,KAAK,wBAAwBA,EAAS,UAAU,GAAG;AAAA,IAAA,CAC5E;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,wBAAwBA,EAAS,UAAU;AAAA,QAChD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base/client.cjs.js"),r=i.api.injectEndpoints({endpoints:e=>({getAttributeList:e.query({query:()=>({url:"/api/attributes"})}),setAttributeList:e.mutation({query:t=>({url:"/api/attributes",method:"PUT",body:t.setAttributeListModel})}),getAttributeConfig:e.query({query:t=>({url:`/api/attributes/${t.attributeName}`})}),setAttributeConfig:e.mutation({query:t=>({url:`/api/attributes/${t.attributeName}`,method:"PUT",body:t.attributePutModel})}),deleteAttribute:e.mutation({query:t=>({url:`/api/attributes/${t.attributeName}`,method:"DELETE"})})}),overrideExisting:!1});exports.api=r;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base/client.cjs.js"),r=i.api.injectEndpoints({endpoints:e=>({getAttributeList:e.query({query:()=>({url:"/api/attributes"})}),setAttributeList:e.mutation({query:t=>({url:"/api/attributes",method:"PUT",body:t.setAttributeListModel})}),getAttributeConfig:e.query({query:t=>({url:`/api/attributes/${t.attributeName}`})}),setAttributeConfig:e.mutation({query:t=>({url:`/api/attributes/${t.attributeName}`,method:"PUT",body:t.attributePutModel})}),deleteAttribute:e.mutation({query:t=>({url:`/api/attributes/${t.attributeName}`,method:"DELETE"})}),patchAttributeConfig:e.mutation({query:t=>({url:`/api/attributes/${t.attributeName}`,method:"PATCH",body:t.attributePatchModel})})}),overrideExisting:!1});exports.api=r;
2
2
  //# sourceMappingURL=attributes.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"attributes.cjs.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":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,iBAAkBA,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,iBAAkB,EAAA,CACxC,EACD,iBAAkBA,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,kBACL,OAAQ,MACR,KAAMA,EAAS,qBACjB,EAAA,CACD,EACD,mBAAoBD,EAAM,MAA+D,CACvF,MAAQC,IAAc,CAAE,IAAK,mBAAmBA,EAAS,aAAa,EAAG,EAAA,CAC1E,EACD,mBAAoBD,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,mBAAmBA,EAAS,aAAa,GAC9C,OAAQ,MACR,KAAMA,EAAS,iBACjB,EAAA,CACD,EACD,gBAAiBD,EAAM,SAA4D,CACjF,MAAQC,IAAc,CAAE,IAAK,mBAAmBA,EAAS,aAAa,GAAI,OAAQ,QAAS,EAC5F,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"attributes.cjs.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 patchAttributeConfig: build.mutation<\n PatchAttributeConfigApiResponse,\n PatchAttributeConfigApiArg\n >({\n query: (queryArg) => ({\n url: `/api/attributes/${queryArg.attributeName}`,\n method: 'PATCH',\n body: queryArg.attributePatchModel,\n }),\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 PatchAttributeConfigApiResponse = unknown\nexport type PatchAttributeConfigApiArg = {\n attributeName: string\n attributePatchModel: AttributePatchModel\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 data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\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 data: AttributeData\n}\nexport type AttributePatchModel = {\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 data?: AttributeData\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,iBAAkBA,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,iBAAkB,EAAA,CACxC,EACD,iBAAkBA,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,kBACL,OAAQ,MACR,KAAMA,EAAS,qBACjB,EAAA,CACD,EACD,mBAAoBD,EAAM,MAA+D,CACvF,MAAQC,IAAc,CAAE,IAAK,mBAAmBA,EAAS,aAAa,EAAG,EAAA,CAC1E,EACD,mBAAoBD,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,mBAAmBA,EAAS,aAAa,GAC9C,OAAQ,MACR,KAAMA,EAAS,iBACjB,EAAA,CACD,EACD,gBAAiBD,EAAM,SAA4D,CACjF,MAAQC,IAAc,CAAE,IAAK,mBAAmBA,EAAS,aAAa,GAAI,OAAQ,QAAS,EAAA,CAC5F,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,mBAAmBA,EAAS,aAAa,GAC9C,OAAQ,QACR,KAAMA,EAAS,mBACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { api as i } from "../base/client.es.js";
2
- const u = i.injectEndpoints({
2
+ const a = i.injectEndpoints({
3
3
  endpoints: (e) => ({
4
4
  getAttributeList: e.query({
5
5
  query: () => ({ url: "/api/attributes" })
@@ -23,11 +23,18 @@ const u = i.injectEndpoints({
23
23
  }),
24
24
  deleteAttribute: e.mutation({
25
25
  query: (t) => ({ url: `/api/attributes/${t.attributeName}`, method: "DELETE" })
26
+ }),
27
+ patchAttributeConfig: e.mutation({
28
+ query: (t) => ({
29
+ url: `/api/attributes/${t.attributeName}`,
30
+ method: "PATCH",
31
+ body: t.attributePatchModel
32
+ })
26
33
  })
27
34
  }),
28
35
  overrideExisting: !1
29
36
  });
30
37
  export {
31
- u as api
38
+ a as api
32
39
  };
33
40
  //# sourceMappingURL=attributes.es.js.map
@@ -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 /** 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":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IAAA,CACxC;AAAA,IACD,kBAAkBA,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,MAA+D;AAAA,MACvF,OAAO,CAACC,OAAc,EAAE,KAAK,mBAAmBA,EAAS,aAAa,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,oBAAoBD,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,mBAAmBA,EAAS,aAAa;AAAA,QAC9C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,SAA4D;AAAA,MACjF,OAAO,CAACC,OAAc,EAAE,KAAK,mBAAmBA,EAAS,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 patchAttributeConfig: build.mutation<\n PatchAttributeConfigApiResponse,\n PatchAttributeConfigApiArg\n >({\n query: (queryArg) => ({\n url: `/api/attributes/${queryArg.attributeName}`,\n method: 'PATCH',\n body: queryArg.attributePatchModel,\n }),\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 PatchAttributeConfigApiResponse = unknown\nexport type PatchAttributeConfigApiArg = {\n attributeName: string\n attributePatchModel: AttributePatchModel\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 data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\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 data: AttributeData\n}\nexport type AttributePatchModel = {\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 data?: AttributeData\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IAAA,CACxC;AAAA,IACD,kBAAkBA,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,oBAAoBD,EAAM,MAA+D;AAAA,MACvF,OAAO,CAACC,OAAc,EAAE,KAAK,mBAAmBA,EAAS,aAAa,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,oBAAoBD,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,mBAAmBA,EAAS,aAAa;AAAA,QAC9C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,SAA4D;AAAA,MACjF,OAAO,CAACC,OAAc,EAAE,KAAK,mBAAmBA,EAAS,aAAa,IAAI,QAAQ,SAAS;AAAA,IAAA,CAC5F;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,mBAAmBA,EAAS,aAAa;AAAA,QAC9C,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base/client.cjs.js"),i=s.api.injectEndpoints({endpoints:e=>({getEntityListAttributesDefinition:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`})}),setEntityListAttributesDefinition:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`,method:"PUT",body:t.payload})}),getListEntities:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/entities`})}),createEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"POST",body:t.entityListItemPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItems:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"PATCH",body:t.entityListMultiPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"PATCH",body:t.entityListItemPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists`,method:"POST",body:t.entityListPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),getEntityList:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`})}),deleteEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"DELETE"})}),updateEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"PATCH",body:t.entityListPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),materializeEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/materialize`,method:"POST",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})})}),overrideExisting:!1});exports.api=i;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("../base/client.cjs.js"),i=s.api.injectEndpoints({endpoints:e=>({getEntityListAttributesDefinition:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`})}),setEntityListAttributesDefinition:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/attributes`,method:"PUT",body:t.payload})}),getListEntities:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/entities`})}),getEntityListFolders:e.query({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`})}),createEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders`,method:"POST",body:t.entityListFolderPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListFolder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,method:"PATCH",body:t.entityListFolderPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),setEntityListFoldersOrder:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/entityListFolders/order`,method:"POST",body:t.entityListFolderOrderModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"POST",body:t.entityListItemPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItems:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items`,method:"PATCH",body:t.entityListMultiPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),deleteEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"DELETE",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),updateEntityListItem:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/items/${t.listItemId}`,method:"PATCH",body:t.entityListItemPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),createEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists`,method:"POST",body:t.entityListPostModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),getEntityList:e.query({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`})}),deleteEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"DELETE"})}),updateEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}`,method:"PATCH",body:t.entityListPatchModel,headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})}),materializeEntityList:e.mutation({query:t=>({url:`/api/projects/${t.projectName}/lists/${t.listId}/materialize`,method:"POST",headers:{"x-sender":t["x-sender"],"x-sender-type":t["x-sender-type"]}})})}),overrideExisting:!1});exports.api=i;
2
2
  //# sourceMappingURL=entityLists.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n 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":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,cACnE,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,WACrE,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,SACnE,OAAQ,OACR,KAAMA,EAAS,wBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,SACnE,OAAQ,QACR,KAAMA,EAAS,0BACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,UAAUA,EAAS,UAAU,GAChG,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,UAAUA,EAAS,UAAU,GAChG,OAAQ,QACR,KAAMA,EAAS,yBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,SAC1C,OAAQ,OACR,KAAMA,EAAS,oBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,MAAqD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,EACrE,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,GACnE,OAAQ,QACV,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,GACnE,OAAQ,QACR,KAAMA,EAAS,qBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,eACnE,OAAQ,OACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\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?: object\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?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\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?: object\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: 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}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}
@@ -18,6 +18,52 @@ const d = s.injectEndpoints({
18
18
  url: `/api/projects/${t.projectName}/lists/${t.listId}/entities`
19
19
  })
20
20
  }),
21
+ getEntityListFolders: e.query({
22
+ query: (t) => ({ url: `/api/projects/${t.projectName}/entityListFolders` })
23
+ }),
24
+ createEntityListFolder: e.mutation({
25
+ query: (t) => ({
26
+ url: `/api/projects/${t.projectName}/entityListFolders`,
27
+ method: "POST",
28
+ body: t.entityListFolderPostModel,
29
+ headers: {
30
+ "x-sender": t["x-sender"],
31
+ "x-sender-type": t["x-sender-type"]
32
+ }
33
+ })
34
+ }),
35
+ deleteEntityListFolder: e.mutation({
36
+ query: (t) => ({
37
+ url: `/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,
38
+ method: "DELETE",
39
+ headers: {
40
+ "x-sender": t["x-sender"],
41
+ "x-sender-type": t["x-sender-type"]
42
+ }
43
+ })
44
+ }),
45
+ updateEntityListFolder: e.mutation({
46
+ query: (t) => ({
47
+ url: `/api/projects/${t.projectName}/entityListFolders/${t.folderId}`,
48
+ method: "PATCH",
49
+ body: t.entityListFolderPatchModel,
50
+ headers: {
51
+ "x-sender": t["x-sender"],
52
+ "x-sender-type": t["x-sender-type"]
53
+ }
54
+ })
55
+ }),
56
+ setEntityListFoldersOrder: e.mutation({
57
+ query: (t) => ({
58
+ url: `/api/projects/${t.projectName}/entityListFolders/order`,
59
+ method: "POST",
60
+ body: t.entityListFolderOrderModel,
61
+ headers: {
62
+ "x-sender": t["x-sender"],
63
+ "x-sender-type": t["x-sender-type"]
64
+ }
65
+ })
66
+ }),
21
67
  createEntityListItem: e.mutation({
22
68
  query: (t) => ({
23
69
  url: `/api/projects/${t.projectName}/lists/${t.listId}/items`,
@@ -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 /** 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":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}
1
+ {"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\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?: object\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?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\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?: object\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: 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}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}