chore: add consistent type imports

This commit is contained in:
Christian Andolf
2024-12-09 14:36:56 +01:00
parent 9867a56cc8
commit e08e960209
172 changed files with 587 additions and 333 deletions
+3 -2
View File
@@ -1,5 +1,4 @@
import fetchRetry from "fetch-retry"
import { DocumentNode } from "graphql"
import { GraphQLClient } from "graphql-request"
import { cache } from "react"
@@ -8,7 +7,9 @@ import { getPreviewHash, isPreviewByUid } from "@/lib/previewContext"
import { request as _request } from "./_request"
import { Data } from "@/types/request"
import type { DocumentNode } from "graphql"
import type { Data } from "@/types/request"
export async function request<T>(
query: string | DocumentNode,