@axis-backstage/plugin-statuspage-backend 0.10.3 → 0.10.5

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @axis-backstage/plugin-statuspage-backend
2
2
 
3
+ ## 0.10.5
4
+
5
+ ### Patch Changes
6
+
7
+ - b7492ab: Updated to Backstage 1.53.1
8
+ - Updated dependencies [b7492ab]
9
+ - @axis-backstage/plugin-statuspage-common@0.9.3
10
+
11
+ ## 0.10.4
12
+
13
+ ### Patch Changes
14
+
15
+ - 2569fb1: Updated to Backstage 1.52.1
16
+ - Updated dependencies [2569fb1]
17
+ - @axis-backstage/plugin-statuspage-common@0.9.2
18
+
3
19
  ## 0.10.3
4
20
 
5
21
  ### Patch Changes
@@ -0,0 +1,43 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "type": "object",
4
+ "properties": {
5
+ "statuspage": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "object",
9
+ "properties": {
10
+ "name": {
11
+ "type": "string",
12
+ "description": "The name of the instance",
13
+ "visibility": "backend"
14
+ },
15
+ "pageid": {
16
+ "type": "string",
17
+ "description": "The page id of the your statuspage",
18
+ "visibility": "backend"
19
+ },
20
+ "token": {
21
+ "type": "string",
22
+ "description": "Client access token",
23
+ "visibility": "secret"
24
+ },
25
+ "link": {
26
+ "type": "string",
27
+ "description": "Link to the statuspage"
28
+ }
29
+ },
30
+ "required": [
31
+ "name",
32
+ "pageid",
33
+ "token"
34
+ ]
35
+ },
36
+ "description": "Configuration for the StatusPage plugin.",
37
+ "visibility": "backend"
38
+ }
39
+ },
40
+ "required": [
41
+ "statuspage"
42
+ ]
43
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axis-backstage/plugin-statuspage-backend",
3
- "version": "0.10.3",
3
+ "version": "0.10.5",
4
4
  "main": "dist/index.cjs.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "license": "Apache-2.0",
@@ -32,22 +32,22 @@
32
32
  "postpack": "backstage-cli package postpack"
33
33
  },
34
34
  "dependencies": {
35
- "@axis-backstage/plugin-statuspage-common": "^0.9.1",
36
- "@backstage/backend-plugin-api": "^1.9.0",
37
- "@backstage/config": "^1.3.7",
35
+ "@axis-backstage/plugin-statuspage-common": "^0.9.3",
36
+ "@backstage/backend-plugin-api": "^1.9.3",
37
+ "@backstage/config": "^1.3.8",
38
38
  "@types/express": "*",
39
39
  "express": "^4.17.1",
40
40
  "express-promise-router": "^4.1.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@backstage/backend-defaults": "^0.17.0",
44
- "@backstage/cli": "^0.36.1"
43
+ "@backstage/backend-defaults": "^0.17.6",
44
+ "@backstage/cli": "^0.36.4"
45
45
  },
46
46
  "files": [
47
47
  "dist",
48
- "config.d.ts"
48
+ "config.schema.json"
49
49
  ],
50
- "configSchema": "config.d.ts",
50
+ "configSchema": "config.schema.json",
51
51
  "typesVersions": {
52
52
  "*": {
53
53
  "package.json": [
package/config.d.ts DELETED
@@ -1,30 +0,0 @@
1
- export interface Config {
2
- /**
3
- * Configuration for the StatusPage plugin.
4
- * @visibility backend
5
- */
6
- statuspage: {
7
- /**
8
- * The name of the instance
9
- * @visibility backend
10
- */
11
- name: string;
12
-
13
- /**
14
- * The page id of the your statuspage
15
- * @visibility backend
16
- */
17
- pageid: string;
18
-
19
- /**
20
- * Client access token
21
- * @visibility secret
22
- */
23
- token: string;
24
-
25
- /**
26
- * Link to the statuspage
27
- */
28
- link?: string;
29
- }[];
30
- }