Skip to content

ConfigSource

Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:2

A config file’s content fetched from somewhere other than the local disk.

content: string

Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:8

The raw file content.


extension: string

Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:6

Which extension matched — what loadConfigFromContent needs as extension.


path: string

Defined in: cli/datapad/src/read-config-source/read-config-source.type.ts:4

The file name probed, e.g. holocron.config.ts — relative, as fetch was asked for it.