Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / discovery / DetectOptions

Interface: DetectOptions

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:81

Options for workspace detection.

Properties

additionalPatterns?

optional additionalPatterns: DetectionPattern[]

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:85

Additional patterns to include


excludePatterns?

optional excludePatterns: string[]

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:87

Patterns to exclude by name


maxDepth?

optional maxDepth: number

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:94

Maximum directory depth (in path segments, relative to the workspace root) that filesystem-scanning patterns recurse. Undefined means unbounded. Passed to each pattern via DetectionContext. Set this when detecting from a potentially broad root to keep the scan bounded.


patterns?

optional patterns: DetectionPattern[]

Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:83

Custom patterns to use (replaces defaults)

Released under the Apache-2.0 License.