@open-mercato/enterprise 0.7.1-develop.7113.1.9d83dca10c → 0.7.1-develop.7120.1.a0154ac412

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.
@@ -2,6 +2,7 @@ const notificationTypes = [
2
2
  {
3
3
  type: "record_locks.participant.joined",
4
4
  module: "record_locks",
5
+ channels: ["in_app", "email"],
5
6
  titleKey: "record_locks.notifications.participant_joined.title",
6
7
  bodyKey: "record_locks.notifications.participant_joined.body",
7
8
  icon: "users",
@@ -12,6 +13,7 @@ const notificationTypes = [
12
13
  {
13
14
  type: "record_locks.participant.left",
14
15
  module: "record_locks",
16
+ channels: ["in_app", "email"],
15
17
  titleKey: "record_locks.notifications.participant_left.title",
16
18
  bodyKey: "record_locks.notifications.participant_left.body",
17
19
  icon: "user-minus",
@@ -22,6 +24,7 @@ const notificationTypes = [
22
24
  {
23
25
  type: "record_locks.lock.contended",
24
26
  module: "record_locks",
27
+ channels: ["in_app", "email"],
25
28
  titleKey: "record_locks.notifications.lock_contended.title",
26
29
  bodyKey: "record_locks.notifications.lock_contended.body",
27
30
  icon: "users",
@@ -32,6 +35,7 @@ const notificationTypes = [
32
35
  {
33
36
  type: "record_locks.lock.force_released",
34
37
  module: "record_locks",
38
+ channels: ["in_app", "email"],
35
39
  titleKey: "record_locks.notifications.lock_force_released.title",
36
40
  bodyKey: "record_locks.notifications.lock_force_released.body",
37
41
  icon: "unlock",
@@ -42,6 +46,7 @@ const notificationTypes = [
42
46
  {
43
47
  type: "record_locks.record.deleted",
44
48
  module: "record_locks",
49
+ channels: ["in_app", "email"],
45
50
  titleKey: "record_locks.notifications.record_deleted.title",
46
51
  bodyKey: "record_locks.notifications.record_deleted.body",
47
52
  icon: "trash-2",
@@ -52,6 +57,7 @@ const notificationTypes = [
52
57
  {
53
58
  type: "record_locks.conflict.detected",
54
59
  module: "record_locks",
60
+ channels: ["in_app", "email"],
55
61
  titleKey: "record_locks.notifications.conflict_detected.title",
56
62
  bodyKey: "record_locks.notifications.conflict_detected.body",
57
63
  icon: "git-compare-arrows",
@@ -62,6 +68,7 @@ const notificationTypes = [
62
68
  {
63
69
  type: "record_locks.incoming_changes.available",
64
70
  module: "record_locks",
71
+ channels: ["in_app", "email"],
65
72
  titleKey: "record_locks.notifications.incoming_changes.title",
66
73
  bodyKey: "record_locks.notifications.incoming_changes.body",
67
74
  icon: "git-pull-request-arrow",
@@ -72,6 +79,7 @@ const notificationTypes = [
72
79
  {
73
80
  type: "record_locks.conflict.resolved",
74
81
  module: "record_locks",
82
+ channels: ["in_app", "email"],
75
83
  titleKey: "record_locks.notifications.conflict_resolved.title",
76
84
  bodyKey: "record_locks.notifications.conflict_resolved.body",
77
85
  icon: "check-circle",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/modules/record_locks/notifications.ts"],
4
- "sourcesContent": ["import type { NotificationTypeDefinition } from '@open-mercato/shared/modules/notifications/types'\n\nexport const notificationTypes: NotificationTypeDefinition[] = [\n {\n type: 'record_locks.participant.joined',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.participant_joined.title',\n bodyKey: 'record_locks.notifications.participant_joined.body',\n icon: 'users',\n severity: 'info',\n actions: [],\n expiresAfterHours: 24,\n },\n {\n type: 'record_locks.participant.left',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.participant_left.title',\n bodyKey: 'record_locks.notifications.participant_left.body',\n icon: 'user-minus',\n severity: 'info',\n actions: [],\n expiresAfterHours: 24,\n },\n {\n type: 'record_locks.lock.contended',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.lock_contended.title',\n bodyKey: 'record_locks.notifications.lock_contended.body',\n icon: 'users',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.lock.force_released',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.lock_force_released.title',\n bodyKey: 'record_locks.notifications.lock_force_released.body',\n icon: 'unlock',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.record.deleted',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.record_deleted.title',\n bodyKey: 'record_locks.notifications.record_deleted.body',\n icon: 'trash-2',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.conflict.detected',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.conflict_detected.title',\n bodyKey: 'record_locks.notifications.conflict_detected.body',\n icon: 'git-compare-arrows',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.incoming_changes.available',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.incoming_changes.title',\n bodyKey: 'record_locks.notifications.incoming_changes.body',\n icon: 'git-pull-request-arrow',\n severity: 'info',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.conflict.resolved',\n module: 'record_locks',\n titleKey: 'record_locks.notifications.conflict_resolved.title',\n bodyKey: 'record_locks.notifications.conflict_resolved.body',\n icon: 'check-circle',\n severity: 'info',\n actions: [],\n expiresAfterHours: 48,\n },\n]\n\nexport default notificationTypes\n"],
5
- "mappings": "AAEO,MAAM,oBAAkD;AAAA,EAC7D;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AACF;AAEA,IAAO,wBAAQ;",
4
+ "sourcesContent": ["import type { NotificationTypeDefinition } from '@open-mercato/shared/modules/notifications/types'\n\nexport const notificationTypes: NotificationTypeDefinition[] = [\n {\n type: 'record_locks.participant.joined',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.participant_joined.title',\n bodyKey: 'record_locks.notifications.participant_joined.body',\n icon: 'users',\n severity: 'info',\n actions: [],\n expiresAfterHours: 24,\n },\n {\n type: 'record_locks.participant.left',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.participant_left.title',\n bodyKey: 'record_locks.notifications.participant_left.body',\n icon: 'user-minus',\n severity: 'info',\n actions: [],\n expiresAfterHours: 24,\n },\n {\n type: 'record_locks.lock.contended',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.lock_contended.title',\n bodyKey: 'record_locks.notifications.lock_contended.body',\n icon: 'users',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.lock.force_released',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.lock_force_released.title',\n bodyKey: 'record_locks.notifications.lock_force_released.body',\n icon: 'unlock',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.record.deleted',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.record_deleted.title',\n bodyKey: 'record_locks.notifications.record_deleted.body',\n icon: 'trash-2',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.conflict.detected',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.conflict_detected.title',\n bodyKey: 'record_locks.notifications.conflict_detected.body',\n icon: 'git-compare-arrows',\n severity: 'warning',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.incoming_changes.available',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.incoming_changes.title',\n bodyKey: 'record_locks.notifications.incoming_changes.body',\n icon: 'git-pull-request-arrow',\n severity: 'info',\n actions: [],\n expiresAfterHours: 48,\n },\n {\n type: 'record_locks.conflict.resolved',\n module: 'record_locks',\n channels: ['in_app', 'email'],\n titleKey: 'record_locks.notifications.conflict_resolved.title',\n bodyKey: 'record_locks.notifications.conflict_resolved.body',\n icon: 'check-circle',\n severity: 'info',\n actions: [],\n expiresAfterHours: 48,\n },\n]\n\nexport default notificationTypes\n"],
5
+ "mappings": "AAEO,MAAM,oBAAkD;AAAA,EAC7D;AAAA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,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU,CAAC,UAAU,OAAO;AAAA,IAC5B,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU,CAAC,UAAU,OAAO;AAAA,IAC5B,UAAU;AAAA,IACV,SAAS;AAAA,IACT,MAAM;AAAA,IACN,UAAU;AAAA,IACV,SAAS,CAAC;AAAA,IACV,mBAAmB;AAAA,EACrB;AACF;AAEA,IAAO,wBAAQ;",
6
6
  "names": []
7
7
  }
@@ -2,6 +2,7 @@ const notificationTypes = [
2
2
  {
3
3
  type: "security.password.changed",
4
4
  module: "security",
5
+ channels: ["in_app", "email"],
5
6
  titleKey: "security.notifications.passwordChanged.title",
6
7
  bodyKey: "security.notifications.passwordChanged.body",
7
8
  icon: "key-round",
@@ -21,6 +22,7 @@ const notificationTypes = [
21
22
  {
22
23
  type: "security.mfa.enrolled",
23
24
  module: "security",
25
+ channels: ["in_app", "email"],
24
26
  titleKey: "security.notifications.mfaEnrolled.title",
25
27
  bodyKey: "security.notifications.mfaEnrolled.body",
26
28
  icon: "shield-check",
@@ -40,6 +42,7 @@ const notificationTypes = [
40
42
  {
41
43
  type: "security.mfa.reset",
42
44
  module: "security",
45
+ channels: ["in_app", "email"],
43
46
  titleKey: "security.notifications.mfaReset.title",
44
47
  bodyKey: "security.notifications.mfaReset.body",
45
48
  icon: "shield-alert",
@@ -59,6 +62,7 @@ const notificationTypes = [
59
62
  {
60
63
  type: "security.mfa.enforcement_deadline",
61
64
  module: "security",
65
+ channels: ["in_app", "email"],
62
66
  titleKey: "security.notifications.enforcementDeadline.title",
63
67
  bodyKey: "security.notifications.enforcementDeadline.bodyImmediate",
64
68
  icon: "clock-3",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../src/modules/security/notifications.ts"],
4
- "sourcesContent": ["import type { NotificationTypeDefinition } from '@open-mercato/shared/modules/notifications/types'\n\nexport const notificationTypes: NotificationTypeDefinition[] = [\n {\n type: 'security.password.changed',\n module: 'security',\n titleKey: 'security.notifications.passwordChanged.title',\n bodyKey: 'security.notifications.passwordChanged.body',\n icon: 'key-round',\n severity: 'success',\n actions: [\n {\n id: 'open_security_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.enrolled',\n module: 'security',\n titleKey: 'security.notifications.mfaEnrolled.title',\n bodyKey: 'security.notifications.mfaEnrolled.body',\n icon: 'shield-check',\n severity: 'success',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.reset',\n module: 'security',\n titleKey: 'security.notifications.mfaReset.title',\n bodyKey: 'security.notifications.mfaReset.body',\n icon: 'shield-alert',\n severity: 'warning',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.enforcement_deadline',\n module: 'security',\n titleKey: 'security.notifications.enforcementDeadline.title',\n bodyKey: 'security.notifications.enforcementDeadline.bodyImmediate',\n icon: 'clock-3',\n severity: 'warning',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n]\n\nexport default notificationTypes\n"],
5
- "mappings": "AAEO,MAAM,oBAAkD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import type { NotificationTypeDefinition } from '@open-mercato/shared/modules/notifications/types'\n\nexport const notificationTypes: NotificationTypeDefinition[] = [\n {\n type: 'security.password.changed',\n module: 'security',\n channels: ['in_app', 'email'],\n titleKey: 'security.notifications.passwordChanged.title',\n bodyKey: 'security.notifications.passwordChanged.body',\n icon: 'key-round',\n severity: 'success',\n actions: [\n {\n id: 'open_security_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.enrolled',\n module: 'security',\n channels: ['in_app', 'email'],\n titleKey: 'security.notifications.mfaEnrolled.title',\n bodyKey: 'security.notifications.mfaEnrolled.body',\n icon: 'shield-check',\n severity: 'success',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.reset',\n module: 'security',\n channels: ['in_app', 'email'],\n titleKey: 'security.notifications.mfaReset.title',\n bodyKey: 'security.notifications.mfaReset.body',\n icon: 'shield-alert',\n severity: 'warning',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n {\n type: 'security.mfa.enforcement_deadline',\n module: 'security',\n channels: ['in_app', 'email'],\n titleKey: 'security.notifications.enforcementDeadline.title',\n bodyKey: 'security.notifications.enforcementDeadline.bodyImmediate',\n icon: 'clock-3',\n severity: 'warning',\n actions: [\n {\n id: 'open_mfa_settings',\n labelKey: 'common.view',\n variant: 'outline',\n href: '/backend/profile/security/mfa',\n icon: 'external-link',\n },\n ],\n linkHref: '/backend/profile/security/mfa',\n expiresAfterHours: 168,\n },\n]\n\nexport default notificationTypes\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I;AAAA,QACJ,UAAU;AAAA,QACV,SAAS;AAAA,QACT,MAAM;AAAA,QACN,MAAM;AAAA,MACR;AAAA,IACF;AAAA,IACA,UAAU;AAAA,IACV,mBAAmB;AAAA,EACrB;AACF;AAEA,IAAO,wBAAQ;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/enterprise",
3
- "version": "0.7.1-develop.7113.1.9d83dca10c",
3
+ "version": "0.7.1-develop.7120.1.a0154ac412",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -65,8 +65,8 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@open-mercato/core": "0.7.1-develop.7113.1.9d83dca10c",
69
- "@open-mercato/ui": "0.7.1-develop.7113.1.9d83dca10c",
68
+ "@open-mercato/core": "0.7.1-develop.7120.1.a0154ac412",
69
+ "@open-mercato/ui": "0.7.1-develop.7120.1.a0154ac412",
70
70
  "@simplewebauthn/browser": "^13.3.0",
71
71
  "@simplewebauthn/server": "^13.3.2",
72
72
  "@simplewebauthn/types": "^12.0.0",
@@ -76,12 +76,12 @@
76
76
  "qrcode": "^1.5.4"
77
77
  },
78
78
  "peerDependencies": {
79
- "@open-mercato/shared": "0.7.1-develop.7113.1.9d83dca10c",
79
+ "@open-mercato/shared": "0.7.1-develop.7120.1.a0154ac412",
80
80
  "react": "^19.0.0",
81
81
  "react-dom": "^19.0.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@open-mercato/shared": "0.7.1-develop.7113.1.9d83dca10c",
84
+ "@open-mercato/shared": "0.7.1-develop.7120.1.a0154ac412",
85
85
  "@types/jest": "^30.0.0",
86
86
  "@types/react": "^19.2.17",
87
87
  "@types/react-dom": "^19.2.3",
@@ -4,6 +4,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
4
4
  {
5
5
  type: 'record_locks.participant.joined',
6
6
  module: 'record_locks',
7
+ channels: ['in_app', 'email'],
7
8
  titleKey: 'record_locks.notifications.participant_joined.title',
8
9
  bodyKey: 'record_locks.notifications.participant_joined.body',
9
10
  icon: 'users',
@@ -14,6 +15,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
14
15
  {
15
16
  type: 'record_locks.participant.left',
16
17
  module: 'record_locks',
18
+ channels: ['in_app', 'email'],
17
19
  titleKey: 'record_locks.notifications.participant_left.title',
18
20
  bodyKey: 'record_locks.notifications.participant_left.body',
19
21
  icon: 'user-minus',
@@ -24,6 +26,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
24
26
  {
25
27
  type: 'record_locks.lock.contended',
26
28
  module: 'record_locks',
29
+ channels: ['in_app', 'email'],
27
30
  titleKey: 'record_locks.notifications.lock_contended.title',
28
31
  bodyKey: 'record_locks.notifications.lock_contended.body',
29
32
  icon: 'users',
@@ -34,6 +37,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
34
37
  {
35
38
  type: 'record_locks.lock.force_released',
36
39
  module: 'record_locks',
40
+ channels: ['in_app', 'email'],
37
41
  titleKey: 'record_locks.notifications.lock_force_released.title',
38
42
  bodyKey: 'record_locks.notifications.lock_force_released.body',
39
43
  icon: 'unlock',
@@ -44,6 +48,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
44
48
  {
45
49
  type: 'record_locks.record.deleted',
46
50
  module: 'record_locks',
51
+ channels: ['in_app', 'email'],
47
52
  titleKey: 'record_locks.notifications.record_deleted.title',
48
53
  bodyKey: 'record_locks.notifications.record_deleted.body',
49
54
  icon: 'trash-2',
@@ -54,6 +59,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
54
59
  {
55
60
  type: 'record_locks.conflict.detected',
56
61
  module: 'record_locks',
62
+ channels: ['in_app', 'email'],
57
63
  titleKey: 'record_locks.notifications.conflict_detected.title',
58
64
  bodyKey: 'record_locks.notifications.conflict_detected.body',
59
65
  icon: 'git-compare-arrows',
@@ -64,6 +70,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
64
70
  {
65
71
  type: 'record_locks.incoming_changes.available',
66
72
  module: 'record_locks',
73
+ channels: ['in_app', 'email'],
67
74
  titleKey: 'record_locks.notifications.incoming_changes.title',
68
75
  bodyKey: 'record_locks.notifications.incoming_changes.body',
69
76
  icon: 'git-pull-request-arrow',
@@ -74,6 +81,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
74
81
  {
75
82
  type: 'record_locks.conflict.resolved',
76
83
  module: 'record_locks',
84
+ channels: ['in_app', 'email'],
77
85
  titleKey: 'record_locks.notifications.conflict_resolved.title',
78
86
  bodyKey: 'record_locks.notifications.conflict_resolved.body',
79
87
  icon: 'check-circle',
@@ -4,6 +4,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
4
4
  {
5
5
  type: 'security.password.changed',
6
6
  module: 'security',
7
+ channels: ['in_app', 'email'],
7
8
  titleKey: 'security.notifications.passwordChanged.title',
8
9
  bodyKey: 'security.notifications.passwordChanged.body',
9
10
  icon: 'key-round',
@@ -23,6 +24,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
23
24
  {
24
25
  type: 'security.mfa.enrolled',
25
26
  module: 'security',
27
+ channels: ['in_app', 'email'],
26
28
  titleKey: 'security.notifications.mfaEnrolled.title',
27
29
  bodyKey: 'security.notifications.mfaEnrolled.body',
28
30
  icon: 'shield-check',
@@ -42,6 +44,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
42
44
  {
43
45
  type: 'security.mfa.reset',
44
46
  module: 'security',
47
+ channels: ['in_app', 'email'],
45
48
  titleKey: 'security.notifications.mfaReset.title',
46
49
  bodyKey: 'security.notifications.mfaReset.body',
47
50
  icon: 'shield-alert',
@@ -61,6 +64,7 @@ export const notificationTypes: NotificationTypeDefinition[] = [
61
64
  {
62
65
  type: 'security.mfa.enforcement_deadline',
63
66
  module: 'security',
67
+ channels: ['in_app', 'email'],
64
68
  titleKey: 'security.notifications.enforcementDeadline.title',
65
69
  bodyKey: 'security.notifications.enforcementDeadline.bodyImmediate',
66
70
  icon: 'clock-3',