Developer Preview — This project is in active development. APIs may change. Provide feedback
Skip to content

@salesforce/b2c-tooling-sdk / cli / ConfigSourcesHookResult

Interface: ConfigSourcesHookResult

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:70

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?

optional priority: "before" | "after"

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:81

Where to insert sources relative to default sources.

  • 'before': Higher priority than dw.json/~/.mobify (plugin overrides defaults)
  • 'after': Lower priority than defaults (plugin fills gaps)

Default

ts
'after'

sources

sources: ConfigSource[]

Defined in: packages/b2c-tooling-sdk/src/cli/hooks.ts:72

Config sources to add to the resolution chain

All rights reserved.