From 8830488215d92a0acfe1c84d6d407b933f3c88af Mon Sep 17 00:00:00 2001 From: "Leon Willens @ KMH GmbH" <162345713+kmhleonwillens@users.noreply.github.com> Date: Fri, 25 Apr 2025 11:37:05 +0200 Subject: [PATCH] export `DocumentParameter` and `OptionsParameter` from `useMutation.ts` --- packages/vue-apollo-composable/src/useMutation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/vue-apollo-composable/src/useMutation.ts b/packages/vue-apollo-composable/src/useMutation.ts index f785a29f..80438a1f 100644 --- a/packages/vue-apollo-composable/src/useMutation.ts +++ b/packages/vue-apollo-composable/src/useMutation.ts @@ -19,8 +19,8 @@ export interface UseMutationOptions< throws?: 'auto' | 'always' | 'never' } -type DocumentParameter = DocumentNode | Ref | ReactiveFunction | TypedDocumentNode | Ref> | ReactiveFunction> -type OptionsParameter = UseMutationOptions | Ref> | ReactiveFunction> +export type DocumentParameter = DocumentNode | Ref | ReactiveFunction | TypedDocumentNode | Ref> | ReactiveFunction> +export type OptionsParameter = UseMutationOptions | Ref> | ReactiveFunction> export type MutateOverrideOptions = Pick, 'update' | 'optimisticResponse' | 'context' | 'updateQueries' | 'refetchQueries' | 'awaitRefetchQueries' | 'errorPolicy' | 'fetchPolicy' | 'clientId'> export type MutateResult = Promise, Record> | null>