ConfigDirArea
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:2
One area file loaded from a config directory.
Type Parameters
Section titled “Type Parameters”T = unknown
Properties
Section titled “Properties”area:
string
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:4
The area’s name, as passed in areas.
extension
Section titled “extension”extension:
string
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:8
Which extension matched.
filepath
Section titled “filepath”filepath:
string
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:10
Absolute path of the file.
path:
string
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:6
The file path relative to cwd, with / separators: .holocron/notifications.ts.
optionalroot?:ConfigDirArea<T>
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:17
The same area read from the repository root’s directory, when this one is the config’s own and the root has a
file for it too. Only areas named in shared are looked up there. Absent when the root has no such file.
value:
T
Defined in: cli/datapad/src/load-config-dir/load-config-dir.type.ts:12
The file’s default export (.ts, .js, .mjs, .cjs) or its parsed content (.json).