@tridion-sites/extensions 2.0.0 → 2.0.2
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 +14 -0
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +63 -0
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +41 -0
- package/dist/dts/api/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/api/contentExplorer/components/index.d.ts +2 -0
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +29 -0
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +21 -0
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +102 -0
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +3 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +123 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +39 -0
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +27 -0
- package/dist/dts/api/contentExplorer/index.d.ts +4 -0
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +80 -0
- package/dist/dts/api/contentExplorer/utils/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +32 -0
- package/dist/dts/api/editors/category/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +28 -0
- package/dist/dts/api/editors/component/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +32 -0
- package/dist/dts/api/editors/folder/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +32 -0
- package/dist/dts/api/editors/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/hooks/useEditor.d.ts +40 -0
- package/dist/dts/api/editors/index.d.ts +8 -0
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +32 -0
- package/dist/dts/api/editors/page/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +40 -0
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +1 -0
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +32 -0
- package/dist/dts/api/general/components/button.d.ts +33 -0
- package/dist/dts/api/general/components/icon.d.ts +19 -0
- package/dist/dts/api/general/components/index.d.ts +7 -0
- package/dist/dts/api/general/components/layout/block.d.ts +55 -0
- package/dist/dts/api/general/components/layout/center.d.ts +12 -0
- package/dist/dts/api/general/components/layout/flex.d.ts +50 -0
- package/dist/dts/api/general/components/layout/index.d.ts +4 -0
- package/dist/dts/api/general/components/layout/stack.d.ts +39 -0
- package/dist/dts/api/general/components/link.d.ts +29 -0
- package/dist/dts/api/general/components/modal.d.ts +61 -0
- package/dist/dts/api/general/components/text.d.ts +82 -0
- package/dist/dts/api/general/components/textLink.d.ts +16 -0
- package/dist/dts/api/general/globals/borderRadius.d.ts +15 -0
- package/dist/dts/api/general/globals/color.d.ts +41 -0
- package/dist/dts/api/general/globals/index.d.ts +6 -0
- package/dist/dts/api/general/globals/opacity.d.ts +16 -0
- package/dist/dts/api/general/globals/spacing.d.ts +19 -0
- package/dist/dts/api/general/globals/transitionDuration.d.ts +14 -0
- package/dist/dts/api/general/globals/zIndex.d.ts +18 -0
- package/dist/dts/api/general/hooks/index.d.ts +4 -0
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +40 -0
- package/dist/dts/api/general/hooks/useModal.d.ts +68 -0
- package/dist/dts/api/general/hooks/useNotifications.d.ts +46 -0
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +14 -0
- package/dist/dts/api/general/index.d.ts +6 -0
- package/dist/dts/api/general/mixins/accessibility.d.ts +50 -0
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +10 -0
- package/dist/dts/api/general/mixins/clickable.d.ts +7 -0
- package/dist/dts/api/general/mixins/color.d.ts +10 -0
- package/dist/dts/api/general/mixins/customIcon.d.ts +10 -0
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +13 -0
- package/dist/dts/api/general/mixins/index.d.ts +10 -0
- package/dist/dts/api/general/mixins/opacity.d.ts +11 -0
- package/dist/dts/api/general/mixins/sizing.d.ts +35 -0
- package/dist/dts/api/general/mixins/spacing.d.ts +16 -0
- package/dist/dts/api/general/mixins/tooltip.d.ts +9 -0
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +6 -0
- package/dist/dts/api/general/mutations/index.d.ts +10 -0
- package/dist/dts/api/general/mutations/item/index.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +22 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +15 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +62 -0
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +29 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +21 -0
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +46 -0
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +38 -0
- package/dist/dts/api/general/mutations/mutationResult.d.ts +73 -0
- package/dist/dts/api/general/mutations/translation/index.d.ts +1 -0
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +31 -0
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +52 -0
- package/dist/dts/api/general/mutations/workflow/index.d.ts +9 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +20 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +39 -0
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +24 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +16 -0
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +16 -0
- package/dist/dts/api/general/queries/index.d.ts +10 -0
- package/dist/dts/api/general/queries/item/index.d.ts +14 -0
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +21 -0
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +28 -0
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +20 -0
- package/dist/dts/api/general/queries/lists/index.d.ts +6 -0
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +32 -0
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +25 -0
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +33 -0
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +38 -0
- package/dist/dts/api/general/queries/loadingState.d.ts +10 -0
- package/dist/dts/api/general/queries/publishing/index.d.ts +5 -0
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +8 -0
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +40 -0
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +16 -0
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/queryOptions.d.ts +67 -0
- package/dist/dts/api/general/queries/queryResult.d.ts +93 -0
- package/dist/dts/api/general/queries/search/index.d.ts +2 -0
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +27 -0
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +26 -0
- package/dist/dts/api/general/queries/translation/index.d.ts +1 -0
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +17 -0
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +7 -0
- package/dist/dts/api/general/queries/workflow/index.d.ts +1 -0
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +37 -0
- package/dist/dts/api/index.d.ts +5 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +2 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +62 -0
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +41 -0
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +32 -0
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +28 -0
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/index.d.ts +8 -0
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +13 -0
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +22 -0
- package/dist/dts/apiBridge/generalApiStorage.d.ts +144 -0
- package/dist/dts/apiBridge/index.d.ts +6 -0
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +16 -0
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +1 -0
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +5 -0
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +58 -0
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +3 -0
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +73 -0
- package/dist/dts/apiWrappers/editors/hooks.d.ts +63 -0
- package/dist/dts/apiWrappers/editors/index.d.ts +1 -0
- package/dist/dts/apiWrappers/general/components.d.ts +88 -0
- package/dist/dts/apiWrappers/general/globals.d.ts +37 -0
- package/dist/dts/apiWrappers/general/hooks.d.ts +25 -0
- package/dist/dts/apiWrappers/general/index.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +30 -0
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +4 -0
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +137 -0
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +5 -0
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +47 -0
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/index.d.ts +7 -0
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +85 -0
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +25 -0
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +19 -0
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +13 -0
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +5 -0
- package/dist/dts/apiWrappers/index.d.ts +5 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +39 -0
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +1 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +43 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +20 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +10 -0
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +70 -0
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +4 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +40 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +41 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +15 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +85 -0
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +69 -0
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +5 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +2 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +64 -0
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +11 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +86 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +30 -0
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +6 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +13 -0
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +2 -0
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +37 -0
- package/dist/dts/extensionPoints/extensionPoints.d.ts +17 -0
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/header/index.d.ts +3 -0
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +4 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +65 -0
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +20 -0
- package/dist/dts/extensionPoints/index.d.ts +12 -0
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +1 -0
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +39 -0
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +3 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +12 -0
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +5 -0
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +14 -0
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +13 -0
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +14 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +5 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +18 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +9 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +24 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +11 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +25 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +3 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +39 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +20 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +10 -0
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +26 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +1 -0
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +70 -0
- package/dist/dts/extensionPoints/translations/index.d.ts +3 -0
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +7 -0
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +17 -0
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +23 -0
- package/dist/dts/frameworkInfo.d.ts +7 -0
- package/dist/dts/index.d.ts +6 -0
- package/dist/dts/module/createExtensionGlobals.d.ts +11 -0
- package/dist/dts/module/extensionGlobals.d.ts +7 -0
- package/dist/dts/module/extensionModule.d.ts +11 -0
- package/dist/dts/module/index.d.ts +4 -0
- package/dist/dts/module/runtimeInformation.d.ts +7 -0
- package/dist/index.d.ts +529 -97
- package/dist/index.js +151 -27
- package/package.json +5 -5
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface OpacityLevel {
|
|
5
|
+
semiopaque: number;
|
|
6
|
+
medium: number;
|
|
7
|
+
semitransparent: number;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type OpacityLevelGetter = () => OpacityLevel;
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type OpacityLevelUnit = keyof OpacityLevel;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface Spacing {
|
|
5
|
+
zero: number;
|
|
6
|
+
nano: number;
|
|
7
|
+
xs: number;
|
|
8
|
+
sm: number;
|
|
9
|
+
md: number;
|
|
10
|
+
lg: number;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type SpacingGetter = () => Spacing;
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type SpacingUnit = keyof Spacing;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface TransitionDuration {
|
|
5
|
+
short: number;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export type TransitionDurationGetter = () => TransitionDuration;
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type TransitionDurationUnit = keyof TransitionDuration;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface ZIndex {
|
|
5
|
+
lowest: number;
|
|
6
|
+
low: number;
|
|
7
|
+
middle: number;
|
|
8
|
+
high: number;
|
|
9
|
+
highest: number;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type ZIndexGetter = () => ZIndex;
|
|
15
|
+
/**
|
|
16
|
+
* @public
|
|
17
|
+
*/
|
|
18
|
+
export type ZIndexInit = keyof ZIndex;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface ConfirmationHookArguments {
|
|
6
|
+
/**
|
|
7
|
+
* Dialog's title.
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* Callback is called after pressing confirm button.
|
|
12
|
+
*/
|
|
13
|
+
onConfirm: () => void;
|
|
14
|
+
/**
|
|
15
|
+
* Label for dialog's cancel button.
|
|
16
|
+
*/
|
|
17
|
+
cancelButtonLabel?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Content of the dialog.
|
|
20
|
+
*/
|
|
21
|
+
description?: ReactNode;
|
|
22
|
+
/**
|
|
23
|
+
* Label for dialog's confirm button.
|
|
24
|
+
*/
|
|
25
|
+
okButtonLabel?: string;
|
|
26
|
+
/**
|
|
27
|
+
* Callback is executed when dialog has been canceled.
|
|
28
|
+
*/
|
|
29
|
+
onCancel?: () => void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @public
|
|
33
|
+
*/
|
|
34
|
+
export interface ConfirmationHookResult {
|
|
35
|
+
open: () => void;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
40
|
+
export type ConfirmationHook = (args: ConfirmationHookArguments) => ConfirmationHookResult;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { ComponentType } from 'react';
|
|
2
|
+
import type { ValuesOfArray } from '@tridion/graphene';
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export declare const modalTypes: readonly ["default", "danger"];
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export declare const modalType: {
|
|
11
|
+
default: "default";
|
|
12
|
+
danger: "danger";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export type ModalType = ValuesOfArray<typeof modalTypes>;
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export interface ModalResult<TResultData> {
|
|
22
|
+
status: ModalStatus;
|
|
23
|
+
result: TResultData | undefined;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export interface ModalContentProps<TResultData> {
|
|
29
|
+
onConfirm: (result?: TResultData) => void;
|
|
30
|
+
onCancel: () => void;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface ModalHookArguments<TResultData = unknown> {
|
|
36
|
+
content: ComponentType<ModalContentProps<TResultData>>;
|
|
37
|
+
height?: number;
|
|
38
|
+
isMaximizable?: boolean;
|
|
39
|
+
minHeight?: number;
|
|
40
|
+
minWidth?: number;
|
|
41
|
+
width?: number;
|
|
42
|
+
modalType?: ModalType;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
*/
|
|
47
|
+
export declare const modalStatuses: readonly ["ok", "cancel"];
|
|
48
|
+
/**
|
|
49
|
+
* @public
|
|
50
|
+
*/
|
|
51
|
+
export declare const modalStatus: {
|
|
52
|
+
ok: "ok";
|
|
53
|
+
cancel: "cancel";
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
export type ModalStatus = ValuesOfArray<typeof modalStatuses>;
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export interface ModalHookResult<TResultData> {
|
|
63
|
+
open: () => Promise<ModalResult<TResultData>>;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export type ModalHook<TResultData = unknown> = (args: ModalHookArguments) => ModalHookResult<TResultData>;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export type NotificationType = 'error' | 'info' | 'success' | 'warning';
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface NotifyArguments {
|
|
9
|
+
/**
|
|
10
|
+
* Type defines styling of the message.
|
|
11
|
+
*
|
|
12
|
+
* Depending on intention of the message one of the values can be used:
|
|
13
|
+
* - `error` - in cases error occurred, operation failed.
|
|
14
|
+
* - `info` - general information for the user.
|
|
15
|
+
* - `success` - report about success of the operation.
|
|
16
|
+
* - `warning` - information that user needs to pay attention to.
|
|
17
|
+
*/
|
|
18
|
+
type: NotificationType;
|
|
19
|
+
/**
|
|
20
|
+
* Notification's title.
|
|
21
|
+
*/
|
|
22
|
+
title: string;
|
|
23
|
+
/**
|
|
24
|
+
* Detailed notification message.
|
|
25
|
+
*/
|
|
26
|
+
description?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Option to store notification in Message Center.
|
|
29
|
+
*/
|
|
30
|
+
showInMessageCenter?: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface NotificationsHookResult {
|
|
36
|
+
/**
|
|
37
|
+
* Method to show a new notification.
|
|
38
|
+
*
|
|
39
|
+
* @param args - options to customize notification.
|
|
40
|
+
*/
|
|
41
|
+
notify: (args: NotifyArguments) => void;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @public
|
|
45
|
+
*/
|
|
46
|
+
export type NotificationsHook = () => NotificationsHookResult;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { UserProfile } from '@tridion-sites/models';
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface UserProfileHookResult {
|
|
6
|
+
/**
|
|
7
|
+
* `UserProfile` instance of the logged-in Tridion user.
|
|
8
|
+
*/
|
|
9
|
+
userProfile: UserProfile | undefined;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
14
|
+
export type UserProfileHook = () => UserProfileHookResult;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export type AriaRole = 'button' | 'columnheader' | 'combobox' | 'grid' | 'gridcell' | 'group' | 'list' | 'listbox' | 'listitem' | 'menu' | 'menubar' | 'menuitem' | 'none' | 'option' | 'radiogroup' | 'row' | 'rowgroup' | 'rowheader' | 'tree' | 'treeitem';
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type AriaAutocomplete = 'none' | 'both' | 'list' | 'inline';
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export type AriaCurrent = boolean | 'page' | 'step' | 'location' | 'date' | 'time';
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type AriaHasPopup = boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type AriaPressed = boolean | 'mixed';
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export interface AriaProps {
|
|
25
|
+
activeDescendant: string;
|
|
26
|
+
autocomplete: AriaAutocomplete;
|
|
27
|
+
controls: string;
|
|
28
|
+
current: AriaCurrent;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
expanded: boolean;
|
|
31
|
+
for: string;
|
|
32
|
+
hasPopup: AriaHasPopup;
|
|
33
|
+
hidden: boolean;
|
|
34
|
+
id: string;
|
|
35
|
+
label: string;
|
|
36
|
+
labelledBy: string;
|
|
37
|
+
pressed: AriaPressed;
|
|
38
|
+
required: boolean;
|
|
39
|
+
role: AriaRole;
|
|
40
|
+
rowCount: number;
|
|
41
|
+
rowIndex: number;
|
|
42
|
+
selected: boolean;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Accessibility-related props
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export interface AccessibleComponentProps<K extends keyof AriaProps> {
|
|
49
|
+
aria: Pick<Partial<AriaProps>, K>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import type { IconProps } from "../..";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type CustomIconProps = Omit<IconProps, 'children' | 'viewBox'>;
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export type CustomIcon = ReactElement<CustomIconProps>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export type FocusBehavior = 'tabbable' | 'programmatic';
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface FocusBehaviorProps {
|
|
9
|
+
/**
|
|
10
|
+
* Should focus be available on "Tab" press or only via JS?
|
|
11
|
+
*/
|
|
12
|
+
focusBehavior?: FocusBehavior;
|
|
13
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './accessibility';
|
|
2
|
+
export * from './backgroundColor';
|
|
3
|
+
export * from './clickable';
|
|
4
|
+
export * from './color';
|
|
5
|
+
export * from './customIcon';
|
|
6
|
+
export * from './focusBehavior';
|
|
7
|
+
export * from './opacity';
|
|
8
|
+
export * from './sizing';
|
|
9
|
+
export * from './spacing';
|
|
10
|
+
export * from './tooltip';
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @public
|
|
3
|
+
*/
|
|
4
|
+
export interface SizeProps {
|
|
5
|
+
/**
|
|
6
|
+
* Width of the component.
|
|
7
|
+
* Values higher than 1 are treated as pixels.
|
|
8
|
+
* Values less than or equal to 1 are treated as percentage.
|
|
9
|
+
* Zero is ignored.
|
|
10
|
+
*/
|
|
11
|
+
width?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Height of the component.
|
|
14
|
+
* Values higher than 1 are treated as pixels.
|
|
15
|
+
* Values less than or equal to 1 are treated as percentage.
|
|
16
|
+
* Zero is ignored.
|
|
17
|
+
*/
|
|
18
|
+
height?: number;
|
|
19
|
+
/**
|
|
20
|
+
* Minimum width of the component in pixels.
|
|
21
|
+
*/
|
|
22
|
+
minWidth?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Minimum height of the component in pixels.
|
|
25
|
+
*/
|
|
26
|
+
minHeight?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Maximum width of the component in pixels.
|
|
29
|
+
*/
|
|
30
|
+
maxWidth?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Maximum height of the component in pixels.
|
|
33
|
+
*/
|
|
34
|
+
maxHeight?: number;
|
|
35
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { SpacingUnit } from "../..";
|
|
2
|
+
/**
|
|
3
|
+
* @public
|
|
4
|
+
*/
|
|
5
|
+
export interface SpaceProps {
|
|
6
|
+
margin?: SpacingUnit | SpacingUnit[];
|
|
7
|
+
marginBottom?: SpacingUnit;
|
|
8
|
+
marginTop?: SpacingUnit;
|
|
9
|
+
marginLeft?: SpacingUnit;
|
|
10
|
+
marginRight?: SpacingUnit;
|
|
11
|
+
padding?: SpacingUnit | SpacingUnit[];
|
|
12
|
+
paddingLeft?: SpacingUnit;
|
|
13
|
+
paddingRight?: SpacingUnit;
|
|
14
|
+
paddingTop?: SpacingUnit;
|
|
15
|
+
paddingBottom?: SpacingUnit;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from './useAddToBundleMutation';
|
|
2
|
+
export * from './useChangeUserLanguageMutation';
|
|
3
|
+
export * from './useChangeUserLocaleMutation';
|
|
4
|
+
export * from './useRemoveFromBundleMutation';
|
|
5
|
+
export * from './useUploadMultimediaMutation';
|
|
6
|
+
export * from './item';
|
|
7
|
+
export * from './translation';
|
|
8
|
+
export * from './workflow';
|
|
9
|
+
export * from './mutationOptions';
|
|
10
|
+
export * from './mutationResult';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './useAutoClassifyItemMutation';
|
|
2
|
+
export * from './useAutoClassifyItemsMutation';
|
|
3
|
+
export * from './useCopyItemMutation';
|
|
4
|
+
export * from './useCopyItemsMutation';
|
|
5
|
+
export * from './useDeleteItemMutation';
|
|
6
|
+
export * from './useDeleteItemsMutation';
|
|
7
|
+
export * from './useDemoteItemMutation';
|
|
8
|
+
export * from './useDemoteItemsMutation';
|
|
9
|
+
export * from './useFinishEditingItemMutation';
|
|
10
|
+
export * from './useFinishEditingItemsMutation';
|
|
11
|
+
export * from './useLocalizeItemMutation';
|
|
12
|
+
export * from './useLocalizeItemsMutation';
|
|
13
|
+
export * from './useMoveItemMutation';
|
|
14
|
+
export * from './useMoveItemsMutation';
|
|
15
|
+
export * from './usePublishItemsMutation';
|
|
16
|
+
export * from './usePromoteItemMutation';
|
|
17
|
+
export * from './usePromoteItemsMutation';
|
|
18
|
+
export * from './useRevertItemMutation';
|
|
19
|
+
export * from './useRevertItemsMutation';
|
|
20
|
+
export * from './useRollbackItemMutation';
|
|
21
|
+
export * from './useUnlocalizeItemMutation';
|
|
22
|
+
export * from './useUnlocalizeItemsMutation';
|
|
23
|
+
export * from './useUnpublishItemsMutation';
|
|
24
|
+
export * from './useUpdateItemMutation';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ApiError, ClassificationInfo, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AutoClassifyItemRequest {
|
|
8
|
+
/**
|
|
9
|
+
* ID of an item to classify.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
/**
|
|
13
|
+
* Container of an item to classify.
|
|
14
|
+
*/
|
|
15
|
+
containerItem?: IdentifiableObject;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type AutoClassifyItemMutationHook = (options?: MutationOptions<ClassificationInfo, ApiError, AutoClassifyItemRequest>) => MutationResult<ClassificationInfo, ApiError, AutoClassifyItemRequest>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ApiError, Batch, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface AutoClassifyItemsRequest {
|
|
8
|
+
/**
|
|
9
|
+
* IDs of the items to classify.
|
|
10
|
+
*/
|
|
11
|
+
itemIds: ReadonlyArray<ItemUri>;
|
|
12
|
+
/**
|
|
13
|
+
* Container of an item to classify.
|
|
14
|
+
*/
|
|
15
|
+
containerItem?: IdentifiableObject;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type AutoClassifyItemsMutationHook = (options?: BatchMutationOptions<AutoClassifyItemsRequest>) => MutationResult<Batch, ApiError, AutoClassifyItemsRequest>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, RepositoryLocalObject } from '@tridion-sites/models';
|
|
2
|
+
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface CopyItemRequest {
|
|
8
|
+
/**
|
|
9
|
+
* ID of an item to copy.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
/**
|
|
13
|
+
* ID of organizational item to copy to.
|
|
14
|
+
*/
|
|
15
|
+
destinationId: ItemUri;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type CopyItemMutationHook = (options?: MutationOptions<RepositoryLocalObject, ApiError, CopyItemRequest>) => MutationResult<RepositoryLocalObject, ApiError, CopyItemRequest>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 CopyItemsRequest {
|
|
8
|
+
/**
|
|
9
|
+
* IDs of items to copy.
|
|
10
|
+
*/
|
|
11
|
+
itemIds: ReadonlyArray<ItemUri>;
|
|
12
|
+
/**
|
|
13
|
+
* ID of organizational item to copy to.
|
|
14
|
+
*/
|
|
15
|
+
destinationId: ItemUri;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type CopyItemsMutationHook = (options?: BatchMutationOptions<CopyItemsRequest>) => MutationResult<Batch, ApiError, CopyItemsRequest>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 DeleteItemRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Item to delete.
|
|
10
|
+
*/
|
|
11
|
+
item: IdentifiableObject;
|
|
12
|
+
/**
|
|
13
|
+
* The container (context) in which the delete action is being performed. If specified, the container is invalidated on success to trigger reloading.
|
|
14
|
+
*/
|
|
15
|
+
containerItem?: IdentifiableObject;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type DeleteItemMutationHook = (options?: MutationOptions<void, ApiError, DeleteItemRequest>) => MutationResult<void, ApiError, DeleteItemRequest>;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ApiError, Batch, IdentifiableObject } from '@tridion-sites/models';
|
|
2
|
+
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DeleteItemsRequest {
|
|
8
|
+
/**
|
|
9
|
+
* Items to delete.
|
|
10
|
+
*/
|
|
11
|
+
items: ReadonlyArray<IdentifiableObject>;
|
|
12
|
+
/**
|
|
13
|
+
* Container item of the item to delete.
|
|
14
|
+
* `containerId` may take 'undefined' value when publications
|
|
15
|
+
* which don't have a real container are being deleted.
|
|
16
|
+
*/
|
|
17
|
+
containerItem?: IdentifiableObject;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
export type DeleteItemsMutationHook = (options?: BatchMutationOptions<DeleteItemsRequest>) => MutationResult<Batch, ApiError, DeleteItemsRequest>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, RepositoryLocalObject } from '@tridion-sites/models';
|
|
2
|
+
import type { MutationOptions } from '../mutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DemoteItemRequest {
|
|
8
|
+
item: RepositoryLocalObject;
|
|
9
|
+
destinationPublicationId: ItemUri;
|
|
10
|
+
failureLevel: 'warning' | 'error';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type DemoteItemMutationHook = (options?: MutationOptions<RepositoryLocalObject | void, ApiError, DemoteItemRequest>) => MutationResult<RepositoryLocalObject | void, ApiError, DemoteItemRequest>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ApiError, Batch, ItemUri, RepositoryLocalObject } from '@tridion-sites/models';
|
|
2
|
+
import type { BatchMutationOptions } from '../batchMutationOptions';
|
|
3
|
+
import type { MutationResult } from '../mutationResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface DemoteItemsRequest {
|
|
8
|
+
items: ReadonlyArray<RepositoryLocalObject>;
|
|
9
|
+
destinationPublicationId: ItemUri;
|
|
10
|
+
failureLevel: 'warning' | 'error';
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
export type DemoteItemsMutationHook = (options?: BatchMutationOptions<DemoteItemsRequest>) => MutationResult<Batch, ApiError, DemoteItemsRequest>;
|