@pumpkin-plugins/config API / schema / TableNode
Interface: TableNode<F>
Defined in: tools/config/src/schema.ts:16
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:25
Entries written into a fresh configuration file. Users may remove them afterwards.
description
readonlydescription:string
Defined in: tools/config/src/schema.ts:19
What the entries are for.
entryName
readonlyentryName:string
Defined in: tools/config/src/schema.ts:21
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:23
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.