ReadConfigSourceOptions
Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:12
Options for fetching a config file’s content from a remote source.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”extensions?
Section titled “extensions?”
optionalextensions?: readonlystring[]
Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:22
Override the extension probe order.
fetch: (
path) =>Promise<string|undefined>
Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:20
Fetches one file by relative path (holocron.config.ts): its content, or
undefined when it doesn’t exist. Throw for anything else (a network
failure, a permission error) — that propagates rather than reading as “absent”.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<string | undefined>
name:
string
Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:14
Base name — "holocron" probes holocron.config.{ts,js,mjs,cjs,json}.