Skip to content

Search the guides, deployment pages, and API reference.

GenerateIdOptions

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

Options handed to a loaders.glob generateId function.

Properties

base

base: string;

The directory the pattern resolved against.


data

data: Record<string, unknown>;

The parsed data of the entry, for an id derived from frontmatter.


entry

entry: string;

The matched path, relative to base.