# Interface: PhaseSettings

[Mobile Document Scanner API Reference](../index.md) / PhaseSettings

# Interface: PhaseSettings

Defined in: [src/settings/settings.ts:152](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L152)

The settings of each phase. A phase without settings runs with its defaults. Set
`rectify` or `edit` to `false` to turn that phase off. If the edit phase is off,
the thumbnail of the capture screen finishes the session, and the rectify screen
opens only after a capture.

## Properties

### capture?

> `optional` **capture?**: [`CaptureSettings`](CaptureSettings.md)

Defined in: [src/settings/settings.ts:153](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L153)

***

### edit?

> `optional` **edit?**: `false` \| [`EditSettings`](EditSettings.md)

Defined in: [src/settings/settings.ts:155](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L155)

***

### rectify?

> `optional` **rectify?**: `false` \| [`RectifySettings`](RectifySettings.md)

Defined in: [src/settings/settings.ts:154](https://github.com/Dynamsoft/document-scanner-javascript/blob/main/src/settings/settings.ts#L154)
