@salesforce/b2c-tooling-sdk / cli / ConfigSourcesHookResult
Interface: ConfigSourcesHookResult
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:71
Result returned by the b2c:config-sources hook.
Plugins return one or more ConfigSource instances that will be integrated into the configuration resolution chain.
Properties
priority?
optionalpriority:number|"before"|"after"
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:90
Priority for the returned sources. Can be a string or number:
String values (legacy, still supported):
'before': Maps to priority -1 (higher priority than defaults)'after': Maps to priority 10 (lower priority than defaults)
Numeric values (preferred):
- Any number. Lower numbers = higher priority.
- Built-in sources use priority 0.
- package.json uses priority 1000.
If a source already has a priority property set, it will not be overridden.
Default
ts
'after' (maps to 10)sources
sources:
ConfigSource[]
Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:73
Config sources to add to the resolution chain