# draftToInput

**Kind:** Function

**Source:** [`atloria-monorepo/apps/web/src/app/app/projects/[id]/technical-docs/components/PlaygroundOAuth2Config.tsx`](https://github.com/sherkety/atloria/blob/main/atloria-monorepo/apps/web/src/app/app/projects/[id]/technical-docs/components/PlaygroundOAuth2Config.tsx#L156)

What gets sent. Only the active mode's fields — the other half would never be read.

## Signature

```ts
function draftToInput(draft: OAuth2Draft): PlaygroundOAuth2
```

## Parameters

| Name | Type |
|---|---|
| `draft` | `OAuth2Draft` |

**Returns:** `PlaygroundOAuth2`
