@novu/js 3.0.1 → 3.1.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.
@@ -17,20 +17,6 @@ var NotificationStatus = /* @__PURE__ */ ((NotificationStatus2) => {
17
17
  NotificationStatus2["UNSEEN"] = "unseen";
18
18
  return NotificationStatus2;
19
19
  })(NotificationStatus || {});
20
- var NotificationButton = /* @__PURE__ */ ((NotificationButton2) => {
21
- NotificationButton2["PRIMARY"] = "primary";
22
- NotificationButton2["SECONDARY"] = "secondary";
23
- return NotificationButton2;
24
- })(NotificationButton || {});
25
- var NotificationActionStatus = /* @__PURE__ */ ((NotificationActionStatus2) => {
26
- NotificationActionStatus2["PENDING"] = "pending";
27
- NotificationActionStatus2["DONE"] = "done";
28
- return NotificationActionStatus2;
29
- })(NotificationActionStatus || {});
30
- var CtaType = /* @__PURE__ */ ((CtaType2) => {
31
- CtaType2["REDIRECT"] = "redirect";
32
- return CtaType2;
33
- })(CtaType || {});
34
20
  var PreferenceLevel = /* @__PURE__ */ ((PreferenceLevel2) => {
35
21
  PreferenceLevel2["GLOBAL"] = "global";
36
22
  PreferenceLevel2["TEMPLATE"] = "template";
@@ -44,29 +30,12 @@ var ChannelType = /* @__PURE__ */ ((ChannelType2) => {
44
30
  ChannelType2["PUSH"] = "push";
45
31
  return ChannelType2;
46
32
  })(ChannelType || {});
47
- var PreferenceOverrideSource = /* @__PURE__ */ ((PreferenceOverrideSource2) => {
48
- PreferenceOverrideSource2["SUBSCRIBER"] = "subscriber";
49
- PreferenceOverrideSource2["TEMPLATE"] = "template";
50
- PreferenceOverrideSource2["WORKFLOW_OVERRIDE"] = "workflowOverride";
51
- return PreferenceOverrideSource2;
52
- })(PreferenceOverrideSource || {});
53
33
  var WebSocketEvent = /* @__PURE__ */ ((WebSocketEvent2) => {
54
34
  WebSocketEvent2["RECEIVED"] = "notification_received";
55
35
  WebSocketEvent2["UNREAD"] = "unread_count_changed";
56
36
  WebSocketEvent2["UNSEEN"] = "unseen_count_changed";
57
37
  return WebSocketEvent2;
58
38
  })(WebSocketEvent || {});
59
- var ActionTypeEnum = /* @__PURE__ */ ((ActionTypeEnum2) => {
60
- ActionTypeEnum2["PRIMARY"] = "primary";
61
- ActionTypeEnum2["SECONDARY"] = "secondary";
62
- return ActionTypeEnum2;
63
- })(ActionTypeEnum || {});
64
- var PreferenceOverrideSourceEnum = /* @__PURE__ */ ((PreferenceOverrideSourceEnum2) => {
65
- PreferenceOverrideSourceEnum2["SUBSCRIBER"] = "subscriber";
66
- PreferenceOverrideSourceEnum2["TEMPLATE"] = "template";
67
- PreferenceOverrideSourceEnum2["WORKFLOW_OVERRIDE"] = "workflowOverride";
68
- return PreferenceOverrideSourceEnum2;
69
- })(PreferenceOverrideSourceEnum || {});
70
39
 
71
40
  // src/utils/arrays.ts
72
41
  var arrayValuesEqual = (arr1, arr2) => {
@@ -91,7 +60,7 @@ var isSameFilter = (filter1, filter2) => {
91
60
  // src/api/http-client.ts
92
61
  var DEFAULT_API_VERSION = "v1";
93
62
  var DEFAULT_BACKEND_URL = "https://api.novu.co";
94
- var DEFAULT_USER_AGENT = `${"@novu/js"}@${"3.0.1"}`;
63
+ var DEFAULT_USER_AGENT = `${"@novu/js"}@${"3.1.0"}`;
95
64
  var HttpClient = class {
96
65
  constructor(options = {}) {
97
66
  const {
@@ -414,6 +383,7 @@ var Notification = class {
414
383
  this.tags = notification.tags;
415
384
  this.redirect = notification.redirect;
416
385
  this.data = notification.data;
386
+ this.workflow = notification.workflow;
417
387
  }
418
388
  read() {
419
389
  return read({
@@ -1566,7 +1536,8 @@ var mapToNotification = ({
1566
1536
  avatar,
1567
1537
  cta,
1568
1538
  tags,
1569
- data
1539
+ data,
1540
+ workflow
1570
1541
  }) => {
1571
1542
  var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
1572
1543
  const to = {
@@ -1613,7 +1584,8 @@ var mapToNotification = ({
1613
1584
  url: cta.data.url,
1614
1585
  target: cta.data.target
1615
1586
  } : void 0,
1616
- data
1587
+ data,
1588
+ workflow
1617
1589
  };
1618
1590
  };
1619
1591
  var _token, _emitter6, _socketIo, _socketUrl, _notificationReceived, _unseenCountChanged, _unreadCountChanged, _Socket_instances, initializeSocket_fn, handleConnectSocket_fn, handleDisconnectSocket_fn;
@@ -1792,16 +1764,10 @@ _emitter7 = new WeakMap();
1792
1764
  _session = new WeakMap();
1793
1765
  _inboxService3 = new WeakMap();
1794
1766
 
1795
- exports.ActionTypeEnum = ActionTypeEnum;
1796
1767
  exports.ChannelType = ChannelType;
1797
- exports.CtaType = CtaType;
1798
- exports.NotificationActionStatus = NotificationActionStatus;
1799
- exports.NotificationButton = NotificationButton;
1800
1768
  exports.NotificationStatus = NotificationStatus;
1801
1769
  exports.Novu = Novu;
1802
1770
  exports.PreferenceLevel = PreferenceLevel;
1803
- exports.PreferenceOverrideSource = PreferenceOverrideSource;
1804
- exports.PreferenceOverrideSourceEnum = PreferenceOverrideSourceEnum;
1805
1771
  exports.WebSocketEvent = WebSocketEvent;
1806
1772
  exports.areTagsEqual = areTagsEqual;
1807
1773
  exports.isSameFilter = isSameFilter;
@@ -1,5 +1,5 @@
1
- import { N as NotificationFilter } from './novu-CalZFixf.js';
2
- export { k as Action, A as ActionTypeEnum, m as ChannelPreference, f as ChannelType, C as CtaType, E as EventHandler, a as Events, F as FiltersCountResponse, q as IPreferenceOverride, I as InboxNotification, L as ListNotificationsResponse, i as MessageAction, M as MessageButton, u as Notification, e as NotificationActionStatus, d as NotificationButton, c as NotificationStatus, b as Novu, w as NovuError, s as NovuOptions, n as PaginatedResponse, v as Preference, P as PreferenceLevel, g as PreferenceOverrideSource, p as PreferenceOverrideSourceEnum, o as PreferencesResponse, t as Prettify, R as Redirect, r as Result, h as Session, S as SocketEventNames, j as Subscriber, T as TODO, W as WebSocketEvent, l as Workflow } from './novu-CalZFixf.js';
1
+ import { N as NotificationFilter } from './novu-DDPQzl99.js';
2
+ export { C as ChannelPreference, c as ChannelType, E as EventHandler, a as Events, F as FiltersCountResponse, I as InboxNotification, L as ListNotificationsResponse, d as Notification, e as NotificationStatus, b as Novu, f as NovuError, g as NovuOptions, P as Preference, h as PreferenceLevel, i as PreferencesResponse, S as SocketEventNames, W as WebSocketEvent } from './novu-DDPQzl99.js';
3
3
 
4
4
  declare const areTagsEqual: (tags1?: string[], tags2?: string[]) => boolean;
5
5
  declare const isSameFilter: (filter1: NotificationFilter, filter2: NotificationFilter) => boolean;
package/dist/cjs/index.js CHANGED
@@ -1,59 +1,35 @@
1
1
  'use strict';
2
2
 
3
- var chunkBD5JCEYL_js = require('./chunk-BD5JCEYL.js');
3
+ var chunkWONVNOTK_js = require('./chunk-WONVNOTK.js');
4
4
  require('./chunk-7B52C2XE.js');
5
5
 
6
6
 
7
7
 
8
- Object.defineProperty(exports, "ActionTypeEnum", {
9
- enumerable: true,
10
- get: function () { return chunkBD5JCEYL_js.ActionTypeEnum; }
11
- });
12
8
  Object.defineProperty(exports, "ChannelType", {
13
9
  enumerable: true,
14
- get: function () { return chunkBD5JCEYL_js.ChannelType; }
15
- });
16
- Object.defineProperty(exports, "CtaType", {
17
- enumerable: true,
18
- get: function () { return chunkBD5JCEYL_js.CtaType; }
19
- });
20
- Object.defineProperty(exports, "NotificationActionStatus", {
21
- enumerable: true,
22
- get: function () { return chunkBD5JCEYL_js.NotificationActionStatus; }
23
- });
24
- Object.defineProperty(exports, "NotificationButton", {
25
- enumerable: true,
26
- get: function () { return chunkBD5JCEYL_js.NotificationButton; }
10
+ get: function () { return chunkWONVNOTK_js.ChannelType; }
27
11
  });
28
12
  Object.defineProperty(exports, "NotificationStatus", {
29
13
  enumerable: true,
30
- get: function () { return chunkBD5JCEYL_js.NotificationStatus; }
14
+ get: function () { return chunkWONVNOTK_js.NotificationStatus; }
31
15
  });
32
16
  Object.defineProperty(exports, "Novu", {
33
17
  enumerable: true,
34
- get: function () { return chunkBD5JCEYL_js.Novu; }
18
+ get: function () { return chunkWONVNOTK_js.Novu; }
35
19
  });
36
20
  Object.defineProperty(exports, "PreferenceLevel", {
37
21
  enumerable: true,
38
- get: function () { return chunkBD5JCEYL_js.PreferenceLevel; }
39
- });
40
- Object.defineProperty(exports, "PreferenceOverrideSource", {
41
- enumerable: true,
42
- get: function () { return chunkBD5JCEYL_js.PreferenceOverrideSource; }
43
- });
44
- Object.defineProperty(exports, "PreferenceOverrideSourceEnum", {
45
- enumerable: true,
46
- get: function () { return chunkBD5JCEYL_js.PreferenceOverrideSourceEnum; }
22
+ get: function () { return chunkWONVNOTK_js.PreferenceLevel; }
47
23
  });
48
24
  Object.defineProperty(exports, "WebSocketEvent", {
49
25
  enumerable: true,
50
- get: function () { return chunkBD5JCEYL_js.WebSocketEvent; }
26
+ get: function () { return chunkWONVNOTK_js.WebSocketEvent; }
51
27
  });
52
28
  Object.defineProperty(exports, "areTagsEqual", {
53
29
  enumerable: true,
54
- get: function () { return chunkBD5JCEYL_js.areTagsEqual; }
30
+ get: function () { return chunkWONVNOTK_js.areTagsEqual; }
55
31
  });
56
32
  Object.defineProperty(exports, "isSameFilter", {
57
33
  enumerable: true,
58
- get: function () { return chunkBD5JCEYL_js.isSameFilter; }
34
+ get: function () { return chunkWONVNOTK_js.isSameFilter; }
59
35
  });
@@ -50,23 +50,22 @@ declare class Preference {
50
50
  channelPreferences, }: Prettify<Pick<UpdatePreferencesArgs, 'channels' | 'channelPreferences'>>): Result<Preference>;
51
51
  }
52
52
 
53
+ declare global {
54
+ /**
55
+ * If you want to provide custom types for the notification.data object,
56
+ * simply redeclare this rule in the global namespace.
57
+ * Every notification object will use the provided type.
58
+ */
59
+ interface NotificationData {
60
+ [k: string]: unknown;
61
+ }
62
+ }
53
63
  declare enum NotificationStatus {
54
64
  READ = "read",
55
65
  SEEN = "seen",
56
66
  UNREAD = "unread",
57
67
  UNSEEN = "unseen"
58
68
  }
59
- declare enum NotificationButton {
60
- PRIMARY = "primary",
61
- SECONDARY = "secondary"
62
- }
63
- declare enum NotificationActionStatus {
64
- PENDING = "pending",
65
- DONE = "done"
66
- }
67
- declare enum CtaType {
68
- REDIRECT = "redirect"
69
- }
70
69
  declare enum PreferenceLevel {
71
70
  GLOBAL = "global",
72
71
  TEMPLATE = "template"
@@ -78,39 +77,17 @@ declare enum ChannelType {
78
77
  CHAT = "chat",
79
78
  PUSH = "push"
80
79
  }
81
- declare enum PreferenceOverrideSource {
82
- SUBSCRIBER = "subscriber",
83
- TEMPLATE = "template",
84
- WORKFLOW_OVERRIDE = "workflowOverride"
85
- }
86
80
  declare enum WebSocketEvent {
87
81
  RECEIVED = "notification_received",
88
82
  UNREAD = "unread_count_changed",
89
83
  UNSEEN = "unseen_count_changed"
90
84
  }
91
- declare enum ActionTypeEnum {
92
- PRIMARY = "primary",
93
- SECONDARY = "secondary"
94
- }
95
85
  type Session = {
96
86
  token: string;
97
87
  totalUnreadCount: number;
98
88
  removeNovuBranding: boolean;
99
89
  isDevelopmentMode: boolean;
100
90
  };
101
- type MessageButton = {
102
- type: NotificationButton;
103
- content: string;
104
- resultContent?: string;
105
- };
106
- type MessageAction = {
107
- status?: NotificationActionStatus;
108
- buttons?: MessageButton[];
109
- result: {
110
- payload?: Record<string, unknown>;
111
- type?: NotificationButton;
112
- };
113
- };
114
91
  type Subscriber = {
115
92
  id: string;
116
93
  firstName?: string;
@@ -122,11 +99,22 @@ type Redirect = {
122
99
  url: string;
123
100
  target?: '_self' | '_blank' | '_parent' | '_top' | '_unfencedTop';
124
101
  };
102
+ declare enum ActionTypeEnum {
103
+ PRIMARY = "primary",
104
+ SECONDARY = "secondary"
105
+ }
125
106
  type Action = {
126
107
  label: string;
127
108
  isCompleted: boolean;
128
109
  redirect?: Redirect;
129
110
  };
111
+ type Workflow = {
112
+ id: string;
113
+ identifier: string;
114
+ name: string;
115
+ critical: boolean;
116
+ tags?: string[];
117
+ };
130
118
  type InboxNotification = {
131
119
  id: string;
132
120
  subject?: string;
@@ -142,21 +130,15 @@ type InboxNotification = {
142
130
  secondaryAction?: Action;
143
131
  channelType: ChannelType;
144
132
  tags?: string[];
145
- data?: Record<string, unknown>;
133
+ data?: NotificationData;
146
134
  redirect?: Redirect;
135
+ workflow?: Workflow;
147
136
  };
148
137
  type NotificationFilter = {
149
138
  tags?: string[];
150
139
  read?: boolean;
151
140
  archived?: boolean;
152
141
  };
153
- type Workflow = {
154
- id: string;
155
- identifier: string;
156
- name: string;
157
- critical: boolean;
158
- tags?: string[];
159
- };
160
142
  type ChannelPreference = {
161
143
  email?: boolean;
162
144
  sms?: boolean;
@@ -164,13 +146,6 @@ type ChannelPreference = {
164
146
  chat?: boolean;
165
147
  push?: boolean;
166
148
  };
167
- type PaginatedResponse<T = unknown> = {
168
- data: T[];
169
- hasMore: boolean;
170
- totalCount: number;
171
- pageSize: number;
172
- page: number;
173
- };
174
149
  type PreferencesResponse = {
175
150
  level: PreferenceLevel;
176
151
  enabled: boolean;
@@ -187,7 +162,6 @@ type IPreferenceOverride = {
187
162
  channel: ChannelType;
188
163
  source: PreferenceOverrideSourceEnum;
189
164
  };
190
- type TODO = any;
191
165
  type Result<D = undefined, E = NovuError> = Promise<{
192
166
  data?: D;
193
167
  error?: E;
@@ -308,6 +282,7 @@ declare class Notification implements Pick<NovuEventEmitter, 'on'>, InboxNotific
308
282
  readonly tags: InboxNotification['tags'];
309
283
  readonly redirect: InboxNotification['redirect'];
310
284
  readonly data?: InboxNotification['data'];
285
+ readonly workflow?: InboxNotification['workflow'];
311
286
  constructor(notification: InboxNotification, emitter: NovuEventEmitter, inboxService: InboxService);
312
287
  read(): Result<Notification>;
313
288
  unread(): Result<Notification>;
@@ -570,4 +545,4 @@ declare class Novu implements Pick<NovuEventEmitter, 'on'> {
570
545
  constructor(options: NovuOptions);
571
546
  }
572
547
 
573
- export { ActionTypeEnum as A, CtaType as C, type EventHandler as E, type FiltersCountResponse as F, type InboxNotification as I, type ListNotificationsResponse as L, type MessageButton as M, type NotificationFilter as N, PreferenceLevel as P, type Redirect as R, type SocketEventNames as S, type TODO as T, WebSocketEvent as W, type Events as a, Novu as b, NotificationStatus as c, NotificationButton as d, NotificationActionStatus as e, ChannelType as f, PreferenceOverrideSource as g, type Session as h, type MessageAction as i, type Subscriber as j, type Action as k, type Workflow as l, type ChannelPreference as m, type PaginatedResponse as n, type PreferencesResponse as o, PreferenceOverrideSourceEnum as p, type IPreferenceOverride as q, type Result as r, type NovuOptions as s, type Prettify as t, Notification as u, Preference as v, NovuError as w };
548
+ export { type ChannelPreference as C, type EventHandler as E, type FiltersCountResponse as F, type InboxNotification as I, type ListNotificationsResponse as L, type NotificationFilter as N, Preference as P, type SocketEventNames as S, WebSocketEvent as W, type Events as a, Novu as b, ChannelType as c, Notification as d, NotificationStatus as e, NovuError as f, type NovuOptions as g, PreferenceLevel as h, type PreferencesResponse as i };
@@ -1,5 +1,5 @@
1
- import { h as Theme } from '../types-lO51eBKl.js';
2
- import '../novu-CalZFixf.js';
1
+ import { j as Theme } from '../types-CVvP6EyP.js';
2
+ import '../novu-DDPQzl99.js';
3
3
 
4
4
  declare const dark: Theme;
5
5
 
@@ -1,4 +1,4 @@
1
- import { u as Notification, N as NotificationFilter, s as NovuOptions, b as Novu } from './novu-CalZFixf.js';
1
+ import { d as Notification, N as NotificationFilter, g as NovuOptions, b as Novu } from './novu-DDPQzl99.js';
2
2
 
3
3
  declare const appearanceKeys: readonly ["button", "icon", "popoverContent", "popoverTrigger", "dropdownContent", "dropdownTrigger", "dropdownItem", "dropdownItemLabel", "dropdownItemLabelContainer", "dropdownItemLeft__icon", "dropdownItemRight__icon", "dropdownItem__icon", "collapsible", "tooltipContent", "tooltipTrigger", "back__button", "skeletonText", "skeletonAvatar", "skeletonSwitch", "skeletonSwitchThumb", "tabsRoot", "tabsList", "tabsContent", "tabsTrigger", "dots", "root", "bellIcon", "bellContainer", "bellDot", "preferences__button", "preferencesContainer", "inboxHeader", "loading", "inboxContent", "inbox__popoverTrigger", "inbox__popoverContent", "notificationListContainer", "notificationList", "notificationListEmptyNoticeContainer", "notificationListEmptyNoticeOverlay", "notificationListEmptyNoticeIcon", "notificationListEmptyNotice", "notificationList__skeleton", "notificationList__skeletonContent", "notificationList__skeletonItem", "notificationList__skeletonAvatar", "notificationList__skeletonText", "notificationListNewNotificationsNotice__button", "notification", "notificationContent", "notificationTextContainer", "notificationDot", "notificationSubject", "notificationSubject__strong", "notificationBody", "notificationBody__strong", "notificationBodyContainer", "notificationImage", "notificationImageLoadingFallback", "notificationDate", "notificationDateActionsContainer", "notificationDefaultActions", "notificationCustomActions", "notificationPrimaryAction__button", "notificationSecondaryAction__button", "notificationRead__button", "notificationUnread__button", "notificationArchive__button", "notificationUnarchive__button", "notificationRead__icon", "notificationUnread__icon", "notificationArchive__icon", "notificationUnarchive__icon", "notificationsTabs__tabsRoot", "notificationsTabs__tabsList", "notificationsTabs__tabsContent", "notificationsTabs__tabsTrigger", "notificationsTabsTriggerLabel", "notificationsTabsTriggerCount", "inboxStatus__title", "inboxStatus__dropdownTrigger", "inboxStatus__dropdownContent", "inboxStatus__dropdownItem", "inboxStatus__dropdownItemLabel", "inboxStatus__dropdownItemLabelContainer", "inboxStatus__dropdownItemLeft__icon", "inboxStatus__dropdownItemRight__icon", "inboxStatus__dropdownItem__icon", "inboxStatus__dropdownItemCheck__icon", "moreActionsContainer", "moreActions__dropdownTrigger", "moreActions__dropdownContent", "moreActions__dropdownItem", "moreActions__dropdownItemLabel", "moreActions__dropdownItemLeft__icon", "moreActions__dots", "moreTabs__button", "moreTabs__icon", "moreTabs__dropdownTrigger", "moreTabs__dropdownContent", "moreTabs__dropdownItem", "moreTabs__dropdownItemLabel", "moreTabs__dropdownItemRight__icon", "workflowContainer", "workflowLabel", "workflowLabelHeader", "workflowLabelContainer", "workflowContainerDisabledNotice", "workflowLabelDisabled__icon", "workflowContainerRight__icon", "workflowArrow__icon", "workflowDescription", "channelContainer", "channelIconContainer", "channel__icon", "channelsContainerCollapsible", "channelsContainer", "channelLabel", "channelLabelContainer", "channelName", "channelSwitchContainer", "channelSwitch", "channelSwitchThumb", "preferencesHeader", "preferencesHeader__back__button", "preferencesHeader__back__button__icon", "preferencesHeader__title", "preferencesHeader__icon", "preferencesListEmptyNoticeContainer", "preferencesListEmptyNotice", "preferencesList__skeleton", "preferencesList__skeletonContent", "preferencesList__skeletonItem", "preferencesList__skeletonIcon", "preferencesList__skeletonSwitch", "preferencesList__skeletonSwitchThumb", "preferencesList__skeletonText", "strong"];
4
4
 
@@ -100,4 +100,4 @@ declare enum NotificationStatus {
100
100
  }
101
101
  type PreferencesFilter = Pick<NotificationFilter, 'tags'>;
102
102
 
103
- export { type Appearance as A, type BellRenderer as B, type CSSProperties as C, type ElementStyles as E, type Localization as L, type NotificationClickHandler as N, type PreferencesFilter as P, type RouterPush as R, type SubjectRenderer as S, type Tab as T, type Variables as V, type NotificationActionClickHandler as a, type NotificationRenderer as b, type BodyRenderer as c, type NovuProviderProps as d, type BaseNovuProviderProps as e, type AppearanceKey as f, type Elements as g, type Theme as h, NotificationStatus as i, type LocalizationKey as j };
103
+ export { type Appearance as A, type BellRenderer as B, type Elements as E, type Localization as L, type NotificationClickHandler as N, type PreferencesFilter as P, type RouterPush as R, type SubjectRenderer as S, type Tab as T, type Variables as V, type NotificationActionClickHandler as a, type NotificationRenderer as b, type BodyRenderer as c, type NovuProviderProps as d, type BaseNovuProviderProps as e, type AppearanceKey as f, type ElementStyles as g, type LocalizationKey as h, NotificationStatus as i, type Theme as j };
@@ -1,7 +1,7 @@
1
- import { s as NovuOptions } from '../novu-CalZFixf.js';
2
- export { u as Notification } from '../novu-CalZFixf.js';
3
- import { B as BellRenderer, N as NotificationClickHandler, a as NotificationActionClickHandler, b as NotificationRenderer, S as SubjectRenderer, c as BodyRenderer, d as NovuProviderProps, e as BaseNovuProviderProps, A as Appearance, L as Localization, T as Tab, P as PreferencesFilter, R as RouterPush } from '../types-lO51eBKl.js';
4
- export { f as AppearanceKey, C as CSSProperties, E as ElementStyles, g as Elements, j as LocalizationKey, i as NotificationStatus, h as Theme, V as Variables } from '../types-lO51eBKl.js';
1
+ import { g as NovuOptions } from '../novu-DDPQzl99.js';
2
+ export { d as Notification } from '../novu-DDPQzl99.js';
3
+ import { B as BellRenderer, N as NotificationClickHandler, a as NotificationActionClickHandler, b as NotificationRenderer, S as SubjectRenderer, c as BodyRenderer, d as NovuProviderProps, e as BaseNovuProviderProps, A as Appearance, L as Localization, T as Tab, P as PreferencesFilter, R as RouterPush } from '../types-CVvP6EyP.js';
4
+ export { f as AppearanceKey, g as ElementStyles, E as Elements, h as LocalizationKey, i as NotificationStatus, V as Variables } from '../types-CVvP6EyP.js';
5
5
  import { Placement, OffsetOptions } from '@floating-ui/dom';
6
6
  import * as solid_js from 'solid-js';
7
7
  import { ComponentProps } from 'solid-js';
@@ -75,4 +75,4 @@ declare class NovuUI {
75
75
  unmount(): void;
76
76
  }
77
77
 
78
- export { Appearance, BaseNovuProviderProps, type BaseNovuUIOptions, BellRenderer, BodyRenderer, InboxPage, type InboxProps, Localization, NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer, NovuProviderProps, NovuUI, type NovuUIOptions, PreferencesFilter, RouterPush, SubjectRenderer, Tab };
78
+ export { Appearance, type BaseNovuUIOptions, BellRenderer, BodyRenderer, InboxPage, type InboxProps, Localization, NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer, NovuProviderProps, NovuUI, type NovuUIOptions, PreferencesFilter, RouterPush, SubjectRenderer, Tab };