@steedos/standard-object-database 2.4.3 → 2.4.5
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.
|
@@ -177,6 +177,8 @@ fields:
|
|
|
177
177
|
type: currency
|
|
178
178
|
label: Precision
|
|
179
179
|
scale: 0
|
|
180
|
+
amis:
|
|
181
|
+
value: 18
|
|
180
182
|
# defaultValue: 18
|
|
181
183
|
visible_on: "{{
|
|
182
184
|
(function(){
|
|
@@ -214,6 +216,8 @@ fields:
|
|
|
214
216
|
label: Scale
|
|
215
217
|
scale: 0
|
|
216
218
|
# defaultValue: 2
|
|
219
|
+
amis:
|
|
220
|
+
value: 2
|
|
217
221
|
min: 0
|
|
218
222
|
inlineHelpText: If the field type is a Percent, this indicates the number of decimal places the field will display, for example, two decimal places will display as 10.20%.
|
|
219
223
|
visible_on: "{{
|
|
@@ -4,6 +4,14 @@ const objectql = require('@steedos/objectql');
|
|
|
4
4
|
const objectTree = require('../objects/objects.tree.js');
|
|
5
5
|
|
|
6
6
|
module.exports = {
|
|
7
|
+
beforeFind: async function () {
|
|
8
|
+
delete this.query.fields;
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
beforeAggregate: async function () {
|
|
12
|
+
delete this.query.fields;
|
|
13
|
+
},
|
|
14
|
+
|
|
7
15
|
afterFind: async function(){
|
|
8
16
|
let userId = this.userId
|
|
9
17
|
let spaceId = this.spaceId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@steedos/standard-object-database",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"main": "package.service.js",
|
|
5
5
|
"private": false,
|
|
6
6
|
"publishConfig": {
|
|
@@ -15,5 +15,5 @@
|
|
|
15
15
|
},
|
|
16
16
|
"repository": {},
|
|
17
17
|
"license": "MIT",
|
|
18
|
-
"gitHead": "
|
|
18
|
+
"gitHead": "f7a60f4fedc134e362a2db5903db606fc61802b2"
|
|
19
19
|
}
|