Skip to content

five-on-it / apps/client/src/ui/admin / bodyOf

Function: bodyOf() ​

bodyOf(form): Record<string, unknown>

Defined in: apps/client/src/ui/admin.ts:120

The body a form sends: each limit given as a number (a text that is none goes as it is, for the API to refuse and say why), the exemption, the end date, the note.

Parameters ​

form ​

LimitsForm

Returns ​

Record<string, unknown>