@forestadmin/forestadmin-client 1.9.0 → 1.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/schema/types.d.ts +14 -1
- package/package.json +2 -2
package/dist/schema/types.d.ts
CHANGED
|
@@ -100,8 +100,21 @@ export type ForestServerActionFieldTextInputListOptions = {
|
|
|
100
100
|
allowEmptyValue?: boolean;
|
|
101
101
|
};
|
|
102
102
|
};
|
|
103
|
+
export type ForestServerActionFieldTextAreaOptions = {
|
|
104
|
+
name: 'text area editor';
|
|
105
|
+
parameters: {
|
|
106
|
+
placeholder?: string | null;
|
|
107
|
+
rows?: number;
|
|
108
|
+
};
|
|
109
|
+
};
|
|
110
|
+
export type ForestServerActionFieldRichTextOptions = {
|
|
111
|
+
name: 'rich text';
|
|
112
|
+
parameters: {
|
|
113
|
+
placeholder?: string | null;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
103
116
|
export type ForestServerActionFieldDropdown = ForestServerActionFieldCommon<'String' | 'Dateonly' | 'Date' | 'Timeonly', ForestServerActionFieldDropdownOptions<string>> | ForestServerActionFieldCommon<['String'], ForestServerActionFieldDropdownOptions<string[]>> | ForestServerActionFieldCommon<'Number', ForestServerActionFieldDropdownOptions<number>>;
|
|
104
|
-
export type ForestServerActionField = ForestServerActionFieldDropdown | ForestServerActionFieldBase | ForestServerActionFieldCommon<'Boolean', ForestServerActionFieldCheckboxOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldTextInputOptions> | ForestServerActionFieldCommon<['String'], ForestServerActionFieldTextInputListOptions>;
|
|
117
|
+
export type ForestServerActionField = ForestServerActionFieldDropdown | ForestServerActionFieldBase | ForestServerActionFieldCommon<'Boolean', ForestServerActionFieldCheckboxOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldTextInputOptions> | ForestServerActionFieldCommon<['String'], ForestServerActionFieldTextInputListOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldTextAreaOptions> | ForestServerActionFieldCommon<'String', ForestServerActionFieldRichTextOptions>;
|
|
105
118
|
export type ForestServerField = Partial<{
|
|
106
119
|
field: string;
|
|
107
120
|
type: ForestServerColumnType;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forestadmin/forestadmin-client",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.0",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"test": "jest"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
|
-
"@forestadmin/datasource-toolkit": "1.
|
|
34
|
+
"@forestadmin/datasource-toolkit": "1.15.0",
|
|
35
35
|
"@types/json-api-serializer": "^2.6.3",
|
|
36
36
|
"@types/jsonwebtoken": "^9.0.1",
|
|
37
37
|
"@types/superagent": "^4.1.16"
|