@forestadmin/datasource-toolkit
Advanced tools
Comparing version 1.12.1 to 1.13.0
@@ -59,5 +59,13 @@ /// <reference types="node" /> | ||
}; | ||
export type ActionFieldTextInputList = ActionFieldBase & { | ||
type: 'StringList'; | ||
widget: 'TextInputList'; | ||
placeholder?: string; | ||
enableReorder?: boolean; | ||
allowEmptyValues?: boolean; | ||
allowDuplicates?: boolean; | ||
}; | ||
export type ActionFieldDropdownAll = ActionFieldDropdown<'Date' | 'Dateonly' | 'Number' | 'String' | 'StringList', string> | ActionFieldDropdown<'Number', number>; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldCheckbox | ActionFieldTextInput>; | ||
export type ActionFieldWidget = 'Dropdown' | 'Checkbox' | 'TextInput'; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldCheckbox | ActionFieldTextInput | ActionFieldTextInputList>; | ||
export type ActionFieldWidget = 'Dropdown' | 'Checkbox' | 'TextInput' | 'TextInputList'; | ||
export type SuccessResult = { | ||
@@ -64,0 +72,0 @@ type: 'Success'; |
{ | ||
"name": "@forestadmin/datasource-toolkit", | ||
"version": "1.12.1", | ||
"version": "1.13.0", | ||
"main": "dist/src/index.js", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0", |
258994
2755