@backstage/plugin-catalog-backend-module-aws 0.0.0-nightly-20220516023848 → 0.0.0-nightly-20220525024352

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +29 -7
  2. package/config.d.ts +44 -22
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -1,6 +1,28 @@
1
1
  # @backstage/plugin-catalog-backend-module-aws
2
2
 
3
- ## 0.0.0-nightly-20220516023848
3
+ ## 0.0.0-nightly-20220525024352
4
+
5
+ ### Patch Changes
6
+
7
+ - eb2544b21b: Inline config interfaces
8
+ - Updated dependencies
9
+ - @backstage/backend-tasks@0.0.0-nightly-20220525024352
10
+ - @backstage/backend-common@0.0.0-nightly-20220525024352
11
+ - @backstage/integration@0.0.0-nightly-20220525024352
12
+ - @backstage/plugin-catalog-backend@0.0.0-nightly-20220525024352
13
+
14
+ ## 0.1.6-next.0
15
+
16
+ ### Patch Changes
17
+
18
+ - eb2544b21b: Inline config interfaces
19
+ - Updated dependencies
20
+ - @backstage/backend-tasks@0.3.2-next.0
21
+ - @backstage/backend-common@0.13.6-next.0
22
+ - @backstage/integration@1.2.1-next.0
23
+ - @backstage/plugin-catalog-backend@1.2.0-next.0
24
+
25
+ ## 0.1.5
4
26
 
5
27
  ### Patch Changes
6
28
 
@@ -12,12 +34,12 @@
12
34
  - and simplify the logic overall.
13
35
 
14
36
  - Updated dependencies
15
- - @backstage/backend-common@0.0.0-nightly-20220516023848
16
- - @backstage/plugin-catalog-backend@0.0.0-nightly-20220516023848
17
- - @backstage/backend-tasks@0.0.0-nightly-20220516023848
18
- - @backstage/integration@0.0.0-nightly-20220516023848
19
- - @backstage/config@0.0.0-nightly-20220516023848
20
- - @backstage/catalog-model@0.0.0-nightly-20220516023848
37
+ - @backstage/backend-common@0.13.3
38
+ - @backstage/plugin-catalog-backend@1.1.2
39
+ - @backstage/backend-tasks@0.3.1
40
+ - @backstage/integration@1.2.0
41
+ - @backstage/config@1.0.1
42
+ - @backstage/catalog-model@1.0.2
21
43
 
22
44
  ## 0.1.5-next.1
23
45
 
package/config.d.ts CHANGED
@@ -14,27 +14,6 @@
14
14
  * limitations under the License.
15
15
  */
16
16
 
17
- interface AwsS3Config {
18
- /**
19
- * (Required) AWS S3 Bucket Name
20
- * @visibility backend
21
- */
22
- bucketName: string;
23
- /**
24
- * (Optional) AWS S3 Object key prefix
25
- * If not set, all keys will be accepted, no filtering will be applied.
26
- * @visibility backend
27
- */
28
- prefix?: string;
29
- /**
30
- * (Optional) AWS Region.
31
- * If not set, AWS_REGION environment variable or aws config file will be used.
32
- * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
33
- * @visibility backend
34
- */
35
- region?: string;
36
- }
37
-
38
17
  export interface Config {
39
18
  catalog?: {
40
19
  /**
@@ -62,7 +41,50 @@ export interface Config {
62
41
  *
63
42
  * Uses "default" as default id for the single config variant.
64
43
  */
65
- awsS3?: AwsS3Config | Record<string, AwsS3Config>;
44
+ awsS3?:
45
+ | {
46
+ /**
47
+ * (Required) AWS S3 Bucket Name
48
+ * @visibility backend
49
+ */
50
+ bucketName: string;
51
+ /**
52
+ * (Optional) AWS S3 Object key prefix
53
+ * If not set, all keys will be accepted, no filtering will be applied.
54
+ * @visibility backend
55
+ */
56
+ prefix?: string;
57
+ /**
58
+ * (Optional) AWS Region.
59
+ * If not set, AWS_REGION environment variable or aws config file will be used.
60
+ * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
61
+ * @visibility backend
62
+ */
63
+ region?: string;
64
+ }
65
+ | Record<
66
+ string,
67
+ {
68
+ /**
69
+ * (Required) AWS S3 Bucket Name
70
+ * @visibility backend
71
+ */
72
+ bucketName: string;
73
+ /**
74
+ * (Optional) AWS S3 Object key prefix
75
+ * If not set, all keys will be accepted, no filtering will be applied.
76
+ * @visibility backend
77
+ */
78
+ prefix?: string;
79
+ /**
80
+ * (Optional) AWS Region.
81
+ * If not set, AWS_REGION environment variable or aws config file will be used.
82
+ * @see https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/setting-region.html
83
+ * @visibility backend
84
+ */
85
+ region?: string;
86
+ }
87
+ >;
66
88
  };
67
89
  };
68
90
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@backstage/plugin-catalog-backend-module-aws",
3
3
  "description": "A Backstage catalog backend module that helps integrate towards AWS",
4
- "version": "0.0.0-nightly-20220516023848",
4
+ "version": "0.0.0-nightly-20220525024352",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "license": "Apache-2.0",
@@ -33,13 +33,13 @@
33
33
  "start": "backstage-cli package start"
34
34
  },
35
35
  "dependencies": {
36
- "@backstage/backend-common": "^0.0.0-nightly-20220516023848",
37
- "@backstage/backend-tasks": "^0.0.0-nightly-20220516023848",
38
- "@backstage/catalog-model": "^0.0.0-nightly-20220516023848",
39
- "@backstage/config": "^0.0.0-nightly-20220516023848",
36
+ "@backstage/backend-common": "^0.0.0-nightly-20220525024352",
37
+ "@backstage/backend-tasks": "^0.0.0-nightly-20220525024352",
38
+ "@backstage/catalog-model": "^1.0.2",
39
+ "@backstage/config": "^1.0.1",
40
40
  "@backstage/errors": "^1.0.0",
41
- "@backstage/integration": "^0.0.0-nightly-20220516023848",
42
- "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220516023848",
41
+ "@backstage/integration": "^0.0.0-nightly-20220525024352",
42
+ "@backstage/plugin-catalog-backend": "^0.0.0-nightly-20220525024352",
43
43
  "@backstage/types": "^1.0.0",
44
44
  "aws-sdk": "^2.840.0",
45
45
  "lodash": "^4.17.21",
@@ -48,7 +48,7 @@
48
48
  "winston": "^3.2.1"
49
49
  },
50
50
  "devDependencies": {
51
- "@backstage/cli": "^0.0.0-nightly-20220516023848",
51
+ "@backstage/cli": "^0.0.0-nightly-20220525024352",
52
52
  "@types/lodash": "^4.14.151",
53
53
  "aws-sdk-mock": "^5.2.1",
54
54
  "yaml": "^1.9.2"