@onivoro/onix 20.5.36 → 20.5.37

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": "@onivoro/onix",
3
- "version": "20.5.36",
3
+ "version": "20.5.37",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js",
6
6
  "typings": "./src/index.d.ts",
@@ -14,14 +14,22 @@
14
14
  "description": "Path and name of the .env file to load"
15
15
  },
16
16
  "copyFromS3": {
17
- "profile": {
18
- "type": "string"
17
+ "type": "object",
18
+ "description": "Configuration for copying files from S3",
19
+ "properties": {
20
+ "profile": {
21
+ "type": "string",
22
+ "description": "AWS profile to use"
23
+ },
24
+ "files": {
25
+ "type": "object",
26
+ "description": "Object mapping S3 keys to local file paths",
27
+ "additionalProperties": {
28
+ "type": "string"
29
+ }
30
+ }
19
31
  },
20
- "files": {
21
- "type": "object",
22
- "description": "Configuration for copying files from S3",
23
- "additionalProperties": true
24
- }
32
+ "required": ["profile", "files"]
25
33
  }
26
34
  },
27
35
  "required": []