Skip to content

@salesforce/b2c-tooling-sdk / plugins / DiscoveredPlugin

Interface: DiscoveredPlugin ​

Defined in: packages/b2c-tooling-sdk/src/plugins/discovery.ts:21

A discovered plugin with its hook file paths.

Properties ​

hooks ​

hooks: Partial<Record<SupportedHookName, string[]>>

Defined in: packages/b2c-tooling-sdk/src/plugins/discovery.ts:27

Map of hook name to relative file path(s) within the plugin package


name ​

name: string

Defined in: packages/b2c-tooling-sdk/src/plugins/discovery.ts:23

Plugin package name


packageDir ​

packageDir: string

Defined in: packages/b2c-tooling-sdk/src/plugins/discovery.ts:25

Absolute path to the plugin's package directory

Released under the Apache-2.0 License.