[**@wocart/theme v4.1.0**](../../README)

***

[@wocart/theme](../../README) / [index](../README) / PreviewPageMessage

# Type Alias: PreviewPageMessage

> **PreviewPageMessage** = `object` & (\{ `instances`: [`PreviewInstance`](../interfaces/PreviewInstance)[]; `type`: `"ready"`; \} \| \{ `instances`: [`PreviewInstance`](../interfaces/PreviewInstance)[]; `type`: `"layout"`; \} \| \{ `instances`: [`PreviewInstance`](../interfaces/PreviewInstance)[]; `revision`: `number` \| `null`; `type`: `"rendered"`; \} \| \{ `id`: `string`; `type`: `"select"`; \} \| \{ `id`: `string` \| `null`; `type`: `"hover"`; \} \| \{ `reason`: `string`; `revision`: `number` \| `null`; `type`: `"error"`; \})

What the preview page tells the editor.

## Type Declaration

### source

> **source**: `"wocart-preview"`

### version

> **version**: *typeof* [`PREVIEW_PROTOCOL_VERSION`](../variables/PREVIEW_PROTOCOL_VERSION)
