Docinterface
import { Doc } from '@mortar-kit/core'
interface Doc<F = Record<string, unknown>>One document of a collection.
Properties
id: stringStable id: references store it, so it never changes (unlike the slug).
slug: stringThe document's address within its collection, e.g.
hello-world. Unique per collection.position?: numberWhere the document is in its collection's manual order (lower first), when the collection is
orderable.createContentsets it: on the first save and onmove; saves keep the stored one.fields: FThe collection's fields.
entries?: PageEntry[]Brick entries; always an array when the collection has a body.