← @mortar-kit/core

Referrerinterface

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

interface Referrer

A document holding a reference, and where. With entryId, path is inside that entry's data; otherwise it starts with 'fields'.

Properties

collection: string
id: string
slug: string
title: string
entryId?: string
path: (string | number)[]