@lowdefy/actions-core 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/actions/{CallAPI.js → CallAPI/CallAPI.js} +1 -1
- package/dist/actions/CallAPI/schema.js +7 -0
- package/dist/actions/{CallMethod.js → CallMethod/CallMethod.js} +1 -1
- package/dist/actions/CallMethod/schema.js +25 -0
- package/dist/actions/{CopyToClipboard.js → CopyToClipboard/CopyToClipboard.js} +1 -1
- package/dist/actions/CopyToClipboard/schema.js +16 -0
- package/dist/actions/{DisplayMessage.js → DisplayMessage/DisplayMessage.js} +2 -2
- package/dist/actions/DisplayMessage/schema.js +28 -0
- package/dist/actions/{Fetch.js → Fetch/Fetch.js} +1 -1
- package/dist/actions/Fetch/schema.js +31 -0
- package/dist/actions/{GeolocationCurrentPosition.js → GeolocationCurrentPosition/GeolocationCurrentPosition.js} +1 -1
- package/dist/actions/GeolocationCurrentPosition/schema.js +21 -0
- package/dist/actions/{Link.js → Link/Link.js} +5 -4
- package/dist/actions/Link/schema.js +37 -0
- package/dist/actions/{Login.js → Login/Login.js} +1 -1
- package/dist/actions/Login/schema.js +17 -0
- package/dist/actions/{Logout.js → Logout/Logout.js} +1 -1
- package/dist/actions/Logout/schema.js +6 -0
- package/dist/actions/{Request.js → Request/Request.js} +1 -1
- package/dist/actions/Request/schema.js +22 -0
- package/dist/actions/{Reset.js → Reset/Reset.js} +1 -1
- package/dist/actions/Reset/schema.js +3 -0
- package/dist/actions/{ResetValidation.js → ResetValidation/ResetValidation.js} +1 -1
- package/dist/actions/ResetValidation/schema.js +18 -0
- package/dist/actions/{ScrollTo.js → ScrollTo/ScrollTo.js} +2 -2
- package/dist/actions/ScrollTo/schema.js +64 -0
- package/dist/actions/{SetFocus.js → SetFocus/SetFocus.js} +1 -1
- package/dist/actions/SetFocus/schema.js +7 -0
- package/dist/actions/{SetGlobal.js → SetGlobal/SetGlobal.js} +1 -1
- package/dist/actions/SetGlobal/schema.js +7 -0
- package/dist/actions/{SetState.js → SetState/SetState.js} +1 -1
- package/dist/actions/SetState/schema.js +7 -0
- package/dist/actions/{Throw.js → Throw/Throw.js} +5 -14
- package/dist/actions/Throw/schema.js +23 -0
- package/dist/actions/{UpdateSession.js → UpdateSession/UpdateSession.js} +1 -1
- package/dist/actions/UpdateSession/schema.js +3 -0
- package/dist/actions/{Validate.js → Validate/Validate.js} +1 -1
- package/dist/actions/Validate/schema.js +18 -0
- package/dist/actions/{Wait.js → Wait/Wait.js} +1 -1
- package/dist/actions/Wait/schema.js +16 -0
- package/dist/actions.js +21 -21
- package/dist/schemas.js +34 -0
- package/dist/types.js +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
required: [
|
|
6
|
+
'blockId',
|
|
7
|
+
'method'
|
|
8
|
+
],
|
|
9
|
+
properties: {
|
|
10
|
+
blockId: {
|
|
11
|
+
type: 'string',
|
|
12
|
+
description: 'The blockId of the block to call the method on.'
|
|
13
|
+
},
|
|
14
|
+
method: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
description: 'The name of the method to call.'
|
|
17
|
+
},
|
|
18
|
+
args: {
|
|
19
|
+
type: 'array',
|
|
20
|
+
description: 'An array of arguments to pass to the method.'
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
additionalProperties: false
|
|
24
|
+
}
|
|
25
|
+
};
|
|
@@ -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.
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
*/ import { type } from '@lowdefy/helpers';
|
|
16
16
|
function DisplayMessage({ methods: { displayMessage }, params }) {
|
|
17
17
|
if (!type.isObject(params)) {
|
|
18
|
-
throw new Error(
|
|
18
|
+
throw new Error('Invalid DisplayMessage, check action params. Params must be an object.');
|
|
19
19
|
}
|
|
20
20
|
displayMessage(params);
|
|
21
21
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
status: {
|
|
7
|
+
type: 'string',
|
|
8
|
+
enum: [
|
|
9
|
+
'success',
|
|
10
|
+
'error',
|
|
11
|
+
'info',
|
|
12
|
+
'warning',
|
|
13
|
+
'loading'
|
|
14
|
+
],
|
|
15
|
+
description: 'The message status type.'
|
|
16
|
+
},
|
|
17
|
+
content: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'The message content to display.'
|
|
20
|
+
},
|
|
21
|
+
duration: {
|
|
22
|
+
type: 'number',
|
|
23
|
+
description: 'Duration in seconds before the message disappears. Set to 0 for persistent.'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
additionalProperties: false
|
|
27
|
+
}
|
|
28
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
required: [
|
|
6
|
+
'url'
|
|
7
|
+
],
|
|
8
|
+
properties: {
|
|
9
|
+
url: {
|
|
10
|
+
type: 'string',
|
|
11
|
+
description: 'The URL to fetch.'
|
|
12
|
+
},
|
|
13
|
+
options: {
|
|
14
|
+
type: 'object',
|
|
15
|
+
description: 'Fetch API options (method, headers, body, etc.).'
|
|
16
|
+
},
|
|
17
|
+
responseFunction: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
enum: [
|
|
20
|
+
'json',
|
|
21
|
+
'text',
|
|
22
|
+
'blob',
|
|
23
|
+
'arrayBuffer',
|
|
24
|
+
'formData'
|
|
25
|
+
],
|
|
26
|
+
description: 'Response method to call on the fetch response.'
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
additionalProperties: false
|
|
30
|
+
}
|
|
31
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
enableHighAccuracy: {
|
|
7
|
+
type: 'boolean',
|
|
8
|
+
description: 'Whether to use high accuracy mode.'
|
|
9
|
+
},
|
|
10
|
+
timeout: {
|
|
11
|
+
type: 'number',
|
|
12
|
+
description: 'Maximum time in milliseconds to wait for a position.'
|
|
13
|
+
},
|
|
14
|
+
maximumAge: {
|
|
15
|
+
type: 'number',
|
|
16
|
+
description: 'Maximum age in milliseconds of a cached position.'
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
additionalProperties: false
|
|
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.
|
|
@@ -19,9 +19,10 @@ function Link({ methods: { link }, params }) {
|
|
|
19
19
|
} : params;
|
|
20
20
|
try {
|
|
21
21
|
link(linkParams);
|
|
22
|
-
} catch (
|
|
23
|
-
|
|
24
|
-
|
|
22
|
+
} catch (e) {
|
|
23
|
+
throw new Error('Invalid Link, check action params.', {
|
|
24
|
+
cause: e
|
|
25
|
+
});
|
|
25
26
|
}
|
|
26
27
|
}
|
|
27
28
|
export default Link;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
oneOf: [
|
|
5
|
+
{
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'Shorthand for pageId.'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
type: 'object',
|
|
11
|
+
description: 'Link parameters.',
|
|
12
|
+
properties: {
|
|
13
|
+
pageId: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
description: 'The pageId to link to.'
|
|
16
|
+
},
|
|
17
|
+
url: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'An external URL to link to.'
|
|
20
|
+
},
|
|
21
|
+
newWindow: {
|
|
22
|
+
type: 'boolean',
|
|
23
|
+
description: 'Open the link in a new window.'
|
|
24
|
+
},
|
|
25
|
+
urlQuery: {
|
|
26
|
+
type: 'object',
|
|
27
|
+
description: 'URL query parameters.'
|
|
28
|
+
},
|
|
29
|
+
input: {
|
|
30
|
+
type: 'object',
|
|
31
|
+
description: 'Input to pass to the linked page.'
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
37
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
description: 'Parameters passed to the login method.',
|
|
6
|
+
properties: {
|
|
7
|
+
providerId: {
|
|
8
|
+
type: 'string',
|
|
9
|
+
description: 'The authentication provider ID.'
|
|
10
|
+
},
|
|
11
|
+
callbackUrl: {
|
|
12
|
+
type: 'string',
|
|
13
|
+
description: 'URL to redirect to after login.'
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
oneOf: [
|
|
5
|
+
{
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'Shorthand for a single requestId.'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
type: 'array',
|
|
11
|
+
items: {
|
|
12
|
+
type: 'string'
|
|
13
|
+
},
|
|
14
|
+
description: 'An array of requestIds to call.'
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
type: 'object',
|
|
18
|
+
description: 'Request parameters.'
|
|
19
|
+
}
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
oneOf: [
|
|
5
|
+
{
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'Shorthand for a single blockId.'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
type: 'array',
|
|
11
|
+
items: {
|
|
12
|
+
type: 'string'
|
|
13
|
+
},
|
|
14
|
+
description: 'An array of blockIds to reset validation for.'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
};
|
|
@@ -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 ScrollTo({ globals, params }) {
|
|
17
17
|
const { document, window } = globals;
|
|
18
18
|
if (!type.isObject(params)) {
|
|
19
|
-
throw new Error(
|
|
19
|
+
throw new Error('Invalid ScrollTo, check action params.');
|
|
20
20
|
}
|
|
21
21
|
if (params.blockId) {
|
|
22
22
|
const element = document.getElementById(params.blockId);
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
properties: {
|
|
6
|
+
blockId: {
|
|
7
|
+
type: 'string',
|
|
8
|
+
description: 'The blockId of the element to scroll to.'
|
|
9
|
+
},
|
|
10
|
+
options: {
|
|
11
|
+
type: 'object',
|
|
12
|
+
description: 'ScrollIntoView options when blockId is provided.',
|
|
13
|
+
properties: {
|
|
14
|
+
behavior: {
|
|
15
|
+
type: 'string',
|
|
16
|
+
enum: [
|
|
17
|
+
'auto',
|
|
18
|
+
'smooth'
|
|
19
|
+
],
|
|
20
|
+
description: 'Scroll behavior.'
|
|
21
|
+
},
|
|
22
|
+
block: {
|
|
23
|
+
type: 'string',
|
|
24
|
+
enum: [
|
|
25
|
+
'start',
|
|
26
|
+
'center',
|
|
27
|
+
'end',
|
|
28
|
+
'nearest'
|
|
29
|
+
],
|
|
30
|
+
description: 'Vertical alignment.'
|
|
31
|
+
},
|
|
32
|
+
inline: {
|
|
33
|
+
type: 'string',
|
|
34
|
+
enum: [
|
|
35
|
+
'start',
|
|
36
|
+
'center',
|
|
37
|
+
'end',
|
|
38
|
+
'nearest'
|
|
39
|
+
],
|
|
40
|
+
description: 'Horizontal alignment.'
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
additionalProperties: false
|
|
44
|
+
},
|
|
45
|
+
top: {
|
|
46
|
+
type: 'number',
|
|
47
|
+
description: 'Vertical scroll position when no blockId is provided.'
|
|
48
|
+
},
|
|
49
|
+
left: {
|
|
50
|
+
type: 'number',
|
|
51
|
+
description: 'Horizontal scroll position when no blockId is provided.'
|
|
52
|
+
},
|
|
53
|
+
behavior: {
|
|
54
|
+
type: 'string',
|
|
55
|
+
enum: [
|
|
56
|
+
'auto',
|
|
57
|
+
'smooth'
|
|
58
|
+
],
|
|
59
|
+
description: 'Scroll behavior when no blockId is provided.'
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
additionalProperties: false
|
|
63
|
+
}
|
|
64
|
+
};
|
|
@@ -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,24 +13,16 @@
|
|
|
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
|
-
|
|
17
|
-
constructor(message, { blockId, metaData, pageId }){
|
|
18
|
-
super(message);
|
|
19
|
-
this.blockId = blockId;
|
|
20
|
-
this.metaData = metaData;
|
|
21
|
-
this.name = 'ThrowError';
|
|
22
|
-
this.pageId = pageId;
|
|
23
|
-
}
|
|
24
|
-
};
|
|
16
|
+
import { UserError } from '@lowdefy/errors';
|
|
25
17
|
function Throw({ methods: { getBlockId, getPageId }, params }) {
|
|
26
18
|
if (!type.isObject(params)) {
|
|
27
|
-
throw new Error(
|
|
19
|
+
throw new Error('Throw action params should be an object.');
|
|
28
20
|
}
|
|
29
21
|
if (!type.isNone(params.throw) && !type.isBoolean(params.throw)) {
|
|
30
|
-
throw new Error(
|
|
22
|
+
throw new Error('Throw action "throw" param should be a boolean.');
|
|
31
23
|
}
|
|
32
24
|
if (params.throw === true) {
|
|
33
|
-
throw new
|
|
25
|
+
throw new UserError(params.message, {
|
|
34
26
|
blockId: getBlockId(),
|
|
35
27
|
metaData: params.metaData,
|
|
36
28
|
pageId: getPageId()
|
|
@@ -38,4 +30,3 @@ function Throw({ methods: { getBlockId, getPageId }, params }) {
|
|
|
38
30
|
}
|
|
39
31
|
}
|
|
40
32
|
export default Throw;
|
|
41
|
-
export { Throw, ThrowActionError };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
type: 'object',
|
|
5
|
+
required: [
|
|
6
|
+
'throw'
|
|
7
|
+
],
|
|
8
|
+
properties: {
|
|
9
|
+
throw: {
|
|
10
|
+
type: 'boolean',
|
|
11
|
+
description: 'Whether to throw the error.'
|
|
12
|
+
},
|
|
13
|
+
message: {
|
|
14
|
+
type: 'string',
|
|
15
|
+
description: 'The error message to display.'
|
|
16
|
+
},
|
|
17
|
+
metaData: {
|
|
18
|
+
description: 'Additional metadata to include with the error.'
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
additionalProperties: false
|
|
22
|
+
}
|
|
23
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
type: 'object',
|
|
3
|
+
params: {
|
|
4
|
+
oneOf: [
|
|
5
|
+
{
|
|
6
|
+
type: 'string',
|
|
7
|
+
description: 'Shorthand for a single blockId to validate.'
|
|
8
|
+
},
|
|
9
|
+
{
|
|
10
|
+
type: 'array',
|
|
11
|
+
items: {
|
|
12
|
+
type: 'string'
|
|
13
|
+
},
|
|
14
|
+
description: 'An array of blockIds to validate.'
|
|
15
|
+
}
|
|
16
|
+
]
|
|
17
|
+
}
|
|
18
|
+
};
|
package/dist/actions.js
CHANGED
|
@@ -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.
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
|
-
*/ export { default as CallAPI } from './actions/CallAPI.js';
|
|
16
|
-
export { default as CallMethod } from './actions/CallMethod.js';
|
|
17
|
-
export { default as CopyToClipboard } from './actions/CopyToClipboard.js';
|
|
18
|
-
export { default as
|
|
19
|
-
export { default as
|
|
20
|
-
export { default as
|
|
21
|
-
export { default as
|
|
22
|
-
export { default as
|
|
23
|
-
export { default as
|
|
24
|
-
export { default as Request } from './actions/Request.js';
|
|
25
|
-
export { default as Reset } from './actions/Reset.js';
|
|
26
|
-
export { default as ResetValidation } from './actions/ResetValidation.js';
|
|
27
|
-
export { default as ScrollTo } from './actions/ScrollTo.js';
|
|
28
|
-
export { default as SetFocus } from './actions/SetFocus.js';
|
|
29
|
-
export { default as SetGlobal } from './actions/SetGlobal.js';
|
|
30
|
-
export { default as SetState } from './actions/SetState.js';
|
|
31
|
-
export { default as Throw } from './actions/Throw.js';
|
|
32
|
-
export { default as UpdateSession } from './actions/UpdateSession.js';
|
|
33
|
-
export { default as Validate } from './actions/Validate.js';
|
|
34
|
-
export { default as Wait } from './actions/Wait.js';
|
|
15
|
+
*/ export { default as CallAPI } from './actions/CallAPI/CallAPI.js';
|
|
16
|
+
export { default as CallMethod } from './actions/CallMethod/CallMethod.js';
|
|
17
|
+
export { default as CopyToClipboard } from './actions/CopyToClipboard/CopyToClipboard.js';
|
|
18
|
+
export { default as DisplayMessage } from './actions/DisplayMessage/DisplayMessage.js';
|
|
19
|
+
export { default as Fetch } from './actions/Fetch/Fetch.js';
|
|
20
|
+
export { default as GeolocationCurrentPosition } from './actions/GeolocationCurrentPosition/GeolocationCurrentPosition.js';
|
|
21
|
+
export { default as Link } from './actions/Link/Link.js';
|
|
22
|
+
export { default as Login } from './actions/Login/Login.js';
|
|
23
|
+
export { default as Logout } from './actions/Logout/Logout.js';
|
|
24
|
+
export { default as Request } from './actions/Request/Request.js';
|
|
25
|
+
export { default as Reset } from './actions/Reset/Reset.js';
|
|
26
|
+
export { default as ResetValidation } from './actions/ResetValidation/ResetValidation.js';
|
|
27
|
+
export { default as ScrollTo } from './actions/ScrollTo/ScrollTo.js';
|
|
28
|
+
export { default as SetFocus } from './actions/SetFocus/SetFocus.js';
|
|
29
|
+
export { default as SetGlobal } from './actions/SetGlobal/SetGlobal.js';
|
|
30
|
+
export { default as SetState } from './actions/SetState/SetState.js';
|
|
31
|
+
export { default as Throw } from './actions/Throw/Throw.js';
|
|
32
|
+
export { default as UpdateSession } from './actions/UpdateSession/UpdateSession.js';
|
|
33
|
+
export { default as Validate } from './actions/Validate/Validate.js';
|
|
34
|
+
export { default as Wait } from './actions/Wait/Wait.js';
|
package/dist/schemas.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 as CallAPI } from './actions/CallAPI/schema.js';
|
|
16
|
+
export { default as CallMethod } from './actions/CallMethod/schema.js';
|
|
17
|
+
export { default as CopyToClipboard } from './actions/CopyToClipboard/schema.js';
|
|
18
|
+
export { default as DisplayMessage } from './actions/DisplayMessage/schema.js';
|
|
19
|
+
export { default as Fetch } from './actions/Fetch/schema.js';
|
|
20
|
+
export { default as GeolocationCurrentPosition } from './actions/GeolocationCurrentPosition/schema.js';
|
|
21
|
+
export { default as Link } from './actions/Link/schema.js';
|
|
22
|
+
export { default as Login } from './actions/Login/schema.js';
|
|
23
|
+
export { default as Logout } from './actions/Logout/schema.js';
|
|
24
|
+
export { default as Request } from './actions/Request/schema.js';
|
|
25
|
+
export { default as Reset } from './actions/Reset/schema.js';
|
|
26
|
+
export { default as ResetValidation } from './actions/ResetValidation/schema.js';
|
|
27
|
+
export { default as ScrollTo } from './actions/ScrollTo/schema.js';
|
|
28
|
+
export { default as SetFocus } from './actions/SetFocus/schema.js';
|
|
29
|
+
export { default as SetGlobal } from './actions/SetGlobal/schema.js';
|
|
30
|
+
export { default as SetState } from './actions/SetState/schema.js';
|
|
31
|
+
export { default as Throw } from './actions/Throw/schema.js';
|
|
32
|
+
export { default as UpdateSession } from './actions/UpdateSession/schema.js';
|
|
33
|
+
export { default as Validate } from './actions/Validate/schema.js';
|
|
34
|
+
export { default as Wait } from './actions/Wait/schema.js';
|
package/dist/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/actions-core",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -37,13 +37,15 @@
|
|
|
37
37
|
"type": "module",
|
|
38
38
|
"exports": {
|
|
39
39
|
"./actions": "./dist/actions.js",
|
|
40
|
+
"./schemas": "./dist/schemas.js",
|
|
40
41
|
"./types": "./dist/types.js"
|
|
41
42
|
},
|
|
42
43
|
"files": [
|
|
43
44
|
"dist/*"
|
|
44
45
|
],
|
|
45
46
|
"dependencies": {
|
|
46
|
-
"@lowdefy/
|
|
47
|
+
"@lowdefy/errors": "4.6.0",
|
|
48
|
+
"@lowdefy/helpers": "4.6.0"
|
|
47
49
|
},
|
|
48
50
|
"devDependencies": {
|
|
49
51
|
"@jest/globals": "28.1.3",
|