@backstage/plugin-catalog-backend-module-aws 0.1.5 → 0.1.6-next.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/config.d.ts +44 -22
  3. package/package.json +7 -7
package/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  # @backstage/plugin-catalog-backend-module-aws
2
2
 
3
+ ## 0.1.6-next.0
4
+
5
+ ### Patch Changes
6
+
7
+ - eb2544b21b: Inline config interfaces
8
+ - Updated dependencies
9
+ - @backstage/backend-tasks@0.3.2-next.0
10
+ - @backstage/backend-common@0.13.6-next.0
11
+ - @backstage/integration@1.2.1-next.0
12
+ - @backstage/plugin-catalog-backend@1.2.0-next.0
13
+
3
14
  ## 0.1.5
4
15
 
5
16
  ### Patch Changes
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.1.5",
4
+ "version": "0.1.6-next.0",
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.13.3",
37
- "@backstage/backend-tasks": "^0.3.1",
36
+ "@backstage/backend-common": "^0.13.6-next.0",
37
+ "@backstage/backend-tasks": "^0.3.2-next.0",
38
38
  "@backstage/catalog-model": "^1.0.2",
39
39
  "@backstage/config": "^1.0.1",
40
40
  "@backstage/errors": "^1.0.0",
41
- "@backstage/integration": "^1.2.0",
42
- "@backstage/plugin-catalog-backend": "^1.1.2",
41
+ "@backstage/integration": "^1.2.1-next.0",
42
+ "@backstage/plugin-catalog-backend": "^1.2.0-next.0",
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.17.1",
51
+ "@backstage/cli": "^0.17.2-next.0",
52
52
  "@types/lodash": "^4.14.151",
53
53
  "aws-sdk-mock": "^5.2.1",
54
54
  "yaml": "^1.9.2"
@@ -58,5 +58,5 @@
58
58
  "config.d.ts"
59
59
  ],
60
60
  "configSchema": "config.d.ts",
61
- "gitHead": "96323f280ba32ee526c5b151cda42260aee927c9"
61
+ "gitHead": "c1511c99a532aeb003a97510a5638bd939ee65ca"
62
62
  }