@tridion-sites/extensions 2.0.1 → 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 +7 -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,52 @@
|
|
|
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>;
|
|
@@ -0,0 +1,9 @@
|
|
|
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';
|
|
@@ -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 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>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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>;
|
|
@@ -0,0 +1,39 @@
|
|
|
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;
|
|
@@ -0,0 +1,24 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,10 @@
|
|
|
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';
|
|
@@ -0,0 +1,14 @@
|
|
|
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';
|
|
@@ -0,0 +1,20 @@
|
|
|
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>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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>;
|
|
@@ -0,0 +1,33 @@
|
|
|
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>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject, ItemType, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* Model type for which default data can be retrieved.
|
|
6
|
+
*
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export type DefaultModelType = Extract<ItemType, 'bundle' | 'searchFolder' | 'schema' | 'page' | 'pageTemplate' | 'component' | 'componentTemplate' | 'folder' | 'keyword' | 'structureGroup' | 'templateBuildingBlock' | 'publication' | 'keywordCategory' | 'userGroup' | 'processDefinition' | 'businessProcessType' | 'multimediaType' | 'user' | 'targetGroup'>;
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export interface ItemDefaultDataQueryProps {
|
|
14
|
+
/**
|
|
15
|
+
* Type of the model to get default data for.
|
|
16
|
+
*/
|
|
17
|
+
modelType: DefaultModelType;
|
|
18
|
+
/**
|
|
19
|
+
* A container ID is required for all types except the following: `Batch`, `Publication`, `PublicationTarget`, `PublishTransaction`, `TargetType`, `MultimediaType`, `WorkflowType`, `User`, `Group`, and `ApprovalStatus`.
|
|
20
|
+
*/
|
|
21
|
+
containerId?: ItemUri;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type ItemDefaultDataQueryHook = <TItem extends IdentifiableObject>(props: ItemDefaultDataQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) => QueryResult<TItem | undefined, ApiError>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, VersionedItem } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemHistoryQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which History is being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ItemHistoryQueryHook = (props: ItemHistoryQueryProps | undefined, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<VersionedItem> | undefined, ApiError>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, PublishUrlInfo } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemPublishUrlsQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which Publish URLs are being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ItemPublishUrlsQueryHook = (props: ItemPublishUrlsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishUrlInfo> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishUrlInfo> | undefined, ApiError>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, Page } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemPublishedPagesQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which published pages will be requested.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ItemPublishedPagesQueryHook = (props: ItemPublishedPagesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<Page> | undefined, ApiError>) => QueryResult<ReadonlyArray<Page> | undefined, ApiError>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, PublishInfo } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemPublishedToQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* ID of the published item.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ItemPublishedToQueryHook = (props: ItemPublishedToQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishInfo> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishInfo> | undefined, ApiError>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* ID of an item to get.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
/**
|
|
13
|
+
* Option to request dynamic item (v0) if it's available.
|
|
14
|
+
*/
|
|
15
|
+
useDynamicVersion?: boolean;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*/
|
|
20
|
+
export type ItemQueryHook = <TItem extends IdentifiableObject>(props: ItemQueryProps | undefined, options?: QueryOptions<TItem | undefined, ApiError>) => QueryResult<TItem | undefined, ApiError>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, TranslationInfo } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemTranslationInfoQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which Translation Info is being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
export type ItemTranslationInfoQueryHook = (props: ItemTranslationInfoQueryProps | undefined, options?: QueryOptions<TranslationInfo | undefined, ApiError>) => QueryResult<TranslationInfo | undefined, ApiError>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemUsedByQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which 'Used By' dependencies are being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
/**
|
|
13
|
+
* Set to true to include local copies of the specified item in the response.
|
|
14
|
+
*/
|
|
15
|
+
includeLocalCopies?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* To limit the response to items that currently use the specified item,
|
|
18
|
+
* set this option to `true`.
|
|
19
|
+
*/
|
|
20
|
+
onlyLatestVersion?: boolean;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
25
|
+
export type ItemUsedByQueryHook = <TItem extends IdentifiableObject>(props: ItemUsedByQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemUsesQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which 'Uses' dependencies are being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
itemId: ItemUri;
|
|
12
|
+
/**
|
|
13
|
+
* To include the BluePrint parent of a local copy in the response,
|
|
14
|
+
* set this option to `true`.
|
|
15
|
+
*/
|
|
16
|
+
includeBlueprintParentItem?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type ItemUsesQueryHook = <TItem extends IdentifiableObject>(props: ItemUsesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject, ItemUri } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface ItemsQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* IDs of items to request.
|
|
10
|
+
*/
|
|
11
|
+
itemIds: ReadonlyArray<ItemUri>;
|
|
12
|
+
/**
|
|
13
|
+
* Option to request dynamic item (v0) if it's available.
|
|
14
|
+
*/
|
|
15
|
+
useDynamicVersion?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* By default list includes contentless items. Some of the properties might be missed.
|
|
18
|
+
* This option allows to include all available fields.
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* When `false` - Component item will be returned without `content` property.
|
|
22
|
+
*/
|
|
23
|
+
loadFullItems?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
export type ItemsQueryHook = <TItem extends IdentifiableObject>(props: ItemsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<TItem> | undefined, ApiError>;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, ListDetailsLevel, PublicationBlueprintHierarchy } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface PublicationBlueprintHierarchyQueryProps {
|
|
8
|
+
/**
|
|
9
|
+
* Identifies the item for which Blueprint hierarchy is being retrieved.
|
|
10
|
+
*/
|
|
11
|
+
publicationId: 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 PublicationBlueprintHierarchyQueryHook = (props: PublicationBlueprintHierarchyQueryProps | undefined, options?: QueryOptions<PublicationBlueprintHierarchy | undefined, ApiError>) => QueryResult<PublicationBlueprintHierarchy | undefined, ApiError>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { ApiError, ItemUri, ListDetailsLevel, 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 ContainerItemsQueryProps {
|
|
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
|
+
* The item types of all repository-local objects that you want to include in the response.
|
|
18
|
+
*/
|
|
19
|
+
rloItemTypes?: ReadonlyArray<RloItemType>;
|
|
20
|
+
/**
|
|
21
|
+
* Option to control how much data is returned per item.
|
|
22
|
+
*/
|
|
23
|
+
detailsLevel?: ListDetailsLevel;
|
|
24
|
+
/**
|
|
25
|
+
* Determines if nested Organizational Items (recursively) should also be returned.
|
|
26
|
+
*/
|
|
27
|
+
isRecursive?: boolean;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export type ContainerItemsQueryHook = (props?: ContainerItemsQueryProps, options?: QueryOptions<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<RepositoryLocalObject> | undefined, ApiError>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ApiError, IdentifiableObject } from '@tridion-sites/models';
|
|
2
|
+
import type { QueryOptions } from '../queryOptions';
|
|
3
|
+
import type { QueryResult } from '../queryResult';
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export type FavoritesQueryHook = (options?: QueryOptions<ReadonlyArray<IdentifiableObject> | undefined, ApiError>) => QueryResult<ReadonlyArray<IdentifiableObject> | undefined, ApiError>;
|