@lssm/module.notifications 0.0.0-canary-20251216035145 → 0.0.0-canary-20251216062412

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/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{DeliveryLogEntity as e,NotificationChannelEnum as t,NotificationEntity as n,NotificationPreferenceEntity as r,NotificationPriorityEnum as i,NotificationStatusEnum as a,NotificationTemplateEntity as o,notificationEntities as s,notificationsSchemaContribution as c}from"./entities/index.js";import{DeleteNotificationContract as l,GetNotificationPreferencesContract as u,ListNotificationsContract as d,ListNotificationsInputModel as f,ListNotificationsOutputModel as p,MarkAllNotificationsReadContract as m,MarkNotificationReadContract as h,NotificationFilterEnum as g,NotificationModel as _,NotificationPreferenceModel as v,SendNotificationContract as y,SendNotificationInputModel as b,UpdateNotificationPreferencesContract as x,UpdatePreferencesInputModel as S}from"./contracts/index.js";import{ChannelRegistry as C,ConsoleChannel as w,EmailChannel as T,InAppChannel as E,PushChannel as D,WebhookChannel as O,createChannelRegistry as k}from"./channels/index.js";import{MentionTemplate as A,OrgInviteTemplate as j,TemplateRegistry as M,WelcomeTemplate as N,createTemplateRegistry as P,defineTemplate as F,renderNotificationTemplate as I,renderTemplate as L}from"./templates/index.js";export{C as ChannelRegistry,w as ConsoleChannel,l as DeleteNotificationContract,e as DeliveryLogEntity,T as EmailChannel,u as GetNotificationPreferencesContract,E as InAppChannel,d as ListNotificationsContract,f as ListNotificationsInputModel,p as ListNotificationsOutputModel,m as MarkAllNotificationsReadContract,h as MarkNotificationReadContract,A as MentionTemplate,t as NotificationChannelEnum,n as NotificationEntity,g as NotificationFilterEnum,_ as NotificationModel,r as NotificationPreferenceEntity,v as NotificationPreferenceModel,i as NotificationPriorityEnum,a as NotificationStatusEnum,o as NotificationTemplateEntity,j as OrgInviteTemplate,D as PushChannel,y as SendNotificationContract,b as SendNotificationInputModel,M as TemplateRegistry,x as UpdateNotificationPreferencesContract,S as UpdatePreferencesInputModel,O as WebhookChannel,N as WelcomeTemplate,k as createChannelRegistry,P as createTemplateRegistry,F as defineTemplate,s as notificationEntities,c as notificationsSchemaContribution,I as renderNotificationTemplate,L as renderTemplate};
1
+ import{DeliveryLogEntity as e,NotificationChannelEnum as t,NotificationEntity as n,NotificationPreferenceEntity as r,NotificationPriorityEnum as i,NotificationStatusEnum as a,NotificationTemplateEntity as o,notificationEntities as s,notificationsSchemaContribution as c}from"./entities/index.js";import{DeleteNotificationContract as l,GetNotificationPreferencesContract as u,ListNotificationsContract as d,ListNotificationsInputModel as f,ListNotificationsOutputModel as p,MarkAllNotificationsReadContract as m,MarkNotificationReadContract as h,NotificationFilterEnum as g,NotificationModel as _,NotificationPreferenceModel as v,SendNotificationContract as y,SendNotificationInputModel as b,UpdateNotificationPreferencesContract as x,UpdatePreferencesInputModel as S}from"./contracts/index.js";import{ChannelRegistry as C,ConsoleChannel as w,EmailChannel as T,InAppChannel as E,PushChannel as D,WebhookChannel as O,createChannelRegistry as k}from"./channels/index.js";import{MentionTemplate as A,OrgInviteTemplate as j,TemplateRegistry as M,WelcomeTemplate as N,createTemplateRegistry as P,defineTemplate as F,renderNotificationTemplate as I,renderTemplate as L}from"./templates/index.js";import{NotificationsFeature as R}from"./notifications.feature.js";export{C as ChannelRegistry,w as ConsoleChannel,l as DeleteNotificationContract,e as DeliveryLogEntity,T as EmailChannel,u as GetNotificationPreferencesContract,E as InAppChannel,d as ListNotificationsContract,f as ListNotificationsInputModel,p as ListNotificationsOutputModel,m as MarkAllNotificationsReadContract,h as MarkNotificationReadContract,A as MentionTemplate,t as NotificationChannelEnum,n as NotificationEntity,g as NotificationFilterEnum,_ as NotificationModel,r as NotificationPreferenceEntity,v as NotificationPreferenceModel,i as NotificationPriorityEnum,a as NotificationStatusEnum,o as NotificationTemplateEntity,R as NotificationsFeature,j as OrgInviteTemplate,D as PushChannel,y as SendNotificationContract,b as SendNotificationInputModel,M as TemplateRegistry,x as UpdateNotificationPreferencesContract,S as UpdatePreferencesInputModel,O as WebhookChannel,N as WelcomeTemplate,k as createChannelRegistry,P as createTemplateRegistry,F as defineTemplate,s as notificationEntities,c as notificationsSchemaContribution,I as renderNotificationTemplate,L as renderTemplate};
@@ -0,0 +1 @@
1
+ const e={meta:{key:`notifications`,title:`Notifications`,description:`Multi-channel notification delivery with preference management`,domain:`platform`,owners:[`@platform.notifications`],tags:[`notifications`,`email`,`push`,`in-app`],stability:`stable`},operations:[{name:`notifications.send`,version:1},{name:`notifications.markRead`,version:1},{name:`notifications.markAllRead`,version:1},{name:`notifications.delete`,version:1},{name:`notifications.list`,version:1},{name:`notifications.preferences.update`,version:1},{name:`notifications.preferences.get`,version:1}],events:[],presentations:[],opToPresentation:[],presentationsTargets:[],capabilities:{provides:[{key:`notifications`,version:1}],requires:[{key:`identity`,version:1}]}};export{e as NotificationsFeature};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/module.notifications",
3
- "version": "0.0.0-canary-20251216035145",
3
+ "version": "0.0.0-canary-20251216062412",
4
4
  "description": "Notification center module for ContractSpec applications",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -32,6 +32,7 @@
32
32
  "./channels": "./src/channels/index.ts",
33
33
  "./contracts": "./src/contracts/index.ts",
34
34
  "./entities": "./src/entities/index.ts",
35
+ "./notifications.feature": "./src/notifications.feature.ts",
35
36
  "./templates": "./src/templates/index.ts",
36
37
  "./*": "./*"
37
38
  },
@@ -47,6 +48,7 @@
47
48
  "./channels": "./dist/channels/index.js",
48
49
  "./contracts": "./dist/contracts/index.js",
49
50
  "./entities": "./dist/entities/index.js",
51
+ "./notifications.feature": "./dist/notifications.feature.js",
50
52
  "./templates": "./dist/templates/index.js",
51
53
  "./*": "./*"
52
54
  }