Module

x/lume/plugins/relations.ts

🔥 Static site generator for Deno 🦕
Extremely Popular
Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v1.13.1/plugins/relations.ts";

Properties

extensions: string[]

The list of extensions this plugin applies to

idKey: string

The field name used to save the page id

typeKey: string

The field name used to save the page type

foreignKeys: Record<string, string | [string, string]>

The foreign keys per type (type => foreign_key)