@lowdefy/docs 4.0.0-rc.8 → 4.0.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2024 Lowdefy, Inc
|
|
3
3
|
|
|
4
4
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
5
|
you may not use this file except in compliance with the License.
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/ import { type } from '@lowdefy/helpers';
|
|
16
|
-
function custom_filter_default_value({ params
|
|
17
|
-
const { value
|
|
16
|
+
function custom_filter_default_value({ params }) {
|
|
17
|
+
const { value, defaultValue } = params;
|
|
18
18
|
const isEmptyObject = (obj)=>type.isObject(obj) && Object.keys(obj).length === 0;
|
|
19
19
|
const getNestedValue = (obj, path)=>{
|
|
20
20
|
const keys = [
|
|
@@ -25,7 +25,7 @@ function custom_filter_default_value({ params }) {
|
|
|
25
25
|
if (keys.length > 0 && type.isObject(value)) return getNestedValue(value, keys);
|
|
26
26
|
return value;
|
|
27
27
|
};
|
|
28
|
-
const filterObject = ({ obj
|
|
28
|
+
const filterObject = ({ obj, path })=>{
|
|
29
29
|
Object.keys(obj).forEach((key)=>{
|
|
30
30
|
const propPath = path.concat([
|
|
31
31
|
key
|
package/dist/operatorsClient.js
CHANGED
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/docs",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -35,24 +35,22 @@
|
|
|
35
35
|
"files": [
|
|
36
36
|
"dist/*"
|
|
37
37
|
],
|
|
38
|
-
"scripts": {
|
|
39
|
-
"build": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start",
|
|
40
|
-
"clean": "rm -rf .lowdefy",
|
|
41
|
-
"prepublishOnly": "pnpm build",
|
|
42
|
-
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
43
|
-
},
|
|
44
38
|
"dependencies": {
|
|
45
|
-
"@lowdefy/helpers": "4.0.0
|
|
39
|
+
"@lowdefy/helpers": "4.0.0"
|
|
46
40
|
},
|
|
47
41
|
"devDependencies": {
|
|
48
|
-
"@jest/globals": "28.1.
|
|
49
|
-
"@swc/cli": "0.1.
|
|
50
|
-
"@swc/core": "1.3.
|
|
51
|
-
"@swc/jest": "0.2.
|
|
52
|
-
"jest": "28.1.
|
|
42
|
+
"@jest/globals": "28.1.3",
|
|
43
|
+
"@swc/cli": "0.1.63",
|
|
44
|
+
"@swc/core": "1.3.99",
|
|
45
|
+
"@swc/jest": "0.2.29",
|
|
46
|
+
"jest": "28.1.3"
|
|
53
47
|
},
|
|
54
48
|
"publishConfig": {
|
|
55
49
|
"access": "public"
|
|
56
50
|
},
|
|
57
|
-
"
|
|
58
|
-
|
|
51
|
+
"scripts": {
|
|
52
|
+
"build": "swc src --out-dir dist --config-file ../../.swcrc --delete-dir-on-start",
|
|
53
|
+
"clean": "rm -rf .lowdefy",
|
|
54
|
+
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js"
|
|
55
|
+
}
|
|
56
|
+
}
|