@backstage/plugin-notifications-common 0.0.1 → 0.0.2-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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +2 -5
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @backstage/plugin-notifications-common
|
|
2
2
|
|
|
3
|
+
## 0.0.2-next.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 758f2a4: The Notifications frontend has been redesigned towards list view with condensed row details. The 'done' attribute has been removed to keep the Notifications aligned with the idea of a messaging system instead of a task manager.
|
|
8
|
+
|
|
3
9
|
## 0.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
/** @public */
|
|
2
|
-
type NotificationType = 'undone' | 'done' | 'saved';
|
|
3
|
-
/** @public */
|
|
4
2
|
type NotificationSeverity = 'critical' | 'high' | 'normal' | 'low';
|
|
5
3
|
/** @public */
|
|
6
4
|
type NotificationPayload = {
|
|
7
5
|
title: string;
|
|
8
6
|
description?: string;
|
|
9
|
-
link
|
|
7
|
+
link?: string;
|
|
10
8
|
severity: NotificationSeverity;
|
|
11
9
|
topic?: string;
|
|
12
10
|
scope?: string;
|
|
@@ -19,7 +17,6 @@ type Notification = {
|
|
|
19
17
|
created: Date;
|
|
20
18
|
saved?: Date;
|
|
21
19
|
read?: Date;
|
|
22
|
-
done?: Date;
|
|
23
20
|
updated?: Date;
|
|
24
21
|
origin: string;
|
|
25
22
|
payload: NotificationPayload;
|
|
@@ -42,4 +39,4 @@ type NotificationReadSignal = {
|
|
|
42
39
|
/** @public */
|
|
43
40
|
type NotificationSignal = NewNotificationSignal | NotificationReadSignal;
|
|
44
41
|
|
|
45
|
-
export { NewNotificationSignal, Notification, NotificationPayload, NotificationReadSignal, NotificationSeverity, NotificationSignal, NotificationStatus
|
|
42
|
+
export { NewNotificationSignal, Notification, NotificationPayload, NotificationReadSignal, NotificationSeverity, NotificationSignal, NotificationStatus };
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@backstage/plugin-notifications-common",
|
|
3
|
+
"version": "0.0.2-next.0",
|
|
3
4
|
"description": "Common functionalities for the notifications plugin",
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"license": "Apache-2.0",
|
|
5
|
+
"backstage": {
|
|
6
|
+
"role": "common-library"
|
|
7
|
+
},
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public",
|
|
10
10
|
"main": "dist/index.cjs.js",
|
|
@@ -16,26 +16,26 @@
|
|
|
16
16
|
"url": "https://github.com/backstage/backstage",
|
|
17
17
|
"directory": "plugins/notifications-common"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
20
|
-
"role": "common-library"
|
|
21
|
-
},
|
|
19
|
+
"license": "Apache-2.0",
|
|
22
20
|
"sideEffects": false,
|
|
21
|
+
"main": "dist/index.cjs.js",
|
|
22
|
+
"types": "dist/index.d.ts",
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
23
26
|
"scripts": {
|
|
24
27
|
"build": "backstage-cli package build",
|
|
25
|
-
"lint": "backstage-cli package lint",
|
|
26
|
-
"test": "backstage-cli package test",
|
|
27
28
|
"clean": "backstage-cli package clean",
|
|
29
|
+
"lint": "backstage-cli package lint",
|
|
28
30
|
"prepack": "backstage-cli package prepack",
|
|
29
|
-
"postpack": "backstage-cli package postpack"
|
|
30
|
-
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@backstage/cli": "^0.25.2"
|
|
31
|
+
"postpack": "backstage-cli package postpack",
|
|
32
|
+
"test": "backstage-cli package test"
|
|
33
33
|
},
|
|
34
|
-
"files": [
|
|
35
|
-
"dist"
|
|
36
|
-
],
|
|
37
34
|
"dependencies": {
|
|
38
35
|
"@material-ui/icons": "^4.9.1"
|
|
39
36
|
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@backstage/cli": "^0.25.3-next.0"
|
|
39
|
+
},
|
|
40
40
|
"module": "dist/index.esm.js"
|
|
41
41
|
}
|