← @mortar-kit/admin/preview

DocMessageinterface

import { DocMessage } from '@mortar-kit/admin/preview'

interface DocMessage

Editor โ†’ preview: the full document to render, its collection's name and whether that collection has a body (sent on every change).

Properties

type: "mortar:doc"
collection: string
body: boolean
doc: Doc