export type User = { readonly id: string readonly status: UserStatus readonly email: string readonly name?: string } export type UserEmailPatchForm = { readonly email: string } export type UserForm = { readonly status: UserStatus readonly email: string readonly name?: string } export type UserStatusPatchForm = { readonly status: UserStatus } export type UserStatus = 'active' | 'inactive' export type JSONValue = | string | number | boolean | { readonly [x: string]: JSONValue } | readonly JSONValue[]