@lowdefy/operators-js 4.5.1 → 4.6.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/index.js +1 -1
- package/dist/operators/build/env.js +2 -1
- package/dist/operators/build/env.schema.js +61 -0
- package/dist/operators/client/_index.js +2 -1
- package/dist/operators/client/actions.js +2 -1
- package/dist/operators/client/actions.schema.js +61 -0
- package/dist/operators/client/api.js +4 -3
- package/dist/operators/client/api.schema.js +21 -0
- package/dist/operators/client/base64.js +2 -1
- package/dist/operators/client/base64.schema.js +21 -0
- package/dist/operators/client/event.js +2 -1
- package/dist/operators/client/event.schema.js +61 -0
- package/dist/operators/client/event_log.js +2 -1
- package/dist/operators/client/event_log.schema.js +61 -0
- package/dist/operators/client/global.js +2 -1
- package/dist/operators/client/global.schema.js +61 -0
- package/dist/operators/client/index.schema.js +22 -0
- package/dist/operators/client/input.js +2 -1
- package/dist/operators/client/input.schema.js +61 -0
- package/dist/operators/client/js.js +9 -3
- package/dist/operators/client/js.schema.js +21 -0
- package/dist/operators/client/location.js +4 -3
- package/dist/operators/client/location.schema.js +35 -0
- package/dist/operators/client/media.js +3 -2
- package/dist/operators/client/media.schema.js +59 -0
- package/dist/operators/client/menu.js +2 -1
- package/dist/operators/client/menu.schema.js +54 -0
- package/dist/operators/client/request.js +4 -3
- package/dist/operators/client/request.schema.js +21 -0
- package/dist/operators/client/request_details.js +2 -1
- package/dist/operators/client/request_details.schema.js +61 -0
- package/dist/operators/client/url_query.js +3 -2
- package/dist/operators/client/url_query.schema.js +61 -0
- package/dist/operators/server/base64.js +2 -1
- package/dist/operators/server/base64.schema.js +21 -0
- package/dist/operators/server/hash.js +2 -1
- package/dist/operators/server/hash.schema.js +21 -0
- package/dist/operators/server/item.js +2 -1
- package/dist/operators/server/item.schema.js +61 -0
- package/dist/operators/server/js.js +8 -2
- package/dist/operators/server/js.schema.js +21 -0
- package/dist/operators/server/payload.js +2 -1
- package/dist/operators/server/payload.schema.js +61 -0
- package/dist/operators/server/secret.js +3 -2
- package/dist/operators/server/secret.schema.js +50 -0
- package/dist/operators/server/step.js +2 -1
- package/dist/operators/server/step.schema.js +61 -0
- package/dist/operators/shared/and.js +4 -3
- package/dist/operators/shared/and.schema.js +21 -0
- package/dist/operators/shared/args.js +2 -1
- package/dist/operators/shared/args.schema.js +61 -0
- package/dist/operators/shared/array.js +2 -1
- package/dist/operators/shared/array.schema.js +20 -0
- package/dist/operators/shared/date.js +59 -28
- package/dist/operators/shared/date.schema.js +20 -0
- package/dist/operators/shared/divide.js +7 -6
- package/dist/operators/shared/divide.schema.js +26 -0
- package/dist/operators/shared/eq.js +5 -4
- package/dist/operators/shared/eq.schema.js +23 -0
- package/dist/operators/shared/function.js +3 -2
- package/dist/operators/shared/function.schema.js +20 -0
- package/dist/operators/shared/get.js +4 -3
- package/dist/operators/shared/get.schema.js +40 -0
- package/dist/operators/shared/gt.js +5 -4
- package/dist/operators/shared/gt.schema.js +23 -0
- package/dist/operators/shared/gte.js +5 -4
- package/dist/operators/shared/gte.schema.js +23 -0
- package/dist/operators/shared/if.js +4 -3
- package/dist/operators/shared/if.schema.js +36 -0
- package/dist/operators/shared/if_none.js +5 -4
- package/dist/operators/shared/if_none.schema.js +23 -0
- package/dist/operators/shared/intl.js +2 -1
- package/dist/operators/shared/intl.schema.js +20 -0
- package/dist/operators/shared/json.js +2 -1
- package/dist/operators/shared/json.schema.js +20 -0
- package/dist/operators/shared/log.js +2 -1
- package/dist/operators/shared/log.schema.js +20 -0
- package/dist/operators/shared/lt.js +5 -4
- package/dist/operators/shared/lt.schema.js +23 -0
- package/dist/operators/shared/lte.js +5 -4
- package/dist/operators/shared/lte.schema.js +23 -0
- package/dist/operators/shared/math.js +5 -2
- package/dist/operators/shared/math.schema.js +20 -0
- package/dist/operators/shared/ne.js +5 -4
- package/dist/operators/shared/ne.schema.js +23 -0
- package/dist/operators/shared/not.js +2 -1
- package/dist/operators/shared/not.schema.js +21 -0
- package/dist/operators/shared/number.js +2 -1
- package/dist/operators/shared/number.schema.js +20 -0
- package/dist/operators/shared/object.js +2 -1
- package/dist/operators/shared/object.schema.js +20 -0
- package/dist/operators/shared/operator.js +6 -5
- package/dist/operators/shared/operator.schema.js +33 -0
- package/dist/operators/shared/or.js +4 -3
- package/dist/operators/shared/or.schema.js +21 -0
- package/dist/operators/shared/product.js +4 -3
- package/dist/operators/shared/product.schema.js +24 -0
- package/dist/operators/shared/random.js +14 -18
- package/dist/operators/shared/random.schema.js +60 -0
- package/dist/operators/shared/regex.js +8 -6
- package/dist/operators/shared/regex.schema.js +50 -0
- package/dist/operators/shared/state.js +2 -1
- package/dist/operators/shared/state.schema.js +61 -0
- package/dist/operators/shared/string.js +2 -1
- package/dist/operators/shared/string.schema.js +20 -0
- package/dist/operators/shared/subtract.js +6 -5
- package/dist/operators/shared/subtract.schema.js +26 -0
- package/dist/operators/shared/sum.js +4 -3
- package/dist/operators/shared/sum.schema.js +24 -0
- package/dist/operators/shared/switch.js +5 -4
- package/dist/operators/shared/switch.schema.js +49 -0
- package/dist/operators/shared/type.js +4 -3
- package/dist/operators/shared/type.schema.js +71 -0
- package/dist/operators/shared/uri.js +2 -1
- package/dist/operators/shared/uri.schema.js +21 -0
- package/dist/operators/shared/user.js +2 -1
- package/dist/operators/shared/user.schema.js +61 -0
- package/dist/operatorsBuild.js +1 -1
- package/dist/operatorsClient.js +1 -1
- package/dist/operatorsServer.js +1 -1
- package/dist/schemas.js +74 -0
- package/dist/types.js +1 -1
- package/package.json +4 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 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,9 +13,9 @@
|
|
|
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 _sum({ params
|
|
16
|
+
function _sum({ params }) {
|
|
17
17
|
if (!type.isArray(params)) {
|
|
18
|
-
throw new Error(`
|
|
18
|
+
throw new Error(`_sum takes an array type as input.`);
|
|
19
19
|
}
|
|
20
20
|
return params.reduce((accumulator, value)=>{
|
|
21
21
|
if (type.isNumber(value)) {
|
|
@@ -24,4 +24,5 @@ function _sum({ params, location }) {
|
|
|
24
24
|
return accumulator;
|
|
25
25
|
}, 0);
|
|
26
26
|
}
|
|
27
|
+
_sum.dynamic = false;
|
|
27
28
|
export default _sum;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
params: {
|
|
18
|
+
type: 'array',
|
|
19
|
+
items: {
|
|
20
|
+
type: 'number'
|
|
21
|
+
},
|
|
22
|
+
description: 'Array of numbers to sum.'
|
|
23
|
+
}
|
|
24
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 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,13 +13,13 @@
|
|
|
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 _switch({
|
|
16
|
+
function _switch({ params }) {
|
|
17
17
|
if (!type.isArray(params.branches)) {
|
|
18
|
-
throw new Error(`
|
|
18
|
+
throw new Error(`_switch takes an array type as input for the branches.`);
|
|
19
19
|
}
|
|
20
20
|
for (const branch of params.branches){
|
|
21
21
|
if (!type.isBoolean(branch.if)) {
|
|
22
|
-
throw new Error(`
|
|
22
|
+
throw new Error(`_switch takes a boolean type for parameter "if".`);
|
|
23
23
|
}
|
|
24
24
|
if (branch.if === true) {
|
|
25
25
|
return branch.then;
|
|
@@ -27,4 +27,5 @@ function _switch({ location, params }) {
|
|
|
27
27
|
}
|
|
28
28
|
return params.default;
|
|
29
29
|
}
|
|
30
|
+
_switch.dynamic = false;
|
|
30
31
|
export default _switch;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
params: {
|
|
18
|
+
type: 'object',
|
|
19
|
+
required: [
|
|
20
|
+
'branches'
|
|
21
|
+
],
|
|
22
|
+
properties: {
|
|
23
|
+
branches: {
|
|
24
|
+
type: 'array',
|
|
25
|
+
items: {
|
|
26
|
+
type: 'object',
|
|
27
|
+
required: [
|
|
28
|
+
'if'
|
|
29
|
+
],
|
|
30
|
+
properties: {
|
|
31
|
+
if: {
|
|
32
|
+
type: 'boolean',
|
|
33
|
+
description: 'Boolean condition for this branch.'
|
|
34
|
+
},
|
|
35
|
+
then: {
|
|
36
|
+
description: 'Value returned when condition is true.'
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
additionalProperties: false
|
|
40
|
+
},
|
|
41
|
+
description: 'Array of conditional branches.'
|
|
42
|
+
},
|
|
43
|
+
default: {
|
|
44
|
+
description: 'Value returned when no branch matches.'
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
additionalProperties: false
|
|
48
|
+
}
|
|
49
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 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.
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
function _type({ location, params, state }) {
|
|
17
17
|
const typeName = type.isObject(params) ? params.type : params;
|
|
18
18
|
if (!type.isString(typeName)) {
|
|
19
|
-
throw new Error(`
|
|
19
|
+
throw new Error(`_type.type must be a string.`);
|
|
20
20
|
}
|
|
21
21
|
const on = Object.prototype.hasOwnProperty.call(params, 'on') ? params.on : get(state, get(params, 'key', {
|
|
22
22
|
default: location
|
|
@@ -45,7 +45,8 @@ function _type({ location, params, state }) {
|
|
|
45
45
|
case 'primitive':
|
|
46
46
|
return type.isPrimitive(on);
|
|
47
47
|
default:
|
|
48
|
-
throw new Error(`
|
|
48
|
+
throw new Error(`"${typeName}" is not a valid _type test.`);
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
|
+
_type.dynamic = true;
|
|
51
52
|
export default _type;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
params: {
|
|
18
|
+
oneOf: [
|
|
19
|
+
{
|
|
20
|
+
type: 'string',
|
|
21
|
+
enum: [
|
|
22
|
+
'string',
|
|
23
|
+
'array',
|
|
24
|
+
'date',
|
|
25
|
+
'object',
|
|
26
|
+
'boolean',
|
|
27
|
+
'number',
|
|
28
|
+
'integer',
|
|
29
|
+
'null',
|
|
30
|
+
'undefined',
|
|
31
|
+
'none',
|
|
32
|
+
'primitive'
|
|
33
|
+
],
|
|
34
|
+
description: 'Type name to test against state value at current location.'
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'object',
|
|
38
|
+
required: [
|
|
39
|
+
'type'
|
|
40
|
+
],
|
|
41
|
+
properties: {
|
|
42
|
+
type: {
|
|
43
|
+
type: 'string',
|
|
44
|
+
enum: [
|
|
45
|
+
'string',
|
|
46
|
+
'array',
|
|
47
|
+
'date',
|
|
48
|
+
'object',
|
|
49
|
+
'boolean',
|
|
50
|
+
'number',
|
|
51
|
+
'integer',
|
|
52
|
+
'null',
|
|
53
|
+
'undefined',
|
|
54
|
+
'none',
|
|
55
|
+
'primitive'
|
|
56
|
+
],
|
|
57
|
+
description: 'Type name to test.'
|
|
58
|
+
},
|
|
59
|
+
on: {
|
|
60
|
+
description: 'Value to test the type of.'
|
|
61
|
+
},
|
|
62
|
+
key: {
|
|
63
|
+
type: 'string',
|
|
64
|
+
description: 'State key to test the type of.'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
additionalProperties: false
|
|
68
|
+
}
|
|
69
|
+
]
|
|
70
|
+
}
|
|
71
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 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.
|
|
@@ -47,4 +47,5 @@ function _uri({ params, location, methodName }) {
|
|
|
47
47
|
params
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
|
+
_uri.dynamic = false;
|
|
50
51
|
export default _uri;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
params: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'String value to encode or decode.'
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
Copyright 2020-
|
|
2
|
+
Copyright 2020-2026 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.
|
|
@@ -22,4 +22,5 @@ function _user({ arrayIndices, location, params, user }) {
|
|
|
22
22
|
params
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
|
+
_user.dynamic = true;
|
|
25
26
|
export default _user;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ export default {
|
|
16
|
+
type: 'object',
|
|
17
|
+
params: {
|
|
18
|
+
oneOf: [
|
|
19
|
+
{
|
|
20
|
+
type: 'string',
|
|
21
|
+
description: 'Dot-notation path to value in user object.'
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
type: 'integer',
|
|
25
|
+
description: 'Index to access in user object.'
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
type: 'boolean',
|
|
29
|
+
enum: [
|
|
30
|
+
true
|
|
31
|
+
],
|
|
32
|
+
description: 'Return all user data.'
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
type: 'object',
|
|
36
|
+
properties: {
|
|
37
|
+
key: {
|
|
38
|
+
oneOf: [
|
|
39
|
+
{
|
|
40
|
+
type: 'string',
|
|
41
|
+
description: 'Dot-notation path to value in user object.'
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: 'integer',
|
|
45
|
+
description: 'Index to access in user object.'
|
|
46
|
+
}
|
|
47
|
+
]
|
|
48
|
+
},
|
|
49
|
+
default: {
|
|
50
|
+
description: 'Default value if key does not exist.'
|
|
51
|
+
},
|
|
52
|
+
all: {
|
|
53
|
+
type: 'boolean',
|
|
54
|
+
description: 'Return all user data.'
|
|
55
|
+
}
|
|
56
|
+
},
|
|
57
|
+
additionalProperties: false
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
};
|
package/dist/operatorsBuild.js
CHANGED
package/dist/operatorsClient.js
CHANGED
package/dist/operatorsServer.js
CHANGED
package/dist/schemas.js
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2020-2026 Lowdefy, Inc
|
|
3
|
+
|
|
4
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
you may not use this file except in compliance with the License.
|
|
6
|
+
You may obtain a copy of the License at
|
|
7
|
+
|
|
8
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
|
|
10
|
+
Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
See the License for the specific language governing permissions and
|
|
14
|
+
limitations under the License.
|
|
15
|
+
*/ // Shared operators
|
|
16
|
+
export { default as _and } from './operators/shared/and.schema.js';
|
|
17
|
+
export { default as _args } from './operators/shared/args.schema.js';
|
|
18
|
+
export { default as _array } from './operators/shared/array.schema.js';
|
|
19
|
+
export { default as _date } from './operators/shared/date.schema.js';
|
|
20
|
+
export { default as _divide } from './operators/shared/divide.schema.js';
|
|
21
|
+
export { default as _eq } from './operators/shared/eq.schema.js';
|
|
22
|
+
export { default as _function } from './operators/shared/function.schema.js';
|
|
23
|
+
export { default as _get } from './operators/shared/get.schema.js';
|
|
24
|
+
export { default as _gt } from './operators/shared/gt.schema.js';
|
|
25
|
+
export { default as _gte } from './operators/shared/gte.schema.js';
|
|
26
|
+
export { default as _if_none } from './operators/shared/if_none.schema.js';
|
|
27
|
+
export { default as _if } from './operators/shared/if.schema.js';
|
|
28
|
+
export { default as _intl } from './operators/shared/intl.schema.js';
|
|
29
|
+
export { default as _json } from './operators/shared/json.schema.js';
|
|
30
|
+
export { default as _log } from './operators/shared/log.schema.js';
|
|
31
|
+
export { default as _lt } from './operators/shared/lt.schema.js';
|
|
32
|
+
export { default as _lte } from './operators/shared/lte.schema.js';
|
|
33
|
+
export { default as _math } from './operators/shared/math.schema.js';
|
|
34
|
+
export { default as _ne } from './operators/shared/ne.schema.js';
|
|
35
|
+
export { default as _not } from './operators/shared/not.schema.js';
|
|
36
|
+
export { default as _number } from './operators/shared/number.schema.js';
|
|
37
|
+
export { default as _object } from './operators/shared/object.schema.js';
|
|
38
|
+
export { default as _operator } from './operators/shared/operator.schema.js';
|
|
39
|
+
export { default as _or } from './operators/shared/or.schema.js';
|
|
40
|
+
export { default as _product } from './operators/shared/product.schema.js';
|
|
41
|
+
export { default as _random } from './operators/shared/random.schema.js';
|
|
42
|
+
export { default as _regex } from './operators/shared/regex.schema.js';
|
|
43
|
+
export { default as _state } from './operators/shared/state.schema.js';
|
|
44
|
+
export { default as _string } from './operators/shared/string.schema.js';
|
|
45
|
+
export { default as _subtract } from './operators/shared/subtract.schema.js';
|
|
46
|
+
export { default as _sum } from './operators/shared/sum.schema.js';
|
|
47
|
+
export { default as _switch } from './operators/shared/switch.schema.js';
|
|
48
|
+
export { default as _type } from './operators/shared/type.schema.js';
|
|
49
|
+
export { default as _uri } from './operators/shared/uri.schema.js';
|
|
50
|
+
export { default as _user } from './operators/shared/user.schema.js';
|
|
51
|
+
// Client operators
|
|
52
|
+
export { default as _actions } from './operators/client/actions.schema.js';
|
|
53
|
+
export { default as _api } from './operators/client/api.schema.js';
|
|
54
|
+
export { default as _base64 } from './operators/client/base64.schema.js';
|
|
55
|
+
export { default as _event } from './operators/client/event.schema.js';
|
|
56
|
+
export { default as _event_log } from './operators/client/event_log.schema.js';
|
|
57
|
+
export { default as _global } from './operators/client/global.schema.js';
|
|
58
|
+
export { default as _index } from './operators/client/index.schema.js';
|
|
59
|
+
export { default as _input } from './operators/client/input.schema.js';
|
|
60
|
+
export { default as _js } from './operators/client/js.schema.js';
|
|
61
|
+
export { default as _location } from './operators/client/location.schema.js';
|
|
62
|
+
export { default as _media } from './operators/client/media.schema.js';
|
|
63
|
+
export { default as _menu } from './operators/client/menu.schema.js';
|
|
64
|
+
export { default as _request } from './operators/client/request.schema.js';
|
|
65
|
+
export { default as _request_details } from './operators/client/request_details.schema.js';
|
|
66
|
+
export { default as _url_query } from './operators/client/url_query.schema.js';
|
|
67
|
+
// Server operators
|
|
68
|
+
export { default as _hash } from './operators/server/hash.schema.js';
|
|
69
|
+
export { default as _item } from './operators/server/item.schema.js';
|
|
70
|
+
export { default as _payload } from './operators/server/payload.schema.js';
|
|
71
|
+
export { default as _secret } from './operators/server/secret.schema.js';
|
|
72
|
+
export { default as _step } from './operators/server/step.schema.js';
|
|
73
|
+
// Build operators
|
|
74
|
+
export { default as _env } from './operators/build/env.schema.js';
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/operators-js",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -36,14 +36,15 @@
|
|
|
36
36
|
"./operators/build": "./dist/operatorsBuild.js",
|
|
37
37
|
"./operators/client": "./dist/operatorsClient.js",
|
|
38
38
|
"./operators/server": "./dist/operatorsServer.js",
|
|
39
|
+
"./schemas": "./dist/schemas.js",
|
|
39
40
|
"./types": "./dist/types.js"
|
|
40
41
|
},
|
|
41
42
|
"files": [
|
|
42
43
|
"dist/*"
|
|
43
44
|
],
|
|
44
45
|
"dependencies": {
|
|
45
|
-
"@lowdefy/helpers": "4.
|
|
46
|
-
"@lowdefy/operators": "4.
|
|
46
|
+
"@lowdefy/helpers": "4.6.0",
|
|
47
|
+
"@lowdefy/operators": "4.6.0"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
50
|
"@jest/globals": "28.1.3",
|