@pumpkin-plugins/config API / schema / TableNode
Interface: TableNode<F>
Defined in: tools/config/src/schema.ts:17
A table of named entries that share the same optional settings, such as per-file overrides. Entries are written as [name."entry"] tables and are user data: they are kept as they are.
Type Parameters
F
Properties
defaults?
readonlyoptionaldefaults?:TableValues<F>
Defined in: tools/config/src/schema.ts:19
Initial entries for fresh files, with omitted field defaults filled. Config users may remove them later.
description
readonlydescription:string
Defined in: tools/config/src/schema.ts:21
What the entries are for.
entryName
readonlyentryName:string
Defined in: tools/config/src/schema.ts:23
What an entry is named after in the documentation, such as file for overrides."<file>".
exampleKey
readonlyexampleKey:string
Defined in: tools/config/src/schema.ts:25
An entry name used in the commented example.
fields
readonlyfields:F
Defined in: tools/config/src/schema.ts:27
The settings every entry may have. They are all optional.