Merged in feature/turbopack (pull request #3117)
Feature/turbopack * . * . * pin import-in-the-middle * update marker * revert back to using *.graphql.ts Approved-by: Linus Flood
This commit is contained in:
@@ -28,11 +28,12 @@ import { affix, getCityData, getCountryData } from "./utils"
|
||||
|
||||
import type { LanguageSwitcherData } from "@scandic-hotels/common/constants/language"
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
import type { DocumentNode } from "graphql"
|
||||
|
||||
import type { RawMetadataSchema } from "./output"
|
||||
|
||||
const fetchMetadata = cache(async function fetchMemoizedMetadata<T>(
|
||||
query: string,
|
||||
query: string | DocumentNode,
|
||||
{ uid, lang }: { uid: string; lang: Lang }
|
||||
) {
|
||||
const getMetadataCounter = createCounter("trpc.contentstack", "metadata.get")
|
||||
|
||||
Reference in New Issue
Block a user