fix: get locale from page connection

This commit is contained in:
Christel Westerberg
2024-02-12 13:20:32 +01:00
parent 9ed73457f8
commit 1ba9672240
7 changed files with 20 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
import type { Image } from "../image"
import type { Edges } from "./utils/edges"
import type { Embeds } from "./embeds"
import type { ExternalLink } from "./utils/externalLink"
import type { TempPageLink } from "./utils/tempPageLink"
import type { PageLink } from "./utils/pageLink"
import type { RTEDocument } from "../rte/node"
@@ -13,7 +13,7 @@ export type Puff = {
title: string
}
link_text?: string
pageConnection: Edges<ExternalLink | PageLink>
pageConnection: Edges<TempPageLink | PageLink>
system: {
uid: string
}