@lowdefy/plugin-aws 5.0.0 → 5.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lowdefy/plugin-aws",
3
- "version": "5.0.0",
3
+ "version": "5.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
@@ -41,9 +41,10 @@
41
41
  "dist/*"
42
42
  ],
43
43
  "dependencies": {
44
- "@lowdefy/block-utils": "5.0.0",
45
- "@lowdefy/blocks-antd": "5.0.0",
46
- "@lowdefy/helpers": "5.0.0",
44
+ "@lowdefy/block-utils": "5.2.0",
45
+ "@lowdefy/blocks-antd": "5.2.0",
46
+ "@lowdefy/errors": "5.2.0",
47
+ "@lowdefy/helpers": "5.2.0",
47
48
  "@aws-sdk/client-s3": "3.797.0",
48
49
  "@aws-sdk/s3-presigned-post": "3.797.0",
49
50
  "@aws-sdk/s3-request-presigner": "3.797.0"
@@ -54,9 +55,9 @@
54
55
  "react-dom": ">=18"
55
56
  },
56
57
  "devDependencies": {
57
- "@lowdefy/ajv": "5.0.0",
58
- "@lowdefy/block-dev": "5.0.0",
59
- "@lowdefy/jest-yaml-transform": "5.0.0",
58
+ "@lowdefy/ajv": "5.2.0",
59
+ "@lowdefy/block-dev": "5.2.0",
60
+ "@lowdefy/jest-yaml-transform": "5.2.0",
60
61
  "@swc/cli": "0.8.0",
61
62
  "@swc/core": "1.15.18",
62
63
  "@swc/jest": "0.2.39",
@@ -1,107 +0,0 @@
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
- properties: {
18
- type: 'object',
19
- required: [
20
- 's3GetPolicyRequestId'
21
- ],
22
- properties: {
23
- fileList: {
24
- type: 'array',
25
- description: 'List of files to be downloaded. If files were uploaded using an S3Upload block, the fileList value can just be mapped to this field.',
26
- items: {
27
- type: 'object',
28
- required: [
29
- 'key'
30
- ],
31
- properties: {
32
- key: {
33
- type: 'string',
34
- description: 'S3 file key.'
35
- },
36
- lastModified: {
37
- type: 'string',
38
- description: 'File last modified date.'
39
- },
40
- name: {
41
- type: 'string',
42
- description: 'File name.'
43
- },
44
- size: {
45
- type: 'number',
46
- description: 'File size in bytes.'
47
- },
48
- type: {
49
- type: 'string',
50
- description: 'File MIME type.'
51
- }
52
- }
53
- }
54
- },
55
- s3GetPolicyRequestId: {
56
- type: 'string',
57
- description: 'Id of a request of type AwsS3PresignedGetObject that defines which S3 bucket and file to download.'
58
- },
59
- theme: {
60
- type: 'object',
61
- description: 'Antd design token overrides for this block. See <a href="https://ant.design/components/upload#design-token">antd design tokens</a>.',
62
- docs: {
63
- displayType: 'yaml',
64
- link: 'https://ant.design/components/upload#design-token'
65
- },
66
- properties: {
67
- actionsColor: {
68
- type: 'string',
69
- description: 'Color of action icons (download, preview).'
70
- },
71
- pictureCardSize: {
72
- type: 'number',
73
- description: 'Size of list items in card type (affects both picture-card and picture-circle).'
74
- },
75
- controlItemBgHover: {
76
- type: 'string',
77
- description: 'Background color of file item on hover.'
78
- },
79
- colorIcon: {
80
- type: 'string',
81
- description: 'Color of file icons.'
82
- },
83
- fontSize: {
84
- type: 'number',
85
- description: 'Font size of file name text.'
86
- },
87
- borderRadiusSM: {
88
- type: 'number',
89
- description: 'Border radius of file list items.'
90
- }
91
- }
92
- }
93
- }
94
- },
95
- events: {
96
- type: 'object',
97
- properties: {
98
- onChange: {
99
- type: 'array',
100
- description: 'Triggered when the upload state is changing.'
101
- }
102
- }
103
- },
104
- cssKeys: [
105
- 'element'
106
- ]
107
- };