Skip to content

Search the guides, deployment pages, and API reference.

Reference

import type { Reference } from "@pitlane/content";

A resolved pointer from one entry to another, produced by c.reference(collection).

The collection type parameter is what stops a Reference<"blog"> reaching content.authors.getEntry.

Type Parameters

C

C extends string

Properties

collection

collection: C;

id

id: string;