Skip to content

Commit 17093ab

Browse files
authored
feat: Export UseCreateConnectWebviewData type (#272)
1 parent 408a1fd commit 17093ab

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/lib/seam/connect-webviews/use-create-connect-webview.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,21 +12,22 @@ export interface UseCreateConnectWebviewParams {
1212
willNavigateToWebview?: boolean
1313
}
1414

15+
export type UseCreateConnectWebviewData = ConnectWebview
1516
export type UseCreateConnectWebviewMutationParams = ConnectWebviewCreateRequest
1617

1718
export function useCreateConnectWebview({
1819
willNavigateToWebview = false,
1920
}: UseCreateConnectWebviewParams = {}): UseMutationResult<
20-
ConnectWebview,
21+
UseCreateConnectWebviewData,
2122
SeamError,
22-
ConnectWebviewCreateRequest
23+
UseCreateConnectWebviewMutationParams
2324
> {
2425
const { client } = useSeamClient()
2526

2627
return useMutation<
2728
ConnectWebviewCreateResponse['connect_webview'],
2829
SeamError,
29-
UseCreateConnectWebviewMutationParams
30+
ConnectWebviewCreateRequest
3031
>({
3132
mutationFn: async (
3233
mutationParams: UseCreateConnectWebviewMutationParams

0 commit comments

Comments
 (0)