@genesislcap/pbc-notify-ui 1.0.17 → 1.0.18

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.
@@ -1,7 +1,7 @@
1
1
  export declare const NotifyPermission: {
2
- NOTIFY_RULE_VIEW: string;
3
- NOTIFICATION_RULE_TEMPLATE_VIEW: string;
4
- NOTIFY_ROUTE_VIEW: string;
5
- NOTIFY_AUDIT_VIEW: string;
2
+ NotificationRuleView: string;
3
+ NotificationRuleTemplateView: string;
4
+ NotificationRouteView: string;
5
+ NotificationAuditView: string;
6
6
  };
7
7
  //# sourceMappingURL=notifyPermissions.d.ts.map
@@ -21,7 +21,7 @@ export const FoundationInboxTemplate = html `
21
21
  >
22
22
  Alert Log
23
23
  </zero-tab>
24
- ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NOTIFY_RULE_VIEW), html `
24
+ ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NotificationRuleView), html `
25
25
  <zero-tab
26
26
  slot="my-alerts-tab"
27
27
  id=${InboxTab.MyAlerts}
@@ -31,7 +31,7 @@ export const FoundationInboxTemplate = html `
31
31
  My Alerts
32
32
  </zero-tab>
33
33
  `)}
34
- ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NOTIFICATION_RULE_TEMPLATE_VIEW), html `
34
+ ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NotificationRuleTemplateView), html `
35
35
  <zero-tab
36
36
  slot="subscribe-tab"
37
37
  id=${InboxTab.Subscribe}
@@ -73,7 +73,7 @@ export const FoundationInboxTemplate = html `
73
73
  `)}
74
74
  </div>
75
75
  </zero-tab-panel>
76
- ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NOTIFY_RULE_VIEW), html `
76
+ ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NotificationRuleView), html `
77
77
  <!-- Rules -->
78
78
  <zero-tab-panel
79
79
  slot="my-alerts-tab"
@@ -110,7 +110,7 @@ export const FoundationInboxTemplate = html `
110
110
  </div>
111
111
  </zero-tab-panel>
112
112
  `)}
113
- ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NOTIFICATION_RULE_TEMPLATE_VIEW), html `
113
+ ${when((x) => x.auth.currentUser.hasPermission(NotifyPermission.NotificationRuleTemplateView), html `
114
114
  <!-- Templates -->
115
115
  <zero-tab-panel
116
116
  slot="subscribe-tab"
@@ -5,24 +5,24 @@ export const NOTIFICATION_DASHBOARD_TABS = [
5
5
  id: 'rules',
6
6
  name: 'Rules',
7
7
  component: 'rule-management',
8
- right: 'NOTIFY_RULE_VIEW'
8
+ right: 'NotificationRuleView'
9
9
  },
10
10
  {
11
11
  id: 'templates',
12
12
  name: 'Templates',
13
13
  component: 'template-management',
14
- right: 'NOTIFICATION_RULE_TEMPLATE_VIEW'
14
+ right: 'NotificationRuleTemplateView'
15
15
  },
16
16
  {
17
17
  id: 'routes',
18
18
  name: 'Routes',
19
19
  component: 'route-management',
20
- right: 'NOTIFY_ROUTE_VIEW'
20
+ right: 'NotificationRouteView'
21
21
  },
22
22
  {
23
23
  id: 'notify-audit',
24
24
  name: 'Notify Audit',
25
25
  component: 'notify-audit-management',
26
- right: 'NOTIFY_AUDIT_VIEW'
26
+ right: 'NotificationAuditView'
27
27
  }
28
28
  ];
@@ -1,6 +1,6 @@
1
1
  export const NotifyPermission = {
2
- NOTIFY_RULE_VIEW: "NOTIFY_RULE_VIEW",
3
- NOTIFICATION_RULE_TEMPLATE_VIEW: "NOTIFICATION_RULE_TEMPLATE_VIEW",
4
- NOTIFY_ROUTE_VIEW: "NOTIFY_ROUTE_VIEW",
5
- NOTIFY_AUDIT_VIEW: "NOTIFY_AUDIT_VIEW",
2
+ NotificationRuleView: "NotificationRuleView",
3
+ NotificationRuleTemplateView: "NotificationRuleTemplateView",
4
+ NotificationRouteView: "NotificationRouteView",
5
+ NotificationAuditView: "NotificationAuditView",
6
6
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/pbc-notify-ui",
3
3
  "description": "Genesis PBC Notify UI",
4
- "version": "1.0.17",
4
+ "version": "1.0.18",
5
5
  "license": "SEE LICENSE IN license.txt",
6
6
  "main": "dist/esm/index.js",
7
7
  "types": "dist/dts/index.d.ts",