@forestadmin/datasource-toolkit
Advanced tools
Comparing version 1.13.0 to 1.14.0
@@ -67,5 +67,11 @@ /// <reference types="node" /> | ||
}; | ||
export type ActionFieldTextArea = ActionFieldBase & { | ||
type: 'String'; | ||
widget: 'TextArea'; | ||
placeholder?: string; | ||
rows?: number; | ||
}; | ||
export type ActionFieldDropdownAll = ActionFieldDropdown<'Date' | 'Dateonly' | 'Number' | 'String' | 'StringList', string> | ActionFieldDropdown<'Number', number>; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldCheckbox | ActionFieldTextInput | ActionFieldTextInputList>; | ||
export type ActionFieldWidget = 'Dropdown' | 'Checkbox' | 'TextInput' | 'TextInputList'; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldCheckbox | ActionFieldTextInput | ActionFieldTextInputList | ActionFieldTextArea>; | ||
export type ActionFieldWidget = 'Dropdown' | 'Checkbox' | 'TextInput' | 'TextInputList' | 'TextArea'; | ||
export type SuccessResult = { | ||
@@ -72,0 +78,0 @@ type: 'Success'; |
{ | ||
"name": "@forestadmin/datasource-toolkit", | ||
"version": "1.13.0", | ||
"version": "1.14.0", | ||
"main": "dist/src/index.js", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0", |
259175
2761