@tridion-sites/extensions 2.0.2 → 3.1.0
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/CHANGELOG.md +86 -24
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -9
- package/package.json +26 -27
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
- package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
- package/dist/dts/api/contentExplorer/index.d.ts +0 -4
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
- package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
- package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
- package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
- package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
- package/dist/dts/api/editors/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
- package/dist/dts/api/editors/index.d.ts +0 -8
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
- package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
- package/dist/dts/api/general/components/button.d.ts +0 -33
- package/dist/dts/api/general/components/icon.d.ts +0 -19
- package/dist/dts/api/general/components/index.d.ts +0 -7
- package/dist/dts/api/general/components/layout/block.d.ts +0 -55
- package/dist/dts/api/general/components/layout/center.d.ts +0 -12
- package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
- package/dist/dts/api/general/components/layout/index.d.ts +0 -4
- package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
- package/dist/dts/api/general/components/link.d.ts +0 -29
- package/dist/dts/api/general/components/modal.d.ts +0 -61
- package/dist/dts/api/general/components/text.d.ts +0 -82
- package/dist/dts/api/general/components/textLink.d.ts +0 -16
- package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
- package/dist/dts/api/general/globals/color.d.ts +0 -41
- package/dist/dts/api/general/globals/index.d.ts +0 -6
- package/dist/dts/api/general/globals/opacity.d.ts +0 -16
- package/dist/dts/api/general/globals/spacing.d.ts +0 -19
- package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
- package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
- package/dist/dts/api/general/hooks/index.d.ts +0 -4
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
- package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
- package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
- package/dist/dts/api/general/index.d.ts +0 -6
- package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
- package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
- package/dist/dts/api/general/mixins/color.d.ts +0 -10
- package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
- package/dist/dts/api/general/mixins/index.d.ts +0 -10
- package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
- package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
- package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
- package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
- package/dist/dts/api/general/mutations/index.d.ts +0 -10
- package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
- package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
- package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
- package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
- package/dist/dts/api/general/queries/index.d.ts +0 -10
- package/dist/dts/api/general/queries/item/index.d.ts +0 -14
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
- package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
- package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
- package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
- package/dist/dts/api/general/queries/search/index.d.ts +0 -2
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
- package/dist/dts/api/index.d.ts +0 -5
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/index.d.ts +0 -8
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
- package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
- package/dist/dts/apiBridge/index.d.ts +0 -6
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
- package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
- package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
- package/dist/dts/apiWrappers/general/components.d.ts +0 -88
- package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
- package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
- package/dist/dts/apiWrappers/general/index.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/index.d.ts +0 -5
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
- package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/header/index.d.ts +0 -3
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
- package/dist/dts/extensionPoints/index.d.ts +0 -12
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
- package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
- package/dist/dts/frameworkInfo.d.ts +0 -7
- package/dist/dts/index.d.ts +0 -6
- package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
- package/dist/dts/module/extensionGlobals.d.ts +0 -7
- package/dist/dts/module/extensionModule.d.ts +0 -11
- package/dist/dts/module/index.d.ts +0 -4
- package/dist/dts/module/runtimeInformation.d.ts +0 -7
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, PublishPriority, PublishTransactionsCreationResult, StructureResolveOption } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface UnpublishItemsRequest {
|
|
8
|
-
/**
|
|
9
|
-
* The identifiers of the items that will be send for un-publishing.
|
|
10
|
-
*/
|
|
11
|
-
itemIds: ReadonlyArray<ItemUri>;
|
|
12
|
-
/**
|
|
13
|
-
* The priority of the un-publish action.
|
|
14
|
-
*/
|
|
15
|
-
priority?: PublishPriority;
|
|
16
|
-
/**
|
|
17
|
-
* A collection of Publishing Target instances (Target Types or Purposes) where the items are published to.
|
|
18
|
-
*/
|
|
19
|
-
targetIdsOrPurposes?: ReadonlyArray<string>;
|
|
20
|
-
/**
|
|
21
|
-
* Date and time when the un-publishing should be started. Should be specified in UTC format.
|
|
22
|
-
* The value will be converted to UTC time if specified with time zone shift, e.g. "2020-01-24T17:24:50+02:00" will be converted to "2020-01-24T15:24:50Z"
|
|
23
|
-
* Conversion is not happening if time zone shift is not specified.
|
|
24
|
-
*/
|
|
25
|
-
startAt?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Value indicating the option to include the resolved items and/or structure.
|
|
28
|
-
*/
|
|
29
|
-
structureResolveOption?: StructureResolveOption;
|
|
30
|
-
/**
|
|
31
|
-
* Value indicating whether to resolve items also from all child Publications where user has PublishManagement rights.
|
|
32
|
-
*/
|
|
33
|
-
includeChildPublications?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Value indicating whether items will be (un)published inside the current Publication.
|
|
36
|
-
*/
|
|
37
|
-
includeCurrentPublication?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Collection of TCM URIs of child Publications where items will be unpublished.
|
|
40
|
-
*/
|
|
41
|
-
publishInChildPublications?: ReadonlyArray<ItemUri>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @public
|
|
45
|
-
*/
|
|
46
|
-
export type UnpublishItemsMutationHook = (options?: MutationOptions<PublishTransactionsCreationResult, ApiError, UnpublishItemsRequest>) => MutationResult<PublishTransactionsCreationResult, ApiError, UnpublishItemsRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ApiError, IdentifiableObject } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface UpdateItemRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Item being updated.
|
|
10
|
-
*/
|
|
11
|
-
item: IdentifiableObject;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type UpdateItemMutationHook = (options?: MutationOptions<IdentifiableObject, ApiError, UpdateItemRequest>) => MutationResult<IdentifiableObject, ApiError, UpdateItemRequest>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface MutationOptions<TData = unknown, TError = unknown, TVariables = void> {
|
|
5
|
-
variables?: TVariables;
|
|
6
|
-
/**
|
|
7
|
-
* This function will fire before the mutation function is fired and is passed the same variables the mutation function would receive.
|
|
8
|
-
* */
|
|
9
|
-
onMutate?: (variables: TVariables) => Promise<void> | void;
|
|
10
|
-
/**
|
|
11
|
-
* This function will fire when the mutation is successful and will be passed the mutation's result.
|
|
12
|
-
* */
|
|
13
|
-
onSuccess?: (data: TData, variables: TVariables) => Promise<void> | void;
|
|
14
|
-
/**
|
|
15
|
-
* This function will fire if the mutation encounters an error and will be passed the error.
|
|
16
|
-
* */
|
|
17
|
-
onError?: (error: TError, variables: TVariables) => Promise<void> | void;
|
|
18
|
-
/**
|
|
19
|
-
* This function will fire when the mutation is either successfully fetched or encounters an error and be passed either the data or error.
|
|
20
|
-
* */
|
|
21
|
-
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables) => Promise<void> | void;
|
|
22
|
-
/**
|
|
23
|
-
* Defaults to 0.
|
|
24
|
-
* - If `false`, failed mutations will not retry.
|
|
25
|
-
* - If `true`, failed mutations will retry infinitely.
|
|
26
|
-
* - If set to a number, e.g. 3, failed mutations will retry until the failed mutations count meets that number.
|
|
27
|
-
*/
|
|
28
|
-
retry?: boolean | number | ((failureCount: number, error: TError) => boolean);
|
|
29
|
-
/**
|
|
30
|
-
* This function receives a retryAttempt integer and the actual Error and returns the delay to apply before the next attempt in milliseconds. Alternatively, you can pass the delay in milliseconds.
|
|
31
|
-
*/
|
|
32
|
-
retryDelay?: number | ((failureCount: number, error: TError) => number);
|
|
33
|
-
cacheTime?: number;
|
|
34
|
-
/**
|
|
35
|
-
* If set, it stores additional information on the mutation cache entry that can be used as needed. It will be accessible wherever the mutation is available (eg. onError, onSuccess functions of the MutationCache).
|
|
36
|
-
*/
|
|
37
|
-
meta?: Record<string, unknown>;
|
|
38
|
-
}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export interface MutateOptions<TData = unknown, TError = unknown, TVariables = void> {
|
|
5
|
-
onSuccess?: (data: TData, variables: TVariables) => void;
|
|
6
|
-
onError?: (error: TError, variables: TVariables) => void;
|
|
7
|
-
onSettled?: (data: TData | undefined, error: TError | null, variables: TVariables) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export type MutateFunction<TData = unknown, TError = unknown, TVariables = void> = (variables: TVariables, options?: MutateOptions<TData, TError, TVariables>) => Promise<TData>;
|
|
13
|
-
/**
|
|
14
|
-
* - `idle` initial status prior to the mutation function executing.
|
|
15
|
-
* - `loading` if the mutation is currently executing.
|
|
16
|
-
* - `error` if the last mutation attempt resulted in an error.
|
|
17
|
-
* - `success` if the last mutation attempt was successful.
|
|
18
|
-
*
|
|
19
|
-
* @public
|
|
20
|
-
*/
|
|
21
|
-
export type MutationStatus = 'idle' | 'pending' | 'success' | 'error';
|
|
22
|
-
/**
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
export interface MutationResult<TData = unknown, TError = unknown, TVariables = unknown> {
|
|
26
|
-
/**
|
|
27
|
-
* The mutation function to call with variables to trigger the mutation and optionally override options passed to useMutation.
|
|
28
|
-
*/
|
|
29
|
-
mutate: (...args: Parameters<MutateFunction<TData, TError, TVariables>>) => void;
|
|
30
|
-
/**
|
|
31
|
-
* Similar to mutate but returns a promise which can be awaited.
|
|
32
|
-
*/
|
|
33
|
-
mutateAsync: MutateFunction<TData, TError, TVariables>;
|
|
34
|
-
/**
|
|
35
|
-
* Is `true` when status is `error`.
|
|
36
|
-
*/
|
|
37
|
-
isError: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Is `true` when status is `idle`.
|
|
40
|
-
*/
|
|
41
|
-
isIdle: boolean;
|
|
42
|
-
/**
|
|
43
|
-
* Is `true` when status is `loading`.
|
|
44
|
-
*/
|
|
45
|
-
isPending: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Is `true` when status is `success`.
|
|
48
|
-
*/
|
|
49
|
-
isSuccess: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* A function to clean the mutation internal state (i.e., it resets the mutation to its initial state).
|
|
52
|
-
*/
|
|
53
|
-
reset: () => void;
|
|
54
|
-
/**
|
|
55
|
-
* The last successfully resolved data for the query.
|
|
56
|
-
*/
|
|
57
|
-
data: TData | undefined;
|
|
58
|
-
/**
|
|
59
|
-
* The error object for the query, if an error was encountered.
|
|
60
|
-
*/
|
|
61
|
-
error: TError | null;
|
|
62
|
-
failureCount: number;
|
|
63
|
-
failureReason: TError | null;
|
|
64
|
-
isPaused: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* - `idle` initial status prior to the mutation function executing.
|
|
67
|
-
* - `loading` if the mutation is currently executing.
|
|
68
|
-
* - `error` if the last mutation attempt resulted in an error.
|
|
69
|
-
* - `success` if the last mutation attempt was successful.
|
|
70
|
-
*/
|
|
71
|
-
status: MutationStatus;
|
|
72
|
-
variables: TVariables | undefined;
|
|
73
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './useCreateTranslationJobMutation';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ApiError, TranslationJob } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface CreateTranslationJobRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Configuration to create Translation Job from.
|
|
10
|
-
*/
|
|
11
|
-
translationJob: TranslationJob;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type CreateTranslationJobMutationHook = (options: MutationOptions<TranslationJob, ApiError, CreateTranslationJobRequest>) => MutationResult<TranslationJob, ApiError, CreateTranslationJobRequest>;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import type { ApiError, Bundle, IdentifiableObject, ItemUri, Link } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from './mutationOptions';
|
|
3
|
-
import type { MutationResult } from './mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface AddToBundleRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of the bundle to which items should be added.
|
|
10
|
-
*/
|
|
11
|
-
bundleId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* Items to add to the bundle.
|
|
14
|
-
*/
|
|
15
|
-
itemsToAdd: ReadonlyArray<IdentifiableObject>;
|
|
16
|
-
/**
|
|
17
|
-
* Container item of the bundle.
|
|
18
|
-
*/
|
|
19
|
-
containerItem?: IdentifiableObject;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export interface MutationResponse {
|
|
25
|
-
bundle: Bundle;
|
|
26
|
-
addedItems: Link[];
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* @public
|
|
30
|
-
*/
|
|
31
|
-
export type AddToBundleMutationHook = (options?: MutationOptions<MutationResponse, ApiError, AddToBundleRequest>) => MutationResult<MutationResponse, ApiError, AddToBundleRequest>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, User } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from './mutationOptions';
|
|
3
|
-
import type { MutationResult } from './mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ChangeUserLanguageRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of a User to change language for.
|
|
10
|
-
*/
|
|
11
|
-
userId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* ID of a language to set to.
|
|
14
|
-
*/
|
|
15
|
-
languageId: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type ChangeUserLanguageMutationHook = (options?: MutationOptions<User, ApiError, ChangeUserLanguageRequest>) => MutationResult<User, ApiError, ChangeUserLanguageRequest>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, User } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from './mutationOptions';
|
|
3
|
-
import type { MutationResult } from './mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ChangeUserLocaleRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of a User to change locale for.
|
|
10
|
-
*/
|
|
11
|
-
userId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* ID of a Locale to set to.
|
|
14
|
-
*/
|
|
15
|
-
localeId: number;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type ChangeUserLocaleMutationHook = (options?: MutationOptions<User, ApiError, ChangeUserLocaleRequest>) => MutationResult<User, ApiError, ChangeUserLocaleRequest>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, Bundle, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from './mutationOptions';
|
|
3
|
-
import type { MutationResult } from './mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface RemoveFromBundleRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of a bundle to remove items from.
|
|
10
|
-
*/
|
|
11
|
-
bundleId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* IDs of items to remove from the bundle.
|
|
14
|
-
*/
|
|
15
|
-
itemIdsToRemove: ReadonlyArray<ItemUri>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type RemoveFromBundleMutationHook = (options?: MutationOptions<Bundle, ApiError, RemoveFromBundleRequest>) => MutationResult<Bundle, ApiError, RemoveFromBundleRequest>;
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, Link } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from './mutationOptions';
|
|
3
|
-
import type { MutationResult } from './mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface UploadMultimediaRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Files to upload.
|
|
10
|
-
*/
|
|
11
|
-
files: ReadonlyArray<File>;
|
|
12
|
-
/**
|
|
13
|
-
* ID of a Folder to upload files to.
|
|
14
|
-
*/
|
|
15
|
-
containerId: ItemUri;
|
|
16
|
-
/**
|
|
17
|
-
* ID of a schema to create components based on.
|
|
18
|
-
*/
|
|
19
|
-
schemaId?: ItemUri;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export interface MultimediaUploadResult {
|
|
25
|
-
/**
|
|
26
|
-
* Link to the created component with uploaded File.
|
|
27
|
-
*/
|
|
28
|
-
componentLink?: Link;
|
|
29
|
-
/**
|
|
30
|
-
* In case `componentLink` is not created error will be fulfilled.
|
|
31
|
-
*/
|
|
32
|
-
error?: ApiError | Error;
|
|
33
|
-
}
|
|
34
|
-
/**
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
export interface UploadMultimediaMutationResult {
|
|
38
|
-
/**
|
|
39
|
-
* ID of the upload process.
|
|
40
|
-
*/
|
|
41
|
-
processId: string;
|
|
42
|
-
/**
|
|
43
|
-
* Results for completed uploads.
|
|
44
|
-
*
|
|
45
|
-
* Result is mapped to uploaded file name.
|
|
46
|
-
*/
|
|
47
|
-
resultsPerFile: Map<string, MultimediaUploadResult>;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* @public
|
|
51
|
-
*/
|
|
52
|
-
export type UploadMultimediaMutationHook = (options?: MutationOptions<UploadMultimediaMutationResult, ApiError, UploadMultimediaRequest>) => MutationResult<UploadMultimediaMutationResult, ApiError, UploadMultimediaRequest>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './useAssignActivitiesMutation';
|
|
2
|
-
export * from './useAssignActivityMutation';
|
|
3
|
-
export * from './useFinishActivityMutation';
|
|
4
|
-
export * from './useFinishActivitiesMutation';
|
|
5
|
-
export * from './useRestartActivitiesMutation';
|
|
6
|
-
export * from './useRestartActivityMutation';
|
|
7
|
-
export * from './useStartActivitiesMutation';
|
|
8
|
-
export * from './useStartActivityMutation';
|
|
9
|
-
export * from './useStartWorkflowMutation';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, Batch, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface AssignActivitiesRequest {
|
|
8
|
-
/**
|
|
9
|
-
* The IDs of the ActivityInstances that will be assigned.
|
|
10
|
-
*/
|
|
11
|
-
itemIds: ReadonlyArray<ItemUri>;
|
|
12
|
-
/**
|
|
13
|
-
* User or Group ID to assign ActivityInstances to.
|
|
14
|
-
*/
|
|
15
|
-
newAssigneeId: ItemUri;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type AssignActivitiesMutationHook = (options?: BatchMutationOptions<AssignActivitiesRequest>) => MutationResult<Batch, ApiError, AssignActivitiesRequest>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface AssignActivityRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of an Activity Instance to change assignment for.
|
|
10
|
-
*/
|
|
11
|
-
activityId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* User or Group ID to assign ActivityInstances to.
|
|
14
|
-
*/
|
|
15
|
-
newAssigneeId: ItemUri;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type AssignActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, AssignActivityRequest>) => MutationResult<ActivityInstance, ApiError, AssignActivityRequest>;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, Batch, Link } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
/**
|
|
4
|
-
* @public
|
|
5
|
-
*/
|
|
6
|
-
export interface FinishActivitiesRequestData {
|
|
7
|
-
/**
|
|
8
|
-
* Array of Activity Instances to finish activity for.
|
|
9
|
-
*/
|
|
10
|
-
activityInstances: ReadonlyArray<ActivityInstance>;
|
|
11
|
-
/**
|
|
12
|
-
* In case of choice fork Activity ID can be specified to be next one.
|
|
13
|
-
*/
|
|
14
|
-
nextActivity?: Link;
|
|
15
|
-
/**
|
|
16
|
-
* User comment that will be added to finished Activity Instances.
|
|
17
|
-
*/
|
|
18
|
-
message?: string;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* @public
|
|
22
|
-
*/
|
|
23
|
-
export interface FinishActivitiesRequest {
|
|
24
|
-
requestData: ReadonlyArray<FinishActivitiesRequestData>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
29
|
-
export type FinishActivitiesMutationOptions = MutationOptions<Batch[], ApiError, FinishActivitiesRequest>;
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export interface FinishActivitiesHookResult {
|
|
34
|
-
mutateAsync: ({ requestData }: FinishActivitiesRequest) => Promise<Batch[]>;
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* @public
|
|
38
|
-
*/
|
|
39
|
-
export type FinishActivitiesMutationHook = (options?: FinishActivitiesMutationOptions) => FinishActivitiesHookResult;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import type { ApiError, FinishActivityResult, ItemUri, Link } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface FinishActivityRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of the Activity Instance to finish.
|
|
10
|
-
*/
|
|
11
|
-
activityId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* In case of choice fork Activity ID can be specified to be next one.
|
|
14
|
-
*/
|
|
15
|
-
nextActivity?: Link;
|
|
16
|
-
/**
|
|
17
|
-
* User comment that will be added to finished Activity Instances.
|
|
18
|
-
*/
|
|
19
|
-
message?: string;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export type FinishActivityMutationHook = (options?: MutationOptions<FinishActivityResult, ApiError, FinishActivityRequest>) => MutationResult<FinishActivityResult, ApiError, FinishActivityRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, Batch } from '@tridion-sites/models';
|
|
2
|
-
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface RestartActivitiesRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Array of Activity Instances to restart.
|
|
10
|
-
*/
|
|
11
|
-
activityInstances: ReadonlyArray<ActivityInstance>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type RestartActivitiesMutationHook = (options?: BatchMutationOptions<RestartActivitiesRequest>) => MutationResult<Batch, ApiError, RestartActivitiesRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface RestartActivityRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Activity Instance ID to restart.
|
|
10
|
-
*/
|
|
11
|
-
activityInstanceId: ItemUri;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type RestartActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, RestartActivityRequest>) => MutationResult<ActivityInstance, ApiError, RestartActivityRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, Batch } from '@tridion-sites/models';
|
|
2
|
-
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface StartActivitiesRequest {
|
|
8
|
-
/**
|
|
9
|
-
* Array of Activity Instances to start.
|
|
10
|
-
*/
|
|
11
|
-
activityInstances: ReadonlyArray<ActivityInstance>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type StartActivitiesMutationHook = (options?: BatchMutationOptions<StartActivitiesRequest>) => MutationResult<Batch, ApiError, StartActivitiesRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ActivityInstance, ApiError, ItemUri } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface StartActivityRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of Activity Instance to start.
|
|
10
|
-
*/
|
|
11
|
-
activityInstanceId: ItemUri;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type StartActivityMutationHook = (options?: MutationOptions<ActivityInstance, ApiError, StartActivityRequest>) => MutationResult<ActivityInstance, ApiError, StartActivityRequest>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, ProcessInstance } from '@tridion-sites/models';
|
|
2
|
-
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
-
import type { MutationResult } from '../mutationResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface StartWorkflowRequest {
|
|
8
|
-
/**
|
|
9
|
-
* ID of an item to start workflow for.
|
|
10
|
-
*/
|
|
11
|
-
itemId: ItemUri;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type StartWorkflowMutationHook = (options?: MutationOptions<ProcessInstance, ApiError, StartWorkflowRequest>) => MutationResult<ProcessInstance, ApiError, StartWorkflowRequest>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export * from './item';
|
|
2
|
-
export * from './lists';
|
|
3
|
-
export * from './publishing';
|
|
4
|
-
export * from './search';
|
|
5
|
-
export * from './translation';
|
|
6
|
-
export * from './workflow';
|
|
7
|
-
export * from './loadingState';
|
|
8
|
-
export * from './queryOptions';
|
|
9
|
-
export * from './queryResult';
|
|
10
|
-
export * from './useUserProfileQuery';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
export * from './useItemBlueprintHierarchyQuery';
|
|
2
|
-
export * from './useItemChildrenQuery';
|
|
3
|
-
export * from './useItemClassifiedItemsQuery';
|
|
4
|
-
export * from './useItemDefaultDataQuery';
|
|
5
|
-
export * from './useItemHistoryQuery';
|
|
6
|
-
export * from './useItemPublishedPagesQuery';
|
|
7
|
-
export * from './useItemPublishedToQuery';
|
|
8
|
-
export * from './useItemPublishUrlsQuery';
|
|
9
|
-
export * from './useItemQuery';
|
|
10
|
-
export * from './useItemsQuery';
|
|
11
|
-
export * from './useItemTranslationInfoQuery';
|
|
12
|
-
export * from './useItemUsedByQuery';
|
|
13
|
-
export * from './useItemUsesQuery';
|
|
14
|
-
export * from './usePublicationBlueprintHierarchyQuery';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemBlueprintHierarchy, ItemUri, ListDetailsLevel } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ItemBlueprintHierarchyQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* Identifies the item for which Blueprint hierarchy is being retrieved.
|
|
10
|
-
*/
|
|
11
|
-
itemId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* Option to control how much data is returned per item.
|
|
14
|
-
*/
|
|
15
|
-
detailsLevel?: ListDetailsLevel;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type ItemBlueprintHierarchyQueryHook = (props: ItemBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<ItemBlueprintHierarchy | undefined, ApiError>) => QueryResult<ItemBlueprintHierarchy | undefined, ApiError>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, RepositoryLocalObject } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ItemChildrenQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* The Item URI of an organizational item, such as a Bundle, Category, Folder, Virtual folder, or Structure Group.
|
|
10
|
-
*/
|
|
11
|
-
itemId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* Loads a dynamic version (if available for the current user)
|
|
14
|
-
*/
|
|
15
|
-
useDynamicVersion?: boolean;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @public
|
|
19
|
-
*/
|
|
20
|
-
export type ItemChildrenQueryHook = (props: ItemChildrenQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, RepositoryLocalObject, RloItemType } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface ItemClassifiedItemsQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* The URI of a Keyword or Concept.
|
|
10
|
-
*/
|
|
11
|
-
keywordId: ItemUri;
|
|
12
|
-
/**
|
|
13
|
-
* Loads a dynamic version (if available for the current user).
|
|
14
|
-
*/
|
|
15
|
-
useDynamicVersion?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* The item types of all repository-local objects that you want to include in the response.
|
|
18
|
-
*/
|
|
19
|
-
rloItemTypes?: ReadonlyArray<RloItemType>;
|
|
20
|
-
/**
|
|
21
|
-
* A boolean value to indicate whether to include descendant keywords in the results.
|
|
22
|
-
*/
|
|
23
|
-
resolveDescendantKeywords?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
* An integer value to limit the number of items returned in the list.
|
|
26
|
-
* Specify a positive value as the limit or -1 for no limit. Setting the value to zero will return an empty list.
|
|
27
|
-
*/
|
|
28
|
-
resultLimit?: number;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export type ItemClassifiedItemsQueryHook = (props: ItemClassifiedItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|