@forestadmin/forestadmin-client
Advanced tools
Comparing version 1.27.8 to 1.28.0
@@ -43,2 +43,3 @@ import type { PrimitiveTypes } from '@forestadmin/datasource-toolkit'; | ||
fields: ForestServerActionField[]; | ||
layout?: ForestServerActionFormLayoutElement[]; | ||
hooks: { | ||
@@ -203,2 +204,10 @@ load: boolean; | ||
export type ForestServerActionFieldCheckboxGroup = ForestServerActionFieldCommon<['String'], ForestServerActionFieldCheckboxGroupOptions<string>> | ForestServerActionFieldCommon<['Number'], ForestServerActionFieldCheckboxGroupOptions<number>>; | ||
type ForestServerActionFormElementSeparator = { | ||
component: 'separator'; | ||
}; | ||
type ForestServerActionFormElementFieldReference = { | ||
component: 'input'; | ||
fieldId: string; | ||
}; | ||
export type ForestServerActionFormLayoutElement = ForestServerActionFormElementSeparator | ForestServerActionFormElementFieldReference; | ||
export type ForestServerActionField = ForestServerActionFieldDropdown | ForestServerActionFieldRadioGroup | ForestServerActionFieldCheckboxGroup | ForestServerActionFieldBase | ForestServerActionFieldCommon<'Boolean', ForestServerActionFieldCheckboxOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldTextInputOptions> | ForestServerActionFieldCommon<'Date', ForestServerActionFieldDatePickerInputOptions> | ForestServerActionFieldCommon<['String'], ForestServerActionFieldTextInputListOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldTextAreaOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldUserDropdown> | ForestServerActionFieldCommon<'String', ForestServerActionFieldRichTextOptions> | ForestServerActionFieldCommon<'Time', ForestServerActionFieldTimePickerOptions> | ForestServerActionFieldCommon<'Number', ForestServerActionFieldNumberInputOptions> | ForestServerActionFieldCommon<'Number', ForestServerActionFieldCurrencyInputOptions> | ForestServerActionFieldCommon<['Number'], ForestServerActionFieldNumberInputListOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldColorPickerOptions> | ForestServerActionFieldCommon<'File' | ['File'], ForestServerActionFieldFilePickerOptions> | ForestServerActionFieldCommon<'Json', ForestServerActionFieldJsonEditorOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldAddressAutocompleteOptions>; | ||
@@ -205,0 +214,0 @@ export type ForestServerField = Partial<{ |
{ | ||
"name": "@forestadmin/forestadmin-client", | ||
"version": "1.27.8", | ||
"version": "1.28.0", | ||
"main": "dist/index.js", | ||
@@ -34,3 +34,3 @@ "license": "GPL-3.0", | ||
"devDependencies": { | ||
"@forestadmin/datasource-toolkit": "1.34.5", | ||
"@forestadmin/datasource-toolkit": "1.35.0", | ||
"@types/json-api-serializer": "^2.6.3", | ||
@@ -37,0 +37,0 @@ "@types/jsonwebtoken": "^9.0.1", |
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
220292
2633