← @mortar-kit/core

DocReftype

import { DocRef } from '@mortar-kit/core'

type DocRef = { id: string } | { slug: string }

Which document: by id or by slug.