@checkstack/notification-backstage-backend 0.1.24 → 0.1.26
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 +27 -0
- package/package.json +4 -4
- package/src/index.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# @checkstack/notification-backstage-backend
|
|
2
2
|
|
|
3
|
+
## 0.1.26
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- @checkstack/backend-api@0.13.1
|
|
8
|
+
- @checkstack/notification-backend@0.2.1
|
|
9
|
+
|
|
10
|
+
## 0.1.25
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 8d1ef12: ## Downstream consumer bumps for the anomaly detection + cache system rollout
|
|
15
|
+
|
|
16
|
+
Packages on this branch were updated as part of the anomaly detection feature (schema annotations on result fields, plugin metadata for the modular cache system) but were not listed in the upstream changesets.
|
|
17
|
+
|
|
18
|
+
- **`@checkstack/healthcheck-common`** (minor) — new RPC contract additions and schema changes supporting per-field anomaly metadata.
|
|
19
|
+
- **`@checkstack/cache-memory-common`** (minor) — new package providing access rules + plugin metadata for the in-memory cache backend.
|
|
20
|
+
- **healthcheck plugins** (patch) — adopt the new `x-anomaly-*` schema annotations on their result fields so anomaly detection works automatically against their checks. No public API changes.
|
|
21
|
+
- **integration / notification / auth / queue / collector plugins** (patch) — minor internal updates as consumers of upstream API changes (cache plugin registry, schema additions). No public API changes.
|
|
22
|
+
|
|
23
|
+
- Updated dependencies [8d1ef12]
|
|
24
|
+
- Updated dependencies [8d1ef12]
|
|
25
|
+
- Updated dependencies [8d1ef12]
|
|
26
|
+
- @checkstack/common@0.7.0
|
|
27
|
+
- @checkstack/notification-backend@0.2.0
|
|
28
|
+
- @checkstack/backend-api@0.13.0
|
|
29
|
+
|
|
3
30
|
## 0.1.24
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@checkstack/notification-backstage-backend",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.26",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "src/index.ts",
|
|
6
6
|
"checkstack": {
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
"typecheck": "tsc --noEmit"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@checkstack/backend-api": "0.
|
|
17
|
-
"@checkstack/notification-backend": "0.
|
|
18
|
-
"@checkstack/common": "0.
|
|
16
|
+
"@checkstack/backend-api": "0.13.0",
|
|
17
|
+
"@checkstack/notification-backend": "0.2.0",
|
|
18
|
+
"@checkstack/common": "0.7.0",
|
|
19
19
|
"zod": "^4.2.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
package/src/index.ts
CHANGED
|
@@ -23,7 +23,7 @@ const backstageConfigSchemaV1 = z.object({
|
|
|
23
23
|
.url()
|
|
24
24
|
.optional()
|
|
25
25
|
.describe(
|
|
26
|
-
"Backstage instance base URL (e.g., https://backstage.example.com)"
|
|
26
|
+
"Backstage instance base URL (e.g., https://backstage.example.com)",
|
|
27
27
|
),
|
|
28
28
|
token: configString({ "x-secret": true })
|
|
29
29
|
.optional()
|
|
@@ -100,7 +100,7 @@ You can find this in your Backstage profile or catalog.
|
|
|
100
100
|
* Maps Checkstack importance levels to Backstage severity levels.
|
|
101
101
|
*/
|
|
102
102
|
function mapImportanceToSeverity(
|
|
103
|
-
importance: "info" | "warning" | "critical"
|
|
103
|
+
importance: "info" | "warning" | "critical",
|
|
104
104
|
): "low" | "normal" | "high" | "critical" {
|
|
105
105
|
switch (importance) {
|
|
106
106
|
case "info": {
|
|
@@ -209,7 +209,7 @@ const backstageStrategy: NotificationStrategy<
|
|
|
209
209
|
// Send to Backstage
|
|
210
210
|
const url = `${strategyConfig.baseUrl.replace(
|
|
211
211
|
/\/$/,
|
|
212
|
-
""
|
|
212
|
+
"",
|
|
213
213
|
)}/api/notifications/notifications`;
|
|
214
214
|
|
|
215
215
|
try {
|
|
@@ -280,7 +280,7 @@ export default createBackendPlugin({
|
|
|
280
280
|
register(env) {
|
|
281
281
|
// Get the notification strategy extension point
|
|
282
282
|
const extensionPoint = env.getExtensionPoint(
|
|
283
|
-
notificationStrategyExtensionPoint
|
|
283
|
+
notificationStrategyExtensionPoint,
|
|
284
284
|
);
|
|
285
285
|
|
|
286
286
|
// Register the Backstage strategy with our plugin metadata
|