@forestadmin/datasource-toolkit
Advanced tools
Comparing version 1.19.0 to 1.20.0
@@ -88,2 +88,9 @@ /// <reference types="node" /> | ||
}; | ||
export type ActionFieldColorPicker = ActionFieldBase & { | ||
type: 'String'; | ||
widget: 'ColorPicker'; | ||
placeholder?: string; | ||
enableOpacity?: boolean; | ||
quickPalette?: string[]; | ||
}; | ||
export type ActionFieldNumberInputList = ActionFieldBase & { | ||
@@ -102,4 +109,4 @@ widget: 'NumberInputList'; | ||
export type ActionFieldCheckboxGroupAll = ActionFieldLimitedValue<'CheckboxGroup', 'StringList', string> | ActionFieldLimitedValue<'CheckboxGroup', 'NumberList', number>; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldRadioGroupButtonAll | ActionFieldCheckboxGroupAll | ActionFieldCheckbox | ActionFieldTextInput | ActionFieldTextInputList | ActionFieldTextArea | ActionFieldRichText | ActionFieldNumberInput | ActionFieldNumberInputList>; | ||
export type ActionFieldWidget = 'Dropdown' | 'RadioGroup' | 'CheckboxGroup' | 'Checkbox' | 'TextInput' | 'TextInputList' | 'TextArea' | 'RichText' | 'NumberInput' | 'NumberInputList'; | ||
export type ActionField = StrictUnion<ActionFieldBase | ActionFieldEnum | ActionFieldEnumList | ActionFieldCollection | ActionFieldDropdownAll | ActionFieldRadioGroupButtonAll | ActionFieldCheckboxGroupAll | ActionFieldCheckbox | ActionFieldTextInput | ActionFieldTextInputList | ActionFieldTextArea | ActionFieldRichText | ActionFieldNumberInput | ActionFieldColorPicker | ActionFieldNumberInputList>; | ||
export type ActionFieldWidget = 'Dropdown' | 'RadioGroup' | 'CheckboxGroup' | 'Checkbox' | 'TextInput' | 'TextInputList' | 'TextArea' | 'RichText' | 'NumberInput' | 'NumberInputList' | 'ColorPicker'; | ||
export type SuccessResult = { | ||
@@ -106,0 +113,0 @@ type: 'Success'; |
{ | ||
"name": "@forestadmin/datasource-toolkit", | ||
"version": "1.19.0", | ||
"version": "1.20.0", | ||
"main": "dist/src/index.js", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
260787
2796