@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?
optionaladditionalPatterns:DetectionPattern[]
Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:85
Additional patterns to include
excludePatterns?
optionalexcludePatterns:string[]
Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:87
Patterns to exclude by name
maxDepth?
optionalmaxDepth: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?
optionalpatterns:DetectionPattern[]
Defined in: packages/b2c-tooling-sdk/src/discovery/types.ts:83
Custom patterns to use (replaces defaults)