@ynput/ayon-frontend-shared 0.2.36 → 0.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DetailsPanel.cjs.js +1 -1
- package/dist/DetailsPanel.es.js +23 -22
- package/dist/DetailsPanel.es.js.map +1 -1
- package/dist/Views.cjs.js +1 -1
- package/dist/Views.cjs.js.map +1 -1
- package/dist/Views.es.js +25 -24
- package/dist/Views.es.js.map +1 -1
- package/dist/_virtual/index.cjs2.js +1 -1
- package/dist/_virtual/index.cjs3.js +1 -1
- package/dist/_virtual/index.cjs5.js +1 -1
- package/dist/_virtual/index.es2.js +2 -5
- package/dist/_virtual/index.es2.js.map +1 -1
- package/dist/_virtual/index.es3.js +5 -2
- package/dist/_virtual/index.es3.js.map +1 -1
- package/dist/_virtual/index.es4.js +2 -2
- package/dist/_virtual/index.es5.js +2 -2
- package/dist/context.cjs.js +1 -1
- package/dist/context.es.js +19 -16
- package/dist/context.es.js.map +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +10 -9
- package/dist/index.es.js.map +1 -1
- package/dist/node_modules/react-use-websocket/dist/index.cjs.js +1 -1
- package/dist/node_modules/react-use-websocket/dist/index.es.js +1 -1
- package/dist/shared/node_modules/prop-types/index.cjs.js +1 -1
- package/dist/shared/node_modules/prop-types/index.es.js +1 -1
- package/dist/shared/node_modules/react-is/index.cjs.js +1 -1
- package/dist/shared/node_modules/react-is/index.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/CSSTransition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/Transition.es.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.cjs.js +1 -1
- package/dist/shared/node_modules/react-transition-group/esm/utils/PropTypes.es.js +1 -1
- package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/actions.es.js.map +1 -1
- package/dist/shared/src/api/generated/attributes.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/attributes.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/entityLists.cjs.js +1 -1
- package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/entityLists.es.js +88 -84
- package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.cjs.js +22 -20
- package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/graphql.es.js +34 -32
- package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
- package/dist/shared/src/api/generated/graphqlLinks.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/graphqlLinks.es.js.map +1 -1
- package/dist/shared/src/api/generated/onboarding.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/onboarding.es.js.map +1 -1
- package/dist/shared/src/api/generated/products.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/products.es.js.map +1 -1
- package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/projects.es.js.map +1 -1
- package/dist/shared/src/api/generated/system.cjs.js +1 -1
- package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/system.es.js +3 -0
- package/dist/shared/src/api/generated/system.es.js.map +1 -1
- package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/users.es.js.map +1 -1
- package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/views.es.js.map +1 -1
- package/dist/shared/src/api/generated/ynputCloud.cjs.js +1 -1
- package/dist/shared/src/api/generated/ynputCloud.cjs.js.map +1 -1
- package/dist/shared/src/api/generated/ynputCloud.es.js +6 -1
- package/dist/shared/src/api/generated/ynputCloud.es.js.map +1 -1
- package/dist/shared/src/api/queries/system/getSystem.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/system/getSystem.es.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.cjs.js.map +1 -1
- package/dist/shared/src/api/queries/users/getUsers.es.js.map +1 -1
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +129 -122
- package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelAttributes/components/RenderFieldWidget.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js +3 -2
- package/dist/shared/src/components/DetailsPanelDetails/DescriptionSection.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js +23 -9
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityData.es.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.cjs.js.map +1 -1
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js +5 -4
- package/dist/shared/src/components/DetailsPanelDetails/hooks/useEntityEditing.es.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js +3 -2
- package/dist/shared/src/components/EntityPanelUploader/EntityPanelUploader.es.js.map +1 -1
- package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js +1 -1
- package/dist/shared/src/components/EntityPath/SegmentProvider.cjs.js.map +1 -1
- package/dist/shared/src/components/EntityPath/SegmentProvider.es.js +6 -5
- package/dist/shared/src/components/EntityPath/SegmentProvider.es.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.cjs.js.map +1 -1
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js +118 -112
- package/dist/shared/src/components/Feedback/FeedbackContext.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js +3 -2
- package/dist/shared/src/components/LinksManager/AddNewLinks.es.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.cjs.js.map +1 -1
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js +3 -2
- package/dist/shared/src/components/LinksManager/hooks/useUpdateLinks.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackButton.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackButton.es.js +8 -7
- package/dist/shared/src/components/Powerpack/PowerpackButton.es.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js +3 -2
- package/dist/shared/src/components/Powerpack/PowerpackDialog.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js +2 -2
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js +18 -17
- package/dist/shared/src/components/ProjectTableSettings/ProjectTableSettings.es.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js +3 -2
- package/dist/shared/src/components/ProjectTableSettings/TableSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.cjs.js.map +1 -1
- package/dist/shared/src/components/RenameForm/RenameForm.es.js +3 -2
- package/dist/shared/src/components/RenameForm/RenameForm.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/ReviewablesList.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js +4 -3
- package/dist/shared/src/components/ReviewablesList/ReviewablesUpload.es.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.cjs.js.map +1 -1
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js +3 -2
- package/dist/shared/src/components/ReviewablesList/SortableReviewableCard.es.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.cjs.js.map +1 -1
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js +263 -210
- package/dist/shared/src/components/SearchFilter/useBuildFilterOptions.es.js.map +1 -1
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +1 -1
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +24 -23
- package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.cjs.js.map +1 -1
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js +3 -2
- package/dist/shared/src/components/SimpleFormDialog/SimpleFormDialog.es.js.map +1 -1
- package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js +1 -1
- package/dist/shared/src/components/Thumbnail/StackedThumbnails.cjs.js.map +1 -1
- package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js +3 -2
- package/dist/shared/src/components/Thumbnail/StackedThumbnails.es.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.cjs.js.map +1 -1
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js +3 -2
- package/dist/shared/src/components/VersionUploader/components/UploadVersionForm.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js +3 -2
- package/dist/shared/src/containers/Actions/ActionConfigDialog.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/Actions.es.js +3 -2
- package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js +3 -2
- package/dist/shared/src/containers/Actions/InteractiveActionDialog.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js +61 -57
- package/dist/shared/src/containers/DetailsPanel/DetailsPanel.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFiles/DetailsPanelFiles.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js +58 -55
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelFloating/DetailsPanelFloating.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/DetailsPanelSlideOut/DetailsPanelSlideOut.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js +3 -2
- package/dist/shared/src/containers/DetailsPanel/FeedContextWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js +33 -30
- package/dist/shared/src/containers/DetailsPanel/FeedWrapper.es.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.cjs.js.map +1 -1
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js +16 -15
- package/dist/shared/src/containers/DetailsPanel/hooks/useGetEntityPath.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/EntityPickerDialog.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTable.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableHeader.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/components/EntityTypeTableSearch.es.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.cjs.js.map +1 -1
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js +3 -2
- package/dist/shared/src/containers/EntityPickerDialog/hooks/useGetEntityPickerData.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/Feed.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/Feed.es.js +4 -3
- package/dist/shared/src/containers/Feed/Feed.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js +3 -2
- package/dist/shared/src/containers/Feed/components/ActivityComment/ActivityComment.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js +8 -7
- package/dist/shared/src/containers/Feed/components/ActivityVersions/ActivityVersions.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js +3 -2
- package/dist/shared/src/containers/Feed/components/CommentInput/CommentInput.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js +3 -2
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useAnnotationsSync.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js +9 -8
- package/dist/shared/src/containers/Feed/components/CommentInput/hooks/useMentionLink.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js +3 -2
- package/dist/shared/src/containers/Feed/components/FileUploadCard/FileUploadCard.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js +3 -2
- package/dist/shared/src/containers/Feed/components/Tooltips/EntityTooltip/EntityTooltip.es.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js +45 -42
- package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +289 -283
- package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +4 -3
- package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/components/ColumnHeaderMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/components/GroupSettingsFallback.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/context/CellEditingProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/context/SelectionCellsProvider.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js +25 -90
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useAttributesList.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js +6 -5
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildGroupByTableData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useBuildProjectDataTable.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCellContextMenu.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useCheckSelectedCellsVisible.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useColumnGroupBy.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useFetchOverviewData.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js +22 -21
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGetGroupedFields.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js +19 -16
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useGroupBySettings.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useKeyboardNavigation.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useMoveEntities.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/usePasteLinks.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/hooks/useQueryFilters.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js +14 -13
- package/dist/shared/src/containers/ProjectTreeTable/utils/cellUtils.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +38 -37
- package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js +5 -4
- package/dist/shared/src/containers/ProjectTreeTable/widgets/LinksWidget.es.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.cjs.js.map +1 -1
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js +3 -2
- package/dist/shared/src/containers/ProjectTreeTable/widgets/NameWidget.es.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.cjs.js.map +1 -1
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js +3 -2
- package/dist/shared/src/containers/RepresentationsList/RepresentationsList.es.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.cjs.js.map +1 -1
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js +3 -2
- package/dist/shared/src/containers/SimpleTable/SimpleTable.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js +3 -2
- package/dist/shared/src/containers/Views/ViewsDialogContainer/ViewsDialogContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js +2 -2
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js +7 -6
- package/dist/shared/src/containers/Views/ViewsMenuContainer/ViewsMenuContainer.es.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js +26 -25
- package/dist/shared/src/containers/Views/context/ViewsContext.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useBuildViewMenuItems.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js +3 -2
- package/dist/shared/src/containers/Views/hooks/useSaveViewFromCurrent.es.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js +9 -9
- package/dist/shared/src/containers/Views/hooks/useSelectedView.es.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.cjs.js.map +1 -1
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js +40 -35
- package/dist/shared/src/containers/Views/utils/viewUpdateHelper.es.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js +1 -1
- package/dist/shared/src/context/AddonProjectContext.cjs.js.map +1 -1
- package/dist/shared/src/context/AddonProjectContext.es.js +8 -7
- package/dist/shared/src/context/AddonProjectContext.es.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js +1 -1
- package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
- package/dist/shared/src/context/DetailsPanelContext.es.js +77 -78
- package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
- package/dist/shared/src/context/GlobalContext.cjs.js +2 -0
- package/dist/shared/src/context/GlobalContext.cjs.js.map +1 -0
- package/dist/shared/src/context/GlobalContext.es.js +123 -0
- package/dist/shared/src/context/GlobalContext.es.js.map +1 -0
- package/dist/shared/src/context/PowerpackContext.cjs.js +1 -1
- package/dist/shared/src/context/PowerpackContext.cjs.js.map +1 -1
- package/dist/shared/src/context/PowerpackContext.es.js +7 -6
- package/dist/shared/src/context/PowerpackContext.es.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js +1 -1
- package/dist/shared/src/context/RemoteModulesContext.cjs.js.map +1 -1
- package/dist/shared/src/context/RemoteModulesContext.es.js +35 -34
- package/dist/shared/src/context/RemoteModulesContext.es.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js +1 -1
- package/dist/shared/src/context/WebsocketContext.cjs.js.map +1 -1
- package/dist/shared/src/context/WebsocketContext.es.js +5 -4
- package/dist/shared/src/context/WebsocketContext.es.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useEntityUpdate.es.js +3 -2
- package/dist/shared/src/hooks/useEntityUpdate.es.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useGroupByRemoteModules.es.js +3 -2
- package/dist/shared/src/hooks/useGroupByRemoteModules.es.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.cjs.js.map +1 -1
- package/dist/shared/src/hooks/useUserProjectConfig.es.js +26 -12
- package/dist/shared/src/hooks/useUserProjectConfig.es.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/Menu.cjs.js +1 -1
- package/dist/src/components/Menu/MenuComponents/Menu.cjs.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/Menu.es.js +3 -2
- package/dist/src/components/Menu/MenuComponents/Menu.es.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuItem.cjs.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuItem.es.js +1 -0
- package/dist/src/components/Menu/MenuComponents/MenuItem.es.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuList.cjs.js.map +1 -1
- package/dist/src/components/Menu/MenuComponents/MenuList.es.js +17 -16
- package/dist/src/components/Menu/MenuComponents/MenuList.es.js.map +1 -1
- package/dist/types/api/generated/actions.d.ts +2 -0
- package/dist/types/api/generated/attributes.d.ts +20 -5
- package/dist/types/api/generated/authentication.d.ts +2 -0
- package/dist/types/api/generated/configuration.d.ts +3 -1
- package/dist/types/api/generated/entityLists.d.ts +22 -5
- package/dist/types/api/generated/enums.d.ts +36 -0
- package/dist/types/api/generated/graphql.d.ts +9 -2
- package/dist/types/api/generated/graphqlLinks.d.ts +3 -0
- package/dist/types/api/generated/onboarding.d.ts +1 -0
- package/dist/types/api/generated/products.d.ts +9 -3
- package/dist/types/api/generated/projects.d.ts +4 -4
- package/dist/types/api/generated/system.d.ts +27 -5
- package/dist/types/api/generated/users.d.ts +2 -0
- package/dist/types/api/generated/views.d.ts +48 -5
- package/dist/types/api/generated/ynputCloud.d.ts +7 -20
- package/dist/types/api/queries/activities/getActivities.d.ts +2 -0
- package/dist/types/api/queries/activities/updateActivities.d.ts +4 -0
- package/dist/types/api/queries/cloud/cloud.d.ts +17 -17
- package/dist/types/api/queries/entities/getEntity.d.ts +2 -0
- package/dist/types/api/queries/entities/getEntityPanel.d.ts +2 -0
- package/dist/types/api/queries/entities/updateEntity.d.ts +2 -0
- package/dist/types/api/queries/entityLists/getLists.d.ts +2 -0
- package/dist/types/api/queries/overview/getOverview.d.ts +2 -0
- package/dist/types/api/queries/system/getSystem.d.ts +85 -75
- package/dist/types/api/queries/userDashboard/getUserDashboard.d.ts +2 -0
- package/dist/types/api/queries/users/getUsers.d.ts +43 -37
- package/dist/types/api/queries/versions/getVersionsProducts.d.ts +20 -0
- package/dist/types/components/DetailsPanelDetails/hooks/useEntityData.d.ts +1 -1
- package/dist/types/components/SearchFilter/useBuildFilterOptions.d.ts +1 -1
- package/dist/types/containers/DetailsPanel/FeedWrapper.d.ts +3 -0
- package/dist/types/containers/Feed/context/FeedContext.d.ts +4 -3
- package/dist/types/containers/ProjectTreeTable/hooks/useGroupBySettings.d.ts +1 -1
- package/dist/types/containers/ProjectTreeTable/types/table.d.ts +2 -0
- package/dist/types/containers/Views/index.d.ts +1 -1
- package/dist/types/containers/Views/utils/viewUpdateHelper.d.ts +6 -10
- package/dist/types/context/DetailsPanelContext.d.ts +1 -2
- package/dist/types/context/GlobalContext.d.ts +25 -0
- package/dist/types/context/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js +0 -2
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.cjs.js.map +0 -1
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js +0 -64
- package/dist/shared/src/containers/Views/hooks/pages/useReportsViewSettings.es.js.map +0 -1
- package/dist/types/containers/Views/hooks/pages/useReportsViewSettings.d.ts +0 -11
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.es.js","sources":["../../../../../src/api/generated/system.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listFrontendModules: build.query<ListFrontendModulesApiResponse, ListFrontendModulesApiArg>({\n query: () => ({ url: `/api/frontendModules` }),\n }),\n getSites: build.query<GetSitesApiResponse, GetSitesApiArg>({\n query: (queryArg) => ({\n url: `/api/system/sites`,\n params: {\n platform: queryArg.platform,\n hostname: queryArg.hostname,\n },\n }),\n }),\n getSiteInfo: build.query<GetSiteInfoApiResponse, GetSiteInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/info`,\n params: {\n full: queryArg.full,\n },\n }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n getSystemMetrics: build.query<GetSystemMetricsApiResponse, GetSystemMetricsApiArg>({\n query: () => ({ url: `/api/metrics/system` }),\n }),\n getListOfSecrets: build.query<GetListOfSecretsApiResponse, GetListOfSecretsApiArg>({\n query: () => ({ url: `/api/secrets` }),\n }),\n getSecret: build.query<GetSecretApiResponse, GetSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}` }),\n }),\n saveSecret: build.mutation<SaveSecretApiResponse, SaveSecretApiArg>({\n query: (queryArg) => ({\n url: `/api/secrets/${queryArg.secretName}`,\n method: 'PUT',\n body: queryArg.secret,\n }),\n }),\n deleteSecret: build.mutation<DeleteSecretApiResponse, DeleteSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}`, method: 'DELETE' }),\n }),\n requestServerRestart: build.mutation<\n RequestServerRestartApiResponse,\n RequestServerRestartApiArg\n >({\n query: () => ({ url: `/api/system/restart`, method: 'POST' }),\n }),\n getRestartRequired: build.query<GetRestartRequiredApiResponse, GetRestartRequiredApiArg>({\n query: () => ({ url: `/api/system/restartRequired` }),\n }),\n setRestartRequired: build.mutation<SetRestartRequiredApiResponse, SetRestartRequiredApiArg>({\n query: (queryArg) => ({\n url: `/api/system/restartRequired`,\n method: 'POST',\n body: queryArg.restartRequiredModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListFrontendModulesApiResponse =\n /** status 200 Successful Response */ FrontendModuleListItem[]\nexport type ListFrontendModulesApiArg = void\nexport type GetSitesApiResponse = /** status 200 Successful Response */ SiteInfo[]\nexport type GetSitesApiArg = {\n platform?: 'windows' | 'linux' | 'darwin'\n hostname?: string\n}\nexport type GetSiteInfoApiResponse = /** status 200 Successful Response */ InfoResponseModel\nexport type GetSiteInfoApiArg = {\n /** Include frontend-related information */\n full?: boolean\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type GetSystemMetricsApiResponse = /** status 200 Successful Response */ any\nexport type GetSystemMetricsApiArg = void\nexport type GetListOfSecretsApiResponse = /** status 200 Successful Response */ Secret[]\nexport type GetListOfSecretsApiArg = void\nexport type GetSecretApiResponse = /** status 200 Successful Response */ Secret\nexport type GetSecretApiArg = {\n secretName: string\n}\nexport type SaveSecretApiResponse = unknown\nexport type SaveSecretApiArg = {\n secretName: string\n secret: Secret\n}\nexport type DeleteSecretApiResponse = unknown\nexport type DeleteSecretApiArg = {\n secretName: string\n}\nexport type RequestServerRestartApiResponse = unknown\nexport type RequestServerRestartApiArg = void\nexport type GetRestartRequiredApiResponse =\n /** status 200 Successful Response */ RestartRequiredModel\nexport type GetRestartRequiredApiArg = void\nexport type SetRestartRequiredApiResponse = /** status 200 Successful Response */ any\nexport type SetRestartRequiredApiArg = {\n restartRequiredModel: RestartRequiredModel\n}\nexport type FrontendModuleListItem = {\n addonName: string\n addonVersion: string\n modules: {\n [key: string]: string[]\n }\n}\nexport type SiteInfo = {\n id: string\n platform: 'windows' | 'linux' | 'darwin'\n hostname: string\n version: string\n users: 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 ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n}\nexport type SsoOption = {\n /** Unique name of the SSO provider */\n name: string\n /** If True, the provider will not be shown in the UI */\n hidden?: boolean\n /** Nice human-readable title of the provider */\n title?: string\n icon?: string\n color?: string\n textColor?: string\n redirectKey?: string\n url: string\n args?: {\n [key: string]: string\n }\n callback: string\n}\nexport type InfoResponseModel = {\n /** Instance specific message to be displayed in the login page */\n motd?: string\n /** URL of the background image for the login page */\n loginPageBackground?: string\n /** URL of the brand logo for the login page */\n loginPageBrand?: string\n /** Information about the current release */\n releaseInfo?: ReleaseInfo\n /** Version of the Ayon API */\n version?: string\n /** Time (seconds) since the server was started */\n uptime?: number\n /** No admin user exists, display 'Create admin user' form */\n noAdminUser?: boolean\n onboarding?: boolean\n /** If set, the changelog will not be shown to the user */\n disableChangelog?: boolean\n /** Password authentication will not be shown on the login page */\n hidePasswordAuth?: boolean\n passwordRecoveryAvailable?: boolean\n user?: UserModel\n attributes?: AttributeModel[]\n sites?: SiteInfo[]\n ssoOptions?: SsoOption[]\n extras?: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\nexport type Secret = {\n name?: string\n value?: string\n}\nexport type RestartRequiredModel = {\n /** Whether the server requires a restart */\n required: boolean\n /** The reason for the restart */\n reason?: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,qBAAqBA,EAAM,MAAiE;AAAA,MAC1F,OAAO,OAAO,EAAE,KAAK,uBAAuB;AAAA,IAAA,CAC7C;AAAA,IACD,UAAUA,EAAM,MAA2C;AAAA,MACzD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,UAAUA,EAAS;AAAA,UACnB,UAAUA,EAAS;AAAA,QAAA;AAAA,MAEvB;AAAA,IAAA,CACD;AAAA,IACD,aAAaD,EAAM,MAAiD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,MAAMA,EAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,QAAQA,EAAS;AAAA,UACjB,WAAWA,EAAS;AAAA,QAAA;AAAA,MAExB;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,eAAe;AAAA,IAAA,CACrC;AAAA,IACD,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc,EAAE,KAAK,gBAAgBA,EAAS,UAAU,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,gBAAgBA,EAAS,UAAU;AAAA,QACxC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc,EAAE,KAAK,gBAAgBA,EAAS,UAAU,IAAI,QAAQ,SAAS;AAAA,IAAA,CACtF;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,uBAAuB,QAAQ,OAAO;AAAA,IAAA,CAC5D;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,8BAA8B;AAAA,IAAA,CACpD;AAAA,IACD,oBAAoBA,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"system.es.js","sources":["../../../../../src/api/generated/system.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listFrontendModules: build.query<ListFrontendModulesApiResponse, ListFrontendModulesApiArg>({\n query: () => ({ url: `/api/frontendModules` }),\n }),\n getSites: build.query<GetSitesApiResponse, GetSitesApiArg>({\n query: (queryArg) => ({\n url: `/api/system/sites`,\n params: {\n platform: queryArg.platform,\n hostname: queryArg.hostname,\n },\n }),\n }),\n deleteSite: build.mutation<DeleteSiteApiResponse, DeleteSiteApiArg>({\n query: (queryArg) => ({ url: `/api/system/sites/${queryArg.siteId}`, method: 'DELETE' }),\n }),\n getSiteInfo: build.query<GetSiteInfoApiResponse, GetSiteInfoApiArg>({\n query: (queryArg) => ({\n url: `/api/info`,\n params: {\n full: queryArg.full,\n },\n }),\n }),\n getProductionMetrics: build.query<GetProductionMetricsApiResponse, GetProductionMetricsApiArg>({\n query: (queryArg) => ({\n url: `/api/metrics`,\n params: {\n system: queryArg.system,\n saturated: queryArg.saturated,\n },\n }),\n }),\n getSystemMetrics: build.query<GetSystemMetricsApiResponse, GetSystemMetricsApiArg>({\n query: () => ({ url: `/api/metrics/system` }),\n }),\n getListOfSecrets: build.query<GetListOfSecretsApiResponse, GetListOfSecretsApiArg>({\n query: () => ({ url: `/api/secrets` }),\n }),\n getSecret: build.query<GetSecretApiResponse, GetSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}` }),\n }),\n saveSecret: build.mutation<SaveSecretApiResponse, SaveSecretApiArg>({\n query: (queryArg) => ({\n url: `/api/secrets/${queryArg.secretName}`,\n method: 'PUT',\n body: queryArg.secret,\n }),\n }),\n deleteSecret: build.mutation<DeleteSecretApiResponse, DeleteSecretApiArg>({\n query: (queryArg) => ({ url: `/api/secrets/${queryArg.secretName}`, method: 'DELETE' }),\n }),\n requestServerRestart: build.mutation<\n RequestServerRestartApiResponse,\n RequestServerRestartApiArg\n >({\n query: () => ({ url: `/api/system/restart`, method: 'POST' }),\n }),\n getRestartRequired: build.query<GetRestartRequiredApiResponse, GetRestartRequiredApiArg>({\n query: () => ({ url: `/api/system/restartRequired` }),\n }),\n setRestartRequired: build.mutation<SetRestartRequiredApiResponse, SetRestartRequiredApiArg>({\n query: (queryArg) => ({\n url: `/api/system/restartRequired`,\n method: 'POST',\n body: queryArg.restartRequiredModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListFrontendModulesApiResponse =\n /** status 200 Successful Response */ FrontendModuleListItem[]\nexport type ListFrontendModulesApiArg = void\nexport type GetSitesApiResponse = /** status 200 Successful Response */ SiteInfo[]\nexport type GetSitesApiArg = {\n platform?: 'windows' | 'linux' | 'darwin'\n hostname?: string\n}\nexport type DeleteSiteApiResponse = /** status 200 Successful Response */ any\nexport type DeleteSiteApiArg = {\n siteId: string\n}\nexport type GetSiteInfoApiResponse = /** status 200 Successful Response */ InfoResponseModel\nexport type GetSiteInfoApiArg = {\n /** Include frontend-related information */\n full?: boolean\n}\nexport type GetProductionMetricsApiResponse = /** status 200 Successful Response */ Metrics\nexport type GetProductionMetricsApiArg = {\n /** Collect system metrics */\n system?: boolean\n /** Collect saturated (more granular) metrics */\n saturated?: boolean\n}\nexport type GetSystemMetricsApiResponse = /** status 200 Successful Response */ any\nexport type GetSystemMetricsApiArg = void\nexport type GetListOfSecretsApiResponse = /** status 200 Successful Response */ Secret[]\nexport type GetListOfSecretsApiArg = void\nexport type GetSecretApiResponse = /** status 200 Successful Response */ Secret\nexport type GetSecretApiArg = {\n secretName: string\n}\nexport type SaveSecretApiResponse = unknown\nexport type SaveSecretApiArg = {\n secretName: string\n secret: Secret\n}\nexport type DeleteSecretApiResponse = unknown\nexport type DeleteSecretApiArg = {\n secretName: string\n}\nexport type RequestServerRestartApiResponse = unknown\nexport type RequestServerRestartApiArg = void\nexport type GetRestartRequiredApiResponse =\n /** status 200 Successful Response */ RestartRequiredModel\nexport type GetRestartRequiredApiArg = void\nexport type SetRestartRequiredApiResponse = /** status 200 Successful Response */ any\nexport type SetRestartRequiredApiArg = {\n restartRequiredModel: RestartRequiredModel\n}\nexport type FrontendModuleListItem = {\n addonName: string\n addonVersion: string\n modules: {\n [key: string]: string[]\n }\n}\nexport type SiteInfo = {\n id: string\n platform: 'windows' | 'linux' | 'darwin'\n hostname: string\n version: string\n users: 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 ReleaseInfo = {\n version: string\n buildDate: string\n buildTime: string\n frontendBranch: string\n backendBranch: string\n frontendCommit: string\n backendCommit: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n uiExposureLevel?: number\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type 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 EnumItem = {\n value: string | number | number | boolean\n label: string\n description?: string\n fulltext?: string[]\n group?: string\n /** Icon name (material symbol) or IconModel object */\n icon?: string | IconModel\n color?: string\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: EnumItem[]\n /** Name of the function that provides enum values dynamically. */\n enumResolver?: string\n /** Settings passed to the enum resolver function. */\n enumResolverSettings?: object\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type AttributeModel = {\n name: string\n /** Default order */\n position: number\n /** List of entity types the attribute is available on */\n scope?: (\n | ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile')\n | ('project' | 'user')\n | 'list'\n )[]\n data: AttributeData\n /** Is attribute builtin. Built-in attributes cannot be removed. */\n builtin?: boolean\n}\nexport type SsoOption = {\n /** Unique name of the SSO provider */\n name: string\n /** If True, the provider will not be shown in the UI */\n hidden?: boolean\n /** Nice human-readable title of the provider */\n title?: string\n icon?: string\n color?: string\n textColor?: string\n redirectKey?: string\n url: string\n args?: {\n [key: string]: string\n }\n callback: string\n}\nexport type InfoResponseModel = {\n /** Instance specific message to be displayed in the login page */\n motd?: string\n /** URL of the background image for the login page */\n loginPageBackground?: string\n /** URL of the brand logo for the login page */\n loginPageBrand?: string\n /** Information about the current release */\n releaseInfo?: ReleaseInfo\n /** Version of the Ayon API */\n version?: string\n /** Time (seconds) since the server was started */\n uptime?: number\n /** No admin user exists, display 'Create admin user' form */\n noAdminUser?: boolean\n onboarding?: boolean\n /** If set, the changelog will not be shown to the user */\n disableChangelog?: boolean\n /** Password authentication will not be shown on the login page */\n hidePasswordAuth?: boolean\n passwordRecoveryAvailable?: boolean\n user?: UserModel\n attributes?: AttributeModel[]\n sites?: SiteInfo[]\n ssoOptions?: SsoOption[]\n frontendFlags?: string[]\n extras?: string\n}\nexport type SystemMetricsData = {\n cpuUsage?: number\n memoryUsage?: number\n swapUsage?: number\n uptimeSeconds?: number\n runtimeSeconds?: number\n dbSizeShared?: number\n dbSizeTotal?: number\n dbAvailableConnections?: number\n redisSizeTotal?: number\n storageUtilizationTotal?: number\n}\nexport type UserCounts = {\n total?: number\n active?: number\n admins?: number\n managers?: number\n services?: number\n licensesTotal?: number\n licensesUsed?: number\n}\nexport type ProjectCounts = {\n total?: number\n active?: number\n}\nexport type ProjectMetrics = {\n nickname: string\n folderCount?: number\n productCount?: number\n versionCount?: number\n representationCount?: number\n taskCount?: number\n workfileCount?: number\n rootCount?: number\n teamCount?: number\n /** Duration in days */\n duration?: number\n dbSize?: number\n storageUtilization?: number\n /** List of folder types in the project. Collected only in the 'saturated' mode. */\n folderTypes?: string[]\n /** List of task types in the project. Collected only in the 'saturated' mode. */\n taskTypes?: string[]\n /** List of statuses in the project. Collected only in the 'saturated' mode. */\n statuses?: string[]\n}\nexport type ProductionBundle = {\n addons?: {\n [key: string]: string\n }\n launcherVersion?: string\n dependencyPackages?: {\n [key: string]: string\n }\n}\nexport type SettingsOverrides = {\n addonName?: string\n addonVersion?: string\n /** List of paths to settings, which have a studio override */\n paths?: string[][]\n}\nexport type ServiceInfo = {\n addonName: string\n addonVersion: string\n serviceName: string\n}\nexport type TrafficStat = {\n date: string\n service: string\n ingress: number\n egress: number\n}\nexport type UserStat = {\n date: string\n users: {\n [key: string]: string\n }\n}\nexport type Metrics = {\n version?: string\n /** Information about the branch and commit of the current release */\n releaseInfo?: ReleaseInfo\n /** Time (seconds) since the server was (re)started */\n uptime?: number\n /** System metrics data\n Contains information about machine utilization,\n and database sizes.\n */\n system?: SystemMetricsData\n /** Number of total and active users, admins and managers */\n userCounts?: UserCounts\n /** Number of total and active projects */\n projectCounts?: ProjectCounts\n /** Project specific metrics\n \n Contain information about size and usage of each active project.\n */\n projects?: ProjectMetrics[]\n /** Average number of events per project\n \n This disregards projects with less than 300 events\n (such as testing projects).\n */\n averageProjectEventCount?: number\n /** Addons and their versions installed on the server\n \n We track what addons are installed on the server, and compare this to the\n addons which are actually used in the production bundle.\n */\n installedAddons?: any[][]\n /** Return the count of events per topic.\n \n This helps us with optimization of event clean-up,\n and other maintenance tasks.\n */\n eventTopics?: {\n [key: string]: number\n }\n /** Addons and their versions used in the production bundle\n \n We track what addons are used in the production bundle, as well as what\n launcher version is used. This is used to determine if the production\n bundle is up to date with the latest addons and launcher version,\n and if not, to notify the user that they should update in case of\n security issues or other important changes.\n */\n productionBundle?: ProductionBundle\n /** Studio settings overrides\n \n We track what settings are overridden in the studio settings.\n This helps us determine, which settins are used the most and which\n settings are not used at all. This is used to determine how we should\n organize the settings in the UI and how the settings could be improved.\n */\n studioSettingsOverrides?: SettingsOverrides[]\n /** List of active services */\n services?: ServiceInfo[]\n trafficStats?: TrafficStat[]\n userStats?: UserStat[]\n}\nexport type Secret = {\n name?: string\n value?: string\n}\nexport type RestartRequiredModel = {\n /** Whether the server requires a restart */\n required: boolean\n /** The reason for the restart */\n reason?: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,qBAAqBA,EAAM,MAAiE;AAAA,MAC1F,OAAO,OAAO,EAAE,KAAK,uBAAuB;AAAA,IAAA,CAC7C;AAAA,IACD,UAAUA,EAAM,MAA2C;AAAA,MACzD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,UAAUA,EAAS;AAAA,UACnB,UAAUA,EAAS;AAAA,QAAA;AAAA,MAEvB;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc,EAAE,KAAK,qBAAqBA,EAAS,MAAM,IAAI,QAAQ,SAAS;AAAA,IAAA,CACvF;AAAA,IACD,aAAaD,EAAM,MAAiD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,MAAMA,EAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,QAAQA,EAAS;AAAA,UACjB,WAAWA,EAAS;AAAA,QAAA;AAAA,MAExB;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,kBAAkBA,EAAM,MAA2D;AAAA,MACjF,OAAO,OAAO,EAAE,KAAK,eAAe;AAAA,IAAA,CACrC;AAAA,IACD,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc,EAAE,KAAK,gBAAgBA,EAAS,UAAU,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,gBAAgBA,EAAS,UAAU;AAAA,QACxC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc,EAAE,KAAK,gBAAgBA,EAAS,UAAU,IAAI,QAAQ,SAAS;AAAA,IAAA,CACtF;AAAA,IACD,sBAAsBD,EAAM,SAG1B;AAAA,MACA,OAAO,OAAO,EAAE,KAAK,uBAAuB,QAAQ,OAAO;AAAA,IAAA,CAC5D;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,8BAA8B;AAAA,IAAA,CACpD;AAAA,IACD,oBAAoBA,EAAM,SAAkE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.cjs.js","sources":["../../../../../src/api/generated/users.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n getUserApiKeys: build.query<GetUserApiKeysApiResponse, GetUserApiKeysApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/apikeys` }),\n }),\n createUserApiKey: build.mutation<CreateUserApiKeyApiResponse, CreateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys`,\n method: 'POST',\n body: queryArg.apiKeyPostModel,\n }),\n }),\n deleteUserApiKey: build.mutation<DeleteUserApiKeyApiResponse, DeleteUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'DELETE',\n }),\n }),\n updateUserApiKey: build.mutation<UpdateUserApiKeyApiResponse, UpdateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'PATCH',\n body: queryArg.apiKeyPatchModel,\n }),\n }),\n getAvatar: build.query<GetAvatarApiResponse, GetAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar` }),\n }),\n uploadAvatar: build.mutation<UploadAvatarApiResponse, UploadAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'PUT' }),\n }),\n deleteAvatar: build.mutation<DeleteAvatarApiResponse, DeleteAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'DELETE' }),\n }),\n passwordResetRequest: build.mutation<\n PasswordResetRequestApiResponse,\n PasswordResetRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/passwordResetRequest`,\n method: 'POST',\n body: queryArg.passwordResetRequestModel,\n }),\n }),\n passwordReset: build.mutation<PasswordResetApiResponse, PasswordResetApiArg>({\n query: (queryArg) => ({\n url: `/api/users/passwordReset`,\n method: 'POST',\n body: queryArg.passwordResetModel,\n }),\n }),\n getMyPermissions: build.query<GetMyPermissionsApiResponse, GetMyPermissionsApiArg>({\n query: () => ({ url: `/api/users/me/permissions` }),\n }),\n getMyProjectPermissions: build.query<\n GetMyProjectPermissionsApiResponse,\n GetMyProjectPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/me/permissions/${queryArg.projectName}` }),\n }),\n getUserStudioPermissions: build.query<\n GetUserStudioPermissionsApiResponse,\n GetUserStudioPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/permissions` }),\n }),\n getUserProjectPermissions: build.query<\n GetUserProjectPermissionsApiResponse,\n GetUserProjectPermissionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/permissions/${queryArg.projectName}`,\n }),\n }),\n getCurrentUser: build.query<GetCurrentUserApiResponse, GetCurrentUserApiArg>({\n query: () => ({ url: `/api/users/me` }),\n }),\n getUser: build.query<GetUserApiResponse, GetUserApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}` }),\n }),\n createUser: build.mutation<CreateUserApiResponse, CreateUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PUT',\n body: queryArg.newUserModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteUser: build.mutation<DeleteUserApiResponse, DeleteUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchUser: build.mutation<PatchUserApiResponse, PatchUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.userPatchModel,\n }),\n }),\n changePassword: build.mutation<ChangePasswordApiResponse, ChangePasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/password`,\n method: 'PATCH',\n body: queryArg.changePasswordRequestModel,\n }),\n }),\n checkPassword: build.mutation<CheckPasswordApiResponse, CheckPasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/checkPassword`,\n method: 'POST',\n body: queryArg.checkPasswordRequestModel,\n }),\n }),\n changeUserName: build.mutation<ChangeUserNameApiResponse, ChangeUserNameApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/rename`,\n method: 'PATCH',\n body: queryArg.changeUserNameRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getUserSessions: build.query<GetUserSessionsApiResponse, GetUserSessionsApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/sessions` }),\n }),\n deleteUserSession: build.mutation<DeleteUserSessionApiResponse, DeleteUserSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/sessions/${queryArg.sessionId}`,\n method: 'DELETE',\n }),\n }),\n assignAccessGroups: build.mutation<AssignAccessGroupsApiResponse, AssignAccessGroupsApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/accessGroups`,\n method: 'PATCH',\n body: queryArg.assignAccessGroupsRequestModel,\n }),\n }),\n setFrontendPreferences: build.mutation<\n SetFrontendPreferencesApiResponse,\n SetFrontendPreferencesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/frontendPreferences`,\n method: 'PATCH',\n body: queryArg.patchData,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type GetUserApiKeysApiResponse = /** status 200 Successful Response */ ApiKeyModel[]\nexport type GetUserApiKeysApiArg = {\n userName: string\n}\nexport type CreateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiKeyApiArg = {\n userName: string\n apiKeyPostModel: ApiKeyPostModel\n}\nexport type DeleteUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiKeyApiArg = {\n userName: string\n entityId: string\n}\nexport type UpdateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type UpdateUserApiKeyApiArg = {\n userName: string\n entityId: string\n apiKeyPatchModel: ApiKeyPatchModel\n}\nexport type GetAvatarApiResponse = /** status 200 Successful Response */ any\nexport type GetAvatarApiArg = {\n userName: string\n}\nexport type UploadAvatarApiResponse = /** status 200 Successful Response */ any\nexport type UploadAvatarApiArg = {\n userName: string\n}\nexport type DeleteAvatarApiResponse = /** status 200 Successful Response */ any\nexport type DeleteAvatarApiArg = {\n userName: string\n}\nexport type PasswordResetRequestApiResponse = /** status 200 Successful Response */ any\nexport type PasswordResetRequestApiArg = {\n passwordResetRequestModel: PasswordResetRequestModel\n}\nexport type PasswordResetApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type PasswordResetApiArg = {\n passwordResetModel: PasswordResetModel\n}\nexport type GetMyPermissionsApiResponse = /** status 200 Successful Response */ UserPermissionsModel\nexport type GetMyPermissionsApiArg = void\nexport type GetMyProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetMyProjectPermissionsApiArg = {\n projectName: string\n}\nexport type GetUserStudioPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserStudioPermissionsApiArg = {\n userName: string\n}\nexport type GetUserProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserProjectPermissionsApiArg = {\n projectName: string\n userName: string\n}\nexport type GetCurrentUserApiResponse = /** status 200 Successful Response */ UserModel\nexport type GetCurrentUserApiArg = void\nexport type GetUserApiResponse = /** status 200 Successful Response */\n | UserModel\n | {\n [key: string]: string\n }\nexport type GetUserApiArg = {\n userName: string\n}\nexport type CreateUserApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n newUserModel: NewUserModel\n}\nexport type DeleteUserApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchUserApiResponse = /** status 200 Successful Response */ any\nexport type PatchUserApiArg = {\n userName: string\n userPatchModel: UserPatchModel\n}\nexport type ChangePasswordApiResponse = /** status 200 Successful Response */ any\nexport type ChangePasswordApiArg = {\n userName: string\n changePasswordRequestModel: ChangePasswordRequestModel\n}\nexport type CheckPasswordApiResponse = /** status 200 Successful Response */ any\nexport type CheckPasswordApiArg = {\n userName: string\n checkPasswordRequestModel: CheckPasswordRequestModel\n}\nexport type ChangeUserNameApiResponse = /** status 200 Successful Response */ any\nexport type ChangeUserNameApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n changeUserNameRequestModel: ChangeUserNameRequestModel\n}\nexport type GetUserSessionsApiResponse =\n /** status 200 Successful Response */ UserSessionsResponseModel\nexport type GetUserSessionsApiArg = {\n userName: string\n}\nexport type DeleteUserSessionApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserSessionApiArg = {\n sessionId: string\n userName: string\n}\nexport type AssignAccessGroupsApiResponse = /** status 200 Successful Response */ any\nexport type AssignAccessGroupsApiArg = {\n userName: string\n assignAccessGroupsRequestModel: AssignAccessGroupsRequestModel\n}\nexport type SetFrontendPreferencesApiResponse = /** status 200 Successful Response */ any\nexport type SetFrontendPreferencesApiArg = {\n userName: string\n patchData: object\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\nexport type ApiKeyModel = {\n id: string\n label: string\n preview: string\n created: number\n expires?: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ApiKeyPostModel = {\n label: string\n key: string\n expires?: number\n}\nexport type ApiKeyPatchModel = {\n label?: string\n expires?: number\n}\nexport type PasswordResetRequestModel = {\n email: string\n url: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type PasswordResetModel = {\n token: string\n password?: string\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type UserPermissionsModel = {\n user_level?: 'admin' | 'manager' | 'user'\n /** Permissions for the studio */\n studio?: StudioManagementPermissions\n /** Permissions for individual projects */\n projects?: {\n [key: string]: Permissions\n }\n}\nexport type NewUserModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n /** Password for the new user */\n password?: string\n /** API Key for the new service user */\n apiKey?: string\n}\nexport type UserPatchModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n}\nexport type ChangePasswordRequestModel = {\n /** New password */\n password?: string\n /** API Key to set to a service user */\n apiKey?: string\n}\nexport type CheckPasswordRequestModel = {\n password: string\n}\nexport type ChangeUserNameRequestModel = {\n /** New user name */\n newName: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type UserSessionModel = {\n token: string\n isService: boolean\n lastUsed: number\n clientInfo?: ClientInfo\n}\nexport type UserSessionsResponseModel = {\n sessions: UserSessionModel[]\n}\nexport type AccessGroupsOnProject = {\n /** Project name */\n project: string\n /** List of access groups on the project */\n accessGroups: string[]\n}\nexport type AssignAccessGroupsRequestModel = {\n /** List of access groups to assign */\n accessGroups?: AccessGroupsOnProject[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,aAAcA,EAAM,MAAmD,CACrE,MAAO,KAAO,CAAE,IAAK,iBAAkB,EAAA,CACxC,EACD,eAAgBA,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,UAAW,EAAA,CACxE,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,OACR,KAAMA,EAAS,eACjB,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,YAAYA,EAAS,QAAQ,GACjE,OAAQ,QACV,EAAA,CACD,EACD,iBAAkBD,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,YAAYA,EAAS,QAAQ,GACjE,OAAQ,QACR,KAAMA,EAAS,gBACjB,EAAA,CACD,EACD,UAAWD,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,SAAU,EAAA,CACvE,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,UAAW,OAAQ,KAAM,EAAA,CACtF,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,UAAW,OAAQ,QAAS,EAAA,CACzF,EACD,qBAAsBD,EAAM,SAG1B,CACA,MAAQC,IAAc,CACpB,IAAK,kCACL,OAAQ,OACR,KAAMA,EAAS,yBACjB,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,2BACL,OAAQ,OACR,KAAMA,EAAS,kBACjB,EAAA,CACD,EACD,iBAAkBD,EAAM,MAA2D,CACjF,MAAO,KAAO,CAAE,IAAK,2BAA4B,EAAA,CAClD,EACD,wBAAyBA,EAAM,MAG7B,CACA,MAAQC,IAAc,CAAE,IAAK,6BAA6BA,EAAS,WAAW,EAAG,EAAA,CAClF,EACD,yBAA0BD,EAAM,MAG9B,CACA,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,cAAe,EAAA,CAC5E,EACD,0BAA2BD,EAAM,MAG/B,CACA,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,gBAAgBA,EAAS,WAAW,EAC1E,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAO,KAAO,CAAE,IAAK,eAAgB,EAAA,CACtC,EACD,QAASA,EAAM,MAAyC,CACtD,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,EAAG,EAAA,CAChE,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,MACR,KAAMA,EAAS,aACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,UAAWD,EAAM,SAAgD,CAC/D,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,QACR,KAAMA,EAAS,cACjB,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,YACpC,OAAQ,QACR,KAAMA,EAAS,0BACjB,EAAA,CACD,EACD,cAAeD,EAAM,SAAwD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,iBACpC,OAAQ,OACR,KAAMA,EAAS,yBACjB,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,UACpC,OAAQ,QACR,KAAMA,EAAS,2BACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,gBAAiBD,EAAM,MAAyD,CAC9E,MAAQC,IAAc,CAAE,IAAK,cAAcA,EAAS,QAAQ,WAAY,EAAA,CACzE,EACD,kBAAmBD,EAAM,SAAgE,CACvF,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,aAAaA,EAAS,SAAS,GACnE,OAAQ,QACV,EAAA,CACD,EACD,mBAAoBD,EAAM,SAAkE,CAC1F,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,gBACpC,OAAQ,QACR,KAAMA,EAAS,8BACjB,EAAA,CACD,EACD,uBAAwBD,EAAM,SAG5B,CACA,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,uBACpC,OAAQ,QACR,KAAMA,EAAS,SACjB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"users.cjs.js","sources":["../../../../../src/api/generated/users.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n getUserApiKeys: build.query<GetUserApiKeysApiResponse, GetUserApiKeysApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/apikeys` }),\n }),\n createUserApiKey: build.mutation<CreateUserApiKeyApiResponse, CreateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys`,\n method: 'POST',\n body: queryArg.apiKeyPostModel,\n }),\n }),\n deleteUserApiKey: build.mutation<DeleteUserApiKeyApiResponse, DeleteUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'DELETE',\n }),\n }),\n updateUserApiKey: build.mutation<UpdateUserApiKeyApiResponse, UpdateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'PATCH',\n body: queryArg.apiKeyPatchModel,\n }),\n }),\n getAvatar: build.query<GetAvatarApiResponse, GetAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar` }),\n }),\n uploadAvatar: build.mutation<UploadAvatarApiResponse, UploadAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'PUT' }),\n }),\n deleteAvatar: build.mutation<DeleteAvatarApiResponse, DeleteAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'DELETE' }),\n }),\n passwordResetRequest: build.mutation<\n PasswordResetRequestApiResponse,\n PasswordResetRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/passwordResetRequest`,\n method: 'POST',\n body: queryArg.passwordResetRequestModel,\n }),\n }),\n passwordReset: build.mutation<PasswordResetApiResponse, PasswordResetApiArg>({\n query: (queryArg) => ({\n url: `/api/users/passwordReset`,\n method: 'POST',\n body: queryArg.passwordResetModel,\n }),\n }),\n getMyPermissions: build.query<GetMyPermissionsApiResponse, GetMyPermissionsApiArg>({\n query: () => ({ url: `/api/users/me/permissions` }),\n }),\n getMyProjectPermissions: build.query<\n GetMyProjectPermissionsApiResponse,\n GetMyProjectPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/me/permissions/${queryArg.projectName}` }),\n }),\n getUserStudioPermissions: build.query<\n GetUserStudioPermissionsApiResponse,\n GetUserStudioPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/permissions` }),\n }),\n getUserProjectPermissions: build.query<\n GetUserProjectPermissionsApiResponse,\n GetUserProjectPermissionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/permissions/${queryArg.projectName}`,\n }),\n }),\n getCurrentUser: build.query<GetCurrentUserApiResponse, GetCurrentUserApiArg>({\n query: () => ({ url: `/api/users/me` }),\n }),\n getUser: build.query<GetUserApiResponse, GetUserApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}` }),\n }),\n createUser: build.mutation<CreateUserApiResponse, CreateUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PUT',\n body: queryArg.newUserModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteUser: build.mutation<DeleteUserApiResponse, DeleteUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchUser: build.mutation<PatchUserApiResponse, PatchUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.userPatchModel,\n }),\n }),\n changePassword: build.mutation<ChangePasswordApiResponse, ChangePasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/password`,\n method: 'PATCH',\n body: queryArg.changePasswordRequestModel,\n }),\n }),\n checkPassword: build.mutation<CheckPasswordApiResponse, CheckPasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/checkPassword`,\n method: 'POST',\n body: queryArg.checkPasswordRequestModel,\n }),\n }),\n changeUserName: build.mutation<ChangeUserNameApiResponse, ChangeUserNameApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/rename`,\n method: 'PATCH',\n body: queryArg.changeUserNameRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getUserSessions: build.query<GetUserSessionsApiResponse, GetUserSessionsApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/sessions` }),\n }),\n deleteUserSession: build.mutation<DeleteUserSessionApiResponse, DeleteUserSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/sessions/${queryArg.sessionId}`,\n method: 'DELETE',\n }),\n }),\n assignAccessGroups: build.mutation<AssignAccessGroupsApiResponse, AssignAccessGroupsApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/accessGroups`,\n method: 'PATCH',\n body: queryArg.assignAccessGroupsRequestModel,\n }),\n }),\n setFrontendPreferences: build.mutation<\n SetFrontendPreferencesApiResponse,\n SetFrontendPreferencesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/frontendPreferences`,\n method: 'PATCH',\n body: queryArg.patchData,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type GetUserApiKeysApiResponse = /** status 200 Successful Response */ ApiKeyModel[]\nexport type GetUserApiKeysApiArg = {\n userName: string\n}\nexport type CreateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiKeyApiArg = {\n userName: string\n apiKeyPostModel: ApiKeyPostModel\n}\nexport type DeleteUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiKeyApiArg = {\n userName: string\n entityId: string\n}\nexport type UpdateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type UpdateUserApiKeyApiArg = {\n userName: string\n entityId: string\n apiKeyPatchModel: ApiKeyPatchModel\n}\nexport type GetAvatarApiResponse = /** status 200 Successful Response */ any\nexport type GetAvatarApiArg = {\n userName: string\n}\nexport type UploadAvatarApiResponse = /** status 200 Successful Response */ any\nexport type UploadAvatarApiArg = {\n userName: string\n}\nexport type DeleteAvatarApiResponse = /** status 200 Successful Response */ any\nexport type DeleteAvatarApiArg = {\n userName: string\n}\nexport type PasswordResetRequestApiResponse = /** status 200 Successful Response */ any\nexport type PasswordResetRequestApiArg = {\n passwordResetRequestModel: PasswordResetRequestModel\n}\nexport type PasswordResetApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type PasswordResetApiArg = {\n passwordResetModel: PasswordResetModel\n}\nexport type GetMyPermissionsApiResponse = /** status 200 Successful Response */ UserPermissionsModel\nexport type GetMyPermissionsApiArg = void\nexport type GetMyProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetMyProjectPermissionsApiArg = {\n projectName: string\n}\nexport type GetUserStudioPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserStudioPermissionsApiArg = {\n userName: string\n}\nexport type GetUserProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserProjectPermissionsApiArg = {\n projectName: string\n userName: string\n}\nexport type GetCurrentUserApiResponse = /** status 200 Successful Response */ UserModel\nexport type GetCurrentUserApiArg = void\nexport type GetUserApiResponse = /** status 200 Successful Response */\n | UserModel\n | {\n [key: string]: string\n }\nexport type GetUserApiArg = {\n userName: string\n}\nexport type CreateUserApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n newUserModel: NewUserModel\n}\nexport type DeleteUserApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchUserApiResponse = /** status 200 Successful Response */ any\nexport type PatchUserApiArg = {\n userName: string\n userPatchModel: UserPatchModel\n}\nexport type ChangePasswordApiResponse = /** status 200 Successful Response */ any\nexport type ChangePasswordApiArg = {\n userName: string\n changePasswordRequestModel: ChangePasswordRequestModel\n}\nexport type CheckPasswordApiResponse = /** status 200 Successful Response */ any\nexport type CheckPasswordApiArg = {\n userName: string\n checkPasswordRequestModel: CheckPasswordRequestModel\n}\nexport type ChangeUserNameApiResponse = /** status 200 Successful Response */ any\nexport type ChangeUserNameApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n changeUserNameRequestModel: ChangeUserNameRequestModel\n}\nexport type GetUserSessionsApiResponse =\n /** status 200 Successful Response */ UserSessionsResponseModel\nexport type GetUserSessionsApiArg = {\n userName: string\n}\nexport type DeleteUserSessionApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserSessionApiArg = {\n sessionId: string\n userName: string\n}\nexport type AssignAccessGroupsApiResponse = /** status 200 Successful Response */ any\nexport type AssignAccessGroupsApiArg = {\n userName: string\n assignAccessGroupsRequestModel: AssignAccessGroupsRequestModel\n}\nexport type SetFrontendPreferencesApiResponse = /** status 200 Successful Response */ any\nexport type SetFrontendPreferencesApiArg = {\n userName: string\n patchData: object\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n meta?: object\n}\nexport type ApiKeyModel = {\n id: string\n label: string\n preview: string\n created: number\n expires?: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ApiKeyPostModel = {\n label: string\n key: string\n expires?: number\n}\nexport type ApiKeyPatchModel = {\n label?: string\n expires?: number\n}\nexport type PasswordResetRequestModel = {\n email: string\n url: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n uiExposureLevel?: number\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type PasswordResetModel = {\n token: string\n password?: string\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type UserPermissionsModel = {\n user_level?: 'admin' | 'manager' | 'user'\n /** Permissions for the studio */\n studio?: StudioManagementPermissions\n /** Permissions for individual projects */\n projects?: {\n [key: string]: Permissions\n }\n}\nexport type NewUserModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n /** Password for the new user */\n password?: string\n /** API Key for the new service user */\n apiKey?: string\n}\nexport type UserPatchModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n}\nexport type ChangePasswordRequestModel = {\n /** New password */\n password?: string\n /** API Key to set to a service user */\n apiKey?: string\n}\nexport type CheckPasswordRequestModel = {\n password: string\n}\nexport type ChangeUserNameRequestModel = {\n /** New user name */\n newName: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type UserSessionModel = {\n token: string\n isService: boolean\n lastUsed: number\n clientInfo?: ClientInfo\n}\nexport type UserSessionsResponseModel = {\n sessions: UserSessionModel[]\n}\nexport type AccessGroupsOnProject = {\n /** Project name */\n project: string\n /** List of access groups on the project */\n accessGroups: string[]\n}\nexport type AssignAccessGroupsRequestModel = {\n /** List of access groups to assign */\n accessGroups?: AccessGroupsOnProject[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.es.js","sources":["../../../../../src/api/generated/users.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n getUserApiKeys: build.query<GetUserApiKeysApiResponse, GetUserApiKeysApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/apikeys` }),\n }),\n createUserApiKey: build.mutation<CreateUserApiKeyApiResponse, CreateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys`,\n method: 'POST',\n body: queryArg.apiKeyPostModel,\n }),\n }),\n deleteUserApiKey: build.mutation<DeleteUserApiKeyApiResponse, DeleteUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'DELETE',\n }),\n }),\n updateUserApiKey: build.mutation<UpdateUserApiKeyApiResponse, UpdateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'PATCH',\n body: queryArg.apiKeyPatchModel,\n }),\n }),\n getAvatar: build.query<GetAvatarApiResponse, GetAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar` }),\n }),\n uploadAvatar: build.mutation<UploadAvatarApiResponse, UploadAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'PUT' }),\n }),\n deleteAvatar: build.mutation<DeleteAvatarApiResponse, DeleteAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'DELETE' }),\n }),\n passwordResetRequest: build.mutation<\n PasswordResetRequestApiResponse,\n PasswordResetRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/passwordResetRequest`,\n method: 'POST',\n body: queryArg.passwordResetRequestModel,\n }),\n }),\n passwordReset: build.mutation<PasswordResetApiResponse, PasswordResetApiArg>({\n query: (queryArg) => ({\n url: `/api/users/passwordReset`,\n method: 'POST',\n body: queryArg.passwordResetModel,\n }),\n }),\n getMyPermissions: build.query<GetMyPermissionsApiResponse, GetMyPermissionsApiArg>({\n query: () => ({ url: `/api/users/me/permissions` }),\n }),\n getMyProjectPermissions: build.query<\n GetMyProjectPermissionsApiResponse,\n GetMyProjectPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/me/permissions/${queryArg.projectName}` }),\n }),\n getUserStudioPermissions: build.query<\n GetUserStudioPermissionsApiResponse,\n GetUserStudioPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/permissions` }),\n }),\n getUserProjectPermissions: build.query<\n GetUserProjectPermissionsApiResponse,\n GetUserProjectPermissionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/permissions/${queryArg.projectName}`,\n }),\n }),\n getCurrentUser: build.query<GetCurrentUserApiResponse, GetCurrentUserApiArg>({\n query: () => ({ url: `/api/users/me` }),\n }),\n getUser: build.query<GetUserApiResponse, GetUserApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}` }),\n }),\n createUser: build.mutation<CreateUserApiResponse, CreateUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PUT',\n body: queryArg.newUserModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteUser: build.mutation<DeleteUserApiResponse, DeleteUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchUser: build.mutation<PatchUserApiResponse, PatchUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.userPatchModel,\n }),\n }),\n changePassword: build.mutation<ChangePasswordApiResponse, ChangePasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/password`,\n method: 'PATCH',\n body: queryArg.changePasswordRequestModel,\n }),\n }),\n checkPassword: build.mutation<CheckPasswordApiResponse, CheckPasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/checkPassword`,\n method: 'POST',\n body: queryArg.checkPasswordRequestModel,\n }),\n }),\n changeUserName: build.mutation<ChangeUserNameApiResponse, ChangeUserNameApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/rename`,\n method: 'PATCH',\n body: queryArg.changeUserNameRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getUserSessions: build.query<GetUserSessionsApiResponse, GetUserSessionsApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/sessions` }),\n }),\n deleteUserSession: build.mutation<DeleteUserSessionApiResponse, DeleteUserSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/sessions/${queryArg.sessionId}`,\n method: 'DELETE',\n }),\n }),\n assignAccessGroups: build.mutation<AssignAccessGroupsApiResponse, AssignAccessGroupsApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/accessGroups`,\n method: 'PATCH',\n body: queryArg.assignAccessGroupsRequestModel,\n }),\n }),\n setFrontendPreferences: build.mutation<\n SetFrontendPreferencesApiResponse,\n SetFrontendPreferencesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/frontendPreferences`,\n method: 'PATCH',\n body: queryArg.patchData,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type GetUserApiKeysApiResponse = /** status 200 Successful Response */ ApiKeyModel[]\nexport type GetUserApiKeysApiArg = {\n userName: string\n}\nexport type CreateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiKeyApiArg = {\n userName: string\n apiKeyPostModel: ApiKeyPostModel\n}\nexport type DeleteUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiKeyApiArg = {\n userName: string\n entityId: string\n}\nexport type UpdateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type UpdateUserApiKeyApiArg = {\n userName: string\n entityId: string\n apiKeyPatchModel: ApiKeyPatchModel\n}\nexport type GetAvatarApiResponse = /** status 200 Successful Response */ any\nexport type GetAvatarApiArg = {\n userName: string\n}\nexport type UploadAvatarApiResponse = /** status 200 Successful Response */ any\nexport type UploadAvatarApiArg = {\n userName: string\n}\nexport type DeleteAvatarApiResponse = /** status 200 Successful Response */ any\nexport type DeleteAvatarApiArg = {\n userName: string\n}\nexport type PasswordResetRequestApiResponse = /** status 200 Successful Response */ any\nexport type PasswordResetRequestApiArg = {\n passwordResetRequestModel: PasswordResetRequestModel\n}\nexport type PasswordResetApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type PasswordResetApiArg = {\n passwordResetModel: PasswordResetModel\n}\nexport type GetMyPermissionsApiResponse = /** status 200 Successful Response */ UserPermissionsModel\nexport type GetMyPermissionsApiArg = void\nexport type GetMyProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetMyProjectPermissionsApiArg = {\n projectName: string\n}\nexport type GetUserStudioPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserStudioPermissionsApiArg = {\n userName: string\n}\nexport type GetUserProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserProjectPermissionsApiArg = {\n projectName: string\n userName: string\n}\nexport type GetCurrentUserApiResponse = /** status 200 Successful Response */ UserModel\nexport type GetCurrentUserApiArg = void\nexport type GetUserApiResponse = /** status 200 Successful Response */\n | UserModel\n | {\n [key: string]: string\n }\nexport type GetUserApiArg = {\n userName: string\n}\nexport type CreateUserApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n newUserModel: NewUserModel\n}\nexport type DeleteUserApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchUserApiResponse = /** status 200 Successful Response */ any\nexport type PatchUserApiArg = {\n userName: string\n userPatchModel: UserPatchModel\n}\nexport type ChangePasswordApiResponse = /** status 200 Successful Response */ any\nexport type ChangePasswordApiArg = {\n userName: string\n changePasswordRequestModel: ChangePasswordRequestModel\n}\nexport type CheckPasswordApiResponse = /** status 200 Successful Response */ any\nexport type CheckPasswordApiArg = {\n userName: string\n checkPasswordRequestModel: CheckPasswordRequestModel\n}\nexport type ChangeUserNameApiResponse = /** status 200 Successful Response */ any\nexport type ChangeUserNameApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n changeUserNameRequestModel: ChangeUserNameRequestModel\n}\nexport type GetUserSessionsApiResponse =\n /** status 200 Successful Response */ UserSessionsResponseModel\nexport type GetUserSessionsApiArg = {\n userName: string\n}\nexport type DeleteUserSessionApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserSessionApiArg = {\n sessionId: string\n userName: string\n}\nexport type AssignAccessGroupsApiResponse = /** status 200 Successful Response */ any\nexport type AssignAccessGroupsApiArg = {\n userName: string\n assignAccessGroupsRequestModel: AssignAccessGroupsRequestModel\n}\nexport type SetFrontendPreferencesApiResponse = /** status 200 Successful Response */ any\nexport type SetFrontendPreferencesApiArg = {\n userName: string\n patchData: object\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\nexport type ApiKeyModel = {\n id: string\n label: string\n preview: string\n created: number\n expires?: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ApiKeyPostModel = {\n label: string\n key: string\n expires?: number\n}\nexport type ApiKeyPatchModel = {\n label?: string\n expires?: number\n}\nexport type PasswordResetRequestModel = {\n email: string\n url: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type PasswordResetModel = {\n token: string\n password?: string\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type UserPermissionsModel = {\n user_level?: 'admin' | 'manager' | 'user'\n /** Permissions for the studio */\n studio?: StudioManagementPermissions\n /** Permissions for individual projects */\n projects?: {\n [key: string]: Permissions\n }\n}\nexport type NewUserModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n /** Password for the new user */\n password?: string\n /** API Key for the new service user */\n apiKey?: string\n}\nexport type UserPatchModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n}\nexport type ChangePasswordRequestModel = {\n /** New password */\n password?: string\n /** API Key to set to a service user */\n apiKey?: string\n}\nexport type CheckPasswordRequestModel = {\n password: string\n}\nexport type ChangeUserNameRequestModel = {\n /** New user name */\n newName: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type UserSessionModel = {\n token: string\n isService: boolean\n lastUsed: number\n clientInfo?: ClientInfo\n}\nexport type UserSessionsResponseModel = {\n sessions: UserSessionModel[]\n}\nexport type AccessGroupsOnProject = {\n /** Project name */\n project: string\n /** List of access groups on the project */\n accessGroups: string[]\n}\nexport type AssignAccessGroupsRequestModel = {\n /** List of access groups to assign */\n accessGroups?: AccessGroupsOnProject[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"users.es.js","sources":["../../../../../src/api/generated/users.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n getUserApiKeys: build.query<GetUserApiKeysApiResponse, GetUserApiKeysApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/apikeys` }),\n }),\n createUserApiKey: build.mutation<CreateUserApiKeyApiResponse, CreateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys`,\n method: 'POST',\n body: queryArg.apiKeyPostModel,\n }),\n }),\n deleteUserApiKey: build.mutation<DeleteUserApiKeyApiResponse, DeleteUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'DELETE',\n }),\n }),\n updateUserApiKey: build.mutation<UpdateUserApiKeyApiResponse, UpdateUserApiKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/apikeys/${queryArg.entityId}`,\n method: 'PATCH',\n body: queryArg.apiKeyPatchModel,\n }),\n }),\n getAvatar: build.query<GetAvatarApiResponse, GetAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar` }),\n }),\n uploadAvatar: build.mutation<UploadAvatarApiResponse, UploadAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'PUT' }),\n }),\n deleteAvatar: build.mutation<DeleteAvatarApiResponse, DeleteAvatarApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/avatar`, method: 'DELETE' }),\n }),\n passwordResetRequest: build.mutation<\n PasswordResetRequestApiResponse,\n PasswordResetRequestApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/passwordResetRequest`,\n method: 'POST',\n body: queryArg.passwordResetRequestModel,\n }),\n }),\n passwordReset: build.mutation<PasswordResetApiResponse, PasswordResetApiArg>({\n query: (queryArg) => ({\n url: `/api/users/passwordReset`,\n method: 'POST',\n body: queryArg.passwordResetModel,\n }),\n }),\n getMyPermissions: build.query<GetMyPermissionsApiResponse, GetMyPermissionsApiArg>({\n query: () => ({ url: `/api/users/me/permissions` }),\n }),\n getMyProjectPermissions: build.query<\n GetMyProjectPermissionsApiResponse,\n GetMyProjectPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/me/permissions/${queryArg.projectName}` }),\n }),\n getUserStudioPermissions: build.query<\n GetUserStudioPermissionsApiResponse,\n GetUserStudioPermissionsApiArg\n >({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/permissions` }),\n }),\n getUserProjectPermissions: build.query<\n GetUserProjectPermissionsApiResponse,\n GetUserProjectPermissionsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/permissions/${queryArg.projectName}`,\n }),\n }),\n getCurrentUser: build.query<GetCurrentUserApiResponse, GetCurrentUserApiArg>({\n query: () => ({ url: `/api/users/me` }),\n }),\n getUser: build.query<GetUserApiResponse, GetUserApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}` }),\n }),\n createUser: build.mutation<CreateUserApiResponse, CreateUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PUT',\n body: queryArg.newUserModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteUser: build.mutation<DeleteUserApiResponse, DeleteUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n patchUser: build.mutation<PatchUserApiResponse, PatchUserApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}`,\n method: 'PATCH',\n body: queryArg.userPatchModel,\n }),\n }),\n changePassword: build.mutation<ChangePasswordApiResponse, ChangePasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/password`,\n method: 'PATCH',\n body: queryArg.changePasswordRequestModel,\n }),\n }),\n checkPassword: build.mutation<CheckPasswordApiResponse, CheckPasswordApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/checkPassword`,\n method: 'POST',\n body: queryArg.checkPasswordRequestModel,\n }),\n }),\n changeUserName: build.mutation<ChangeUserNameApiResponse, ChangeUserNameApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/rename`,\n method: 'PATCH',\n body: queryArg.changeUserNameRequestModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getUserSessions: build.query<GetUserSessionsApiResponse, GetUserSessionsApiArg>({\n query: (queryArg) => ({ url: `/api/users/${queryArg.userName}/sessions` }),\n }),\n deleteUserSession: build.mutation<DeleteUserSessionApiResponse, DeleteUserSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/sessions/${queryArg.sessionId}`,\n method: 'DELETE',\n }),\n }),\n assignAccessGroups: build.mutation<AssignAccessGroupsApiResponse, AssignAccessGroupsApiArg>({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/accessGroups`,\n method: 'PATCH',\n body: queryArg.assignAccessGroupsRequestModel,\n }),\n }),\n setFrontendPreferences: build.mutation<\n SetFrontendPreferencesApiResponse,\n SetFrontendPreferencesApiArg\n >({\n query: (queryArg) => ({\n url: `/api/users/${queryArg.userName}/frontendPreferences`,\n method: 'PATCH',\n body: queryArg.patchData,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type GetUserApiKeysApiResponse = /** status 200 Successful Response */ ApiKeyModel[]\nexport type GetUserApiKeysApiArg = {\n userName: string\n}\nexport type CreateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiKeyApiArg = {\n userName: string\n apiKeyPostModel: ApiKeyPostModel\n}\nexport type DeleteUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiKeyApiArg = {\n userName: string\n entityId: string\n}\nexport type UpdateUserApiKeyApiResponse = /** status 200 Successful Response */ any\nexport type UpdateUserApiKeyApiArg = {\n userName: string\n entityId: string\n apiKeyPatchModel: ApiKeyPatchModel\n}\nexport type GetAvatarApiResponse = /** status 200 Successful Response */ any\nexport type GetAvatarApiArg = {\n userName: string\n}\nexport type UploadAvatarApiResponse = /** status 200 Successful Response */ any\nexport type UploadAvatarApiArg = {\n userName: string\n}\nexport type DeleteAvatarApiResponse = /** status 200 Successful Response */ any\nexport type DeleteAvatarApiArg = {\n userName: string\n}\nexport type PasswordResetRequestApiResponse = /** status 200 Successful Response */ any\nexport type PasswordResetRequestApiArg = {\n passwordResetRequestModel: PasswordResetRequestModel\n}\nexport type PasswordResetApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type PasswordResetApiArg = {\n passwordResetModel: PasswordResetModel\n}\nexport type GetMyPermissionsApiResponse = /** status 200 Successful Response */ UserPermissionsModel\nexport type GetMyPermissionsApiArg = void\nexport type GetMyProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetMyProjectPermissionsApiArg = {\n projectName: string\n}\nexport type GetUserStudioPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserStudioPermissionsApiArg = {\n userName: string\n}\nexport type GetUserProjectPermissionsApiResponse = /** status 200 Successful Response */ Permissions\nexport type GetUserProjectPermissionsApiArg = {\n projectName: string\n userName: string\n}\nexport type GetCurrentUserApiResponse = /** status 200 Successful Response */ UserModel\nexport type GetCurrentUserApiArg = void\nexport type GetUserApiResponse = /** status 200 Successful Response */\n | UserModel\n | {\n [key: string]: string\n }\nexport type GetUserApiArg = {\n userName: string\n}\nexport type CreateUserApiResponse = /** status 200 Successful Response */ any\nexport type CreateUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n newUserModel: NewUserModel\n}\nexport type DeleteUserApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type PatchUserApiResponse = /** status 200 Successful Response */ any\nexport type PatchUserApiArg = {\n userName: string\n userPatchModel: UserPatchModel\n}\nexport type ChangePasswordApiResponse = /** status 200 Successful Response */ any\nexport type ChangePasswordApiArg = {\n userName: string\n changePasswordRequestModel: ChangePasswordRequestModel\n}\nexport type CheckPasswordApiResponse = /** status 200 Successful Response */ any\nexport type CheckPasswordApiArg = {\n userName: string\n checkPasswordRequestModel: CheckPasswordRequestModel\n}\nexport type ChangeUserNameApiResponse = /** status 200 Successful Response */ any\nexport type ChangeUserNameApiArg = {\n userName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n changeUserNameRequestModel: ChangeUserNameRequestModel\n}\nexport type GetUserSessionsApiResponse =\n /** status 200 Successful Response */ UserSessionsResponseModel\nexport type GetUserSessionsApiArg = {\n userName: string\n}\nexport type DeleteUserSessionApiResponse = /** status 200 Successful Response */ any\nexport type DeleteUserSessionApiArg = {\n sessionId: string\n userName: string\n}\nexport type AssignAccessGroupsApiResponse = /** status 200 Successful Response */ any\nexport type AssignAccessGroupsApiArg = {\n userName: string\n assignAccessGroupsRequestModel: AssignAccessGroupsRequestModel\n}\nexport type SetFrontendPreferencesApiResponse = /** status 200 Successful Response */ any\nexport type SetFrontendPreferencesApiArg = {\n userName: string\n patchData: object\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n meta?: object\n}\nexport type ApiKeyModel = {\n id: string\n label: string\n preview: string\n created: number\n expires?: number\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ApiKeyPostModel = {\n label: string\n key: string\n expires?: number\n}\nexport type ApiKeyPatchModel = {\n label?: string\n expires?: number\n}\nexport type PasswordResetRequestModel = {\n email: string\n url: string\n}\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n uiExposureLevel?: number\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type PasswordResetModel = {\n token: string\n password?: string\n}\nexport type StudioManagementPermissions = {\n /** Allow users to create new projects */\n create_projects?: boolean\n /** Allow users to list all users in the studio */\n list_all_users?: boolean\n}\nexport type ProjectManagementPermissions = {\n /** Allow users to view or edit the project anatomy */\n anatomy?: number\n /** Allow users to view or assign users to project access groups */\n access?: number\n /** Allow users to view or edit the project addon settings */\n settings?: number\n}\nexport type FolderAccess = {\n access_type?: string\n /** The path of the folder to allow access to. Required for access_type 'hierarchy and 'children' */\n path?: string\n}\nexport type FolderAccessList = {\n enabled?: boolean\n access_list?: FolderAccess[]\n}\nexport type AttributeReadAccessList = {\n enabled?: boolean\n attributes?: string[]\n}\nexport type AttributeWriteAccessList = {\n enabled?: boolean\n attributes?: string[]\n fields?: string[]\n}\nexport type EndpointsAccessList = {\n enabled?: boolean\n endpoints?: string[]\n}\nexport type ProjectAdvancedPermissions = {\n /** If a user can access a task through the 'Assigned' permission, enabling this will also show all sibling tasks in the same folder. When disabled, only the assigned task is visible. */\n show_sibling_tasks?: boolean\n}\nexport type Permissions = {\n studio?: StudioManagementPermissions\n project?: ProjectManagementPermissions\n /** Whitelist folders a user can create */\n create?: FolderAccessList\n /** Whitelist folders a user can read */\n read?: FolderAccessList\n /** Whitelist folders a user can update */\n update?: FolderAccessList\n /** Whitelist folders a user can publish to */\n publish?: FolderAccessList\n /** Whitelist folders a user can delete */\n delete?: FolderAccessList\n /** Whitelist attributes a user can read */\n attrib_read?: AttributeReadAccessList\n /** Whitelist attributes a user can write */\n attrib_write?: AttributeWriteAccessList\n /** Whitelist REST endpoints a user can access */\n endpoints?: EndpointsAccessList\n advanced?: ProjectAdvancedPermissions\n}\nexport type UserPermissionsModel = {\n user_level?: 'admin' | 'manager' | 'user'\n /** Permissions for the studio */\n studio?: StudioManagementPermissions\n /** Permissions for individual projects */\n projects?: {\n [key: string]: Permissions\n }\n}\nexport type NewUserModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n /** Password for the new user */\n password?: string\n /** API Key for the new service user */\n apiKey?: string\n}\nexport type UserPatchModel = {\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n}\nexport type ChangePasswordRequestModel = {\n /** New password */\n password?: string\n /** API Key to set to a service user */\n apiKey?: string\n}\nexport type CheckPasswordRequestModel = {\n password: string\n}\nexport type ChangeUserNameRequestModel = {\n /** New user name */\n newName: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type UserSessionModel = {\n token: string\n isService: boolean\n lastUsed: number\n clientInfo?: ClientInfo\n}\nexport type UserSessionsResponseModel = {\n sessions: UserSessionModel[]\n}\nexport type AccessGroupsOnProject = {\n /** Project name */\n project: string\n /** List of access groups on the project */\n accessGroups: string[]\n}\nexport type AssignAccessGroupsRequestModel = {\n /** List of access groups to assign */\n accessGroups?: AccessGroupsOnProject[]\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.cjs.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n | VersionsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n | VersionsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n rowHeight?: number\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type VersionsSettings = {\n showProducts?: boolean\n rowHeight?: number\n showGrid?: boolean\n gridHeight?: number\n featuredVersionOrder?: string[]\n slicerType?: string\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type VersionsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: VersionsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type VersionsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: VersionsSettings\n access: object\n viewType?: 'versions'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\nexport type VersionsViewPatchModel = {\n label?: string\n owner?: string\n settings?: VersionsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,OACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,OACR,KAAMA,EAAS,2BACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,QAASD,EAAM,MAAyC,CACtD,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,SACR,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,QACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
1
|
+
{"version":3,"file":"views.cjs.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n | VersionsViewPostModel\n | ReportsViewPostModel\n}\nexport type GetWorkingViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n | VersionsViewPatchModel\n | ReportsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n rowHeight?: number\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type VersionsSettings = {\n showProducts?: boolean\n rowHeight?: number\n showGrid?: boolean\n gridHeight?: number\n featuredVersionOrder?: string[]\n slicerType?: string\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type VersionsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: VersionsSettings\n}\nexport type ReportsSettings = {\n widgets?: object[]\n dateFormat?: string\n}\nexport type ReportsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReportsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type VersionsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: VersionsSettings\n access: object\n viewType?: 'versions'\n}\nexport type ReportsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReportsSettings\n access: object\n viewType?: 'reports'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\nexport type VersionsViewPatchModel = {\n label?: string\n owner?: string\n settings?: VersionsSettings\n}\nexport type ReportsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReportsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,GACpC,OAAQ,OACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,MAAuD,CAC3E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,eAAgBD,EAAM,SAA0D,CAC9E,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,WACpC,OAAQ,OACR,KAAMA,EAAS,2BACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,QAASD,EAAM,MAAyC,CACtD,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,SACR,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EAAA,CACD,EACD,WAAYD,EAAM,SAAkD,CAClE,MAAQC,IAAc,CACpB,IAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM,GACvD,OAAQ,QACR,KAAMA,EAAS,QACf,OAAQ,CACN,aAAcA,EAAS,WAAA,CAE3B,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"views.es.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n | VersionsViewPostModel\n}\nexport type GetWorkingViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse = /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n | VersionsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n rowHeight?: number\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type VersionsSettings = {\n showProducts?: boolean\n rowHeight?: number\n showGrid?: boolean\n gridHeight?: number\n featuredVersionOrder?: string[]\n slicerType?: string\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type VersionsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: VersionsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type VersionsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: VersionsSettings\n access: object\n viewType?: 'versions'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\nexport type VersionsViewPatchModel = {\n label?: string\n owner?: string\n settings?: VersionsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,SAA0D;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,SAASD,EAAM,MAAyC;AAAA,MACtD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
1
|
+
{"version":3,"file":"views.es.js","sources":["../../../../../src/api/generated/views.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listViews: build.query<ListViewsApiResponse, ListViewsApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n createView: build.mutation<CreateViewApiResponse, CreateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}`,\n method: 'POST',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getWorkingView: build.query<GetWorkingViewApiResponse, GetWorkingViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/working`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getDefaultView: build.query<GetDefaultViewApiResponse, GetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n setDefaultView: build.mutation<SetDefaultViewApiResponse, SetDefaultViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/default`,\n method: 'POST',\n body: queryArg.setDefaultViewRequestModel,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n getView: build.query<GetViewApiResponse, GetViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n deleteView: build.mutation<DeleteViewApiResponse, DeleteViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'DELETE',\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n updateView: build.mutation<UpdateViewApiResponse, UpdateViewApiArg>({\n query: (queryArg) => ({\n url: `/api/views/${queryArg.viewType}/${queryArg.viewId}`,\n method: 'PATCH',\n body: queryArg.payload,\n params: {\n project_name: queryArg.projectName,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListViewsApiResponse = /** status 200 Successful Response */ ViewListModel\nexport type ListViewsApiArg = {\n viewType: string\n projectName?: string\n}\nexport type CreateViewApiResponse = /** status 200 Successful Response */ EntityIdResponse\nexport type CreateViewApiArg = {\n viewType: string\n projectName?: string\n payload:\n | OverviewViewPostModel\n | TaskProgressViewPostModel\n | ListsViewPostModel\n | ReviewsViewPostModel\n | VersionsViewPostModel\n | ReportsViewPostModel\n}\nexport type GetWorkingViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetWorkingViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type GetDefaultViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n}\nexport type SetDefaultViewApiResponse = /** status 200 Successful Response */ any\nexport type SetDefaultViewApiArg = {\n viewType: string\n projectName?: string\n setDefaultViewRequestModel: SetDefaultViewRequestModel\n}\nexport type GetViewApiResponse =\n /** status 200 Successful Response */\n | OverviewViewModel\n | TaskProgressViewModel\n | ListsViewModel\n | ReviewsViewModel\n | VersionsViewModel\n | ReportsViewModel\nexport type GetViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type DeleteViewApiResponse = /** status 200 Successful Response */ any\nexport type DeleteViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n}\nexport type UpdateViewApiResponse = /** status 200 Successful Response */ any\nexport type UpdateViewApiArg = {\n viewType: string\n viewId: string\n projectName?: string\n payload:\n | OverviewViewPatchModel\n | TaskProgressViewPatchModel\n | ListsViewPatchModel\n | ReviewsViewPatchModel\n | VersionsViewPatchModel\n | ReportsViewPatchModel\n}\nexport type ViewListItemModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n}\nexport type ViewListModel = {\n views: ViewListItemModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type QueryCondition = {\n /** Path to the key separated by slashes */\n key: string\n /** Value to compare against */\n value?: string | number | number | boolean | string[] | number[] | number[]\n /** Comparison operator */\n operator?:\n | 'eq'\n | 'like'\n | 'lt'\n | 'gt'\n | 'lte'\n | 'gte'\n | 'ne'\n | 'isnull'\n | 'notnull'\n | 'in'\n | 'notin'\n | 'includes'\n | 'excludes'\n | 'includesall'\n | 'excludesall'\n | 'includesany'\n | 'excludesany'\n}\nexport type QueryFilter = {\n /** List of conditions to be evaluated */\n conditions?: (QueryCondition | QueryFilter)[]\n /** Operator to use when joining conditions */\n operator?: 'and' | 'or'\n}\nexport type ColumnItemModel = {\n name: string\n visible?: boolean\n pinned?: boolean\n width?: number\n}\nexport type OverviewSettings = {\n showHierarchy?: boolean\n rowHeight?: number\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type OverviewViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: OverviewSettings\n}\nexport type TaskProgressSettings = {\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type TaskProgressViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: TaskProgressSettings\n}\nexport type ListsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ListsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ListsSettings\n}\nexport type ReviewsSettings = {\n rowHeight?: number\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type ReviewsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReviewsSettings\n}\nexport type VersionsSettings = {\n showProducts?: boolean\n rowHeight?: number\n showGrid?: boolean\n gridHeight?: number\n featuredVersionOrder?: string[]\n slicerType?: string\n groupBy?: string\n showEmptyGroups?: boolean\n sortBy?: string\n sortDesc?: boolean\n filter?: QueryFilter\n columns?: ColumnItemModel[]\n}\nexport type VersionsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: VersionsSettings\n}\nexport type ReportsSettings = {\n widgets?: object[]\n dateFormat?: string\n}\nexport type ReportsViewPostModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working?: boolean\n settings: ReportsSettings\n}\nexport type OverviewViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: OverviewSettings\n access: object\n viewType?: 'overview'\n}\nexport type TaskProgressViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: TaskProgressSettings\n access: object\n viewType?: 'taskProgress'\n}\nexport type ListsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ListsSettings\n access: object\n viewType?: 'lists'\n}\nexport type ReviewsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReviewsSettings\n access: object\n viewType?: 'reviews'\n}\nexport type VersionsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: VersionsSettings\n access: object\n viewType?: 'versions'\n}\nexport type ReportsViewModel = {\n /** Unique identifier for the view within the given scope. */\n id?: string\n /** Human-readable name of the view. */\n label: string\n /** Determines whether the view is only available for the given project or for all projects (studio). */\n scope: 'project' | 'studio'\n /** Name of the user who created the view. Owners have full control over the view, */\n owner: string\n /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */\n visibility: 'public' | 'private'\n /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */\n working: boolean\n position: number\n accessLevel: number\n settings: ReportsSettings\n access: object\n viewType?: 'reports'\n}\nexport type SetDefaultViewRequestModel = {\n viewId: string\n}\nexport type OverviewViewPatchModel = {\n label?: string\n owner?: string\n settings?: OverviewSettings\n}\nexport type TaskProgressViewPatchModel = {\n label?: string\n owner?: string\n settings?: TaskProgressSettings\n}\nexport type ListsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ListsSettings\n}\nexport type ReviewsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReviewsSettings\n}\nexport type VersionsViewPatchModel = {\n label?: string\n owner?: string\n settings?: VersionsSettings\n}\nexport type ReportsViewPatchModel = {\n label?: string\n owner?: string\n settings?: ReportsSettings\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,MAAuD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,gBAAgBD,EAAM,SAA0D;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ;AAAA,QACpC,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,SAASD,EAAM,MAAyC;AAAA,MACtD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IAAA,CACD;AAAA,IACD,YAAYD,EAAM,SAAkD;AAAA,MAClE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,cAAcA,EAAS,QAAQ,IAAIA,EAAS,MAAM;AAAA,QACvD,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,QAAQ;AAAA,UACN,cAAcA,EAAS;AAAA,QAAA;AAAA,MAE3B;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../base/client.cjs.js"),o=n.api.injectEndpoints({endpoints:e=>({getYnputCloudInfo:e.query({query:()=>({url:"/api/connect"})}),setYnputCloudKey:e.mutation({query:t=>({url:"/api/connect",method:"POST",body:t.ynputConnectRequestModel})}),deleteYnputCloudKey:e.mutation({query:()=>({url:"/api/connect",method:"DELETE"})}),connectToYnputCloud:e.query({query:t=>({url:"/api/connect/authorize",params:{origin_url:t.originUrl}})}),getFeedbackVerification:e.query({query:
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("../base/client.cjs.js"),o=n.api.injectEndpoints({endpoints:e=>({getYnputCloudInfo:e.query({query:()=>({url:"/api/connect"})}),setYnputCloudKey:e.mutation({query:t=>({url:"/api/connect",method:"POST",body:t.ynputConnectRequestModel})}),deleteYnputCloudKey:e.mutation({query:()=>({url:"/api/connect",method:"DELETE"})}),connectToYnputCloud:e.query({query:t=>({url:"/api/connect/authorize",params:{origin_url:t.originUrl}})}),getFeedbackVerification:e.query({query:t=>({url:"/api/connect/feedback",params:{force:t.force}})})}),overrideExisting:!1});exports.api=o;
|
|
2
2
|
//# sourceMappingURL=ynputCloud.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ynputCloud.cjs.js","sources":["../../../../../src/api/generated/ynputCloud.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getYnputCloudInfo: build.query<GetYnputCloudInfoApiResponse, GetYnputCloudInfoApiArg>({\n query: () => ({ url: `/api/connect` }),\n }),\n setYnputCloudKey: build.mutation<SetYnputCloudKeyApiResponse, SetYnputCloudKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/connect`,\n method: 'POST',\n body: queryArg.ynputConnectRequestModel,\n }),\n }),\n deleteYnputCloudKey: build.mutation<DeleteYnputCloudKeyApiResponse, DeleteYnputCloudKeyApiArg>({\n query: () => ({ url: `/api/connect`, method: 'DELETE' }),\n }),\n connectToYnputCloud: build.query<ConnectToYnputCloudApiResponse, ConnectToYnputCloudApiArg>({\n query: (queryArg) => ({\n url: `/api/connect/authorize`,\n params: {\n origin_url: queryArg.originUrl,\n },\n }),\n }),\n getFeedbackVerification: build.query<\n GetFeedbackVerificationApiResponse,\n GetFeedbackVerificationApiArg\n >({\n query: () => ({
|
|
1
|
+
{"version":3,"file":"ynputCloud.cjs.js","sources":["../../../../../src/api/generated/ynputCloud.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getYnputCloudInfo: build.query<GetYnputCloudInfoApiResponse, GetYnputCloudInfoApiArg>({\n query: () => ({ url: `/api/connect` }),\n }),\n setYnputCloudKey: build.mutation<SetYnputCloudKeyApiResponse, SetYnputCloudKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/connect`,\n method: 'POST',\n body: queryArg.ynputConnectRequestModel,\n }),\n }),\n deleteYnputCloudKey: build.mutation<DeleteYnputCloudKeyApiResponse, DeleteYnputCloudKeyApiArg>({\n query: () => ({ url: `/api/connect`, method: 'DELETE' }),\n }),\n connectToYnputCloud: build.query<ConnectToYnputCloudApiResponse, ConnectToYnputCloudApiArg>({\n query: (queryArg) => ({\n url: `/api/connect/authorize`,\n params: {\n origin_url: queryArg.originUrl,\n },\n }),\n }),\n getFeedbackVerification: build.query<\n GetFeedbackVerificationApiResponse,\n GetFeedbackVerificationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/connect/feedback`,\n params: {\n force: queryArg.force,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetYnputCloudInfoApiResponse = /** status 200 Successful Response */ YnputCloudInfoModel\nexport type GetYnputCloudInfoApiArg = void\nexport type SetYnputCloudKeyApiResponse = /** status 200 Successful Response */ YnputCloudInfoModel\nexport type SetYnputCloudKeyApiArg = {\n ynputConnectRequestModel: YnputConnectRequestModel\n}\nexport type DeleteYnputCloudKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteYnputCloudKeyApiArg = void\nexport type ConnectToYnputCloudApiResponse = /** status 200 Successful Response */ any\nexport type ConnectToYnputCloudApiArg = {\n originUrl: string\n}\nexport type GetFeedbackVerificationApiResponse =\n /** status 200 Successful Response */ UserVerificationResponse\nexport type GetFeedbackVerificationApiArg = {\n force?: boolean\n}\nexport type YnputCloudSubscriptionModel = {\n /** Name of the subscription */\n name: string\n /** Type of the subscription */\n productType: string\n /** End date of the trial */\n trialEnd?: string\n}\nexport type YnputCloudInfoModel = {\n /** Ynput cloud instance ID */\n instanceId: string\n /** Is the instance connected to Ynput Cloud? */\n connected?: boolean\n /** Name of the instance */\n instanceName?: string\n /** Organization ID */\n orgId?: string\n /** Name of the organization */\n orgName?: string\n /** Name of the organization */\n orgTitle?: string\n /** Collect saturated metrics */\n collectSaturatedMetrics?: boolean\n /** Is the instance managed by Ynput Cloud? */\n managed?: boolean\n /** List of subscriptions */\n subscriptions?: YnputCloudSubscriptionModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type YnputConnectRequestModel = {\n /** Ynput cloud key */\n key: string\n}\nexport type UserVerificationResponse = {\n available?: boolean\n detail?: string\n data?: Record<string, any>\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kBAAmBA,EAAM,MAA6D,CACpF,MAAO,KAAO,CAAE,IAAK,cAAe,EAAA,CACrC,EACD,iBAAkBA,EAAM,SAA8D,CACpF,MAAQC,IAAc,CACpB,IAAK,eACL,OAAQ,OACR,KAAMA,EAAS,wBACjB,EAAA,CACD,EACD,oBAAqBD,EAAM,SAAoE,CAC7F,MAAO,KAAO,CAAE,IAAK,eAAgB,OAAQ,QAAS,EAAA,CACvD,EACD,oBAAqBA,EAAM,MAAiE,CAC1F,MAAQC,IAAc,CACpB,IAAK,yBACL,OAAQ,CACN,WAAYA,EAAS,SAAA,CAEzB,EAAA,CACD,EACD,wBAAyBD,EAAM,MAG7B,CACA,MAAQC,IAAc,CACpB,IAAK,wBACL,OAAQ,CACN,MAAOA,EAAS,KAAA,CAEpB,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
|
|
@@ -23,7 +23,12 @@ const r = n.injectEndpoints({
|
|
|
23
23
|
})
|
|
24
24
|
}),
|
|
25
25
|
getFeedbackVerification: e.query({
|
|
26
|
-
query: () => ({
|
|
26
|
+
query: (t) => ({
|
|
27
|
+
url: "/api/connect/feedback",
|
|
28
|
+
params: {
|
|
29
|
+
force: t.force
|
|
30
|
+
}
|
|
31
|
+
})
|
|
27
32
|
})
|
|
28
33
|
}),
|
|
29
34
|
overrideExisting: !1
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ynputCloud.es.js","sources":["../../../../../src/api/generated/ynputCloud.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getYnputCloudInfo: build.query<GetYnputCloudInfoApiResponse, GetYnputCloudInfoApiArg>({\n query: () => ({ url: `/api/connect` }),\n }),\n setYnputCloudKey: build.mutation<SetYnputCloudKeyApiResponse, SetYnputCloudKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/connect`,\n method: 'POST',\n body: queryArg.ynputConnectRequestModel,\n }),\n }),\n deleteYnputCloudKey: build.mutation<DeleteYnputCloudKeyApiResponse, DeleteYnputCloudKeyApiArg>({\n query: () => ({ url: `/api/connect`, method: 'DELETE' }),\n }),\n connectToYnputCloud: build.query<ConnectToYnputCloudApiResponse, ConnectToYnputCloudApiArg>({\n query: (queryArg) => ({\n url: `/api/connect/authorize`,\n params: {\n origin_url: queryArg.originUrl,\n },\n }),\n }),\n getFeedbackVerification: build.query<\n GetFeedbackVerificationApiResponse,\n GetFeedbackVerificationApiArg\n >({\n query: () => ({
|
|
1
|
+
{"version":3,"file":"ynputCloud.es.js","sources":["../../../../../src/api/generated/ynputCloud.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getYnputCloudInfo: build.query<GetYnputCloudInfoApiResponse, GetYnputCloudInfoApiArg>({\n query: () => ({ url: `/api/connect` }),\n }),\n setYnputCloudKey: build.mutation<SetYnputCloudKeyApiResponse, SetYnputCloudKeyApiArg>({\n query: (queryArg) => ({\n url: `/api/connect`,\n method: 'POST',\n body: queryArg.ynputConnectRequestModel,\n }),\n }),\n deleteYnputCloudKey: build.mutation<DeleteYnputCloudKeyApiResponse, DeleteYnputCloudKeyApiArg>({\n query: () => ({ url: `/api/connect`, method: 'DELETE' }),\n }),\n connectToYnputCloud: build.query<ConnectToYnputCloudApiResponse, ConnectToYnputCloudApiArg>({\n query: (queryArg) => ({\n url: `/api/connect/authorize`,\n params: {\n origin_url: queryArg.originUrl,\n },\n }),\n }),\n getFeedbackVerification: build.query<\n GetFeedbackVerificationApiResponse,\n GetFeedbackVerificationApiArg\n >({\n query: (queryArg) => ({\n url: `/api/connect/feedback`,\n params: {\n force: queryArg.force,\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetYnputCloudInfoApiResponse = /** status 200 Successful Response */ YnputCloudInfoModel\nexport type GetYnputCloudInfoApiArg = void\nexport type SetYnputCloudKeyApiResponse = /** status 200 Successful Response */ YnputCloudInfoModel\nexport type SetYnputCloudKeyApiArg = {\n ynputConnectRequestModel: YnputConnectRequestModel\n}\nexport type DeleteYnputCloudKeyApiResponse = /** status 200 Successful Response */ any\nexport type DeleteYnputCloudKeyApiArg = void\nexport type ConnectToYnputCloudApiResponse = /** status 200 Successful Response */ any\nexport type ConnectToYnputCloudApiArg = {\n originUrl: string\n}\nexport type GetFeedbackVerificationApiResponse =\n /** status 200 Successful Response */ UserVerificationResponse\nexport type GetFeedbackVerificationApiArg = {\n force?: boolean\n}\nexport type YnputCloudSubscriptionModel = {\n /** Name of the subscription */\n name: string\n /** Type of the subscription */\n productType: string\n /** End date of the trial */\n trialEnd?: string\n}\nexport type YnputCloudInfoModel = {\n /** Ynput cloud instance ID */\n instanceId: string\n /** Is the instance connected to Ynput Cloud? */\n connected?: boolean\n /** Name of the instance */\n instanceName?: string\n /** Organization ID */\n orgId?: string\n /** Name of the organization */\n orgName?: string\n /** Name of the organization */\n orgTitle?: string\n /** Collect saturated metrics */\n collectSaturatedMetrics?: boolean\n /** Is the instance managed by Ynput Cloud? */\n managed?: boolean\n /** List of subscriptions */\n subscriptions?: YnputCloudSubscriptionModel[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type YnputConnectRequestModel = {\n /** Ynput cloud key */\n key: string\n}\nexport type UserVerificationResponse = {\n available?: boolean\n detail?: string\n data?: Record<string, any>\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mBAAmBA,EAAM,MAA6D;AAAA,MACpF,OAAO,OAAO,EAAE,KAAK,eAAe;AAAA,IAAA,CACrC;AAAA,IACD,kBAAkBA,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,qBAAqBD,EAAM,SAAoE;AAAA,MAC7F,OAAO,OAAO,EAAE,KAAK,gBAAgB,QAAQ,SAAS;AAAA,IAAA,CACvD;AAAA,IACD,qBAAqBA,EAAM,MAAiE;AAAA,MAC1F,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,YAAYA,EAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,yBAAyBD,EAAM,MAG7B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,UACN,OAAOA,EAAS;AAAA,QAAA;AAAA,MAEpB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystem.cjs.js","sources":["../../../../../../src/api/queries/system/getSystem.ts"],"sourcesContent":["import { systemApi } from '@shared/api/generated'\n\nconst getSystemApi = systemApi.enhanceEndpoints({\n endpoints: {\n getSiteInfo: {\n providesTags: (result) =>\n result\n ? [\n 'info',\n ...(result.attributes || []).map((attr) => ({\n type: 'attribute' as const,\n id: attr.name,\n })),\n ]\n : ['info'],\n },\n listFrontendModules: {\n providesTags: ['info'],\n },\n },\n})\n\nexport const { useGetSiteInfoQuery, useLazyGetSiteInfoQuery, useListFrontendModulesQuery } =\n getSystemApi\nexport { getSystemApi as systemQueries }\n"],"names":["getSystemApi","systemApi","result","attr","useGetSiteInfoQuery","useLazyGetSiteInfoQuery","useListFrontendModulesQuery"],"mappings":"
|
|
1
|
+
{"version":3,"file":"getSystem.cjs.js","sources":["../../../../../../src/api/queries/system/getSystem.ts"],"sourcesContent":["import { GetSiteInfoApiResponse, systemApi } from '@shared/api/generated'\n\nexport interface GetSiteInfoResult extends GetSiteInfoApiResponse {\n uiExposureLevel: number\n}\n\nimport { DefinitionsFromApi, OverrideResultType, TagTypesFromApi } from '@reduxjs/toolkit/query'\ntype Definitions = DefinitionsFromApi<typeof systemApi>\ntype TagTypes = TagTypesFromApi<typeof systemApi>\n// update the definitions to include the new types\ntype UpdatedDefinitions = Omit<Definitions, 'getSiteInfo'> & {\n getSiteInfo: OverrideResultType<Definitions['getSiteInfo'], GetSiteInfoResult>\n}\n\nconst getSystemApi = systemApi.enhanceEndpoints<TagTypes, UpdatedDefinitions>({\n endpoints: {\n getSiteInfo: {\n providesTags: (result) =>\n result\n ? [\n 'info',\n ...(result.attributes || []).map((attr) => ({\n type: 'attribute' as const,\n id: attr.name,\n })),\n ]\n : ['info'],\n },\n listFrontendModules: {\n providesTags: ['info'],\n },\n },\n})\n\nexport const { useGetSiteInfoQuery, useLazyGetSiteInfoQuery, useListFrontendModulesQuery } =\n getSystemApi\nexport { getSystemApi as systemQueries }\n"],"names":["getSystemApi","systemApi","result","attr","useGetSiteInfoQuery","useLazyGetSiteInfoQuery","useListFrontendModulesQuery"],"mappings":"srDAcM,MAAAA,EAAeC,MAAU,iBAA+C,CAC5E,UAAW,CACT,YAAa,CACX,aAAeC,GACbA,EACI,CACE,OACA,IAAIA,EAAO,YAAc,CAAI,GAAA,IAAKC,IAAU,CAC1C,KAAM,YACN,GAAIA,EAAK,IAAA,EACT,CACJ,EACA,CAAC,MAAM,CACf,EACA,oBAAqB,CACnB,aAAc,CAAC,MAAM,CAAA,CACvB,CAEJ,CAAC,EAEY,CAAE,oBAAAC,EAAqB,wBAAAC,EAAyB,4BAAAC,GAC3DN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSystem.es.js","sources":["../../../../../../src/api/queries/system/getSystem.ts"],"sourcesContent":["import { systemApi } from '@shared/api/generated'\n\nconst getSystemApi = systemApi.enhanceEndpoints({\n endpoints: {\n getSiteInfo: {\n providesTags: (result) =>\n result\n ? [\n 'info',\n ...(result.attributes || []).map((attr) => ({\n type: 'attribute' as const,\n id: attr.name,\n })),\n ]\n : ['info'],\n },\n listFrontendModules: {\n providesTags: ['info'],\n },\n },\n})\n\nexport const { useGetSiteInfoQuery, useLazyGetSiteInfoQuery, useListFrontendModulesQuery } =\n getSystemApi\nexport { getSystemApi as systemQueries }\n"],"names":["getSystemApi","systemApi","result","attr","useGetSiteInfoQuery","useLazyGetSiteInfoQuery","useListFrontendModulesQuery"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"getSystem.es.js","sources":["../../../../../../src/api/queries/system/getSystem.ts"],"sourcesContent":["import { GetSiteInfoApiResponse, systemApi } from '@shared/api/generated'\n\nexport interface GetSiteInfoResult extends GetSiteInfoApiResponse {\n uiExposureLevel: number\n}\n\nimport { DefinitionsFromApi, OverrideResultType, TagTypesFromApi } from '@reduxjs/toolkit/query'\ntype Definitions = DefinitionsFromApi<typeof systemApi>\ntype TagTypes = TagTypesFromApi<typeof systemApi>\n// update the definitions to include the new types\ntype UpdatedDefinitions = Omit<Definitions, 'getSiteInfo'> & {\n getSiteInfo: OverrideResultType<Definitions['getSiteInfo'], GetSiteInfoResult>\n}\n\nconst getSystemApi = systemApi.enhanceEndpoints<TagTypes, UpdatedDefinitions>({\n endpoints: {\n getSiteInfo: {\n providesTags: (result) =>\n result\n ? [\n 'info',\n ...(result.attributes || []).map((attr) => ({\n type: 'attribute' as const,\n id: attr.name,\n })),\n ]\n : ['info'],\n },\n listFrontendModules: {\n providesTags: ['info'],\n },\n },\n})\n\nexport const { useGetSiteInfoQuery, useLazyGetSiteInfoQuery, useListFrontendModulesQuery } =\n getSystemApi\nexport { getSystemApi as systemQueries }\n"],"names":["getSystemApi","systemApi","result","attr","useGetSiteInfoQuery","useLazyGetSiteInfoQuery","useListFrontendModulesQuery"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcM,MAAAA,IAAeC,EAAU,iBAA+C;AAAA,EAC5E,WAAW;AAAA,IACT,aAAa;AAAA,MACX,cAAc,CAACC,MACbA,IACI;AAAA,QACE;AAAA,QACA,IAAIA,EAAO,cAAc,CAAI,GAAA,IAAI,CAACC,OAAU;AAAA,UAC1C,MAAM;AAAA,UACN,IAAIA,EAAK;AAAA,QAAA,EACT;AAAA,MACJ,IACA,CAAC,MAAM;AAAA,IACf;AAAA,IACA,qBAAqB;AAAA,MACnB,cAAc,CAAC,MAAM;AAAA,IAAA;AAAA,EACvB;AAEJ,CAAC,GAEY,EAAE,qBAAAC,GAAqB,yBAAAC,GAAyB,6BAAAC,MAC3DN;"}
|