@lowdefy/plugin-aws 4.0.0-alpha.9 → 4.0.0-rc.1

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-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
@@ -29,7 +29,7 @@
29
29
  'aws-exec-read',
30
30
  'authenticated-read',
31
31
  'bucket-owner-read',
32
- 'bucket-owner-full-control',
32
+ 'bucket-owner-full-control'
33
33
  ],
34
34
  description: 'Access control lists used to grant read and write access.',
35
35
  errorMessage: {
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
@@ -1,5 +1,5 @@
1
1
  /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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.
package/dist/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable import/namespace */ /*
2
- Copyright 2020-2022 Lowdefy, Inc
2
+ Copyright 2020-2023 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,20 @@
13
13
  See the License for the specific language governing permissions and
14
14
  limitations under the License.
15
15
  */ import * as connections from './connections.js';
16
+ import * as blocks from './blocks.js';
17
+ const icons = {};
18
+ const styles = {};
19
+ Object.keys(blocks).forEach((block)=>{
20
+ icons[block] = blocks[block].meta.icons || [];
21
+ styles[block] = blocks[block].meta.styles || [];
22
+ });
16
23
  export default {
24
+ blocks: Object.keys(blocks),
25
+ icons,
26
+ styles: {
27
+ default: [],
28
+ ...styles
29
+ },
17
30
  connections: Object.keys(connections),
18
- requests: Object.keys(connections).map((connection)=>Object.keys(connections[connection].requests)
19
- ).flat()
31
+ requests: Object.keys(connections).map((connection)=>Object.keys(connections[connection].requests)).flat()
20
32
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lowdefy/plugin-aws",
3
- "version": "4.0.0-alpha.9",
4
- "licence": "Apache-2.0",
3
+ "version": "4.0.0-rc.1",
4
+ "license": "Apache-2.0",
5
5
  "description": "",
6
6
  "homepage": "https://lowdefy.com",
7
7
  "keywords": [
@@ -19,6 +19,10 @@
19
19
  {
20
20
  "name": "Gerrie van Wyk",
21
21
  "url": "https://github.com/Gervwyk"
22
+ },
23
+ {
24
+ "name": "Stephanie Smit",
25
+ "url": "https://github.com/StephanieJKS"
22
26
  }
23
27
  ],
24
28
  "repository": {
@@ -27,46 +31,46 @@
27
31
  },
28
32
  "type": "module",
29
33
  "exports": {
30
- ".": "./dist/index.js",
31
- "./connections/*": "./dist/connections/*"
34
+ "./*": "./dist/*",
35
+ "./connections/*": "./dist/connections/*",
36
+ "./blocks": "./dist/blocks.js",
37
+ "./types": "./dist/types.js"
32
38
  },
33
39
  "files": [
34
40
  "dist/*"
35
41
  ],
36
42
  "scripts": {
37
- "build": "yarn swc",
43
+ "build": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start --copy-files",
38
44
  "clean": "rm -rf dist",
39
- "copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\"",
40
- "prepare": "yarn build",
41
- "swc": "swc src --out-dir dist --config-file ../../../../.swcrc --delete-dir-on-start && yarn copyfiles",
42
- "test": "jest --coverage"
45
+ "copyfiles": "copyfiles -u 1 \"./src/**/*\" dist -e \"./src/**/*.js\" -e \"./src/**/*.yaml\" -e \"./src/**/*.snap\""
43
46
  },
44
47
  "dependencies": {
45
- "@lowdefy/block-utils": "4.0.0-alpha.9",
46
- "@lowdefy/blocks-antd": "4.0.0-alpha.9",
47
- "@lowdefy/helpers": "4.0.0-alpha.9",
48
- "antd": "4.18.2",
49
- "aws-sdk": "2.1066.0",
50
- "react": "17.0.2",
51
- "react-dom": "17.0.2"
48
+ "@lowdefy/block-utils": "4.0.0-rc.1",
49
+ "@lowdefy/blocks-antd": "4.0.0-rc.1",
50
+ "@lowdefy/helpers": "4.0.0-rc.1",
51
+ "antd": "4.24.7",
52
+ "aws-sdk": "2.1286.0",
53
+ "react": "18.2.0",
54
+ "react-dom": "18.2.0"
52
55
  },
53
56
  "devDependencies": {
54
- "@emotion/jest": "11.7.1",
55
- "@lowdefy/ajv": "4.0.0-alpha.9",
56
- "@lowdefy/block-dev": "4.0.0-alpha.9",
57
- "@swc/cli": "0.1.55",
58
- "@swc/core": "1.2.135",
59
- "@swc/jest": "0.2.17",
60
- "@testing-library/dom": "8.11.3",
61
- "@testing-library/react": "13.0.0-alpha.4",
62
- "@testing-library/user-event": "14.0.0-alpha.14",
57
+ "@emotion/jest": "11.10.5",
58
+ "@lowdefy/ajv": "4.0.0-rc.1",
59
+ "@lowdefy/block-dev": "4.0.0-rc.1",
60
+ "@lowdefy/jest-yaml-transform": "4.0.0-rc.1",
61
+ "@swc/cli": "0.1.59",
62
+ "@swc/core": "1.3.24",
63
+ "@swc/jest": "0.2.24",
64
+ "@testing-library/dom": "8.19.1",
65
+ "@testing-library/react": "13.4.0",
66
+ "@testing-library/user-event": "14.4.3",
63
67
  "copyfiles": "2.4.1",
64
- "jest": "27.5.1",
65
- "jest-serializer-html": "7.1.0",
66
- "jest-transform-yaml": "1.0.0"
68
+ "jest": "28.1.0",
69
+ "jest-environment-jsdom": "28.1.0",
70
+ "jest-serializer-html": "7.1.0"
67
71
  },
68
72
  "publishConfig": {
69
73
  "access": "public"
70
74
  },
71
- "gitHead": "98b544eca231bdcfca6c3a8601a891835d5ce571"
75
+ "gitHead": "ecc4f16c19eede929eda177db524cf13a8053379"
72
76
  }