@open-mercato/core 0.6.7-develop.6749.1.6b54c56dfe → 0.6.7-develop.6751.1.ac823a3d26
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.
|
@@ -6,14 +6,16 @@ const events = [
|
|
|
6
6
|
label: "Notification Created",
|
|
7
7
|
entity: "notification",
|
|
8
8
|
category: "system",
|
|
9
|
-
clientBroadcast: true
|
|
9
|
+
clientBroadcast: true,
|
|
10
|
+
portalBroadcast: true
|
|
10
11
|
},
|
|
11
12
|
{
|
|
12
13
|
id: NOTIFICATION_SSE_EVENTS.BATCH_CREATED,
|
|
13
14
|
label: "Notification Batch Created",
|
|
14
15
|
entity: "notification",
|
|
15
16
|
category: "system",
|
|
16
|
-
clientBroadcast: true
|
|
17
|
+
clientBroadcast: true,
|
|
18
|
+
portalBroadcast: true
|
|
17
19
|
}
|
|
18
20
|
];
|
|
19
21
|
const eventsConfig = createModuleEvents({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/modules/notifications/events.ts"],
|
|
4
|
-
"sourcesContent": ["import { createModuleEvents } from '@open-mercato/shared/modules/events'\nimport { NOTIFICATION_SSE_EVENTS } from './lib/events'\n\nconst events = [\n {\n id: NOTIFICATION_SSE_EVENTS.CREATED,\n label: 'Notification Created',\n entity: 'notification',\n category: 'system',\n clientBroadcast: true,\n },\n {\n id: NOTIFICATION_SSE_EVENTS.BATCH_CREATED,\n label: 'Notification Batch Created',\n entity: 'notification',\n category: 'system',\n clientBroadcast: true,\n },\n] as const\n\nexport const eventsConfig = createModuleEvents({\n moduleId: 'notifications',\n events,\n})\n\nexport const emitNotificationEvent = eventsConfig.emit\n\nexport default eventsConfig\n"],
|
|
5
|
-
"mappings": "AAAA,SAAS,0BAA0B;AACnC,SAAS,+BAA+B;AAExC,MAAM,SAAS;AAAA,EACb;AAAA,IACE,IAAI,wBAAwB;AAAA,IAC5B,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,iBAAiB;AAAA,EACnB;AAAA,EACA;AAAA,IACE,IAAI,wBAAwB;AAAA,IAC5B,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,iBAAiB;AAAA,EACnB;AACF;AAEO,MAAM,eAAe,mBAAmB;AAAA,EAC7C,UAAU;AAAA,EACV;AACF,CAAC;AAEM,MAAM,wBAAwB,aAAa;AAElD,IAAO,iBAAQ;",
|
|
4
|
+
"sourcesContent": ["import { createModuleEvents } from '@open-mercato/shared/modules/events'\nimport { NOTIFICATION_SSE_EVENTS } from './lib/events'\n\nconst events = [\n {\n id: NOTIFICATION_SSE_EVENTS.CREATED,\n label: 'Notification Created',\n entity: 'notification',\n category: 'system',\n clientBroadcast: true,\n portalBroadcast: true,\n },\n {\n id: NOTIFICATION_SSE_EVENTS.BATCH_CREATED,\n label: 'Notification Batch Created',\n entity: 'notification',\n category: 'system',\n clientBroadcast: true,\n portalBroadcast: true,\n },\n] as const\n\nexport const eventsConfig = createModuleEvents({\n moduleId: 'notifications',\n events,\n})\n\nexport const emitNotificationEvent = eventsConfig.emit\n\nexport default eventsConfig\n"],
|
|
5
|
+
"mappings": "AAAA,SAAS,0BAA0B;AACnC,SAAS,+BAA+B;AAExC,MAAM,SAAS;AAAA,EACb;AAAA,IACE,IAAI,wBAAwB;AAAA,IAC5B,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,EACnB;AAAA,EACA;AAAA,IACE,IAAI,wBAAwB;AAAA,IAC5B,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,iBAAiB;AAAA,IACjB,iBAAiB;AAAA,EACnB;AACF;AAEO,MAAM,eAAe,mBAAmB;AAAA,EAC7C,UAAU;AAAA,EACV;AACF,CAAC;AAEM,MAAM,wBAAwB,aAAa;AAElD,IAAO,iBAAQ;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@open-mercato/core",
|
|
3
|
-
"version": "0.6.7-develop.
|
|
3
|
+
"version": "0.6.7-develop.6751.1.ac823a3d26",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -254,16 +254,16 @@
|
|
|
254
254
|
"zod": "^4.4.3"
|
|
255
255
|
},
|
|
256
256
|
"peerDependencies": {
|
|
257
|
-
"@open-mercato/ai-assistant": "0.6.7-develop.
|
|
258
|
-
"@open-mercato/shared": "0.6.7-develop.
|
|
259
|
-
"@open-mercato/ui": "0.6.7-develop.
|
|
257
|
+
"@open-mercato/ai-assistant": "0.6.7-develop.6751.1.ac823a3d26",
|
|
258
|
+
"@open-mercato/shared": "0.6.7-develop.6751.1.ac823a3d26",
|
|
259
|
+
"@open-mercato/ui": "0.6.7-develop.6751.1.ac823a3d26",
|
|
260
260
|
"react": "^19.0.0",
|
|
261
261
|
"react-dom": "^19.0.0"
|
|
262
262
|
},
|
|
263
263
|
"devDependencies": {
|
|
264
|
-
"@open-mercato/ai-assistant": "0.6.7-develop.
|
|
265
|
-
"@open-mercato/shared": "0.6.7-develop.
|
|
266
|
-
"@open-mercato/ui": "0.6.7-develop.
|
|
264
|
+
"@open-mercato/ai-assistant": "0.6.7-develop.6751.1.ac823a3d26",
|
|
265
|
+
"@open-mercato/shared": "0.6.7-develop.6751.1.ac823a3d26",
|
|
266
|
+
"@open-mercato/ui": "0.6.7-develop.6751.1.ac823a3d26",
|
|
267
267
|
"@testing-library/dom": "^10.4.1",
|
|
268
268
|
"@testing-library/jest-dom": "^6.9.1",
|
|
269
269
|
"@testing-library/react": "^16.3.1",
|
|
@@ -8,6 +8,7 @@ const events = [
|
|
|
8
8
|
entity: 'notification',
|
|
9
9
|
category: 'system',
|
|
10
10
|
clientBroadcast: true,
|
|
11
|
+
portalBroadcast: true,
|
|
11
12
|
},
|
|
12
13
|
{
|
|
13
14
|
id: NOTIFICATION_SSE_EVENTS.BATCH_CREATED,
|
|
@@ -15,6 +16,7 @@ const events = [
|
|
|
15
16
|
entity: 'notification',
|
|
16
17
|
category: 'system',
|
|
17
18
|
clientBroadcast: true,
|
|
19
|
+
portalBroadcast: true,
|
|
18
20
|
},
|
|
19
21
|
] as const
|
|
20
22
|
|