@ynput/ayon-frontend-shared 0.2.31 → 0.2.33
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.
- package/dist/DetailsPanel.cjs.js +1 -1
- package/dist/DetailsPanel.es.js +29 -22
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/Feed.cjs.js +1 -1
- package/dist/Feed.es.js +11 -9
- package/dist/Feed.es.js.map +1 -1
- package/dist/Views.cjs.js.map +1 -1
- package/dist/Views.es.js.map +1 -1
- package/dist/_virtual/index.cjs10.js +1 -1
- package/dist/_virtual/index.cjs8.js +1 -1
- package/dist/_virtual/index.cjs9.js +1 -1
- package/dist/_virtual/index.es10.js +5 -5
- package/dist/_virtual/index.es8.js +3 -3
- package/dist/_virtual/index.es9.js +5 -5
- package/dist/api.cjs.js +1 -1
- package/dist/api.es.js +219 -217
- package/dist/api.es.js.map +1 -1
- package/dist/components.cjs.js +1 -1
- package/dist/components.es.js +84 -71
- package/dist/components.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +16 -9
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js.map +1 -1
- package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
- package/dist/node_modules/rehype-parse/lib/index.cjs.js.map +1 -1
- package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
- package/dist/shared/src/api/generated/access.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/access.es.js.map +1 -1
- package/dist/shared/src/api/generated/activityFeed.cjs.js +1 -1
- package/dist/shared/src/api/generated/activityFeed.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/activityFeed.es.js +3 -0
- package/dist/shared/src/api/generated/activityFeed.es.js.map +1 -1
- package/dist/shared/src/api/generated/authentication.cjs.js +1 -1
- package/dist/shared/src/api/generated/authentication.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/authentication.es.js +9 -6
- package/dist/shared/src/api/generated/authentication.es.js.map +1 -1
- package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
- package/dist/shared/src/api/generated/folders.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/folders.es.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
- package/dist/shared/src/api/generated/graphqlLinks.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/graphqlLinks.es.js.map +1 -1
- package/dist/shared/src/api/generated/links.cjs.js +1 -1
- package/dist/shared/src/api/generated/links.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/links.es.js +13 -5
- package/dist/shared/src/api/generated/links.es.js.map +1 -1
- package/dist/shared/src/api/generated/onboarding.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/onboarding.es.js.map +1 -1
- package/dist/shared/src/api/generated/operations.cjs.js +1 -1
- package/dist/shared/src/api/generated/operations.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/operations.es.js +16 -0
- package/dist/shared/src/api/generated/operations.es.js.map +1 -1
- package/dist/shared/src/api/generated/products.cjs.js +1 -1
- package/dist/shared/src/api/generated/products.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/products.es.js +6 -3
- package/dist/shared/src/api/generated/products.es.js.map +1 -1
- package/dist/shared/src/api/generated/projects.cjs.js +1 -1
- package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/projects.es.js +19 -0
- package/dist/shared/src/api/generated/projects.es.js.map +1 -1
- package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/system.es.js.map +1 -1
- package/dist/shared/src/api/generated/tasks.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/tasks.es.js.map +1 -1
- package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/users.es.js.map +1 -1
- package/dist/shared/src/api/generated/versions.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/versions.es.js.map +1 -1
- package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/views.es.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getActivities.cjs.js +1 -1
- package/dist/shared/src/api/queries/activities/getActivities.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getActivities.es.js +4 -8
- package/dist/shared/src/api/queries/activities/getActivities.es.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getCategories.cjs.js +2 -0
- package/dist/shared/src/api/queries/activities/getCategories.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/activities/getCategories.es.js +53 -0
- package/dist/shared/src/api/queries/activities/getCategories.es.js.map +1 -0
- package/dist/shared/src/api/queries/activities/updateActivities.cjs.js +1 -1
- package/dist/shared/src/api/queries/activities/updateActivities.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/activities/updateActivities.es.js +53 -51
- package/dist/shared/src/api/queries/activities/updateActivities.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -3
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +1 -1
- package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/updateEntity.es.js +4 -3
- package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.es.js +61 -60
- package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
- package/dist/shared/src/api/queries/share/share.cjs.js +1 -1
- package/dist/shared/src/api/queries/share/share.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/share/share.es.js +38 -12
- package/dist/shared/src/api/queries/share/share.es.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.es.js +18 -17
- package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
- package/dist/shared/src/api/queries/views/updateViews.cjs.js +1 -1
- package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/views/updateViews.es.js +14 -15
- package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -1
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.cjs.js +2 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.es.js +135 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.es.js.map +1 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.cjs.js +39 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.es.js +44 -0
- package/dist/shared/src/components/AccessSearchInput/AccessSearchInput.styled.es.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.cjs.js +2 -0
- package/dist/shared/src/components/AccessUser/AccessUser.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.es.js +43 -0
- package/dist/shared/src/components/AccessUser/AccessUser.es.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js +46 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.cjs.js.map +1 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js +50 -0
- package/dist/shared/src/components/AccessUser/AccessUser.styled.es.js.map +1 -0
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +15 -10
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +3 -2
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js +47 -43
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js +47 -43
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.styles.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/DetailsPanelDetails.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +9 -2
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js +5 -4
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +9 -2
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js +3 -2
- package/dist/shared/src/components/LinksManager/LinkManagerItem.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +9 -2
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.cjs.js.map +1 -1
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js +3 -2
- package/dist/shared/src/components/ListAttributeForm/ListAttributeForm.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +9 -2
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +11 -4
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js +60 -0
- package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js.map +1 -0
- package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js +339 -0
- package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js.map +1 -0
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +9 -2
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.es.js +9 -2
- package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +9 -2
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +10 -3
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +9 -2
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +3 -2
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +4 -4
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +37 -33
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js +12 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.cjs.js.map +1 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js +46 -0
- package/dist/shared/src/components/ShareOptionIcon/ShareOptionIcon.es.js.map +1 -0
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +9 -2
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/Thumbnail/Thumbnail.styled.cjs.js +3 -5
- package/dist/shared/src/components/Thumbnail/Thumbnail.styled.cjs.js.map +1 -1
- package/dist/shared/src/components/Thumbnail/Thumbnail.styled.es.js +4 -6
- package/dist/shared/src/components/Thumbnail/Thumbnail.styled.es.js.map +1 -1
- package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.cjs.js +1 -2
- package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.cjs.js.map +1 -1
- package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.es.js +0 -1
- package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +9 -2
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +5 -4
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.cjs.js +1 -1
- package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.es.js +3 -2
- package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +9 -2
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.es.js +3 -2
- package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +9 -2
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +61 -52
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +9 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +44 -36
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +9 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +4 -2
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +19 -17
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +9 -2
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +9 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +9 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +9 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.es.js +73 -72
- package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.cjs.js +13 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.cjs.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.es.js +89 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.es.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.cjs.js +20 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.cjs.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js +42 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.es.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.cjs.js +51 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.cjs.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.es.js +76 -0
- package/dist/shared/src/containers/Feed/components/ActivityCategorySelect/CategoryTag.es.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +161 -133
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js +30 -14
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js +41 -24
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.cjs.js +3 -3
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.es.js +58 -48
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityItem.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityItem.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.es.js +24 -20
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.cjs.js +12 -12
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.es.js +13 -13
- package/dist/shared/src/containers/Feed/components/ActivityReference/ActivityReference.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +2 -2
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +336 -260
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js +69 -41
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js +77 -48
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.cjs.js +2 -0
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.cjs.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.es.js +19 -0
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.es.js.map +1 -0
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.es.js +15 -6
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ExistingReactions.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.es.js +24 -14
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reaction.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.es.js +60 -38
- package/dist/shared/src/containers/Feed/components/ReactionContainer/ReactionPanelOpener.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.es.js +42 -9
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.cjs.js +65 -20
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.es.js +71 -26
- package/dist/shared/src/containers/Feed/components/ReactionContainer/Reactions.styled.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +4 -2
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js +30 -26
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useCommentMutations.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/hooks/useCommentMutations.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useCommentMutations.es.js +57 -53
- package/dist/shared/src/containers/Feed/hooks/useCommentMutations.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +3 -2
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +562 -537
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js +0 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js +4 -5
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +99 -91
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js +126 -108
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +5 -4
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +42 -35
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +6 -5
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +23 -21
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.cjs.js +2 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.cjs.js.map +1 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.es.js +9 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.es.js.map +1 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +20 -13
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +50 -48
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.cjs.js +38 -9
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.es.js +74 -39
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js +24 -15
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.es.js +71 -59
- package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +11 -4
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +9 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.cjs.js +6 -6
- package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.es.js +12 -12
- package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.es.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +9 -2
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +9 -2
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +3 -2
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js +5 -4
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +3 -2
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.es.js +5 -4
- package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.es.js +70 -66
- package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.es.js +30 -23
- package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.es.js +5 -4
- package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.cjs.js +1 -1
- package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.es.js +3 -2
- package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.es.js +3 -2
- package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
- package/dist/shared/src/hooks/useHierarchyTable.cjs.js +1 -1
- package/dist/shared/src/hooks/useHierarchyTable.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useHierarchyTable.es.js +3 -2
- package/dist/shared/src/hooks/useHierarchyTable.es.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.es.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.es.js +5 -4
- package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.es.js +3 -2
- package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
- package/dist/shared/src/util/colorUtils.cjs.js +2 -0
- package/dist/shared/src/util/colorUtils.cjs.js.map +1 -0
- package/dist/shared/src/util/colorUtils.es.js +40 -0
- package/dist/shared/src/util/colorUtils.es.js.map +1 -0
- package/dist/shared/src/util/columnConfigConverter.cjs.js +1 -1
- package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -1
- package/dist/shared/src/util/columnConfigConverter.es.js +35 -33
- package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -1
- package/dist/types/api/generated/access.d.ts +6 -0
- package/dist/types/api/generated/activityFeed.d.ts +9 -0
- package/dist/types/api/generated/authentication.d.ts +6 -0
- package/dist/types/api/generated/entityLists.d.ts +7 -7
- package/dist/types/api/generated/folders.d.ts +2 -2
- package/dist/types/api/generated/graphql.d.ts +9 -2
- package/dist/types/api/generated/graphqlLinks.d.ts +21 -15
- package/dist/types/api/generated/links.d.ts +4 -0
- package/dist/types/api/generated/onboarding.d.ts +3 -0
- package/dist/types/api/generated/operations.d.ts +22 -1
- package/dist/types/api/generated/products.d.ts +23 -0
- package/dist/types/api/generated/projects.d.ts +63 -0
- package/dist/types/api/generated/representations.d.ts +1 -0
- package/dist/types/api/generated/system.d.ts +9 -2
- package/dist/types/api/generated/tasks.d.ts +1 -0
- package/dist/types/api/generated/users.d.ts +1 -1
- package/dist/types/api/generated/versions.d.ts +1 -0
- package/dist/types/api/generated/views.d.ts +50 -9
- package/dist/types/api/index.d.ts +1 -0
- package/dist/types/api/queries/activities/getCategories.d.ts +142 -0
- package/dist/types/api/queries/activities/getMentions.d.ts +1 -0
- package/dist/types/api/queries/activities/index.d.ts +1 -0
- package/dist/types/api/queries/activities/updateReaction.d.ts +1 -0
- package/dist/types/api/queries/authentication/getAuthentication.d.ts +1 -0
- package/dist/types/api/queries/overview/updateOverview.d.ts +2 -0
- package/dist/types/api/queries/project/getProject.d.ts +4 -0
- package/dist/types/api/queries/watchers/getWatchers.d.ts +1 -0
- package/dist/types/components/AccessSearchInput/AccessSearchInput.d.ts +16 -0
- package/dist/types/components/AccessSearchInput/AccessSearchInput.styled.d.ts +2 -0
- package/dist/types/components/AccessSearchInput/index.d.ts +2 -0
- package/dist/types/components/AccessUser/AccessUser.d.ts +24 -0
- package/dist/types/components/AccessUser/AccessUser.styled.d.ts +1 -0
- package/dist/types/components/AccessUser/index.d.ts +1 -0
- package/dist/types/components/ProjectTableSettings/RowHeightSettings.d.ts +3 -0
- package/dist/types/components/ShareOptionIcon/ShareOptionIcon.d.ts +16 -0
- package/dist/types/components/ShareOptionIcon/index.d.ts +1 -0
- package/dist/types/components/index.d.ts +3 -0
- package/dist/types/containers/DetailsPanel/DetailsPanel.d.ts +2 -1
- package/dist/types/containers/DetailsPanel/FeedWrapper.d.ts +1 -0
- package/dist/types/containers/Feed/Feed.d.ts +2 -1
- package/dist/types/containers/Feed/components/ActivityCategorySelect/ActivityCategorySelect.d.ts +14 -0
- package/dist/types/containers/Feed/components/ActivityCategorySelect/CategoryDropdownItem.d.ts +8 -0
- package/dist/types/containers/Feed/components/ActivityCategorySelect/CategoryTag.d.ts +10 -0
- package/dist/types/containers/Feed/components/ActivityCategorySelect/index.d.ts +1 -0
- package/dist/types/containers/Feed/components/ActivityComment/ActivityComment.d.ts +1 -1
- package/dist/types/containers/Feed/components/ActivityComment/ActivityComment.styled.d.ts +2 -1
- package/dist/types/containers/Feed/components/ActivityComment/ActivityMarkdownComponents.d.ts +3 -1
- package/dist/types/containers/Feed/components/ActivityItem.d.ts +1 -1
- package/dist/types/containers/Feed/components/ActivityReference/ActivityReference.d.ts +2 -0
- package/dist/types/containers/Feed/components/ActivityReference/ActivityReference.styled.d.ts +2 -0
- package/dist/types/containers/Feed/components/CommentInput/CommentInput.d.ts +1 -0
- package/dist/types/containers/Feed/components/CommentInput/CommentInput.styled.d.ts +7 -1
- package/dist/types/containers/Feed/components/CommentInput/hooks/useBlendedCategoryColor.d.ts +11 -0
- package/dist/types/containers/Feed/components/ReactionContainer/ExistingReactions.d.ts +4 -1
- package/dist/types/containers/Feed/components/ReactionContainer/Reaction.d.ts +4 -1
- package/dist/types/containers/Feed/components/ReactionContainer/ReactionPanelOpener.d.ts +4 -1
- package/dist/types/containers/Feed/components/ReactionContainer/Reactions.d.ts +4 -1
- package/dist/types/containers/Feed/components/ReactionContainer/Reactions.styled.d.ts +9 -4
- package/dist/types/containers/Feed/context/FeedContext.d.ts +2 -1
- package/dist/types/containers/Feed/hooks/useCommentMutations.d.ts +3 -2
- package/dist/types/containers/Feed/index.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsContext.d.ts +4 -0
- package/dist/types/containers/ProjectTreeTable/hooks/useDynamicRowHeight.d.ts +11 -0
- package/dist/types/containers/ProjectTreeTable/widgets/EntityNameWidget.d.ts +2 -1
- package/dist/types/containers/ProjectTreeTable/widgets/EnumCellValue.d.ts +2 -1
- package/dist/types/containers/Views/index.d.ts +2 -2
- package/dist/types/context/DetailsPanelContext.d.ts +3 -0
- package/dist/types/context/PowerpackContext.d.ts +1 -1
- package/dist/types/util/colorUtils.d.ts +42 -0
- package/dist/types/util/index.d.ts +1 -0
- package/dist/util.cjs.js +1 -1
- package/dist/util.es.js +30 -24
- package/dist/util.es.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import A from "../../../_virtual/index.
|
|
1
|
+
import A from "../../../_virtual/index.es8.js";
|
|
2
2
|
import { errors as E } from "./errors.es.js";
|
|
3
3
|
import { fromParse5 as I } from "../../hast-util-from-parse5/lib/index.es.js";
|
|
4
4
|
const L = "https://html.spec.whatwg.org/multipage/parsing.html#parse-error-", j = { 2: !0, 1: !1, 0: null };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.cjs.js","sources":["../../../../../src/api/generated/access.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAccessGroupSchema: build.query<GetAccessGroupSchemaApiResponse, GetAccessGroupSchemaApiArg>({\n query: () => ({ url: `/api/accessGroups/_schema` }),\n }),\n getAccessGroups: build.query<GetAccessGroupsApiResponse, GetAccessGroupsApiArg>({\n query: (queryArg) => ({ url: `/api/accessGroups/${queryArg.projectName}` }),\n }),\n getAccessGroup: build.query<GetAccessGroupApiResponse, GetAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n }),\n }),\n saveAccessGroup: build.mutation<SaveAccessGroupApiResponse, SaveAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.data,\n }),\n }),\n deleteAccessGroup: build.mutation<DeleteAccessGroupApiResponse, DeleteAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'DELETE',\n }),\n }),\n setProjectsAccess: build.mutation<SetProjectsAccessApiResponse, SetProjectsAccessApiArg>({\n query: (queryArg) => ({ url: `/api/access`, method: 'POST', body: queryArg.payload }),\n }),\n getShareOptions: build.query<GetShareOptionsApiResponse, GetShareOptionsApiArg>({\n query: (queryArg) => ({\n url: `/api/share`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAccessGroupSchemaApiResponse = /** status 200 Successful Response */ any\nexport type GetAccessGroupSchemaApiArg = void\nexport type GetAccessGroupsApiResponse = /** status 200 Successful Response */ AccessGroupObject[]\nexport type GetAccessGroupsApiArg = {\n projectName: string\n}\nexport type GetAccessGroupApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SaveAccessGroupApiResponse = unknown\nexport type SaveAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n data: Permissions\n}\nexport type DeleteAccessGroupApiResponse = unknown\nexport type DeleteAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SetProjectsAccessApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectsAccessApiArg = {\n payload: {\n [key: string]: {\n [key: string]: string[]\n }\n }\n}\nexport type GetShareOptionsApiResponse = /** status 200 Successful Response */ ShareOptions\nexport type GetShareOptionsApiArg = {\n projectName?: string\n}\nexport type AccessGroupObject = {\n /** Name of the access group */\n name: string\n /** Whether the access group is project level */\n isProjectLevel: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n}\nexport type ShareOption = {\n shareType: string\n value: string\n name: string\n label: string\n attribute?: string\n}\nexport type ShareOptions = {\n options: ShareOption[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,qBAAsBA,EAAM,MAAmE,CAC7F,MAAO,KAAO,CAAE,IAAK,2BAA4B,EAAA,CAClD,EACD,gBAAiBA,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,qBAAqBA,EAAS,WAAW,EAAG,EAAA,CAC1E,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,EAC5E,EAAA,CACD,EACD,gBAAiBD,EAAM,SAA4D,CACjF,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,GAC1E,OAAQ,MACR,KAAMA,EAAS,IACjB,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,GAC1E,OAAQ,QACV,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CAAE,IAAK,cAAe,OAAQ,OAAQ,KAAMA,EAAS,OAAQ,EAAA,CACpF,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CACpB,IAAK,aACL,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"access.cjs.js","sources":["../../../../../src/api/generated/access.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAccessGroupSchema: build.query<GetAccessGroupSchemaApiResponse, GetAccessGroupSchemaApiArg>({\n query: () => ({ url: `/api/accessGroups/_schema` }),\n }),\n getAccessGroups: build.query<GetAccessGroupsApiResponse, GetAccessGroupsApiArg>({\n query: (queryArg) => ({ url: `/api/accessGroups/${queryArg.projectName}` }),\n }),\n getAccessGroup: build.query<GetAccessGroupApiResponse, GetAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n }),\n }),\n saveAccessGroup: build.mutation<SaveAccessGroupApiResponse, SaveAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.data,\n }),\n }),\n deleteAccessGroup: build.mutation<DeleteAccessGroupApiResponse, DeleteAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'DELETE',\n }),\n }),\n setProjectsAccess: build.mutation<SetProjectsAccessApiResponse, SetProjectsAccessApiArg>({\n query: (queryArg) => ({ url: `/api/access`, method: 'POST', body: queryArg.payload }),\n }),\n getShareOptions: build.query<GetShareOptionsApiResponse, GetShareOptionsApiArg>({\n query: (queryArg) => ({\n url: `/api/share`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAccessGroupSchemaApiResponse = /** status 200 Successful Response */ any\nexport type GetAccessGroupSchemaApiArg = void\nexport type GetAccessGroupsApiResponse = /** status 200 Successful Response */ AccessGroupObject[]\nexport type GetAccessGroupsApiArg = {\n projectName: string\n}\nexport type GetAccessGroupApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SaveAccessGroupApiResponse = unknown\nexport type SaveAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n data: Permissions\n}\nexport type DeleteAccessGroupApiResponse = unknown\nexport type DeleteAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SetProjectsAccessApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectsAccessApiArg = {\n payload: {\n [key: string]: {\n [key: string]: string[]\n }\n }\n}\nexport type GetShareOptionsApiResponse = /** status 200 Successful Response */ ShareOptions\nexport type GetShareOptionsApiArg = {\n projectName?: string\n}\nexport type AccessGroupObject = {\n /** Name of the access group */\n name: string\n /** Whether the access group is project level */\n isProjectLevel: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type ShareOption = {\n shareType: string\n value: string\n name: string\n label: string\n attribute?: string\n}\nexport type ShareOptions = {\n options: ShareOption[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,qBAAsBA,EAAM,MAAmE,CAC7F,MAAO,KAAO,CAAE,IAAK,2BAA4B,EAAA,CAClD,EACD,gBAAiBA,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,qBAAqBA,EAAS,WAAW,EAAG,EAAA,CAC1E,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,EAC5E,EAAA,CACD,EACD,gBAAiBD,EAAM,SAA4D,CACjF,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,GAC1E,OAAQ,MACR,KAAMA,EAAS,IACjB,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW,GAC1E,OAAQ,QACV,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CAAE,IAAK,cAAe,OAAQ,OAAQ,KAAMA,EAAS,OAAQ,EAAA,CACpF,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CACpB,IAAK,aACL,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access.es.js","sources":["../../../../../src/api/generated/access.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAccessGroupSchema: build.query<GetAccessGroupSchemaApiResponse, GetAccessGroupSchemaApiArg>({\n query: () => ({ url: `/api/accessGroups/_schema` }),\n }),\n getAccessGroups: build.query<GetAccessGroupsApiResponse, GetAccessGroupsApiArg>({\n query: (queryArg) => ({ url: `/api/accessGroups/${queryArg.projectName}` }),\n }),\n getAccessGroup: build.query<GetAccessGroupApiResponse, GetAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n }),\n }),\n saveAccessGroup: build.mutation<SaveAccessGroupApiResponse, SaveAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.data,\n }),\n }),\n deleteAccessGroup: build.mutation<DeleteAccessGroupApiResponse, DeleteAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'DELETE',\n }),\n }),\n setProjectsAccess: build.mutation<SetProjectsAccessApiResponse, SetProjectsAccessApiArg>({\n query: (queryArg) => ({ url: `/api/access`, method: 'POST', body: queryArg.payload }),\n }),\n getShareOptions: build.query<GetShareOptionsApiResponse, GetShareOptionsApiArg>({\n query: (queryArg) => ({\n url: `/api/share`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAccessGroupSchemaApiResponse = /** status 200 Successful Response */ any\nexport type GetAccessGroupSchemaApiArg = void\nexport type GetAccessGroupsApiResponse = /** status 200 Successful Response */ AccessGroupObject[]\nexport type GetAccessGroupsApiArg = {\n projectName: string\n}\nexport type GetAccessGroupApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SaveAccessGroupApiResponse = unknown\nexport type SaveAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n data: Permissions\n}\nexport type DeleteAccessGroupApiResponse = unknown\nexport type DeleteAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SetProjectsAccessApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectsAccessApiArg = {\n payload: {\n [key: string]: {\n [key: string]: string[]\n }\n }\n}\nexport type GetShareOptionsApiResponse = /** status 200 Successful Response */ ShareOptions\nexport type GetShareOptionsApiArg = {\n projectName?: string\n}\nexport type AccessGroupObject = {\n /** Name of the access group */\n name: string\n /** Whether the access group is project level */\n isProjectLevel: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n}\nexport type ShareOption = {\n shareType: string\n value: string\n name: string\n label: string\n attribute?: string\n}\nexport type ShareOptions = {\n options: ShareOption[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,sBAAsBA,EAAM,MAAmE;AAAA,MAC7F,OAAO,OAAO,EAAE,KAAK,4BAA4B;AAAA,IAAA,CAClD;AAAA,IACD,iBAAiBA,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc,EAAE,KAAK,qBAAqBA,EAAS,WAAW,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,MAC5E;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,SAA4D;AAAA,MACjF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,QAC1E,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,QAC1E,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc,EAAE,KAAK,eAAe,QAAQ,QAAQ,MAAMA,EAAS,QAAQ;AAAA,IAAA,CACpF;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"access.es.js","sources":["../../../../../src/api/generated/access.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getAccessGroupSchema: build.query<GetAccessGroupSchemaApiResponse, GetAccessGroupSchemaApiArg>({\n query: () => ({ url: `/api/accessGroups/_schema` }),\n }),\n getAccessGroups: build.query<GetAccessGroupsApiResponse, GetAccessGroupsApiArg>({\n query: (queryArg) => ({ url: `/api/accessGroups/${queryArg.projectName}` }),\n }),\n getAccessGroup: build.query<GetAccessGroupApiResponse, GetAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n }),\n }),\n saveAccessGroup: build.mutation<SaveAccessGroupApiResponse, SaveAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'PUT',\n body: queryArg.data,\n }),\n }),\n deleteAccessGroup: build.mutation<DeleteAccessGroupApiResponse, DeleteAccessGroupApiArg>({\n query: (queryArg) => ({\n url: `/api/accessGroups/${queryArg.accessGroupName}/${queryArg.projectName}`,\n method: 'DELETE',\n }),\n }),\n setProjectsAccess: build.mutation<SetProjectsAccessApiResponse, SetProjectsAccessApiArg>({\n query: (queryArg) => ({ url: `/api/access`, method: 'POST', body: queryArg.payload }),\n }),\n getShareOptions: build.query<GetShareOptionsApiResponse, GetShareOptionsApiArg>({\n query: (queryArg) => ({\n url: `/api/share`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetAccessGroupSchemaApiResponse = /** status 200 Successful Response */ any\nexport type GetAccessGroupSchemaApiArg = void\nexport type GetAccessGroupsApiResponse = /** status 200 Successful Response */ AccessGroupObject[]\nexport type GetAccessGroupsApiArg = {\n projectName: string\n}\nexport type GetAccessGroupApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SaveAccessGroupApiResponse = unknown\nexport type SaveAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n data: Permissions\n}\nexport type DeleteAccessGroupApiResponse = unknown\nexport type DeleteAccessGroupApiArg = {\n accessGroupName: string\n projectName: string\n}\nexport type SetProjectsAccessApiResponse = /** status 200 Successful Response */ any\nexport type SetProjectsAccessApiArg = {\n payload: {\n [key: string]: {\n [key: string]: string[]\n }\n }\n}\nexport type GetShareOptionsApiResponse = /** status 200 Successful Response */ ShareOptions\nexport type GetShareOptionsApiArg = {\n projectName?: string\n}\nexport type AccessGroupObject = {\n /** Name of the access group */\n name: string\n /** Whether the access group is project level */\n isProjectLevel: boolean\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type ShareOption = {\n shareType: string\n value: string\n name: string\n label: string\n attribute?: string\n}\nexport type ShareOptions = {\n options: ShareOption[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,sBAAsBA,EAAM,MAAmE;AAAA,MAC7F,OAAO,OAAO,EAAE,KAAK,4BAA4B;AAAA,IAAA,CAClD;AAAA,IACD,iBAAiBA,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc,EAAE,KAAK,qBAAqBA,EAAS,WAAW,GAAG;AAAA,IAAA,CAC1E;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,MAC5E;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,SAA4D;AAAA,MACjF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,QAC1E,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,qBAAqBA,EAAS,eAAe,IAAIA,EAAS,WAAW;AAAA,QAC1E,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc,EAAE,KAAK,eAAe,QAAQ,QAAQ,MAAMA,EAAS,QAAQ;AAAA,IAAA,CACpF;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;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"),s=i.api.injectEndpoints({endpoints:t=>({postProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/activities`,method:"POST",body:e.projectActivityPostModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),patchProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"PATCH",body:e.activityPatchModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),createReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,method:"POST",body:e.createReactionModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions/${e.reaction}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),suggestEntityMention:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/suggest`,method:"POST",body:e.suggestRequest})}),getEntityWatchers:t.query({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`})}),setEntityWatchers:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`,method:"POST",body:e.watchersModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})})}),overrideExisting:!1});exports.api=s;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("../base/client.cjs.js"),s=i.api.injectEndpoints({endpoints:t=>({postProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/activities`,method:"POST",body:e.projectActivityPostModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),patchProjectActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}`,method:"PATCH",body:e.activityPatchModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),getActivityCategories:t.query({query:e=>({url:`/api/projects/${e.projectName}/activityCategories`})}),createReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,method:"POST",body:e.createReactionModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),deleteReactionToActivity:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/activities/${e.activityId}/reactions/${e.reaction}`,method:"DELETE",headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})}),suggestEntityMention:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/suggest`,method:"POST",body:e.suggestRequest})}),getEntityWatchers:t.query({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`})}),setEntityWatchers:t.mutation({query:e=>({url:`/api/projects/${e.projectName}/${e.entityType}/${e.entityId}/watchers`,method:"POST",body:e.watchersModel,headers:{"x-sender":e["x-sender"],"x-sender-type":e["x-sender-type"]}})})}),overrideExisting:!1});exports.api=s;
|
|
2
2
|
//# sourceMappingURL=activityFeed.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,oBAAqBA,EAAM,SAAoE,CAC7F,M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AAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,WACxF,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,YACtF,OAAQ,OACR,KAAMA,EAAS,cACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getActivityCategories: build.query<\n GetActivityCategoriesApiResponse,\n GetActivityCategoriesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/activityCategories` }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type GetActivityCategoriesApiResponse =\n /** status 200 Successful Response */ ActivityCategoriesResponseModel\nexport type GetActivityCategoriesApiArg = {\n projectName: string\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type ActivityCategoriesResponseModel = {\n categories: object[]\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,oBAAqBA,EAAM,SAAoE,CAC7F,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,cACtF,OAAQ,OACR,KAAMA,EAAS,yBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU,GAC5E,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,eAAeA,EAAS,UAAU,GAC5E,OAAQ,QACR,KAAMA,EAAS,mBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,MAG3B,CACA,MAAQC,IAAc,CAAE,IAAK,iBAAiBA,EAAS,WAAW,qBAAsB,EAAA,CACzF,EACD,yBAA0BD,EAAM,SAG9B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU,aAC5E,OAAQ,OACR,KAAMA,EAAS,oBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,yBAA0BD,EAAM,SAG9B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU,cAAcA,EAAS,QAAQ,GAC3G,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,WAC1C,OAAQ,OACR,KAAMA,EAAS,cACjB,EAAA,CACD,EACD,kBAAmBD,EAAM,MAA6D,CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,WACxF,EAAA,CACD,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ,YACtF,OAAQ,OACR,KAAMA,EAAS,cACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
@@ -33,6 +33,9 @@ const o = i.injectEndpoints({
|
|
|
33
33
|
}
|
|
34
34
|
})
|
|
35
35
|
}),
|
|
36
|
+
getActivityCategories: t.query({
|
|
37
|
+
query: (e) => ({ url: `/api/projects/${e.projectName}/activityCategories` })
|
|
38
|
+
}),
|
|
36
39
|
createReactionToActivity: t.mutation({
|
|
37
40
|
query: (e) => ({
|
|
38
41
|
url: `/api/projects/${e.projectName}/activities/${e.activityId}/reactions`,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,qBAAqBA,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuBD,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA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;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmBD,EAAM,SAAgE;AAAA,MACvF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getActivityCategories: build.query<\n GetActivityCategoriesApiResponse,\n GetActivityCategoriesApiArg\n >({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/activityCategories` }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type GetActivityCategoriesApiResponse =\n /** status 200 Successful Response */ ActivityCategoriesResponseModel\nexport type GetActivityCategoriesApiArg = {\n projectName: string\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type ActivityCategoriesResponseModel = {\n categories: object[]\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,qBAAqBA,EAAM,SAAoE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,IAAIA,EAAS,UAAU,IAAIA,EAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuBD,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,eAAeA,EAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA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AS,UAAU,IAAIA,EAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../base/client.cjs.js"),i=o.api.injectEndpoints({endpoints:e=>({login:e.mutation({query:t=>({url:"/api/auth/login",method:"POST",body:t.loginRequestModel})}),logout:e.mutation({query:()=>({url:"/api/auth/logout",method:"POST"})}),listActiveSessions:e.query({query:()=>({url:"/api/auth/sessions"})}),createSession:e.mutation({query:t=>({url:"/api/auth/sessions",method:"POST",body:t.createSessionRequest})}),getUserPools:e.query({query:()=>({url:"/api/auth/pools"})})}),overrideExisting:!1});exports.api=i;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../base/client.cjs.js"),i=o.api.injectEndpoints({endpoints:e=>({login:e.mutation({query:t=>({url:"/api/auth/login",method:"POST",body:t.loginRequestModel})}),logout:e.mutation({query:()=>({url:"/api/auth/logout",method:"POST"})}),tokenAuthCallback:e.query({query:()=>({url:"/api/auth/tokenauth"})}),listActiveSessions:e.query({query:()=>({url:"/api/auth/sessions"})}),createSession:e.mutation({query:t=>({url:"/api/auth/sessions",method:"POST",body:t.createSessionRequest})}),getUserPools:e.query({query:()=>({url:"/api/auth/pools"})})}),overrideExisting:!1});exports.api=i;
|
|
2
2
|
//# sourceMappingURL=authentication.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.cjs.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,MAAOA,EAAM,SAAwC,CACnD,MAAQC,IAAc,CACpB,IAAK,kBACL,OAAQ,OACR,KAAMA,EAAS,iBACjB,EAAA,CACD,EACD,OAAQD,EAAM,SAA0C,CACtD,MAAO,KAAO,CAAE,IAAK,mBAAoB,OAAQ,MAAO,EAAA,CACzD,EACD,mBAAoBA,EAAM,MAA+D,CACvF,MAAO,KAAO,CAAE,IAAK,oBAAqB,EAAA,CAC3C,EACD,cAAeA,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,qBACL,OAAQ,OACR,KAAMA,EAAS,oBACjB,EAAA,CACD,EACD,aAAcD,EAAM,MAAmD,CACrE,MAAO,KAAO,CAAE,IAAK,iBAAkB,EACxC,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"authentication.cjs.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n tokenAuthCallback: build.query<TokenAuthCallbackApiResponse, TokenAuthCallbackApiArg>({\n query: () => ({ url: `/api/auth/tokenauth` }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type TokenAuthCallbackApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type TokenAuthCallbackApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,MAAOA,EAAM,SAAwC,CACnD,MAAQC,IAAc,CACpB,IAAK,kBACL,OAAQ,OACR,KAAMA,EAAS,iBACjB,EAAA,CACD,EACD,OAAQD,EAAM,SAA0C,CACtD,MAAO,KAAO,CAAE,IAAK,mBAAoB,OAAQ,MAAO,EAAA,CACzD,EACD,kBAAmBA,EAAM,MAA6D,CACpF,MAAO,KAAO,CAAE,IAAK,qBAAsB,EAAA,CAC5C,EACD,mBAAoBA,EAAM,MAA+D,CACvF,MAAO,KAAO,CAAE,IAAK,oBAAqB,EAAA,CAC3C,EACD,cAAeA,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,qBACL,OAAQ,OACR,KAAMA,EAAS,oBACjB,EAAA,CACD,EACD,aAAcD,EAAM,MAAmD,CACrE,MAAO,KAAO,CAAE,IAAK,iBAAkB,EACxC,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
-
import { api as
|
|
2
|
-
const i =
|
|
1
|
+
import { api as o } from "../base/client.es.js";
|
|
2
|
+
const i = o.injectEndpoints({
|
|
3
3
|
endpoints: (e) => ({
|
|
4
4
|
login: e.mutation({
|
|
5
|
-
query: (
|
|
5
|
+
query: (t) => ({
|
|
6
6
|
url: "/api/auth/login",
|
|
7
7
|
method: "POST",
|
|
8
|
-
body:
|
|
8
|
+
body: t.loginRequestModel
|
|
9
9
|
})
|
|
10
10
|
}),
|
|
11
11
|
logout: e.mutation({
|
|
12
12
|
query: () => ({ url: "/api/auth/logout", method: "POST" })
|
|
13
13
|
}),
|
|
14
|
+
tokenAuthCallback: e.query({
|
|
15
|
+
query: () => ({ url: "/api/auth/tokenauth" })
|
|
16
|
+
}),
|
|
14
17
|
listActiveSessions: e.query({
|
|
15
18
|
query: () => ({ url: "/api/auth/sessions" })
|
|
16
19
|
}),
|
|
17
20
|
createSession: e.mutation({
|
|
18
|
-
query: (
|
|
21
|
+
query: (t) => ({
|
|
19
22
|
url: "/api/auth/sessions",
|
|
20
23
|
method: "POST",
|
|
21
|
-
body:
|
|
24
|
+
body: t.createSessionRequest
|
|
22
25
|
})
|
|
23
26
|
}),
|
|
24
27
|
getUserPools: e.query({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authentication.es.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,OAAOA,EAAM,SAAwC;AAAA,MACnD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,QAAQD,EAAM,SAA0C;AAAA,MACtD,OAAO,OAAO,EAAE,KAAK,oBAAoB,QAAQ,OAAO;AAAA,IAAA,CACzD;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,eAAeA,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,MAAmD;AAAA,MACrE,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IACxC,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"authentication.es.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n tokenAuthCallback: build.query<TokenAuthCallbackApiResponse, TokenAuthCallbackApiArg>({\n query: () => ({ url: `/api/auth/tokenauth` }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type TokenAuthCallbackApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type TokenAuthCallbackApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,OAAOA,EAAM,SAAwC;AAAA,MACnD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,QAAQD,EAAM,SAA0C;AAAA,MACtD,OAAO,OAAO,EAAE,KAAK,oBAAoB,QAAQ,OAAO;AAAA,IAAA,CACzD;AAAA,IACD,mBAAmBA,EAAM,MAA6D;AAAA,MACpF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,eAAeA,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,MAAmD;AAAA,MACrE,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IACxC,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n 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":"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,iBAA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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?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,c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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: 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":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmCD,EAAM,SAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MA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AA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmCD,EAAM,SAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,O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