Skip to content

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.

optional extensions?: readonly string[]

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”.

string

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}.