Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/lume/plugins/relations.ts>Options

🔥 Static site generator for Deno 🦕
Very Popular
Go to Latest
interface Options
import { type Options } from "https://deno.land/x/lume@v1.19.0/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 | ForeignKeyOptions>

The foreign keys per type (type => foreign_key)