Skip to main content

ConfigArgType

ConfigArgType

Certain entities (those which implement ConfigurableOperationDef) allow arbitrary configuration arguments to be specified which can then be set in the admin-ui and used in the business logic of the app. These are the valid data types of such arguments. The data type influences:

  1. How the argument form field is rendered in the admin-ui
  2. The JavaScript type into which the value is coerced before being passed to the business logic.
Signature
type ConfigArgType = 'string' | 'int' | 'float' | 'boolean' | 'datetime' | 'ID'