@ynput/ayon-frontend-shared 0.2.19 → 0.2.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DetailsPanel.cjs.js +11 -0
- package/dist/DetailsPanel.cjs.js.map +1 -1
- package/dist/DetailsPanel.es.js +11 -0
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/ProjectTreeTable.cjs.js +2 -2
- package/dist/ProjectTreeTable.es.js +2 -2
- package/dist/Views.cjs.js +41 -0
- package/dist/Views.cjs.js.map +1 -0
- package/dist/Views.es.js +41 -0
- package/dist/Views.es.js.map +1 -0
- package/dist/_virtual/index.cjs5.js +5 -3
- package/dist/_virtual/index.cjs5.js.map +1 -1
- package/dist/_virtual/index.cjs6.js +3 -5
- package/dist/_virtual/index.cjs6.js.map +1 -1
- package/dist/_virtual/index.es5.js +5 -2
- package/dist/_virtual/index.es5.js.map +1 -1
- package/dist/_virtual/index.es6.js +2 -5
- package/dist/_virtual/index.es6.js.map +1 -1
- package/dist/api.cjs.js +21 -0
- package/dist/api.cjs.js.map +1 -1
- package/dist/api.es.js +22 -1
- package/dist/api.es.js.map +1 -1
- package/dist/components.cjs.js +5 -0
- package/dist/components.cjs.js.map +1 -1
- package/dist/components.es.js +5 -0
- package/dist/components.es.js.map +1 -1
- package/dist/index.cjs.js +11 -0
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +11 -0
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
- package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
- package/dist/node_modules/remove-accents/index.cjs.js +1 -1
- package/dist/node_modules/remove-accents/index.es.js +1 -1
- package/dist/shared/node_modules/uuid/dist/esm-browser/native.cjs.js +7 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/native.cjs.js.map +1 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/native.es.js +8 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/native.es.js.map +1 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/v4.cjs.js +16 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/v4.cjs.js.map +1 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/v4.es.js +17 -0
- package/dist/shared/node_modules/uuid/dist/esm-browser/v4.es.js.map +1 -0
- package/dist/shared/src/api/base/client.cjs.js +2 -1
- package/dist/shared/src/api/base/client.cjs.js.map +1 -1
- package/dist/shared/src/api/base/client.es.js +2 -1
- package/dist/shared/src/api/base/client.es.js.map +1 -1
- package/dist/shared/src/api/generated/actions.cjs.js +6 -1
- package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/actions.es.js +6 -1
- package/dist/shared/src/api/generated/actions.es.js.map +1 -1
- package/dist/shared/src/api/generated/activityFeed.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/activityFeed.es.js.map +1 -1
- package/dist/shared/src/api/generated/addons.cjs.js +2 -1
- package/dist/shared/src/api/generated/addons.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/addons.es.js +2 -1
- package/dist/shared/src/api/generated/addons.es.js.map +1 -1
- package/dist/shared/src/api/generated/anatomy.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/anatomy.es.js.map +1 -1
- package/dist/shared/src/api/generated/authentication.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/authentication.es.js.map +1 -1
- package/dist/shared/src/api/generated/configuration.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/configuration.es.js.map +1 -1
- package/dist/shared/src/api/generated/links.cjs.js.map +1 -1
- 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.map +1 -1
- package/dist/shared/src/api/generated/operations.es.js.map +1 -1
- package/dist/shared/src/api/generated/projects.cjs.js +0 -8
- package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/projects.es.js +0 -8
- 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/views.cjs.js +81 -0
- package/dist/shared/src/api/generated/views.cjs.js.map +1 -0
- package/dist/shared/src/api/generated/views.es.js +81 -0
- package/dist/shared/src/api/generated/views.es.js.map +1 -0
- package/dist/shared/src/api/queries/actions/getActions.cjs.js +1 -0
- package/dist/shared/src/api/queries/actions/getActions.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/actions/getActions.es.js +1 -0
- package/dist/shared/src/api/queries/actions/getActions.es.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getActivities.cjs.js +1 -0
- package/dist/shared/src/api/queries/activities/getActivities.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getActivities.es.js +1 -0
- package/dist/shared/src/api/queries/activities/getActivities.es.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getMentions.cjs.js +1 -0
- package/dist/shared/src/api/queries/activities/getMentions.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/activities/getMentions.es.js +1 -0
- package/dist/shared/src/api/queries/activities/getMentions.es.js.map +1 -1
- package/dist/shared/src/api/queries/activities/updateReaction.cjs.js +1 -0
- package/dist/shared/src/api/queries/activities/updateReaction.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/activities/updateReaction.es.js +1 -0
- package/dist/shared/src/api/queries/activities/updateReaction.es.js.map +1 -1
- package/dist/shared/src/api/queries/addons/getAddons.cjs.js +1 -0
- package/dist/shared/src/api/queries/addons/getAddons.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/addons/getAddons.es.js +1 -0
- package/dist/shared/src/api/queries/addons/getAddons.es.js.map +1 -1
- package/dist/shared/src/api/queries/attributes/getAttributes.cjs.js +1 -0
- package/dist/shared/src/api/queries/attributes/getAttributes.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/attributes/getAttributes.es.js +1 -0
- package/dist/shared/src/api/queries/attributes/getAttributes.es.js.map +1 -1
- package/dist/shared/src/api/queries/authentication/getAuthentication.cjs.js +1 -0
- package/dist/shared/src/api/queries/authentication/getAuthentication.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/authentication/getAuthentication.es.js +1 -0
- package/dist/shared/src/api/queries/authentication/getAuthentication.es.js.map +1 -1
- package/dist/shared/src/api/queries/cloud/cloud.cjs.js +67 -0
- package/dist/shared/src/api/queries/cloud/cloud.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/cloud/cloud.es.js +67 -0
- package/dist/shared/src/api/queries/cloud/cloud.es.js.map +1 -0
- package/dist/shared/src/api/queries/entities/getEntity.cjs.js +1 -0
- package/dist/shared/src/api/queries/entities/getEntity.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/getEntity.es.js +1 -0
- package/dist/shared/src/api/queries/entities/getEntity.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/getEntityPanel.cjs.js +1 -0
- package/dist/shared/src/api/queries/entities/getEntityPanel.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/getEntityPanel.es.js +1 -0
- package/dist/shared/src/api/queries/entities/getEntityPanel.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js +4 -0
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js +4 -0
- package/dist/shared/src/api/queries/entities/transformDetailsPanelData.es.js.map +1 -1
- package/dist/shared/src/api/queries/entities/updateEntity.cjs.js +11 -1
- package/dist/shared/src/api/queries/entities/updateEntity.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entities/updateEntity.es.js +11 -1
- package/dist/shared/src/api/queries/entities/updateEntity.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getLists.cjs.js +1 -0
- package/dist/shared/src/api/queries/entityLists/getLists.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getLists.es.js +1 -0
- package/dist/shared/src/api/queries/entityLists/getLists.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getListsAttributes.cjs.js +1 -0
- package/dist/shared/src/api/queries/entityLists/getListsAttributes.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/getListsAttributes.es.js +1 -0
- package/dist/shared/src/api/queries/entityLists/getListsAttributes.es.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js +1 -0
- package/dist/shared/src/api/queries/entityLists/updateLists.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/entityLists/updateLists.es.js +1 -0
- package/dist/shared/src/api/queries/entityLists/updateLists.es.js.map +1 -1
- package/dist/shared/src/api/queries/folders/getFolders.cjs.js +1 -0
- package/dist/shared/src/api/queries/folders/getFolders.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/folders/getFolders.es.js +1 -0
- package/dist/shared/src/api/queries/folders/getFolders.es.js.map +1 -1
- package/dist/shared/src/api/queries/grouping/getGrouping.cjs.js +1 -0
- package/dist/shared/src/api/queries/grouping/getGrouping.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/grouping/getGrouping.es.js +1 -0
- package/dist/shared/src/api/queries/grouping/getGrouping.es.js.map +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js +1 -0
- package/dist/shared/src/api/queries/overview/getOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/getOverview.es.js +1 -0
- package/dist/shared/src/api/queries/overview/getOverview.es.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js +17 -2
- package/dist/shared/src/api/queries/overview/updateOverview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/overview/updateOverview.es.js +17 -2
- package/dist/shared/src/api/queries/overview/updateOverview.es.js.map +1 -1
- package/dist/shared/src/api/queries/permissions/getPermissions.cjs.js +1 -0
- package/dist/shared/src/api/queries/permissions/getPermissions.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/permissions/getPermissions.es.js +1 -0
- package/dist/shared/src/api/queries/permissions/getPermissions.es.js.map +1 -1
- package/dist/shared/src/api/queries/products/createProduct.cjs.js +1 -0
- package/dist/shared/src/api/queries/products/createProduct.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/products/createProduct.es.js +1 -0
- package/dist/shared/src/api/queries/products/createProduct.es.js.map +1 -1
- package/dist/shared/src/api/queries/project/getProject.cjs.js +1 -0
- package/dist/shared/src/api/queries/project/getProject.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/project/getProject.es.js +1 -0
- package/dist/shared/src/api/queries/project/getProject.es.js.map +1 -1
- package/dist/shared/src/api/queries/review/getReview.cjs.js +1 -0
- package/dist/shared/src/api/queries/review/getReview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/review/getReview.es.js +1 -0
- package/dist/shared/src/api/queries/review/getReview.es.js.map +1 -1
- package/dist/shared/src/api/queries/review/updateReview.cjs.js +1 -0
- package/dist/shared/src/api/queries/review/updateReview.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/review/updateReview.es.js +1 -0
- package/dist/shared/src/api/queries/review/updateReview.es.js.map +1 -1
- package/dist/shared/src/api/queries/system/getSystem.cjs.js +1 -0
- package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/system/getSystem.es.js +1 -0
- package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
- package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js +1 -0
- package/dist/shared/src/api/queries/userDashboard/getUserDashboard.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js +1 -0
- package/dist/shared/src/api/queries/userDashboard/getUserDashboard.es.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js +4 -0
- package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.es.js +4 -0
- package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
- package/dist/shared/src/api/queries/users/updateUsers.cjs.js +1 -0
- package/dist/shared/src/api/queries/users/updateUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/updateUsers.es.js +1 -0
- package/dist/shared/src/api/queries/users/updateUsers.es.js.map +1 -1
- package/dist/shared/src/api/queries/versions/updateVersions.cjs.js +1 -0
- package/dist/shared/src/api/queries/versions/updateVersions.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/versions/updateVersions.es.js +1 -0
- package/dist/shared/src/api/queries/versions/updateVersions.es.js.map +1 -1
- package/dist/shared/src/api/queries/views/getViews.cjs.js +96 -0
- package/dist/shared/src/api/queries/views/getViews.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/views/getViews.es.js +96 -0
- package/dist/shared/src/api/queries/views/getViews.es.js.map +1 -0
- package/dist/shared/src/api/queries/views/updateViews.cjs.js +193 -0
- package/dist/shared/src/api/queries/views/updateViews.cjs.js.map +1 -0
- package/dist/shared/src/api/queries/views/updateViews.es.js +193 -0
- package/dist/shared/src/api/queries/views/updateViews.es.js.map +1 -0
- package/dist/shared/src/api/queries/watchers/getWatchers.cjs.js +1 -0
- package/dist/shared/src/api/queries/watchers/getWatchers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/watchers/getWatchers.es.js +1 -0
- package/dist/shared/src/api/queries/watchers/getWatchers.es.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js +4 -0
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js +4 -0
- package/dist/shared/src/components/DetailsDialog/DetailsDialog.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js +12 -1
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js +12 -1
- package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +11 -0
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +11 -0
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +370 -0
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -0
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js +370 -0
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -0
- package/dist/shared/src/components/Feedback/SupportBubble.cjs.js +48 -0
- package/dist/shared/src/components/Feedback/SupportBubble.cjs.js.map +1 -0
- package/dist/shared/src/components/Feedback/SupportBubble.es.js +48 -0
- package/dist/shared/src/components/Feedback/SupportBubble.es.js.map +1 -0
- package/dist/shared/src/components/Powerpack/CTAButton.cjs.js +10 -0
- package/dist/shared/src/components/Powerpack/CTAButton.cjs.js.map +1 -0
- package/dist/shared/src/components/Powerpack/CTAButton.es.js +10 -0
- package/dist/shared/src/components/Powerpack/CTAButton.es.js.map +1 -0
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +230 -28
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +231 -29
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js +3 -0
- package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js +3 -0
- package/dist/shared/src/components/Powerpack/PowerpackDialog.styled.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +4 -0
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +4 -0
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +180 -0
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +180 -0
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js +4 -0
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js +4 -0
- package/dist/shared/src/components/ReviewablesList/EditReviewableDialog.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +11 -0
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +11 -0
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +11 -0
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +11 -0
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +11 -0
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +11 -0
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js +4 -0
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js +4 -0
- package/dist/shared/src/components/ReviewablesList/useReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +4 -0
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +4 -0
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +11 -0
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +11 -0
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +11 -0
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +11 -0
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js +4 -0
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js +4 -0
- package/dist/shared/src/components/VersionUploader/context/VersionUploadContext.es.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.cjs.js +4 -0
- package/dist/shared/src/components/Watchers/Watchers.cjs.js.map +1 -1
- package/dist/shared/src/components/Watchers/Watchers.es.js +4 -0
- package/dist/shared/src/components/Watchers/Watchers.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +11 -0
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +11 -0
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js +4 -0
- package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.es.js +4 -0
- package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +11 -0
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +11 -0
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +11 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +4 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +4 -0
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +4 -0
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +4 -0
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +4 -0
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js +4 -0
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js +4 -0
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js +4 -0
- package/dist/shared/src/containers/Feed/hooks/useGetFeedActivitiesData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +20 -13
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +20 -13
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +11 -0
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +11 -0
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.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 +69 -21
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js +69 -21
- package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectDataContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js +0 -5
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js +0 -5
- package/dist/shared/src/containers/ProjectTreeTable/context/ProjectTableProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +7 -5
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +7 -5
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetTaskGroups.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js +5 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js +5 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useProjectTableModules.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +22 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +22 -10
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +4 -0
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js +106 -0
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.cjs.js.map +1 -0
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.es.js +106 -0
- package/dist/shared/src/containers/ProjectTreeTable/utils/queryFilterToClientFilter.es.js.map +1 -0
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +11 -0
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +11 -0
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.cjs.js +49 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.es.js +49 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.cjs.js +75 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.es.js +75 -0
- package/dist/shared/src/containers/Views/ViewItem/ViewItem.styled.es.js.map +1 -0
- package/dist/shared/src/containers/Views/Views.cjs.js +17 -0
- package/dist/shared/src/containers/Views/Views.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/Views.es.js +17 -0
- package/dist/shared/src/containers/Views/Views.es.js.map +1 -0
- package/dist/shared/src/containers/Views/Views.styled.cjs.js +45 -0
- package/dist/shared/src/containers/Views/Views.styled.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/Views.styled.es.js +45 -0
- package/dist/shared/src/containers/Views/Views.styled.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.cjs.js +41 -0
- package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.es.js +41 -0
- package/dist/shared/src/containers/Views/ViewsButton/ViewsButton.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.cjs.js +4 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.es.js +5 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +154 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +154 -0
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.cjs.js +32 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js +32 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.cjs.js +33 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.es.js +33 -0
- package/dist/shared/src/containers/Views/ViewsMenu/ViewsMenu.styled.es.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +105 -0
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +105 -0
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -0
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +211 -0
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js +211 -0
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.cjs.js +52 -0
- package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.es.js +52 -0
- package/dist/shared/src/containers/Views/hooks/pages/useListsViewSettings.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js +69 -0
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js +69 -0
- package/dist/shared/src/containers/Views/hooks/pages/useOverviewViewSettings.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js +44 -0
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js +44 -0
- package/dist/shared/src/containers/Views/hooks/pages/useTaskProgressViewSettings.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +186 -0
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +186 -0
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +33 -0
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +33 -0
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +108 -0
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +108 -0
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.cjs.js +19 -0
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.es.js +19 -0
- package/dist/shared/src/containers/Views/hooks/useViewSettingsChanged.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js +143 -0
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js +143 -0
- package/dist/shared/src/containers/Views/hooks/useViewsMutations.es.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.cjs.js +67 -0
- package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.es.js +67 -0
- package/dist/shared/src/containers/Views/hooks/useViewsShortcuts.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/generateWorkingView.cjs.js +13 -0
- package/dist/shared/src/containers/Views/utils/generateWorkingView.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/generateWorkingView.es.js +13 -0
- package/dist/shared/src/containers/Views/utils/generateWorkingView.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.cjs.js +8 -0
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.es.js +8 -0
- package/dist/shared/src/containers/Views/utils/getCustomViewsFallback.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/portalUtils.cjs.js +11 -0
- package/dist/shared/src/containers/Views/utils/portalUtils.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/portalUtils.es.js +11 -0
- package/dist/shared/src/containers/Views/utils/portalUtils.es.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +125 -0
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -0
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +125 -0
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -0
- package/dist/shared/src/context/AddonProjectContext.cjs.js +4 -0
- package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.es.js +4 -0
- package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js +4 -0
- package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.es.js +4 -0
- package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js +18 -3
- package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.es.js +18 -3
- package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js +4 -0
- package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.es.js +4 -0
- package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.cjs.js +4 -0
- package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useActionTriggers.es.js +4 -0
- package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js +4 -0
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.es.js +4 -0
- package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.cjs.js +1 -1
- package/dist/shared/src/hooks/useLoadModule.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useLoadModule.es.js +1 -1
- package/dist/shared/src/hooks/useLoadModule.es.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js +4 -0
- package/dist/shared/src/hooks/useScopedStatuses.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useScopedStatuses.es.js +4 -0
- package/dist/shared/src/hooks/useScopedStatuses.es.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +4 -0
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.es.js +4 -0
- package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
- package/dist/shared/src/util/columnConfigConverter.cjs.js +116 -0
- package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -0
- package/dist/shared/src/util/columnConfigConverter.es.js +116 -0
- package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -0
- package/dist/types/Views.d.ts +2 -0
- package/dist/types/api/generated/actions.d.ts +11 -4
- package/dist/types/api/generated/activityFeed.d.ts +3 -0
- package/dist/types/api/generated/addons.d.ts +1 -0
- package/dist/types/api/generated/anatomy.d.ts +0 -2
- package/dist/types/api/generated/authentication.d.ts +0 -1
- package/dist/types/api/generated/configuration.d.ts +6 -0
- package/dist/types/api/generated/index.d.ts +2 -0
- package/dist/types/api/generated/links.d.ts +7 -5
- package/dist/types/api/generated/onboarding.d.ts +0 -1
- package/dist/types/api/generated/operations.d.ts +2 -0
- package/dist/types/api/generated/powerPack1.1.1Views.d.ts +25 -0
- package/dist/types/api/generated/projects.d.ts +0 -35
- package/dist/types/api/generated/system.d.ts +2 -0
- package/dist/types/api/generated/tasks.d.ts +0 -14
- package/dist/types/api/generated/views.d.ts +230 -0
- package/dist/types/api/queries/cloud/cloud.d.ts +593 -0
- package/dist/types/api/queries/cloud/index.d.ts +1 -0
- package/dist/types/api/queries/index.d.ts +2 -0
- package/dist/types/api/queries/project/getProject.d.ts +0 -2
- package/dist/types/api/queries/views/getViews.d.ts +551 -0
- package/dist/types/api/queries/views/index.d.ts +2 -0
- package/dist/types/api/queries/views/updateViews.d.ts +664 -0
- package/dist/types/components/Feedback/FeedbackContext.d.ts +17 -0
- package/dist/types/components/Feedback/SupportBubble.d.ts +4 -0
- package/dist/types/components/Feedback/index.d.ts +2 -0
- package/dist/types/components/Powerpack/CTAButton.d.ts +4 -0
- package/dist/types/components/Powerpack/PowerpackDialog.d.ts +8 -0
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsContext.d.ts +15 -5
- package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsProvider.d.ts +1 -1
- package/dist/types/containers/ProjectTreeTable/context/ProjectTableContext.d.ts +0 -2
- package/dist/types/containers/ProjectTreeTable/context/ProjectTableProvider.d.ts +2 -4
- package/dist/types/containers/ProjectTreeTable/hooks/index.d.ts +0 -1
- package/dist/types/containers/ProjectTreeTable/hooks/useFetchOverviewData.d.ts +3 -5
- package/dist/types/containers/ProjectTreeTable/hooks/useProjectTableModules.d.ts +2 -5
- package/dist/types/containers/ProjectTreeTable/hooks/useQueryFilters.d.ts +5 -3
- package/dist/types/containers/ProjectTreeTable/types/index.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/types/overviewContext.d.ts +5 -6
- package/dist/types/containers/ProjectTreeTable/utils/index.d.ts +1 -0
- package/dist/types/containers/ProjectTreeTable/utils/queryFilterToClientFilter.d.ts +24 -0
- package/dist/types/containers/Views/ViewItem/ViewItem.d.ts +17 -0
- package/dist/types/containers/Views/ViewItem/ViewItem.styled.d.ts +4 -0
- package/dist/types/containers/Views/Views.d.ts +2 -0
- package/dist/types/containers/Views/Views.styled.d.ts +4 -0
- package/dist/types/containers/Views/ViewsButton/ViewsButton.d.ts +2 -0
- package/dist/types/containers/Views/ViewsDialogContainer/ViewFormDialogFallback.d.ts +24 -0
- package/dist/types/containers/Views/ViewsDialogContainer/ViewsDialogContainer.d.ts +6 -0
- package/dist/types/containers/Views/ViewsMenu/ViewsMenu.d.ts +10 -0
- package/dist/types/containers/Views/ViewsMenu/ViewsMenu.styled.d.ts +4 -0
- package/dist/types/containers/Views/ViewsMenuContainer/ViewsMenuContainer.d.ts +4 -0
- package/dist/types/containers/Views/context/ViewsContext.d.ts +46 -0
- package/dist/types/containers/Views/hooks/index.d.ts +5 -0
- package/dist/types/containers/Views/hooks/pages/useListsViewSettings.d.ts +9 -0
- package/dist/types/containers/Views/hooks/pages/useOverviewViewSettings.d.ts +12 -0
- package/dist/types/containers/Views/hooks/pages/useTaskProgressViewSettings.d.ts +10 -0
- package/dist/types/containers/Views/hooks/pages/viewUpdateHelper.d.ts +0 -0
- package/dist/types/containers/Views/hooks/useBuildViewMenuItems.d.ts +22 -0
- package/dist/types/containers/Views/hooks/useOverviewViewSettings.d.ts +0 -0
- package/dist/types/containers/Views/hooks/useSaveViewFromCurrent.d.ts +12 -0
- package/dist/types/containers/Views/hooks/useSelectedView.d.ts +12 -0
- package/dist/types/containers/Views/hooks/useViewSettingsChanged.d.ts +6 -0
- package/dist/types/containers/Views/hooks/useViewsMutations.d.ts +13 -0
- package/dist/types/containers/Views/hooks/useViewsShortcuts.d.ts +13 -0
- package/dist/types/containers/Views/index.d.ts +19 -0
- package/dist/types/containers/Views/utils/generateWorkingView.d.ts +3 -0
- package/dist/types/containers/Views/utils/getCustomViewsFallback.d.ts +13 -0
- package/dist/types/containers/Views/utils/portalUtils.d.ts +9 -0
- package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +17 -0
- package/dist/types/containers/index.d.ts +1 -0
- package/dist/types/context/PowerpackContext.d.ts +9 -6
- package/dist/types/util/columnConfigConverter.d.ts +15 -0
- package/dist/types/util/index.d.ts +1 -0
- package/dist/util.cjs.js +3 -0
- package/dist/util.cjs.js.map +1 -1
- package/dist/util.es.js +3 -0
- package/dist/util.es.js.map +1 -1
- package/package.json +6 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.cjs.js +0 -24
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.cjs.js.map +0 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.es.js +0 -24
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnSorting.es.js.map +0 -1
- package/dist/types/containers/ProjectTreeTable/hooks/useColumnSorting.d.ts +0 -12
package/dist/index.es.js
CHANGED
|
@@ -40,6 +40,7 @@ import "./shared/src/api/generated/versions.es.js";
|
|
|
40
40
|
import "./shared/src/api/generated/workfiles.es.js";
|
|
41
41
|
import "./shared/src/api/generated/ynputCloud.es.js";
|
|
42
42
|
import "./shared/src/api/generated/grouping.es.js";
|
|
43
|
+
import "./shared/src/api/generated/views.es.js";
|
|
43
44
|
import "./shared/src/api/queries/actions/getActions.es.js";
|
|
44
45
|
import "./shared/src/api/queries/activities/getActivities.es.js";
|
|
45
46
|
import "./shared/src/api/queries/activities/updateActivities.es.js";
|
|
@@ -73,6 +74,9 @@ import "./shared/src/api/queries/permissions/getPermissions.es.js";
|
|
|
73
74
|
import "./shared/src/api/queries/grouping/getGrouping.es.js";
|
|
74
75
|
import "./shared/src/api/queries/versions/updateVersions.es.js";
|
|
75
76
|
import "./shared/src/api/queries/products/createProduct.es.js";
|
|
77
|
+
import "./shared/src/api/queries/cloud/cloud.es.js";
|
|
78
|
+
import "./shared/src/api/queries/views/getViews.es.js";
|
|
79
|
+
import "./shared/src/api/queries/views/updateViews.es.js";
|
|
76
80
|
import "@ynput/ayon-react-components";
|
|
77
81
|
import "react";
|
|
78
82
|
import "@dnd-kit/core";
|
|
@@ -166,6 +170,10 @@ import "./shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFl
|
|
|
166
170
|
import "./shared/src/containers/Actions/Actions.styled.es.js";
|
|
167
171
|
import "./shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.es.js";
|
|
168
172
|
import "./shared/src/containers/Actions/ActionIcon.es.js";
|
|
173
|
+
import "./shared/src/containers/Views/context/ViewsContext.es.js";
|
|
174
|
+
import "./shared/src/containers/Views/Views.styled.es.js";
|
|
175
|
+
import "./shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js";
|
|
176
|
+
import "./shared/src/containers/Views/ViewsMenu/ViewsMenu.es.js";
|
|
169
177
|
import "./shared/src/components/EntityPanelUploader/EntityPanelUploader.styled.es.js";
|
|
170
178
|
import "./shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js";
|
|
171
179
|
import "./shared/src/components/EntityPath/EntityPath.styled.es.js";
|
|
@@ -176,6 +184,7 @@ import "./shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js"
|
|
|
176
184
|
import "./shared/src/components/Powerpack/PowerpackButton.es.js";
|
|
177
185
|
import "./shared/src/components/Powerpack/PricingLink.es.js";
|
|
178
186
|
import "./shared/src/components/Powerpack/PowerpackDialog.styled.es.js";
|
|
187
|
+
import "./shared/src/components/Powerpack/CTAButton.es.js";
|
|
179
188
|
import "./shared/src/components/SettingsPanel/SettingsPanel.es.js";
|
|
180
189
|
import "./shared/src/components/SettingsPanel/SettingsPanelItemTemplate.es.js";
|
|
181
190
|
import "./shared/src/components/AttributeEditor/components/MinMaxField.es.js";
|
|
@@ -184,6 +193,8 @@ import "./shared/src/components/SearchFilter/filterDates.es.js";
|
|
|
184
193
|
import "./shared/src/components/Badge/Badge.es.js";
|
|
185
194
|
import "./shared/src/components/VersionUploader/components/UploadVersionDialog.es.js";
|
|
186
195
|
import "./shared/src/components/VersionUploader/context/VersionUploadContext.es.js";
|
|
196
|
+
import "./shared/src/components/Feedback/FeedbackContext.es.js";
|
|
197
|
+
import "./shared/src/components/Feedback/SupportBubble.es.js";
|
|
187
198
|
export {
|
|
188
199
|
EmptyPlaceholder,
|
|
189
200
|
ThumbnailSimple,
|
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
3
|
const index$1 = require("../../hast-util-to-string/index.cjs.js");
|
|
4
|
-
const index$2 = require("../../../_virtual/index.
|
|
4
|
+
const index$2 = require("../../../_virtual/index.cjs5.js");
|
|
5
5
|
require("../../refractor/lib/common.cjs.js");
|
|
6
6
|
require("../../refractor/lib/all.cjs.js");
|
|
7
7
|
const index = require("../node_modules/unist-util-visit/lib/index.cjs.js");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { toString } from "../../hast-util-to-string/index.es.js";
|
|
2
|
-
import n from "../../../_virtual/index.
|
|
2
|
+
import n from "../../../_virtual/index.es5.js";
|
|
3
3
|
import "../../refractor/lib/common.es.js";
|
|
4
4
|
import "../../refractor/lib/all.es.js";
|
|
5
5
|
import { visit } from "../node_modules/unist-util-visit/lib/index.es.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const index = require("../../_virtual/index.
|
|
3
|
+
const index = require("../../_virtual/index.cjs6.js");
|
|
4
4
|
var hasRequiredRemoveAccents;
|
|
5
5
|
function requireRemoveAccents() {
|
|
6
6
|
if (hasRequiredRemoveAccents) return index.__module.exports;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as removeAccents } from "../../_virtual/index.
|
|
1
|
+
import { __module as removeAccents } from "../../_virtual/index.es6.js";
|
|
2
2
|
var hasRequiredRemoveAccents;
|
|
3
3
|
function requireRemoveAccents() {
|
|
4
4
|
if (hasRequiredRemoveAccents) return removeAccents.exports;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native.cjs.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":[],"mappings":";AAAA,MAAM,aAAa,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACtG,MAAe,SAAA;AAAA,EACb;AACF;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"native.es.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/native.js"],"sourcesContent":["const randomUUID = typeof crypto !== 'undefined' && crypto.randomUUID && crypto.randomUUID.bind(crypto);\nexport default {\n randomUUID\n};"],"names":[],"mappings":"AAAA,MAAM,aAAa,OAAO,WAAW,eAAe,OAAO,cAAc,OAAO,WAAW,KAAK,MAAM;AACtG,MAAe,SAAA;AAAA,EACb;AACF;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const native = require("./native.cjs.js");
|
|
3
|
+
const rng = require("./rng.cjs.js");
|
|
4
|
+
const stringify = require("./stringify.cjs.js");
|
|
5
|
+
function v4(options, buf, offset) {
|
|
6
|
+
if (native.randomUUID && true && !options) {
|
|
7
|
+
return native.randomUUID();
|
|
8
|
+
}
|
|
9
|
+
options = options || {};
|
|
10
|
+
const rnds = options.random || (options.rng || rng)();
|
|
11
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
12
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
13
|
+
return stringify.unsafeStringify(rnds);
|
|
14
|
+
}
|
|
15
|
+
module.exports = v4;
|
|
16
|
+
//# sourceMappingURL=v4.cjs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v4.cjs.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;"],"names":["unsafeStringify"],"mappings":";;;;AAIA,SAAS,GAAG,SAAS,KAAK,QAAQ;AAChC,MAAI,OAAO,cAAc,QAAQ,CAAC,SAAS;AACzC,WAAO,OAAO,WAAY;AAAA,EAC9B;AAEE,YAAU,WAAW,CAAE;AACvB,QAAM,OAAO,QAAQ,WAAW,QAAQ,OAAO;AAE/C,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAC3B,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAY3B,SAAOA,UAAAA,gBAAgB,IAAI;AAC7B;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import native from "./native.es.js";
|
|
2
|
+
import rng from "./rng.es.js";
|
|
3
|
+
import { unsafeStringify } from "./stringify.es.js";
|
|
4
|
+
function v4(options, buf, offset) {
|
|
5
|
+
if (native.randomUUID && true && !options) {
|
|
6
|
+
return native.randomUUID();
|
|
7
|
+
}
|
|
8
|
+
options = options || {};
|
|
9
|
+
const rnds = options.random || (options.rng || rng)();
|
|
10
|
+
rnds[6] = rnds[6] & 15 | 64;
|
|
11
|
+
rnds[8] = rnds[8] & 63 | 128;
|
|
12
|
+
return unsafeStringify(rnds);
|
|
13
|
+
}
|
|
14
|
+
export {
|
|
15
|
+
v4 as default
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=v4.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"v4.es.js","sources":["../../../../../../node_modules/uuid/dist/esm-browser/v4.js"],"sourcesContent":["import native from './native.js';\nimport rng from './rng.js';\nimport { unsafeStringify } from './stringify.js';\n\nfunction v4(options, buf, offset) {\n if (native.randomUUID && !buf && !options) {\n return native.randomUUID();\n }\n\n options = options || {};\n const rnds = options.random || (options.rng || rng)(); // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n\n rnds[6] = rnds[6] & 0x0f | 0x40;\n rnds[8] = rnds[8] & 0x3f | 0x80; // Copy bytes to buffer, if provided\n\n if (buf) {\n offset = offset || 0;\n\n for (let i = 0; i < 16; ++i) {\n buf[offset + i] = rnds[i];\n }\n\n return buf;\n }\n\n return unsafeStringify(rnds);\n}\n\nexport default v4;"],"names":[],"mappings":";;;AAIA,SAAS,GAAG,SAAS,KAAK,QAAQ;AAChC,MAAI,OAAO,cAAc,QAAQ,CAAC,SAAS;AACzC,WAAO,OAAO,WAAY;AAAA,EAC9B;AAEE,YAAU,WAAW,CAAE;AACvB,QAAM,OAAO,QAAQ,WAAW,QAAQ,OAAO;AAE/C,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAC3B,OAAK,CAAC,IAAI,KAAK,CAAC,IAAI,KAAO;AAY3B,SAAO,gBAAgB,IAAI;AAC7B;","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.cjs.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery","GraphQLClient","graphqlRequestBaseQuery","fetchBaseQuery","createApi"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"client.cjs.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n 'view',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery","GraphQLClient","graphqlRequestBaseQuery","fetchBaseQuery","createApi"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"client.es.js","sources":["../../../../../src/api/base/client.ts"],"sourcesContent":["// Need to use the React-specific entry point to allow generating React hooks\nimport { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'\nimport { graphqlRequestBaseQuery } from '@rtk-query/graphql-request-base-query'\nimport type {\n BaseQueryApi,\n BaseQueryFn,\n FetchArgs,\n FetchBaseQueryError,\n} from '@reduxjs/toolkit/query'\nimport { GraphQLClient } from 'graphql-request'\nimport type {\n BaseQueryArg,\n BaseQueryError,\n BaseQueryExtraOptions,\n BaseQueryResult,\n} from './baseQueryTypes'\n\n// https://github.com/reduxjs/redux-toolkit/discussions/3161\nconst combineBaseQueries =\n <\n DefaultBQ extends BaseQueryFn<any, any, any, any, any>,\n CaseBQs extends {\n predicate: (arg: unknown, api: BaseQueryApi, extraOptions: unknown) => boolean\n baseQuery: BaseQueryFn<any, any, any, any, any>\n }[],\n AllBQs extends DefaultBQ | CaseBQs[number]['baseQuery'] =\n | DefaultBQ\n | CaseBQs[number]['baseQuery'],\n >(\n defaultBQ: DefaultBQ,\n ...caseBQs: CaseBQs\n ): BaseQueryFn<\n BaseQueryArg<AllBQs>,\n BaseQueryResult<AllBQs>,\n BaseQueryError<AllBQs>,\n BaseQueryExtraOptions<AllBQs>\n > =>\n (arg, api, extraOptions) => {\n for (const { predicate, baseQuery } of caseBQs) {\n if (predicate(arg, api, extraOptions)) {\n return baseQuery(arg, api, extraOptions)\n }\n }\n return defaultBQ(arg, api, extraOptions)\n }\n\n// Util function\nexport const buildOperations = (ids: string[], type: string, data: any) =>\n ids.map((id) => ({\n type: 'update',\n entityType: type,\n entityId: id,\n data,\n }))\n\nconst tagTypes = [\n 'accessGroup',\n 'actionConfig',\n 'addonList',\n 'addonSettings',\n 'addonSettingsList',\n 'addonSettingsOverrides',\n 'addonSettingsSchema',\n 'anatomyPresets',\n 'attribute',\n 'activity',\n 'entityActivities',\n 'branch',\n 'bundleList',\n 'connections',\n 'customRoots',\n 'dependencyPackage',\n 'entity',\n 'entityList',\n 'entityListItem',\n 'entityListAttribute',\n 'entities',\n 'folder',\n 'hierarchy',\n 'info',\n 'installerList',\n 'login',\n 'product',\n 'project',\n 'projectAddons',\n 'projects',\n 'secrets',\n 'session',\n 'settingsAddons',\n 'siteRoots',\n 'siteSettings',\n 'siteSettingsSchema',\n 'tag',\n 'task',\n 'team',\n 'user',\n 'version',\n 'entitiesVersions',\n 'workfile',\n 'kanban',\n 'kanBanTask',\n 'detail',\n 'marketAddon',\n 'inbox',\n 'service',\n 'actions',\n 'review',\n 'viewer',\n 'watchers',\n 'progress',\n 'userPool',\n 'config',\n 'feedback',\n 'overviewTask',\n 'view',\n]\n\nconst prepareHeaders = (headers: any) => {\n const storedAccessToken = localStorage.getItem('accessToken')\n if (storedAccessToken) {\n headers.set('Authorization', `Bearer ${storedAccessToken}`)\n }\n // @ts-ignore\n headers.set('X-Sender', window.senderId)\n\n return headers\n}\n\nexport const client = new GraphQLClient(`${window.location.origin}/graphql`)\n\nconst baseGraphqlQuery = graphqlRequestBaseQuery({\n prepareHeaders: prepareHeaders,\n url: '/graphql',\n // @ts-ignore\n client: client,\n})\n\n// check for 401 and redirect to login\nconst baseQuery = fetchBaseQuery({ baseUrl: '/', prepareHeaders: prepareHeaders })\n\nconst polymorphBaseQuery = combineBaseQueries(baseQuery, {\n baseQuery: baseGraphqlQuery,\n predicate: (args: any) => !!args.document && !!args.variables,\n})\n\n// @ts-ignore\nconst baseQueryWithRedirect: BaseQueryFn<string | FetchArgs, unknown, FetchBaseQueryError> = async (\n args,\n api,\n extraOptions,\n) => {\n const url = window.location.pathname\n const shouldRedirectToLogin = () => {\n if (!url.includes('connect') && !url.startsWith('/login')) {\n console.error('Unauthorized: 401 error')\n window.location.href = '/login'\n }\n }\n\n try {\n const result = await polymorphBaseQuery(args, api, extraOptions)\n\n // @ts-ignore\n if (result?.error?.status === 401) {\n shouldRedirectToLogin()\n }\n\n return result\n } catch (error: any) {\n if (error?.response && error.response?.status === 401) {\n shouldRedirectToLogin()\n } else {\n console.error(error)\n }\n throw error\n } finally {\n }\n}\n\n// Define the REST API and Graphql API\nexport const api = createApi({\n reducerPath: 'restApi',\n baseQuery: baseQueryWithRedirect,\n endpoints: () => ({}),\n tagTypes,\n})\n"],"names":["api","baseQuery"],"mappings":"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"}
|
|
@@ -9,7 +9,8 @@ const injectedRtkApi = client.api.injectEndpoints({
|
|
|
9
9
|
method: "POST",
|
|
10
10
|
body: queryArg.actionContext,
|
|
11
11
|
params: {
|
|
12
|
-
mode: queryArg.mode
|
|
12
|
+
mode: queryArg.mode,
|
|
13
|
+
variant: queryArg.variant
|
|
13
14
|
}
|
|
14
15
|
})
|
|
15
16
|
}),
|
|
@@ -34,6 +35,10 @@ const injectedRtkApi = client.api.injectEndpoints({
|
|
|
34
35
|
url: `/api/actions/execute`,
|
|
35
36
|
method: "POST",
|
|
36
37
|
body: queryArg.actionContext,
|
|
38
|
+
headers: {
|
|
39
|
+
"x-sender": queryArg["x-sender"],
|
|
40
|
+
"x-sender-type": queryArg["x-sender-type"]
|
|
41
|
+
},
|
|
37
42
|
params: {
|
|
38
43
|
addonName: queryArg.addonName,
|
|
39
44
|
addonVersion: queryArg.addonVersion,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity.
|
|
1
|
+
{"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n variant: queryArg.variant,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n variant?: string\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** If true, the action is only available to admin users */\n adminOnly?: boolean\n /** If true, the action is only available to manager users */\n managerOnly?: boolean\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,UACf,SAAS,SAAS;AAAA,QAAA;AAAA,MAEtB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAC3C;AAAA,QACA,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
|
|
@@ -7,7 +7,8 @@ const injectedRtkApi = api.injectEndpoints({
|
|
|
7
7
|
method: "POST",
|
|
8
8
|
body: queryArg.actionContext,
|
|
9
9
|
params: {
|
|
10
|
-
mode: queryArg.mode
|
|
10
|
+
mode: queryArg.mode,
|
|
11
|
+
variant: queryArg.variant
|
|
11
12
|
}
|
|
12
13
|
})
|
|
13
14
|
}),
|
|
@@ -32,6 +33,10 @@ const injectedRtkApi = api.injectEndpoints({
|
|
|
32
33
|
url: `/api/actions/execute`,
|
|
33
34
|
method: "POST",
|
|
34
35
|
body: queryArg.actionContext,
|
|
36
|
+
headers: {
|
|
37
|
+
"x-sender": queryArg["x-sender"],
|
|
38
|
+
"x-sender-type": queryArg["x-sender-type"]
|
|
39
|
+
},
|
|
35
40
|
params: {
|
|
36
41
|
addonName: queryArg.addonName,
|
|
37
42
|
addonVersion: queryArg.addonVersion,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity.
|
|
1
|
+
{"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n variant: queryArg.variant,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n variant?: string\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n badges?: string[]\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[] | number[] | number[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** If true, the action is only available to admin users */\n adminOnly?: boolean\n /** If true, the action is only available to manager users */\n managerOnly?: boolean\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. Either a project level entity, 'list' or 'project' for project-wide actions. or None for global actions. */\n entityType?:\n | 'project'\n | 'list'\n | 'folder'\n | 'task'\n | 'product'\n | 'version'\n | 'representation'\n | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,UACf,SAAS,SAAS;AAAA,QAAA;AAAA,MAEtB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAC3C;AAAA,QACA,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU,cAAc,SAAS,QAAQ;AAAA,QAC3G,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
|
|
1
|
+
{"version":3,"file":"activityFeed.cjs.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU,cAAc,SAAS,QAAQ;AAAA,QAC3G,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU,cAAc,SAAS,QAAQ;AAAA,QAC3G,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"activityFeed.es.js","sources":["../../../../../src/api/generated/activityFeed.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n postProjectActivity: build.mutation<PostProjectActivityApiResponse, PostProjectActivityApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/activities`,\n method: 'POST',\n body: queryArg.projectActivityPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteProjectActivity: build.mutation<\n DeleteProjectActivityApiResponse,\n DeleteProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchProjectActivity: build.mutation<\n PatchProjectActivityApiResponse,\n PatchProjectActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}`,\n method: 'PATCH',\n body: queryArg.activityPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createReactionToActivity: build.mutation<\n CreateReactionToActivityApiResponse,\n CreateReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions`,\n method: 'POST',\n body: queryArg.createReactionModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteReactionToActivity: build.mutation<\n DeleteReactionToActivityApiResponse,\n DeleteReactionToActivityApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/activities/${queryArg.activityId}/reactions/${queryArg.reaction}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n suggestEntityMention: build.mutation<\n SuggestEntityMentionApiResponse,\n SuggestEntityMentionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/suggest`,\n method: 'POST',\n body: queryArg.suggestRequest,\n }),\n }),\n getEntityWatchers: build.query<GetEntityWatchersApiResponse, GetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n }),\n }),\n setEntityWatchers: build.mutation<SetEntityWatchersApiResponse, SetEntityWatchersApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/${queryArg.entityType}/${queryArg.entityId}/watchers`,\n method: 'POST',\n body: queryArg.watchersModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type PostProjectActivityApiResponse =\n /** status 201 Successful Response */ CreateActivityResponseModel\nexport type PostProjectActivityApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n projectActivityPostModel: ProjectActivityPostModel\n}\nexport type DeleteProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type DeleteProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchProjectActivityApiResponse = /** status 200 Successful Response */ any\nexport type PatchProjectActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n activityPatchModel: ActivityPatchModel\n}\nexport type CreateReactionToActivityApiResponse = /** status 201 Successful Response */ any\nexport type CreateReactionToActivityApiArg = {\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n createReactionModel: CreateReactionModel\n}\nexport type DeleteReactionToActivityApiResponse = unknown\nexport type DeleteReactionToActivityApiArg = {\n /** The reaction to be deleted */\n reaction: string\n projectName: string\n activityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type SuggestEntityMentionApiResponse = /** status 200 Successful Response */ SuggestResponse\nexport type SuggestEntityMentionApiArg = {\n projectName: string\n suggestRequest: SuggestRequest\n}\nexport type GetEntityWatchersApiResponse = /** status 200 Successful Response */ WatchersModel\nexport type GetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n}\nexport type SetEntityWatchersApiResponse = /** status 201 Successful Response */ any\nexport type SetEntityWatchersApiArg = {\n projectName: string\n /** Project level entity type is used in the endpoint path to specify the type of entity to operate on. It is usually one of 'folders', 'products', 'versions', 'representations', 'tasks', 'workfiles'. (trailing 's' is optional). */\n entityType: string\n entityId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n watchersModel: WatchersModel\n}\nexport type CreateActivityResponseModel = {\n id: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ProjectActivityPostModel = {\n /** Explicitly set the ID of the activity */\n id?: string\n activityType:\n | 'comment'\n | 'watch'\n | 'reviewable'\n | 'status.change'\n | 'assignee.add'\n | 'assignee.remove'\n | 'version.publish'\n body?: string\n tags?: string[]\n files?: string[]\n timestamp?: string\n /** Additional data */\n data?: Record<string, any>\n}\nexport type ActivityPatchModel = {\n /** When set, update the activity body */\n body?: string\n /** When set, update the activity tags */\n tags?: string[]\n /** When set, update the activity files */\n files?: string[]\n /** When true, append files to the existing ones. replace them otherwise */\n appendFiles?: boolean\n data?: Record<string, any>\n}\nexport type CreateReactionModel = {\n /** The reaction to be created */\n reaction: string\n}\nexport type UserSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n name: string\n fullName?: string\n}\nexport type FolderSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n folderType: string\n name: string\n label?: string\n thumbnailId?: string\n}\nexport type TaskSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n taskType: string\n name: string\n label?: string\n thumbnailId?: string\n parent?: FolderSuggestionItem\n}\nexport type ProductSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n name: string\n productType: string\n parent?: FolderSuggestionItem\n}\nexport type VersionSuggestionItem = {\n /** The date and time when the suggested entity was created */\n createdAt?: string\n /** The relevance score of the suggestion */\n relevance?: number\n id: string\n version: number\n parent?: ProductSuggestionItem\n name?: string\n}\nexport type SuggestResponse = {\n users?: UserSuggestionItem[]\n tasks?: TaskSuggestionItem[]\n versions?: VersionSuggestionItem[]\n}\nexport type SuggestRequest = {\n entityType: 'folder' | 'task' | 'version'\n entityId: string\n}\nexport type WatchersModel = {\n watchers: string[]\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,qBAAqB,MAAM,SAAoE;AAAA,MAC7F,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuB,MAAM,SAG3B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU;AAAA,QAC5E,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,0BAA0B,MAAM,SAG9B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,eAAe,SAAS,UAAU,cAAc,SAAS,QAAQ;AAAA,QAC3G,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,sBAAsB,MAAM,SAG1B;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW;AAAA,QAC1C,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,MAA6D;AAAA,MACpF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,MACxF;AAAA,IAAA,CACD;AAAA,IACD,mBAAmB,MAAM,SAAgE;AAAA,MACvF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,iBAAiB,SAAS,WAAW,IAAI,SAAS,UAAU,IAAI,SAAS,QAAQ;AAAA,QACtF,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAY,SAAS,UAAU;AAAA,UAC/B,iBAAiB,SAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -255,7 +255,8 @@ const injectedRtkApi = client.api.injectEndpoints({
|
|
|
255
255
|
project_bundle_name: queryArg.projectBundleName,
|
|
256
256
|
variant: queryArg.variant,
|
|
257
257
|
summary: queryArg.summary,
|
|
258
|
-
site_id: queryArg.siteId
|
|
258
|
+
site_id: queryArg.siteId,
|
|
259
|
+
limit: queryArg.limit
|
|
259
260
|
}
|
|
260
261
|
})
|
|
261
262
|
})
|