Skip to content

Function: addField() ​

ts
function addField(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  id?: string;
  name?: string;
  showWhenEmpty?: boolean;
  type?: string;
}>;

Defined in: src/server/api/screens.ts:159

Adds field to the given tab.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ fieldId?: string; screenId: number; tabId: number; }-
parameters.fieldId?string-
parameters.screenId?numberId of screen
parameters.tabId?numberId of tab
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; id?: string; name?: string; showWhenEmpty?: boolean; type?: string; }>