# Function: quickAddBody()

```ts
function quickAddBody(schema, text): Record<string, unknown> | null;
```

Defined in: [packages/core/src/schema/quick-add.ts:70](https://github.com/leifriksheim/minca/blob/main/core/src/schema/quick-add.ts#L70)

What one line of text makes: the field that names a record filled in, the
rest at their empty values. Null when something else is required that has
no sensible empty value; then a full form is the honest way in.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `schema` | [`JsonSchema`](https://minca.dev/api/core/type-aliases/JsonSchema.md) \| `null` |
| `text` | `string` |

## Returns

`Record`\<`string`, `unknown`\> \| `null`
