Skip to content

PreviewSource

The preview sibling the annotated preview/resolve response puts on every Presentation envelope, inline value, and reference descriptor. entity/path is what a pin opens; a field pin is contentPath + [fieldKey]; binding is where a resolved reference sits in its parent; adapter says the content is mapped output with no authored field behind it.

optional adapter?: object

optional id?: string

optional inline?: true


optional binding?: object

entity: PreviewEntity

path: PreviewPath


optional contentPath?: PreviewPath


entity: PreviewEntity


optional fields?: Record<string, PreviewFieldFacts>


path: PreviewPath


optional settingsFields?: Record<string, PreviewFieldFacts>


optional synthetic?: true

Set on a boundary that belongs to the context a preview built around a presentation (a page the author never wrote), so there is no field of any document behind it. A site draws it as it draws any boundary; an editor treats it as context and opens nothing for it.