diff --git a/src/types/value/contentRelationship.ts b/src/types/value/contentRelationship.ts index 18919c3a..073c22a5 100644 --- a/src/types/value/contentRelationship.ts +++ b/src/types/value/contentRelationship.ts @@ -1,6 +1,7 @@ import type { AnyRegularField, FieldState } from "./types" import type { GroupField } from "./group" +import type { KeyTextField } from "./keyText" import type { EmptyLinkField, LinkType } from "./link" import type { SliceZone } from "./sliceZone" @@ -44,5 +45,5 @@ export interface FilledContentRelationshipField< slug?: string isBroken?: boolean data?: DataInterface - text?: string + text?: KeyTextField } diff --git a/src/types/value/link.ts b/src/types/value/link.ts index d0a67791..e5d92324 100644 --- a/src/types/value/link.ts +++ b/src/types/value/link.ts @@ -2,6 +2,7 @@ import type { AnyRegularField, FieldState } from "./types" import type { ContentRelationshipField } from "./contentRelationship" import type { GroupField } from "./group" +import type { KeyTextField } from "./keyText" import type { LinkToMediaField } from "./linkToMedia" import type { SliceZone } from "./sliceZone" @@ -33,7 +34,7 @@ export interface FilledLinkToWebField { link_type: typeof LinkType.Web url: string target?: string - text?: string + text?: KeyTextField } /** diff --git a/src/types/value/linkToMedia.ts b/src/types/value/linkToMedia.ts index 85d1a92c..48568783 100644 --- a/src/types/value/linkToMedia.ts +++ b/src/types/value/linkToMedia.ts @@ -1,5 +1,6 @@ import type { FieldState } from "./types" +import type { KeyTextField } from "./keyText" import type { EmptyLinkField, LinkType } from "./link" /** @@ -24,5 +25,5 @@ export interface FilledLinkToMediaField { size: string height?: string | null width?: string | null - text?: string + text?: KeyTextField }