---
editLink: false
lastUpdated: false
---

[@salesforce/b2c-tooling-sdk](../../modules.md) / [discovery](../index.md) / DetectionResult

# Interface: DetectionResult

Defined in: [packages/b2c-tooling-sdk/src/discovery/types.ts:69](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/discovery/types.ts#L69)

Result of workspace detection.

## Properties

### autoDiscovered

> **autoDiscovered**: `boolean`

Defined in: [packages/b2c-tooling-sdk/src/discovery/types.ts:75](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/discovery/types.ts#L75)

Whether auto-discovery was performed

***

### matchedPatterns

> **matchedPatterns**: `string`[]

Defined in: [packages/b2c-tooling-sdk/src/discovery/types.ts:73](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/discovery/types.ts#L73)

All patterns that matched

***

### projectTypes

> **projectTypes**: [`ProjectType`](../type-aliases/ProjectType.md)[]

Defined in: [packages/b2c-tooling-sdk/src/discovery/types.ts:71](https://github.com/SalesforceCommerceCloud/b2c-developer-tooling/blob/67fb8580ac3c5b372617ee3ec3fc8f2bc9f16174/packages/b2c-tooling-sdk/src/discovery/types.ts#L71)

All detected project types (from matched patterns)
