@forestadmin/forestadmin-client 1.1.11 → 1.1.13
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 +2 -12
- package/dist/schema/types.js +1 -14
- package/package.json +2 -2
package/dist/schema/types.d.ts
CHANGED
|
@@ -75,22 +75,12 @@ export type ForestServerField = Partial<{
|
|
|
75
75
|
validations: Array<{
|
|
76
76
|
message: string | null;
|
|
77
77
|
type: ValidationType;
|
|
78
|
-
value
|
|
78
|
+
value?: unknown;
|
|
79
79
|
}>;
|
|
80
80
|
}>;
|
|
81
81
|
export type ForestServerSegment = {
|
|
82
82
|
id: string;
|
|
83
83
|
name: string;
|
|
84
84
|
};
|
|
85
|
-
export
|
|
86
|
-
Present = "is present",
|
|
87
|
-
GreaterThan = "is greater than",
|
|
88
|
-
LessThan = "is less than",
|
|
89
|
-
Before = "is before",
|
|
90
|
-
After = "is after",
|
|
91
|
-
LongerThan = "is longer than",
|
|
92
|
-
ShorterThan = "is shorter than",
|
|
93
|
-
Contains = "contains",
|
|
94
|
-
Like = "is like"
|
|
95
|
-
}
|
|
85
|
+
export type ValidationType = 'contains' | 'is after' | 'is before' | 'is greater than' | 'is less than' | 'is like' | 'is longer than' | 'is present' | 'is shorter than';
|
|
96
86
|
//# sourceMappingURL=types.d.ts.map
|
package/dist/schema/types.js
CHANGED
|
@@ -1,16 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
|
|
4
|
-
var ValidationType;
|
|
5
|
-
(function (ValidationType) {
|
|
6
|
-
ValidationType["Present"] = "is present";
|
|
7
|
-
ValidationType["GreaterThan"] = "is greater than";
|
|
8
|
-
ValidationType["LessThan"] = "is less than";
|
|
9
|
-
ValidationType["Before"] = "is before";
|
|
10
|
-
ValidationType["After"] = "is after";
|
|
11
|
-
ValidationType["LongerThan"] = "is longer than";
|
|
12
|
-
ValidationType["ShorterThan"] = "is shorter than";
|
|
13
|
-
ValidationType["Contains"] = "contains";
|
|
14
|
-
ValidationType["Like"] = "is like";
|
|
15
|
-
})(ValidationType = exports.ValidationType || (exports.ValidationType = {}));
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2NoZW1hL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQXNGQSxJQUFZLGNBVVg7QUFWRCxXQUFZLGNBQWM7SUFDeEIsd0NBQXNCLENBQUE7SUFDdEIsaURBQStCLENBQUE7SUFDL0IsMkNBQXlCLENBQUE7SUFDekIsc0NBQW9CLENBQUE7SUFDcEIsb0NBQWtCLENBQUE7SUFDbEIsK0NBQTZCLENBQUE7SUFDN0IsaURBQStCLENBQUE7SUFDL0IsdUNBQXFCLENBQUE7SUFDckIsa0NBQWdCLENBQUE7QUFDbEIsQ0FBQyxFQVZXLGNBQWMsR0FBZCxzQkFBYyxLQUFkLHNCQUFjLFFBVXpCIn0=
|
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHlwZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvc2NoZW1hL3R5cGVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forestadmin/forestadmin-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.13",
|
|
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.5.0",
|
|
35
35
|
"@types/json-api-serializer": "^2.6.3",
|
|
36
36
|
"@types/jsonwebtoken": "^9.0.1",
|
|
37
37
|
"@types/lru-cache": "^7.10.10",
|