@lowdefy/plugin-aws 0.0.0-experimental-20260909201552 → 0.0.0-experimental-20260911113654
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.
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
See the License for the specific language governing permissions and
|
|
14
14
|
limitations under the License.
|
|
15
15
|
*/ import { createPresignedPost } from '@aws-sdk/s3-presigned-post';
|
|
16
|
-
import { ConfigError } from '@lowdefy/errors';
|
|
17
16
|
import { type } from '@lowdefy/helpers';
|
|
18
17
|
import createS3Client from '../createS3Client.js';
|
|
19
18
|
import schema from './schema.js';
|
|
@@ -35,7 +34,7 @@ async function AwsS3PresignedPostPolicy({ request, connection }) {
|
|
|
35
34
|
params.Fields.acl = acl;
|
|
36
35
|
}
|
|
37
36
|
if (type.isObject(fields) === false) {
|
|
38
|
-
throw new
|
|
37
|
+
throw new Error(`properties.fields must be an object. Received ${JSON.stringify(fields)}.`);
|
|
39
38
|
}
|
|
40
39
|
Object.keys(fields).forEach((field)=>{
|
|
41
40
|
if (fields[field]) {
|
package/dist/types.js
CHANGED
|
@@ -19,13 +19,6 @@ export default {
|
|
|
19
19
|
connections: [
|
|
20
20
|
'AwsS3Bucket'
|
|
21
21
|
],
|
|
22
|
-
// Non-scopable: the tenant wall does not cover object storage, so its
|
|
23
|
-
// connections are never scoped and accept no tenant: declaration.
|
|
24
|
-
connectionMetas: {
|
|
25
|
-
AwsS3Bucket: {
|
|
26
|
-
tenant: false
|
|
27
|
-
}
|
|
28
|
-
},
|
|
29
22
|
requests: [
|
|
30
23
|
'AwsS3GetObject',
|
|
31
24
|
'AwsS3PresignedGetObject',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lowdefy/plugin-aws",
|
|
3
|
-
"version": "0.0.0-experimental-
|
|
3
|
+
"version": "0.0.0-experimental-20260911113654",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"description": "",
|
|
6
6
|
"homepage": "https://lowdefy.com",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"dist/*"
|
|
48
48
|
],
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@lowdefy/block-utils": "0.0.0-experimental-
|
|
51
|
-
"@lowdefy/blocks-antd": "0.0.0-experimental-
|
|
52
|
-
"@lowdefy/blocks-files": "0.0.0-experimental-
|
|
53
|
-
"@lowdefy/errors": "0.0.0-experimental-
|
|
54
|
-
"@lowdefy/helpers": "0.0.0-experimental-
|
|
50
|
+
"@lowdefy/block-utils": "0.0.0-experimental-20260911113654",
|
|
51
|
+
"@lowdefy/blocks-antd": "0.0.0-experimental-20260911113654",
|
|
52
|
+
"@lowdefy/blocks-files": "0.0.0-experimental-20260911113654",
|
|
53
|
+
"@lowdefy/errors": "0.0.0-experimental-20260911113654",
|
|
54
|
+
"@lowdefy/helpers": "0.0.0-experimental-20260911113654",
|
|
55
55
|
"@aws-sdk/client-s3": "3.797.0",
|
|
56
56
|
"@aws-sdk/s3-presigned-post": "3.797.0",
|
|
57
57
|
"@aws-sdk/s3-request-presigner": "3.797.0"
|
|
@@ -62,9 +62,9 @@
|
|
|
62
62
|
"react-dom": ">=18"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@lowdefy/ajv": "0.0.0-experimental-
|
|
66
|
-
"@lowdefy/block-dev": "0.0.0-experimental-
|
|
67
|
-
"@lowdefy/jest-yaml-transform": "0.0.0-experimental-
|
|
65
|
+
"@lowdefy/ajv": "0.0.0-experimental-20260911113654",
|
|
66
|
+
"@lowdefy/block-dev": "0.0.0-experimental-20260911113654",
|
|
67
|
+
"@lowdefy/jest-yaml-transform": "0.0.0-experimental-20260911113654",
|
|
68
68
|
"@swc/cli": "0.8.1",
|
|
69
69
|
"@swc/core": "1.15.32",
|
|
70
70
|
"@swc/jest": "0.2.39",
|