@tridion-sites/extensions 2.0.2 → 3.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +86 -24
- package/dist/index.d.ts +7 -5
- package/dist/index.js +6 -9
- package/package.json +26 -27
- package/dist/dts/api/activitiesExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorer.d.ts +0 -63
- package/dist/dts/api/activitiesExplorer/hooks/useActivitiesExplorerTable.d.ts +0 -41
- package/dist/dts/api/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/api/contentExplorer/components/index.d.ts +0 -2
- package/dist/dts/api/contentExplorer/components/propertiesGrid.d.ts +0 -29
- package/dist/dts/api/contentExplorer/components/propertiesList.d.ts +0 -21
- package/dist/dts/api/contentExplorer/hierarchy.d.ts +0 -102
- package/dist/dts/api/contentExplorer/hooks/index.d.ts +0 -3
- package/dist/dts/api/contentExplorer/hooks/useContentExplorer.d.ts +0 -123
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTable.d.ts +0 -39
- package/dist/dts/api/contentExplorer/hooks/useContentExplorerTree.d.ts +0 -27
- package/dist/dts/api/contentExplorer/index.d.ts +0 -4
- package/dist/dts/api/contentExplorer/utils/hierarchyUtils.d.ts +0 -80
- package/dist/dts/api/contentExplorer/utils/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/bundle/hooks/useBundleEditor.d.ts +0 -32
- package/dist/dts/api/editors/category/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/category/hooks/useCategoryEditor.d.ts +0 -28
- package/dist/dts/api/editors/component/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/component/hooks/useComponentEditor.d.ts +0 -32
- package/dist/dts/api/editors/folder/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/folder/hooks/useFolderEditor.d.ts +0 -32
- package/dist/dts/api/editors/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/hooks/useEditor.d.ts +0 -40
- package/dist/dts/api/editors/index.d.ts +0 -8
- package/dist/dts/api/editors/keyword/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/keyword/hooks/useKeywordEditor.d.ts +0 -32
- package/dist/dts/api/editors/page/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/page/hooks/usePageEditor.d.ts +0 -40
- package/dist/dts/api/editors/structureGroup/hooks/index.d.ts +0 -1
- package/dist/dts/api/editors/structureGroup/hooks/useStructureGroupEditor.d.ts +0 -32
- package/dist/dts/api/general/components/button.d.ts +0 -33
- package/dist/dts/api/general/components/icon.d.ts +0 -19
- package/dist/dts/api/general/components/index.d.ts +0 -7
- package/dist/dts/api/general/components/layout/block.d.ts +0 -55
- package/dist/dts/api/general/components/layout/center.d.ts +0 -12
- package/dist/dts/api/general/components/layout/flex.d.ts +0 -50
- package/dist/dts/api/general/components/layout/index.d.ts +0 -4
- package/dist/dts/api/general/components/layout/stack.d.ts +0 -39
- package/dist/dts/api/general/components/link.d.ts +0 -29
- package/dist/dts/api/general/components/modal.d.ts +0 -61
- package/dist/dts/api/general/components/text.d.ts +0 -82
- package/dist/dts/api/general/components/textLink.d.ts +0 -16
- package/dist/dts/api/general/globals/borderRadius.d.ts +0 -15
- package/dist/dts/api/general/globals/color.d.ts +0 -41
- package/dist/dts/api/general/globals/index.d.ts +0 -6
- package/dist/dts/api/general/globals/opacity.d.ts +0 -16
- package/dist/dts/api/general/globals/spacing.d.ts +0 -19
- package/dist/dts/api/general/globals/transitionDuration.d.ts +0 -14
- package/dist/dts/api/general/globals/zIndex.d.ts +0 -18
- package/dist/dts/api/general/hooks/index.d.ts +0 -4
- package/dist/dts/api/general/hooks/useConfirmation.d.ts +0 -40
- package/dist/dts/api/general/hooks/useModal.d.ts +0 -68
- package/dist/dts/api/general/hooks/useNotifications.d.ts +0 -46
- package/dist/dts/api/general/hooks/useUserProfile.d.ts +0 -14
- package/dist/dts/api/general/index.d.ts +0 -6
- package/dist/dts/api/general/mixins/accessibility.d.ts +0 -50
- package/dist/dts/api/general/mixins/backgroundColor.d.ts +0 -10
- package/dist/dts/api/general/mixins/clickable.d.ts +0 -7
- package/dist/dts/api/general/mixins/color.d.ts +0 -10
- package/dist/dts/api/general/mixins/customIcon.d.ts +0 -10
- package/dist/dts/api/general/mixins/focusBehavior.d.ts +0 -13
- package/dist/dts/api/general/mixins/index.d.ts +0 -10
- package/dist/dts/api/general/mixins/opacity.d.ts +0 -11
- package/dist/dts/api/general/mixins/sizing.d.ts +0 -35
- package/dist/dts/api/general/mixins/spacing.d.ts +0 -16
- package/dist/dts/api/general/mixins/tooltip.d.ts +0 -9
- package/dist/dts/api/general/mutations/batchMutationOptions.d.ts +0 -6
- package/dist/dts/api/general/mutations/index.d.ts +0 -10
- package/dist/dts/api/general/mutations/item/index.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useAutoClassifyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useCopyItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useDeleteItemsMutation.d.ts +0 -22
- package/dist/dts/api/general/mutations/item/useDemoteItemMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useDemoteItemsMutation.d.ts +0 -15
- package/dist/dts/api/general/mutations/item/useFinishEditingItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useFinishEditingItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useLocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useMoveItemMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/useMoveItemsMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/item/usePromoteItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePromoteItemsMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/item/usePublishItemsMutation.d.ts +0 -62
- package/dist/dts/api/general/mutations/item/useRevertItemMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRevertItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useRollbackItemMutation.d.ts +0 -29
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemMutation.d.ts +0 -21
- package/dist/dts/api/general/mutations/item/useUnlocalizeItemsMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/item/useUnpublishItemsMutation.d.ts +0 -46
- package/dist/dts/api/general/mutations/item/useUpdateItemMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/mutationOptions.d.ts +0 -38
- package/dist/dts/api/general/mutations/mutationResult.d.ts +0 -73
- package/dist/dts/api/general/mutations/translation/index.d.ts +0 -1
- package/dist/dts/api/general/mutations/translation/useCreateTranslationJobMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/useAddToBundleMutation.d.ts +0 -31
- package/dist/dts/api/general/mutations/useChangeUserLanguageMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useChangeUserLocaleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useRemoveFromBundleMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/useUploadMultimediaMutation.d.ts +0 -52
- package/dist/dts/api/general/mutations/workflow/index.d.ts +0 -9
- package/dist/dts/api/general/mutations/workflow/useAssignActivitiesMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useAssignActivityMutation.d.ts +0 -20
- package/dist/dts/api/general/mutations/workflow/useFinishActivitiesMutation.d.ts +0 -39
- package/dist/dts/api/general/mutations/workflow/useFinishActivityMutation.d.ts +0 -24
- package/dist/dts/api/general/mutations/workflow/useRestartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useRestartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivitiesMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartActivityMutation.d.ts +0 -16
- package/dist/dts/api/general/mutations/workflow/useStartWorkflowMutation.d.ts +0 -16
- package/dist/dts/api/general/queries/index.d.ts +0 -10
- package/dist/dts/api/general/queries/item/index.d.ts +0 -14
- package/dist/dts/api/general/queries/item/useItemBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemChildrenQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemClassifiedItemsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/item/useItemDefaultDataQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/item/useItemHistoryQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishUrlsQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedPagesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemPublishedToQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/item/useItemTranslationInfoQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/item/useItemUsedByQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/item/useItemUsesQuery.d.ts +0 -21
- package/dist/dts/api/general/queries/item/useItemsQuery.d.ts +0 -28
- package/dist/dts/api/general/queries/item/usePublicationBlueprintHierarchyQuery.d.ts +0 -20
- package/dist/dts/api/general/queries/lists/index.d.ts +0 -6
- package/dist/dts/api/general/queries/lists/useContainerItems.d.ts +0 -32
- package/dist/dts/api/general/queries/lists/useFavoritesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useItemsInProgressQuery.d.ts +0 -25
- package/dist/dts/api/general/queries/lists/usePublicationsQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/lists/useUserGroupsQuery.d.ts +0 -33
- package/dist/dts/api/general/queries/lists/useUsersQuery.d.ts +0 -38
- package/dist/dts/api/general/queries/loadingState.d.ts +0 -10
- package/dist/dts/api/general/queries/publishing/index.d.ts +0 -5
- package/dist/dts/api/general/queries/publishing/useItemsToPublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/useItemsToUnpublishQuery.d.ts +0 -8
- package/dist/dts/api/general/queries/publishing/usePublishTransactionsQuery.d.ts +0 -40
- package/dist/dts/api/general/queries/publishing/usePublishableTargetTypesQuery.d.ts +0 -16
- package/dist/dts/api/general/queries/publishing/useTargetTypesQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/queryOptions.d.ts +0 -67
- package/dist/dts/api/general/queries/queryResult.d.ts +0 -93
- package/dist/dts/api/general/queries/search/index.d.ts +0 -2
- package/dist/dts/api/general/queries/search/useSearchInContainerQuery.d.ts +0 -27
- package/dist/dts/api/general/queries/search/useSystemSearchQuery.d.ts +0 -26
- package/dist/dts/api/general/queries/translation/index.d.ts +0 -1
- package/dist/dts/api/general/queries/translation/useDefaultTranslationJobQuery.d.ts +0 -17
- package/dist/dts/api/general/queries/useUserProfileQuery.d.ts +0 -7
- package/dist/dts/api/general/queries/workflow/index.d.ts +0 -1
- package/dist/dts/api/general/queries/workflow/useActivityInstancesQuery.d.ts +0 -37
- package/dist/dts/api/index.d.ts +0 -5
- package/dist/dts/api/publishingQueueExplorer/hooks/index.d.ts +0 -2
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorer.d.ts +0 -62
- package/dist/dts/api/publishingQueueExplorer/hooks/usePublishingQueueExplorerTable.d.ts +0 -41
- package/dist/dts/api/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/apiBridge/activitiesExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiBridge/contentExplorerApiStorage.d.ts +0 -32
- package/dist/dts/apiBridge/editors/bundleEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/categoryEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/componentEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/editorsApiStorage.d.ts +0 -28
- package/dist/dts/apiBridge/editors/folderEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/index.d.ts +0 -8
- package/dist/dts/apiBridge/editors/keywordEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/pageEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/editors/structureGroupEditorApiStorage.d.ts +0 -13
- package/dist/dts/apiBridge/extensionApiBridge.d.ts +0 -22
- package/dist/dts/apiBridge/generalApiStorage.d.ts +0 -144
- package/dist/dts/apiBridge/index.d.ts +0 -6
- package/dist/dts/apiBridge/publishingQueueExplorerApiStorage.d.ts +0 -16
- package/dist/dts/apiWrappers/activitiesExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/activitiesExplorer/index.d.ts +0 -1
- package/dist/dts/apiWrappers/contentExplorer/components.d.ts +0 -5
- package/dist/dts/apiWrappers/contentExplorer/hooks.d.ts +0 -58
- package/dist/dts/apiWrappers/contentExplorer/index.d.ts +0 -3
- package/dist/dts/apiWrappers/contentExplorer/utils.d.ts +0 -73
- package/dist/dts/apiWrappers/editors/hooks.d.ts +0 -63
- package/dist/dts/apiWrappers/editors/index.d.ts +0 -1
- package/dist/dts/apiWrappers/general/components.d.ts +0 -88
- package/dist/dts/apiWrappers/general/globals.d.ts +0 -37
- package/dist/dts/apiWrappers/general/hooks.d.ts +0 -25
- package/dist/dts/apiWrappers/general/index.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/generalMutations.d.ts +0 -30
- package/dist/dts/apiWrappers/general/mutations/index.d.ts +0 -4
- package/dist/dts/apiWrappers/general/mutations/itemMutations.d.ts +0 -137
- package/dist/dts/apiWrappers/general/mutations/translationMutations.d.ts +0 -5
- package/dist/dts/apiWrappers/general/mutations/workflowMutations.d.ts +0 -47
- package/dist/dts/apiWrappers/general/queries/generalQueries.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/index.d.ts +0 -7
- package/dist/dts/apiWrappers/general/queries/itemQueries.d.ts +0 -85
- package/dist/dts/apiWrappers/general/queries/listsQueries.d.ts +0 -25
- package/dist/dts/apiWrappers/general/queries/publishingQueries.d.ts +0 -19
- package/dist/dts/apiWrappers/general/queries/searchQueries.d.ts +0 -13
- package/dist/dts/apiWrappers/general/queries/translationQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/general/queries/workflowQueries.d.ts +0 -5
- package/dist/dts/apiWrappers/index.d.ts +0 -5
- package/dist/dts/apiWrappers/publishingQueueExplorer/hooks.d.ts +0 -39
- package/dist/dts/apiWrappers/publishingQueueExplorer/index.d.ts +0 -1
- package/dist/dts/extensionPoints/actionsConfiguration/actionExtension.d.ts +0 -43
- package/dist/dts/extensionPoints/actionsConfiguration/actionGroup.d.ts +0 -20
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtension.d.ts +0 -10
- package/dist/dts/extensionPoints/actionsConfiguration/actionsConfigurationExtensionsBuilder.d.ts +0 -70
- package/dist/dts/extensionPoints/actionsConfiguration/index.d.ts +0 -4
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerActions.d.ts +0 -40
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/activitiesExplorer/activitiesExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/activitiesExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/activitiesExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/activitiesExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableActions.d.ts +0 -41
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/activitiesExplorer/table/activitiesExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/activitiesExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/contentEditor/contentEditorExtensionsBuilder.d.ts +0 -15
- package/dist/dts/extensionPoints/contentEditor/contentEditorFormFieldExtension.d.ts +0 -85
- package/dist/dts/extensionPoints/contentEditor/contentEditorViewExtension.d.ts +0 -69
- package/dist/dts/extensionPoints/contentEditor/index.d.ts +0 -5
- package/dist/dts/extensionPoints/contentEditor/richTextField/index.d.ts +0 -2
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensions.d.ts +0 -64
- package/dist/dts/extensionPoints/contentEditor/richTextField/richTextFieldExtensionsBuilder.d.ts +0 -11
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerActions.d.ts +0 -86
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensions.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/contentExplorerExtensionsBuilder.d.ts +0 -30
- package/dist/dts/extensionPoints/contentExplorer/index.d.ts +0 -6
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/contentExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/contentExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/contentExplorer/table/contentExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/contentExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/contentExplorer/tree/contentExplorerTreeExtensionsBuilder.d.ts +0 -13
- package/dist/dts/extensionPoints/contentExplorer/tree/index.d.ts +0 -2
- package/dist/dts/extensionPoints/extensionBuilder.d.ts +0 -37
- package/dist/dts/extensionPoints/extensionPoints.d.ts +0 -17
- package/dist/dts/extensionPoints/header/headerExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/header/headerExtensionsBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/header/index.d.ts +0 -3
- package/dist/dts/extensionPoints/header/navigation/index.d.ts +0 -4
- package/dist/dts/extensionPoints/header/navigation/navigationExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/header/navigation/navigationExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/header/navigation/navigationItem.d.ts +0 -65
- package/dist/dts/extensionPoints/header/navigation/navigationItems.d.ts +0 -20
- package/dist/dts/extensionPoints/index.d.ts +0 -12
- package/dist/dts/extensionPoints/insightsPanels/index.d.ts +0 -1
- package/dist/dts/extensionPoints/insightsPanels/insightsPanelsExtension.d.ts +0 -39
- package/dist/dts/extensionPoints/listBuilder/index.d.ts +0 -3
- package/dist/dts/extensionPoints/listBuilder/listBuilder.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/listBuilderExtension.d.ts +0 -12
- package/dist/dts/extensionPoints/listBuilder/utils/addItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/findItemIndex.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/index.d.ts +0 -5
- package/dist/dts/extensionPoints/listBuilder/utils/moveItem.d.ts +0 -14
- package/dist/dts/extensionPoints/listBuilder/utils/removeItem.d.ts +0 -13
- package/dist/dts/extensionPoints/listBuilder/utils/replaceItem.d.ts +0 -14
- package/dist/dts/extensionPoints/publishingQueueExplorer/index.d.ts +0 -5
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtension.d.ts +0 -18
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensions.d.ts +0 -9
- package/dist/dts/extensionPoints/publishingQueueExplorer/insightsPanels/publishingQueueExplorerInsightsPanelsExtensionsBuilder.d.ts +0 -24
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensions.d.ts +0 -11
- package/dist/dts/extensionPoints/publishingQueueExplorer/publishingQueueExplorerExtensionsBuilder.d.ts +0 -25
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/index.d.ts +0 -3
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableActions.d.ts +0 -39
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableColumnExtension.d.ts +0 -20
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensions.d.ts +0 -10
- package/dist/dts/extensionPoints/publishingQueueExplorer/table/publishingQueueExplorerTableExtensionsBuilder.d.ts +0 -26
- package/dist/dts/extensionPoints/tableColumnConfiguration/index.d.ts +0 -1
- package/dist/dts/extensionPoints/tableColumnConfiguration/tableColumnExtension.d.ts +0 -70
- package/dist/dts/extensionPoints/translations/index.d.ts +0 -3
- package/dist/dts/extensionPoints/translations/translationExtensions.d.ts +0 -7
- package/dist/dts/extensionPoints/translations/translationExtensionsBuilder.d.ts +0 -17
- package/dist/dts/extensionPoints/translations/translationItem.d.ts +0 -23
- package/dist/dts/frameworkInfo.d.ts +0 -7
- package/dist/dts/index.d.ts +0 -6
- package/dist/dts/module/createExtensionGlobals.d.ts +0 -11
- package/dist/dts/module/extensionGlobals.d.ts +0 -7
- package/dist/dts/module/extensionModule.d.ts +0 -11
- package/dist/dts/module/index.d.ts +0 -4
- package/dist/dts/module/runtimeInformation.d.ts +0 -7
|
@@ -1,26 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,20 +0,0 @@
|
|
|
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>;
|
|
@@ -1,16 +0,0 @@
|
|
|
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>;
|
|
@@ -1,25 +0,0 @@
|
|
|
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>;
|
|
@@ -1,21 +0,0 @@
|
|
|
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>;
|
|
@@ -1,28 +0,0 @@
|
|
|
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>;
|
|
@@ -1,20 +0,0 @@
|
|
|
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>;
|
|
@@ -1,32 +0,0 @@
|
|
|
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>;
|
|
@@ -1,7 +0,0 @@
|
|
|
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>;
|
|
@@ -1,25 +0,0 @@
|
|
|
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 ItemsInProgressQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* Option to include items that are in progress by any user, but only in Publications where the user has Publication Administration or Lock Management Rights (unless the user has System Administration privileges).
|
|
10
|
-
* By default, only items locked by the current user are returned.
|
|
11
|
-
*/
|
|
12
|
-
forAllUsers?: boolean;
|
|
13
|
-
/**
|
|
14
|
-
* Specifies the maximum number of results to return.
|
|
15
|
-
*/
|
|
16
|
-
maxResults?: number;
|
|
17
|
-
/**
|
|
18
|
-
* Option to filter results by specified user id.
|
|
19
|
-
*/
|
|
20
|
-
lockUserId?: ItemUri;
|
|
21
|
-
}
|
|
22
|
-
/**
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
25
|
-
export type ItemsInProgressQueryHook = (props?: ItemsInProgressQueryProps, options?: QueryOptions<ReadonlyArray<VersionedItem> | undefined, ApiError>) => QueryResult<ReadonlyArray<VersionedItem> | undefined, ApiError>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ApiError, Publication } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export type PublicationsQueryHook = (options?: QueryOptions<ReadonlyArray<Publication> | undefined, ApiError>) => QueryResult<ReadonlyArray<Publication> | undefined, ApiError>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, StringSearchMode, UserGroup } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export type UserGroupsQuerySearchMode = StringSearchMode;
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export interface UserGroupsQueryProps {
|
|
12
|
-
/**
|
|
13
|
-
* If specified, return only groups which are scoped to the Publication ID.
|
|
14
|
-
*/
|
|
15
|
-
inPublicationId?: ItemUri;
|
|
16
|
-
/**
|
|
17
|
-
* Specifies whether the special "Everyone" Group (representing all CM users) should be returned.
|
|
18
|
-
*/
|
|
19
|
-
includeEveryone?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* If specified, return only groups with titles matching this value.
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
* Specifies how to match on the group title.
|
|
26
|
-
* @defaultValue Contains
|
|
27
|
-
*/
|
|
28
|
-
searchMode?: UserGroupsQuerySearchMode;
|
|
29
|
-
}
|
|
30
|
-
/**
|
|
31
|
-
* @public
|
|
32
|
-
*/
|
|
33
|
-
export type UserGroupsQueryHook = (props?: UserGroupsQueryProps, options?: QueryOptions<ReadonlyArray<UserGroup> | undefined, ApiError>) => QueryResult<ReadonlyArray<UserGroup> | undefined, ApiError>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import type { ApiError, StringSearchMode, User } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export type UsersQuerySearchMode = StringSearchMode;
|
|
8
|
-
/**
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
11
|
-
export interface UsersQueryProps {
|
|
12
|
-
/**
|
|
13
|
-
* If specified, return only non-predefined users or predefined users.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* - `undefined` - all of the users returned
|
|
17
|
-
* - `true` - predefined only users returned
|
|
18
|
-
* - `false` - non-predefined only users returned
|
|
19
|
-
*/
|
|
20
|
-
predefined?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Specifies whether to include disabled user accounts. These are excluded by default.
|
|
23
|
-
*/
|
|
24
|
-
includeDisabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* If specified, return only users whose account name (Title) matches this value.
|
|
27
|
-
*/
|
|
28
|
-
search?: string;
|
|
29
|
-
/**
|
|
30
|
-
* Specifies how to match on the account name.
|
|
31
|
-
* @defaultValue Contains
|
|
32
|
-
*/
|
|
33
|
-
searchMode?: UsersQuerySearchMode;
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
export type UsersQueryHook = (props?: UsersQueryProps, options?: QueryOptions<ReadonlyArray<User> | undefined, ApiError>) => QueryResult<ReadonlyArray<User> | undefined, ApiError>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ResolvedItem } from '@tridion-sites/models';
|
|
2
|
-
import type { PublishItemsRequest } from '../../mutations/item/usePublishItemsMutation';
|
|
3
|
-
import type { QueryOptions } from '../queryOptions';
|
|
4
|
-
import type { QueryResult } from '../queryResult';
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type ItemsToPublishQueryHook = (props: PublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) => QueryResult<ResolvedItem[] | undefined, ApiError>;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ResolvedItem } from '@tridion-sites/models';
|
|
2
|
-
import type { UnpublishItemsRequest } from '../../mutations/item/useUnpublishItemsMutation';
|
|
3
|
-
import type { QueryOptions } from '../queryOptions';
|
|
4
|
-
import type { QueryResult } from '../queryResult';
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type ItemsToUnpublishQueryHook = (props: UnpublishItemsRequest | undefined, options?: QueryOptions<ResolvedItem[] | undefined, ApiError>) => QueryResult<ResolvedItem[] | undefined, ApiError>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ListInfoDictionary, PublishPriority, PublishTransaction, PublishTransactionState, TcmUri } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface PublishTransactionsQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* Option to filter transactions for specific publication.
|
|
10
|
-
*/
|
|
11
|
-
publicationId?: TcmUri;
|
|
12
|
-
/**
|
|
13
|
-
* Option to filter transactions for specific Target Type.
|
|
14
|
-
*/
|
|
15
|
-
targetTypeId?: TcmUri;
|
|
16
|
-
/**
|
|
17
|
-
* Option to filter transaction created by specific User.
|
|
18
|
-
*/
|
|
19
|
-
userId?: TcmUri;
|
|
20
|
-
/**
|
|
21
|
-
* Option to filter transactions prior to specified date.
|
|
22
|
-
*/
|
|
23
|
-
endDate?: Date;
|
|
24
|
-
/**
|
|
25
|
-
* Option to filter transactions following specified date.
|
|
26
|
-
*/
|
|
27
|
-
startDate?: Date;
|
|
28
|
-
/**
|
|
29
|
-
* Option to filter transactions based ot it's state.
|
|
30
|
-
*/
|
|
31
|
-
state?: PublishTransactionState;
|
|
32
|
-
/**
|
|
33
|
-
* Option to filter transactions with specific priority.
|
|
34
|
-
*/
|
|
35
|
-
priority?: PublishPriority;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* @public
|
|
39
|
-
*/
|
|
40
|
-
export type PublishTransactionsQueryHook = <TListInfo extends ListInfoDictionary>(props: PublishTransactionsQueryProps | undefined, options?: QueryOptions<ReadonlyArray<PublishTransaction<TListInfo>> | undefined, ApiError>) => QueryResult<ReadonlyArray<PublishTransaction<TListInfo>> | undefined, ApiError>;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { ApiError, ItemUri, TargetType } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export interface PublishableTargetTypesQueryProps {
|
|
8
|
-
/**
|
|
9
|
-
* Identifies the Business Process Type for which Target Types are being retrieved.
|
|
10
|
-
*/
|
|
11
|
-
businessProcessTypeId: ItemUri;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
export type PublishableTargetTypesQueryHook = (props: PublishableTargetTypesQueryProps | undefined, options?: QueryOptions<ReadonlyArray<TargetType> | undefined, ApiError>) => QueryResult<ReadonlyArray<TargetType> | undefined, ApiError>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { ApiError, TargetType } from '@tridion-sites/models';
|
|
2
|
-
import type { QueryOptions } from '../queryOptions';
|
|
3
|
-
import type { QueryResult } from '../queryResult';
|
|
4
|
-
/**
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
export type TargetTypesQueryHook = (options?: QueryOptions<ReadonlyArray<TargetType> | undefined, ApiError>) => QueryResult<ReadonlyArray<TargetType> | undefined, ApiError>;
|
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export type NonFunctionGuard<T> = T extends Function ? never : T;
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export interface QueryOptions<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData> {
|
|
9
|
-
retry?: boolean | number | ((failureCount: number, error: TError) => boolean);
|
|
10
|
-
retryDelay?: number | ((failureCount: number, error: TError) => number);
|
|
11
|
-
initialData?: TData | (() => TData | undefined);
|
|
12
|
-
initialDataUpdatedAt?: number | (() => number | undefined);
|
|
13
|
-
meta?: Record<string, unknown>;
|
|
14
|
-
/**
|
|
15
|
-
* Set this to `false` to disable automatic refetching when the query mounts or changes query keys.
|
|
16
|
-
* To refetch the query, use the `refetch` method returned from the `useQuery` instance.
|
|
17
|
-
* Defaults to `true`.
|
|
18
|
-
*/
|
|
19
|
-
enabled?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The time in milliseconds after data is considered stale.
|
|
22
|
-
* If set to `Infinity`, the data will never be considered stale.
|
|
23
|
-
*/
|
|
24
|
-
staleTime?: number;
|
|
25
|
-
/**
|
|
26
|
-
* If set to a number, the query will continuously refetch at this frequency in milliseconds.
|
|
27
|
-
* If set to a function, the function will be executed with the latest data and query to compute a frequency.
|
|
28
|
-
* Defaults to `false`.
|
|
29
|
-
*/
|
|
30
|
-
refetchInterval?: number | false;
|
|
31
|
-
/**
|
|
32
|
-
* If set to `true`, the query will continue to refetch while their tab/window is in the background.
|
|
33
|
-
* Defaults to `false`.
|
|
34
|
-
*/
|
|
35
|
-
refetchIntervalInBackground?: boolean;
|
|
36
|
-
/**
|
|
37
|
-
* If set to `true`, the query will refetch on window focus if the data is stale.
|
|
38
|
-
* If set to `false`, the query will not refetch on window focus.
|
|
39
|
-
* If set to `'always'`, the query will always refetch on window focus.
|
|
40
|
-
* Defaults to `true`.
|
|
41
|
-
*/
|
|
42
|
-
refetchOnWindowFocus?: boolean | 'always';
|
|
43
|
-
/**
|
|
44
|
-
* If set to `true`, the query will refetch on reconnect if the data is stale.
|
|
45
|
-
* If set to `false`, the query will not refetch on reconnect.
|
|
46
|
-
* If set to `'always'`, the query will always refetch on reconnect.
|
|
47
|
-
* If set to a function, the function will be executed with the latest data and query to compute the value.
|
|
48
|
-
* Defaults to the value of `networkOnline` (`true`)
|
|
49
|
-
*/
|
|
50
|
-
refetchOnReconnect?: boolean | 'always';
|
|
51
|
-
/**
|
|
52
|
-
* If set to `true`, the query will refetch on mount if the data is stale.
|
|
53
|
-
* If set to `false`, will disable additional instances of a query to trigger background refetches.
|
|
54
|
-
* If set to `'always'`, the query will always refetch on mount.
|
|
55
|
-
* Defaults to `true`.
|
|
56
|
-
*/
|
|
57
|
-
refetchOnMount?: boolean | 'always';
|
|
58
|
-
/**
|
|
59
|
-
* If set to `false`, the query will not be retried on mount if it contains an error.
|
|
60
|
-
* Defaults to `true`.
|
|
61
|
-
*/
|
|
62
|
-
retryOnMount?: boolean;
|
|
63
|
-
/**
|
|
64
|
-
* If set, this value will be used as the placeholder data for this particular query observer while the query is still in the `loading` data and no initialData has been provided.
|
|
65
|
-
*/
|
|
66
|
-
placeholderData?: NonFunctionGuard<TQueryFnData> | ((previousData: TData | undefined) => NonFunctionGuard<TQueryFnData> | undefined);
|
|
67
|
-
}
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @public
|
|
3
|
-
*/
|
|
4
|
-
export type QueryStatus = 'pending' | 'error' | 'success';
|
|
5
|
-
/**
|
|
6
|
-
* @public
|
|
7
|
-
*/
|
|
8
|
-
export type QueryFetchStatus = 'fetching' | 'paused' | 'idle';
|
|
9
|
-
/**
|
|
10
|
-
* @public
|
|
11
|
-
*/
|
|
12
|
-
export interface RefetchOptions {
|
|
13
|
-
cancelRefetch?: boolean;
|
|
14
|
-
throwOnError?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* @public
|
|
18
|
-
*/
|
|
19
|
-
export interface QueryResult<TData = unknown, TError = unknown> {
|
|
20
|
-
/**
|
|
21
|
-
* The last successfully resolved data for the query.
|
|
22
|
-
*/
|
|
23
|
-
data: TData | undefined;
|
|
24
|
-
/**
|
|
25
|
-
* The timestamp for when the query most recently returned the `status` as `success`.
|
|
26
|
-
*/
|
|
27
|
-
dataUpdatedAt: number;
|
|
28
|
-
/**
|
|
29
|
-
* The error object for the query, if an error was thrown.
|
|
30
|
-
*/
|
|
31
|
-
error: TError | null;
|
|
32
|
-
/**
|
|
33
|
-
* The timestamp for when the query most recently returned the `status` as `error`.
|
|
34
|
-
*/
|
|
35
|
-
errorUpdatedAt: number;
|
|
36
|
-
failureCount: number;
|
|
37
|
-
/**
|
|
38
|
-
* The failure reason for the query retry.
|
|
39
|
-
* Reset to null when the query succeeds.
|
|
40
|
-
*/
|
|
41
|
-
failureReason: TError | null;
|
|
42
|
-
/**
|
|
43
|
-
* The sum of all errors.
|
|
44
|
-
*/
|
|
45
|
-
errorUpdateCount: number;
|
|
46
|
-
isError: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* Will be true if the query has been fetched.
|
|
49
|
-
*/
|
|
50
|
-
isFetched: boolean;
|
|
51
|
-
/**
|
|
52
|
-
* Will be true if the query has been fetched after the component mounted.
|
|
53
|
-
* This property can be used to not show any previously cached data.
|
|
54
|
-
*/
|
|
55
|
-
isFetchedAfterMount: boolean;
|
|
56
|
-
isFetching: boolean;
|
|
57
|
-
isPending: boolean;
|
|
58
|
-
isLoading: boolean;
|
|
59
|
-
isLoadingError: boolean;
|
|
60
|
-
isPaused: boolean;
|
|
61
|
-
/**
|
|
62
|
-
* Will be `true` if the data shown is the placeholder data.
|
|
63
|
-
*/
|
|
64
|
-
isPlaceholderData: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Will be `true` if the query failed while fetching for the first time.
|
|
67
|
-
*/
|
|
68
|
-
isRefetchError: boolean;
|
|
69
|
-
/**
|
|
70
|
-
* Is `true` whenever a background refetch is in-flight, which does not include initial loading.
|
|
71
|
-
*/
|
|
72
|
-
isRefetching: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Will be `true` if the data in the cache is invalidated or if the data is older than the given `staleTime`.
|
|
75
|
-
*/
|
|
76
|
-
isStale: boolean;
|
|
77
|
-
isSuccess: boolean;
|
|
78
|
-
refetch: (options?: RefetchOptions) => Promise<QueryResult<TData, TError>>;
|
|
79
|
-
/**
|
|
80
|
-
* - `loading` - if there's no cached data and no query attempt was finished yet.
|
|
81
|
-
* - `error` - if the query attempt resulted in an error. The corresponding error property has the error received from the attempted fetch.
|
|
82
|
-
* - `success` - if the query has received a response with no errors and is ready to display its data.
|
|
83
|
-
* The corresponding `data` property on the query is the data received from the successful fetch or if the query's `enabled` property is set to `false`
|
|
84
|
-
* and has not been fetched yet `data` is the first `initialData` supplied to the query on initialization.
|
|
85
|
-
*/
|
|
86
|
-
status: QueryStatus;
|
|
87
|
-
/**
|
|
88
|
-
* - `fetching` - Is true whenever the queryFn is executing, which includes initial loading as well as background refetches.
|
|
89
|
-
* - `paused` - The query wanted to fetch, but has been paused.
|
|
90
|
-
* - `idle` - The query is not fetching.
|
|
91
|
-
*/
|
|
92
|
-
fetchStatus: QueryFetchStatus;
|
|
93
|
-
}
|