feat(BOOK-609): Using embedded url for assets instead of href since that is not updated when the asset is updated)

* feat(BOOK-609): Updated refs handling for assets inside content pages

Approved-by: Linus Flood
This commit is contained in:
Erik Tiekstra
2026-01-13 10:40:36 +00:00
parent 6ae4c7c805
commit 8d34089637
19 changed files with 194 additions and 147 deletions

View File

@@ -16,9 +16,10 @@ export type Node<T> = {
export type Embeds =
| {
__typename: Exclude<ContentBlockType, "ImageContainer">
system?: { uid: string } | undefined | null
url?: string | undefined | null
title?: string | undefined | null
system?: { uid: string } | null
url?: string | null
permanent_url?: string | null
title?: string | null
}
| {
__typename: "ImageContainer"