@novu/js 2.0.1 → 2.1.1

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.
Files changed (317) hide show
  1. package/dist/cjs/{chunk-PMLVIUWC.cjs → chunk-D7P7KCZI.js} +342 -255
  2. package/dist/cjs/index.d.ts +8 -0
  3. package/dist/cjs/index.js +58 -0
  4. package/dist/cjs/novu-04KlkBy4.d.ts +528 -0
  5. package/dist/cjs/ui/index.d.ts +145 -0
  6. package/dist/cjs/ui/{index.cjs → index.js} +218 -141
  7. package/dist/esm/{chunk-LDGUT6MH.mjs → chunk-APRCCICD.mjs} +342 -256
  8. package/dist/esm/index.d.mts +8 -0
  9. package/dist/esm/index.mjs +1 -1
  10. package/dist/esm/novu-04KlkBy4.d.mts +528 -0
  11. package/dist/esm/ui/index.d.mts +145 -0
  12. package/dist/esm/ui/index.mjs +131 -54
  13. package/dist/novu.min.js +10 -10
  14. package/dist/novu.min.js.gz +0 -0
  15. package/package.json +24 -16
  16. package/ui/package.json +5 -0
  17. package/dist/cjs/index.cjs +0 -50
  18. package/dist/types/api/inbox-service.d.ts +0 -65
  19. package/dist/types/api/inbox-service.d.ts.map +0 -1
  20. package/dist/types/api/index.d.ts +0 -2
  21. package/dist/types/api/index.d.ts.map +0 -1
  22. package/dist/types/base-module.d.ts +0 -13
  23. package/dist/types/base-module.d.ts.map +0 -1
  24. package/dist/types/cache/in-memory-cache.d.ts +0 -13
  25. package/dist/types/cache/in-memory-cache.d.ts.map +0 -1
  26. package/dist/types/cache/index.d.ts +0 -2
  27. package/dist/types/cache/index.d.ts.map +0 -1
  28. package/dist/types/cache/notifications-cache.d.ts +0 -22
  29. package/dist/types/cache/notifications-cache.d.ts.map +0 -1
  30. package/dist/types/cache/preferences-cache.d.ts +0 -11
  31. package/dist/types/cache/preferences-cache.d.ts.map +0 -1
  32. package/dist/types/cache/types.d.ts +0 -10
  33. package/dist/types/cache/types.d.ts.map +0 -1
  34. package/dist/types/event-emitter/index.d.ts +0 -3
  35. package/dist/types/event-emitter/index.d.ts.map +0 -1
  36. package/dist/types/event-emitter/novu-event-emitter.d.ts +0 -14
  37. package/dist/types/event-emitter/novu-event-emitter.d.ts.map +0 -1
  38. package/dist/types/event-emitter/types.d.ts +0 -85
  39. package/dist/types/event-emitter/types.d.ts.map +0 -1
  40. package/dist/types/index.d.ts +0 -3
  41. package/dist/types/index.d.ts.map +0 -1
  42. package/dist/types/notifications/helpers.d.ts +0 -57
  43. package/dist/types/notifications/helpers.d.ts.map +0 -1
  44. package/dist/types/notifications/index.d.ts +0 -4
  45. package/dist/types/notifications/index.d.ts.map +0 -1
  46. package/dist/types/notifications/notification.d.ts +0 -33
  47. package/dist/types/notifications/notification.d.ts.map +0 -1
  48. package/dist/types/notifications/notifications.d.ts +0 -44
  49. package/dist/types/notifications/notifications.d.ts.map +0 -1
  50. package/dist/types/notifications/types.d.ts +0 -55
  51. package/dist/types/notifications/types.d.ts.map +0 -1
  52. package/dist/types/novu.d.ts +0 -14
  53. package/dist/types/novu.d.ts.map +0 -1
  54. package/dist/types/preferences/helpers.d.ts +0 -11
  55. package/dist/types/preferences/helpers.d.ts.map +0 -1
  56. package/dist/types/preferences/index.d.ts +0 -2
  57. package/dist/types/preferences/index.d.ts.map +0 -1
  58. package/dist/types/preferences/preference.d.ts +0 -15
  59. package/dist/types/preferences/preference.d.ts.map +0 -1
  60. package/dist/types/preferences/preferences.d.ts +0 -15
  61. package/dist/types/preferences/preferences.d.ts.map +0 -1
  62. package/dist/types/preferences/types.d.ts +0 -15
  63. package/dist/types/preferences/types.d.ts.map +0 -1
  64. package/dist/types/session/index.d.ts +0 -3
  65. package/dist/types/session/index.d.ts.map +0 -1
  66. package/dist/types/session/session.d.ts +0 -7
  67. package/dist/types/session/session.d.ts.map +0 -1
  68. package/dist/types/session/types.d.ts +0 -6
  69. package/dist/types/session/types.d.ts.map +0 -1
  70. package/dist/types/types.d.ts +0 -150
  71. package/dist/types/types.d.ts.map +0 -1
  72. package/dist/types/ui/api/hooks/index.d.ts +0 -6
  73. package/dist/types/ui/api/hooks/index.d.ts.map +0 -1
  74. package/dist/types/ui/api/hooks/useArchiveAll.d.ts +0 -10
  75. package/dist/types/ui/api/hooks/useArchiveAll.d.ts.map +0 -1
  76. package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts +0 -10
  77. package/dist/types/ui/api/hooks/useArchiveAllRead.d.ts.map +0 -1
  78. package/dist/types/ui/api/hooks/useNotifications.d.ts +0 -17
  79. package/dist/types/ui/api/hooks/useNotifications.d.ts.map +0 -1
  80. package/dist/types/ui/api/hooks/usePreferences.d.ts +0 -9
  81. package/dist/types/ui/api/hooks/usePreferences.d.ts.map +0 -1
  82. package/dist/types/ui/api/hooks/useReadAll.d.ts +0 -10
  83. package/dist/types/ui/api/hooks/useReadAll.d.ts.map +0 -1
  84. package/dist/types/ui/api/index.d.ts +0 -2
  85. package/dist/types/ui/api/index.d.ts.map +0 -1
  86. package/dist/types/ui/components/ExternalElementRenderer.d.ts +0 -7
  87. package/dist/types/ui/components/ExternalElementRenderer.d.ts.map +0 -1
  88. package/dist/types/ui/components/Inbox.d.ts +0 -24
  89. package/dist/types/ui/components/Inbox.d.ts.map +0 -1
  90. package/dist/types/ui/components/InboxTabs/InboxTab.d.ts +0 -16
  91. package/dist/types/ui/components/InboxTabs/InboxTab.d.ts.map +0 -1
  92. package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts +0 -11
  93. package/dist/types/ui/components/InboxTabs/InboxTabs.d.ts.map +0 -1
  94. package/dist/types/ui/components/InboxTabs/index.d.ts +0 -2
  95. package/dist/types/ui/components/InboxTabs/index.d.ts.map +0 -1
  96. package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts +0 -11
  97. package/dist/types/ui/components/InboxTabs/useTabsDropdown.d.ts.map +0 -1
  98. package/dist/types/ui/components/Notification/DefaultNotification.d.ts +0 -12
  99. package/dist/types/ui/components/Notification/DefaultNotification.d.ts.map +0 -1
  100. package/dist/types/ui/components/Notification/NewMessagesCta.d.ts +0 -6
  101. package/dist/types/ui/components/Notification/NewMessagesCta.d.ts.map +0 -1
  102. package/dist/types/ui/components/Notification/Notification.d.ts +0 -12
  103. package/dist/types/ui/components/Notification/Notification.d.ts.map +0 -1
  104. package/dist/types/ui/components/Notification/NotificationList.d.ts +0 -14
  105. package/dist/types/ui/components/Notification/NotificationList.d.ts.map +0 -1
  106. package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts +0 -7
  107. package/dist/types/ui/components/Notification/NotificationListSkeleton.d.ts.map +0 -1
  108. package/dist/types/ui/components/Notification/index.d.ts +0 -3
  109. package/dist/types/ui/components/Notification/index.d.ts.map +0 -1
  110. package/dist/types/ui/components/Renderer.d.ts +0 -44
  111. package/dist/types/ui/components/Renderer.d.ts.map +0 -1
  112. package/dist/types/ui/components/elements/Bell/Bell.d.ts +0 -8
  113. package/dist/types/ui/components/elements/Bell/Bell.d.ts.map +0 -1
  114. package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts +0 -6
  115. package/dist/types/ui/components/elements/Bell/DefaultBellContainer.d.ts.map +0 -1
  116. package/dist/types/ui/components/elements/Bell/index.d.ts +0 -2
  117. package/dist/types/ui/components/elements/Bell/index.d.ts.map +0 -1
  118. package/dist/types/ui/components/elements/Footer.d.ts +0 -2
  119. package/dist/types/ui/components/elements/Footer.d.ts.map +0 -1
  120. package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts +0 -6
  121. package/dist/types/ui/components/elements/Header/ActionsContainer.d.ts.map +0 -1
  122. package/dist/types/ui/components/elements/Header/Header.d.ts +0 -6
  123. package/dist/types/ui/components/elements/Header/Header.d.ts.map +0 -1
  124. package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts +0 -2
  125. package/dist/types/ui/components/elements/Header/MoreActionsDropdown.d.ts.map +0 -1
  126. package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts +0 -9
  127. package/dist/types/ui/components/elements/Header/MoreActionsOptions.d.ts.map +0 -1
  128. package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts +0 -6
  129. package/dist/types/ui/components/elements/Header/PreferencesHeader.d.ts.map +0 -1
  130. package/dist/types/ui/components/elements/Header/index.d.ts +0 -3
  131. package/dist/types/ui/components/elements/Header/index.d.ts.map +0 -1
  132. package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts +0 -2
  133. package/dist/types/ui/components/elements/InboxStatus/InboxStatusDropdown.d.ts.map +0 -1
  134. package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts +0 -14
  135. package/dist/types/ui/components/elements/InboxStatus/InboxStatusOptions.d.ts.map +0 -1
  136. package/dist/types/ui/components/elements/InboxStatus/constants.d.ts +0 -11
  137. package/dist/types/ui/components/elements/InboxStatus/constants.d.ts.map +0 -1
  138. package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts +0 -18
  139. package/dist/types/ui/components/elements/Preferences/ChannelRow.d.ts.map +0 -1
  140. package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts +0 -2
  141. package/dist/types/ui/components/elements/Preferences/LoadingScreen.d.ts.map +0 -1
  142. package/dist/types/ui/components/elements/Preferences/Preferences.d.ts +0 -2
  143. package/dist/types/ui/components/elements/Preferences/Preferences.d.ts.map +0 -1
  144. package/dist/types/ui/components/elements/Preferences/Switch.d.ts +0 -8
  145. package/dist/types/ui/components/elements/Preferences/Switch.d.ts.map +0 -1
  146. package/dist/types/ui/components/elements/Preferences/index.d.ts +0 -2
  147. package/dist/types/ui/components/elements/Preferences/index.d.ts.map +0 -1
  148. package/dist/types/ui/components/elements/Root.d.ts +0 -3
  149. package/dist/types/ui/components/elements/Root.d.ts.map +0 -1
  150. package/dist/types/ui/components/elements/index.d.ts +0 -6
  151. package/dist/types/ui/components/elements/index.d.ts.map +0 -1
  152. package/dist/types/ui/components/index.d.ts +0 -4
  153. package/dist/types/ui/components/index.d.ts.map +0 -1
  154. package/dist/types/ui/components/primitives/Button.d.ts +0 -13
  155. package/dist/types/ui/components/primitives/Button.d.ts.map +0 -1
  156. package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts +0 -8
  157. package/dist/types/ui/components/primitives/Dropdown/DropdownContent.d.ts.map +0 -1
  158. package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts +0 -9
  159. package/dist/types/ui/components/primitives/Dropdown/DropdownItem.d.ts.map +0 -1
  160. package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts +0 -4
  161. package/dist/types/ui/components/primitives/Dropdown/DropdownRoot.d.ts.map +0 -1
  162. package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts +0 -8
  163. package/dist/types/ui/components/primitives/Dropdown/DropdownTrigger.d.ts.map +0 -1
  164. package/dist/types/ui/components/primitives/Dropdown/index.d.ts +0 -44
  165. package/dist/types/ui/components/primitives/Dropdown/index.d.ts.map +0 -1
  166. package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts +0 -7
  167. package/dist/types/ui/components/primitives/Popover/PopoverClose.d.ts.map +0 -1
  168. package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts +0 -9
  169. package/dist/types/ui/components/primitives/Popover/PopoverContent.d.ts.map +0 -1
  170. package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts +0 -23
  171. package/dist/types/ui/components/primitives/Popover/PopoverRoot.d.ts.map +0 -1
  172. package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts +0 -9
  173. package/dist/types/ui/components/primitives/Popover/PopoverTrigger.d.ts.map +0 -1
  174. package/dist/types/ui/components/primitives/Popover/index.d.ts +0 -28
  175. package/dist/types/ui/components/primitives/Popover/index.d.ts.map +0 -1
  176. package/dist/types/ui/components/primitives/Skeleton.d.ts +0 -14
  177. package/dist/types/ui/components/primitives/Skeleton.d.ts.map +0 -1
  178. package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts +0 -10
  179. package/dist/types/ui/components/primitives/Tabs/TabsContent.d.ts.map +0 -1
  180. package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts +0 -11
  181. package/dist/types/ui/components/primitives/Tabs/TabsList.d.ts.map +0 -1
  182. package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts +0 -20
  183. package/dist/types/ui/components/primitives/Tabs/TabsRoot.d.ts.map +0 -1
  184. package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts +0 -13
  185. package/dist/types/ui/components/primitives/Tabs/TabsTrigger.d.ts.map +0 -1
  186. package/dist/types/ui/components/primitives/Tabs/index.d.ts +0 -35
  187. package/dist/types/ui/components/primitives/Tabs/index.d.ts.map +0 -1
  188. package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts +0 -7
  189. package/dist/types/ui/components/primitives/Tabs/useKeyboardNavigation.d.ts.map +0 -1
  190. package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts +0 -9
  191. package/dist/types/ui/components/primitives/Tooltip/TooltipContent.d.ts.map +0 -1
  192. package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts +0 -21
  193. package/dist/types/ui/components/primitives/Tooltip/TooltipRoot.d.ts.map +0 -1
  194. package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts +0 -9
  195. package/dist/types/ui/components/primitives/Tooltip/TooltipTrigger.d.ts.map +0 -1
  196. package/dist/types/ui/components/primitives/Tooltip/index.d.ts +0 -21
  197. package/dist/types/ui/components/primitives/Tooltip/index.d.ts.map +0 -1
  198. package/dist/types/ui/components/primitives/index.d.ts +0 -5
  199. package/dist/types/ui/components/primitives/index.d.ts.map +0 -1
  200. package/dist/types/ui/config/appearanceKeys.d.ts +0 -2
  201. package/dist/types/ui/config/appearanceKeys.d.ts.map +0 -1
  202. package/dist/types/ui/config/defaultLocalization.d.ts +0 -26
  203. package/dist/types/ui/config/defaultLocalization.d.ts.map +0 -1
  204. package/dist/types/ui/config/defaultVariables.d.ts +0 -3
  205. package/dist/types/ui/config/defaultVariables.d.ts.map +0 -1
  206. package/dist/types/ui/config/index.d.ts +0 -4
  207. package/dist/types/ui/config/index.d.ts.map +0 -1
  208. package/dist/types/ui/context/AppearanceContext.d.ts +0 -17
  209. package/dist/types/ui/context/AppearanceContext.d.ts.map +0 -1
  210. package/dist/types/ui/context/CountContext.d.ts +0 -23
  211. package/dist/types/ui/context/CountContext.d.ts.map +0 -1
  212. package/dist/types/ui/context/FocusManagerContext.d.ts +0 -12
  213. package/dist/types/ui/context/FocusManagerContext.d.ts.map +0 -1
  214. package/dist/types/ui/context/InboxContext.d.ts +0 -25
  215. package/dist/types/ui/context/InboxContext.d.ts.map +0 -1
  216. package/dist/types/ui/context/LocalizationContext.d.ts +0 -24
  217. package/dist/types/ui/context/LocalizationContext.d.ts.map +0 -1
  218. package/dist/types/ui/context/NovuContext.d.ts +0 -11
  219. package/dist/types/ui/context/NovuContext.d.ts.map +0 -1
  220. package/dist/types/ui/context/index.d.ts +0 -7
  221. package/dist/types/ui/context/index.d.ts.map +0 -1
  222. package/dist/types/ui/helpers/browser.d.ts +0 -2
  223. package/dist/types/ui/helpers/browser.d.ts.map +0 -1
  224. package/dist/types/ui/helpers/constants.d.ts +0 -5
  225. package/dist/types/ui/helpers/constants.d.ts.map +0 -1
  226. package/dist/types/ui/helpers/createDelayedLoading.d.ts +0 -3
  227. package/dist/types/ui/helpers/createDelayedLoading.d.ts.map +0 -1
  228. package/dist/types/ui/helpers/createInfiniteScroll.d.ts +0 -19
  229. package/dist/types/ui/helpers/createInfiniteScroll.d.ts.map +0 -1
  230. package/dist/types/ui/helpers/formatToRelativeTime.d.ts +0 -6
  231. package/dist/types/ui/helpers/formatToRelativeTime.d.ts.map +0 -1
  232. package/dist/types/ui/helpers/index.d.ts +0 -7
  233. package/dist/types/ui/helpers/index.d.ts.map +0 -1
  234. package/dist/types/ui/helpers/types.d.ts +0 -4
  235. package/dist/types/ui/helpers/types.d.ts.map +0 -1
  236. package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts +0 -7
  237. package/dist/types/ui/helpers/useBrowserTabsChannel.d.ts.map +0 -1
  238. package/dist/types/ui/helpers/useFocusTrap.d.ts +0 -7
  239. package/dist/types/ui/helpers/useFocusTrap.d.ts.map +0 -1
  240. package/dist/types/ui/helpers/useNovuEvent.d.ts +0 -6
  241. package/dist/types/ui/helpers/useNovuEvent.d.ts.map +0 -1
  242. package/dist/types/ui/helpers/useStyle.d.ts +0 -3
  243. package/dist/types/ui/helpers/useStyle.d.ts.map +0 -1
  244. package/dist/types/ui/helpers/useUncontrolledState.d.ts +0 -9
  245. package/dist/types/ui/helpers/useUncontrolledState.d.ts.map +0 -1
  246. package/dist/types/ui/helpers/useWebSocketEvent.d.ts +0 -6
  247. package/dist/types/ui/helpers/useWebSocketEvent.d.ts.map +0 -1
  248. package/dist/types/ui/helpers/utils.d.ts +0 -33
  249. package/dist/types/ui/helpers/utils.d.ts.map +0 -1
  250. package/dist/types/ui/icons/Archive.d.ts +0 -3
  251. package/dist/types/ui/icons/Archive.d.ts.map +0 -1
  252. package/dist/types/ui/icons/ArchiveRead.d.ts +0 -3
  253. package/dist/types/ui/icons/ArchiveRead.d.ts.map +0 -1
  254. package/dist/types/ui/icons/ArrowDropDown.d.ts +0 -3
  255. package/dist/types/ui/icons/ArrowDropDown.d.ts.map +0 -1
  256. package/dist/types/ui/icons/ArrowLeft.d.ts +0 -3
  257. package/dist/types/ui/icons/ArrowLeft.d.ts.map +0 -1
  258. package/dist/types/ui/icons/BellIcon.d.ts +0 -3
  259. package/dist/types/ui/icons/BellIcon.d.ts.map +0 -1
  260. package/dist/types/ui/icons/Chat.d.ts +0 -3
  261. package/dist/types/ui/icons/Chat.d.ts.map +0 -1
  262. package/dist/types/ui/icons/Check.d.ts +0 -3
  263. package/dist/types/ui/icons/Check.d.ts.map +0 -1
  264. package/dist/types/ui/icons/Dots.d.ts +0 -3
  265. package/dist/types/ui/icons/Dots.d.ts.map +0 -1
  266. package/dist/types/ui/icons/Email.d.ts +0 -3
  267. package/dist/types/ui/icons/Email.d.ts.map +0 -1
  268. package/dist/types/ui/icons/EmptyIcon.d.ts +0 -3
  269. package/dist/types/ui/icons/EmptyIcon.d.ts.map +0 -1
  270. package/dist/types/ui/icons/InApp.d.ts +0 -3
  271. package/dist/types/ui/icons/InApp.d.ts.map +0 -1
  272. package/dist/types/ui/icons/Inbox.d.ts +0 -3
  273. package/dist/types/ui/icons/Inbox.d.ts.map +0 -1
  274. package/dist/types/ui/icons/Lock.d.ts +0 -2
  275. package/dist/types/ui/icons/Lock.d.ts.map +0 -1
  276. package/dist/types/ui/icons/Novu.d.ts +0 -3
  277. package/dist/types/ui/icons/Novu.d.ts.map +0 -1
  278. package/dist/types/ui/icons/Push.d.ts +0 -3
  279. package/dist/types/ui/icons/Push.d.ts.map +0 -1
  280. package/dist/types/ui/icons/ReadAll.d.ts +0 -3
  281. package/dist/types/ui/icons/ReadAll.d.ts.map +0 -1
  282. package/dist/types/ui/icons/Settings.d.ts +0 -3
  283. package/dist/types/ui/icons/Settings.d.ts.map +0 -1
  284. package/dist/types/ui/icons/Sms.d.ts +0 -3
  285. package/dist/types/ui/icons/Sms.d.ts.map +0 -1
  286. package/dist/types/ui/icons/Unarchive.d.ts +0 -3
  287. package/dist/types/ui/icons/Unarchive.d.ts.map +0 -1
  288. package/dist/types/ui/icons/Unread.d.ts +0 -3
  289. package/dist/types/ui/icons/Unread.d.ts.map +0 -1
  290. package/dist/types/ui/icons/index.d.ts +0 -20
  291. package/dist/types/ui/icons/index.d.ts.map +0 -1
  292. package/dist/types/ui/index.d.ts +0 -6
  293. package/dist/types/ui/index.d.ts.map +0 -1
  294. package/dist/types/ui/novuUI.d.ts +0 -25
  295. package/dist/types/ui/novuUI.d.ts.map +0 -1
  296. package/dist/types/ui/themes/dark.d.ts +0 -3
  297. package/dist/types/ui/themes/dark.d.ts.map +0 -1
  298. package/dist/types/ui/themes/index.d.ts +0 -2
  299. package/dist/types/ui/themes/index.d.ts.map +0 -1
  300. package/dist/types/ui/types.d.ts +0 -57
  301. package/dist/types/ui/types.d.ts.map +0 -1
  302. package/dist/types/umd.d.ts +0 -2
  303. package/dist/types/umd.d.ts.map +0 -1
  304. package/dist/types/utils/arrays.d.ts +0 -2
  305. package/dist/types/utils/arrays.d.ts.map +0 -1
  306. package/dist/types/utils/config.d.ts +0 -2
  307. package/dist/types/utils/config.d.ts.map +0 -1
  308. package/dist/types/utils/errors.d.ts +0 -5
  309. package/dist/types/utils/errors.d.ts.map +0 -1
  310. package/dist/types/utils/inbox-service-singleton.d.ts +0 -6
  311. package/dist/types/utils/inbox-service-singleton.d.ts.map +0 -1
  312. package/dist/types/utils/notification-utils.d.ts +0 -6
  313. package/dist/types/utils/notification-utils.d.ts.map +0 -1
  314. package/dist/types/ws/index.d.ts +0 -2
  315. package/dist/types/ws/index.d.ts.map +0 -1
  316. package/dist/types/ws/socket.d.ts +0 -13
  317. package/dist/types/ws/socket.d.ts.map +0 -1
@@ -1,55 +0,0 @@
1
- import type { ActionTypeEnum, NotificationFilter } from '../types';
2
- import { Notification } from './notification';
3
- export type ListNotificationsArgs = {
4
- tags?: string[];
5
- read?: boolean;
6
- archived?: boolean;
7
- limit?: number;
8
- after?: string;
9
- offset?: number;
10
- };
11
- export type ListNotificationsResponse = {
12
- notifications: Notification[];
13
- hasMore: boolean;
14
- filter: NotificationFilter;
15
- };
16
- export type FilterCountArgs = {
17
- tags?: string[];
18
- read?: boolean;
19
- archived?: boolean;
20
- };
21
- export type FiltersCountArgs = {
22
- filters: Array<{
23
- tags?: string[];
24
- read?: boolean;
25
- archived?: boolean;
26
- }>;
27
- };
28
- export type CountArgs = undefined | FilterCountArgs | FiltersCountArgs;
29
- export type FilterCountResponse = {
30
- count: number;
31
- filter: NotificationFilter;
32
- };
33
- export type FiltersCountResponse = {
34
- counts: Array<{
35
- count: number;
36
- filter: NotificationFilter;
37
- }>;
38
- };
39
- export type CountResponse = FilterCountResponse | FiltersCountResponse;
40
- export type BaseArgs = {
41
- notificationId: string;
42
- };
43
- export type InstanceArgs = {
44
- notification: Notification;
45
- };
46
- export type ActionTypeArgs = {
47
- actionType: ActionTypeEnum;
48
- };
49
- export type ReadArgs = BaseArgs | InstanceArgs;
50
- export type UnreadArgs = BaseArgs | InstanceArgs;
51
- export type ArchivedArgs = BaseArgs | InstanceArgs;
52
- export type UnarchivedArgs = BaseArgs | InstanceArgs;
53
- export type CompleteArgs = BaseArgs | InstanceArgs;
54
- export type RevertArgs = BaseArgs | InstanceArgs;
55
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/notifications/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AACnE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAClC,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG;IAAE,aAAa,EAAE,YAAY,EAAE,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,MAAM,EAAE,kBAAkB,CAAA;CAAE,CAAC;AAExH,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,KAAK,CAAC;QAAE,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;QAAC,IAAI,CAAC,EAAE,OAAO,CAAC;QAAC,QAAQ,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;CACzE,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,SAAS,GAAG,eAAe,GAAG,gBAAgB,CAAC;AAEvE,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,kBAAkB,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,MAAM,EAAE,KAAK,CAAC;QACZ,KAAK,EAAE,MAAM,CAAC;QACd,MAAM,EAAE,kBAAkB,CAAC;KAC5B,CAAC,CAAC;CACJ,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,mBAAmB,GAAG,oBAAoB,CAAC;AAEvE,MAAM,MAAM,QAAQ,GAAG;IACrB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,cAAc,GAAG;IAAE,UAAU,EAAE,cAAc,CAAA;CAAE,CAAC;AAE5D,MAAM,MAAM,QAAQ,GAAG,QAAQ,GAAG,YAAY,CAAC;AAC/C,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC;AACjD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,YAAY,CAAC;AACnD,MAAM,MAAM,cAAc,GAAG,QAAQ,GAAG,YAAY,CAAC;AACrD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,YAAY,CAAC;AACnD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,YAAY,CAAC"}
@@ -1,14 +0,0 @@
1
- import { NovuEventEmitter } from './event-emitter';
2
- import type { EventHandler, EventNames, Events } from './event-emitter';
3
- import { Notifications } from './notifications';
4
- import { Preferences } from './preferences';
5
- import type { NovuOptions } from './types';
6
- export declare class Novu implements Pick<NovuEventEmitter, 'on' | 'off'> {
7
- #private;
8
- readonly notifications: Notifications;
9
- readonly preferences: Preferences;
10
- constructor(options: NovuOptions);
11
- on<Key extends EventNames>(eventName: Key, listener: EventHandler<Events[Key]>): void;
12
- off<Key extends EventNames>(eventName: Key, listener: EventHandler<Events[Key]>): void;
13
- }
14
- //# sourceMappingURL=novu.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"novu.d.ts","sourceRoot":"","sources":["../../src/novu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE3C,qBAAa,IAAK,YAAW,IAAI,CAAC,gBAAgB,EAAE,IAAI,GAAG,KAAK,CAAC;;IAK/D,SAAgB,aAAa,EAAE,aAAa,CAAC;IAC7C,SAAgB,WAAW,EAAE,WAAW,CAAC;gBAE7B,OAAO,EAAE,WAAW;IAchC,EAAE,CAAC,GAAG,SAAS,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;IAOrF,GAAG,CAAC,GAAG,SAAS,UAAU,EAAE,SAAS,EAAE,GAAG,EAAE,QAAQ,EAAE,YAAY,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,IAAI;CAGvF"}
@@ -1,11 +0,0 @@
1
- import { InboxService } from '../api';
2
- import type { NovuEventEmitter } from '../event-emitter';
3
- import type { Result } from '../types';
4
- import { Preference } from './preference';
5
- import type { UpdatePreferencesArgs } from './types';
6
- export declare const updatePreference: ({ emitter, apiService, args, }: {
7
- emitter: NovuEventEmitter;
8
- apiService: InboxService;
9
- args: UpdatePreferencesArgs;
10
- }) => Result<Preference>;
11
- //# sourceMappingURL=helpers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../../src/preferences/helpers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AACtC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGrD,eAAO,MAAM,gBAAgB;aAKlB,gBAAgB;gBACb,YAAY;UAClB,qBAAqB;MACzB,OAAO,UAAU,CAgCpB,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './preferences';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/preferences/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -1,15 +0,0 @@
1
- import { ChannelPreference, PreferenceLevel, Result, Workflow } from '../types';
2
- type PreferenceLike = Pick<Preference, 'level' | 'enabled' | 'channels' | 'workflow'>;
3
- export declare class Preference {
4
- #private;
5
- readonly level: PreferenceLevel;
6
- readonly enabled: boolean;
7
- readonly channels: ChannelPreference;
8
- readonly workflow?: Workflow;
9
- constructor(preference: PreferenceLike);
10
- update({ channelPreferences }: {
11
- channelPreferences: ChannelPreference;
12
- }): Result<Preference>;
13
- }
14
- export {};
15
- //# sourceMappingURL=preference.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preference.d.ts","sourceRoot":"","sources":["../../../src/preferences/preference.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAGhF,KAAK,cAAc,GAAG,IAAI,CAAC,UAAU,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC,CAAC;AAEtF,qBAAa,UAAU;;IAIrB,QAAQ,CAAC,KAAK,EAAE,eAAe,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,iBAAiB,CAAC;IACrC,QAAQ,CAAC,QAAQ,CAAC,EAAE,QAAQ,CAAC;gBAEjB,UAAU,EAAE,cAAc;IAUtC,MAAM,CAAC,EAAE,kBAAkB,EAAE,EAAE;QAAE,kBAAkB,EAAE,iBAAiB,CAAA;KAAE,GAAG,MAAM,CAAC,UAAU,CAAC;CAgB9F"}
@@ -1,15 +0,0 @@
1
- import { BaseModule } from '../base-module';
2
- import { Preference } from './preference';
3
- import type { UpdatePreferencesArgs } from './types';
4
- import { Result } from '../types';
5
- import { PreferencesCache } from '../cache/preferences-cache';
6
- export declare class Preferences extends BaseModule {
7
- #private;
8
- readonly cache: PreferencesCache;
9
- constructor({ useCache }: {
10
- useCache: boolean;
11
- });
12
- list(): Result<Preference[]>;
13
- update(args: UpdatePreferencesArgs): Result<Preference>;
14
- }
15
- //# sourceMappingURL=preferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"preferences.d.ts","sourceRoot":"","sources":["../../../src/preferences/preferences.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AACrD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AAE9D,qBAAa,WAAY,SAAQ,UAAU;;IAGzC,QAAQ,CAAC,KAAK,EAAE,gBAAgB,CAAC;gBAErB,EAAE,QAAQ,EAAE,EAAE;QAAE,QAAQ,EAAE,OAAO,CAAA;KAAE;IAMzC,IAAI,IAAI,MAAM,CAAC,UAAU,EAAE,CAAC;IAyB5B,MAAM,CAAC,IAAI,EAAE,qBAAqB,GAAG,MAAM,CAAC,UAAU,CAAC;CAK9D"}
@@ -1,15 +0,0 @@
1
- import { ChannelPreference, PreferenceLevel, Workflow } from '../types';
2
- export type FetchPreferencesArgs = {
3
- level?: PreferenceLevel;
4
- };
5
- export type UpdatePreferencesArgs = {
6
- workflowId?: string;
7
- channelPreferences: ChannelPreference;
8
- preference?: {
9
- level: PreferenceLevel;
10
- enabled: boolean;
11
- channels: ChannelPreference;
12
- workflow?: Workflow;
13
- };
14
- };
15
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/preferences/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAe,eAAe,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAErF,MAAM,MAAM,oBAAoB,GAAG;IACjC,KAAK,CAAC,EAAE,eAAe,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,kBAAkB,EAAE,iBAAiB,CAAC;IACtC,UAAU,CAAC,EAAE;QACX,KAAK,EAAE,eAAe,CAAC;QACvB,OAAO,EAAE,OAAO,CAAC;QACjB,QAAQ,EAAE,iBAAiB,CAAC;QAC5B,QAAQ,CAAC,EAAE,QAAQ,CAAC;KACrB,CAAC;CACH,CAAC"}
@@ -1,3 +0,0 @@
1
- export * from './session';
2
- export * from './types';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/session/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC"}
@@ -1,7 +0,0 @@
1
- import { InitializeSessionArgs } from './types';
2
- export declare class Session {
3
- #private;
4
- constructor(options: InitializeSessionArgs);
5
- initialize(): Promise<void>;
6
- }
7
- //# sourceMappingURL=session.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"session.d.ts","sourceRoot":"","sources":["../../../src/session/session.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAGhD,qBAAa,OAAO;;gBAKN,OAAO,EAAE,qBAAqB;IAM7B,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC;CAgBzC"}
@@ -1,6 +0,0 @@
1
- export type InitializeSessionArgs = {
2
- applicationIdentifier: string;
3
- subscriberId: string;
4
- subscriberHash?: string;
5
- };
6
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/session/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,qBAAqB,GAAG;IAClC,qBAAqB,EAAE,MAAM,CAAC;IAC9B,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB,CAAC"}
@@ -1,150 +0,0 @@
1
- export type { Notification } from './notifications';
2
- export declare enum NotificationStatus {
3
- READ = "read",
4
- SEEN = "seen",
5
- UNREAD = "unread",
6
- UNSEEN = "unseen"
7
- }
8
- export declare enum NotificationButton {
9
- PRIMARY = "primary",
10
- SECONDARY = "secondary"
11
- }
12
- export declare enum NotificationActionStatus {
13
- PENDING = "pending",
14
- DONE = "done"
15
- }
16
- export declare enum CtaType {
17
- REDIRECT = "redirect"
18
- }
19
- export declare enum PreferenceLevel {
20
- GLOBAL = "global",
21
- TEMPLATE = "template"
22
- }
23
- export declare enum ChannelType {
24
- IN_APP = "in_app",
25
- EMAIL = "email",
26
- SMS = "sms",
27
- CHAT = "chat",
28
- PUSH = "push"
29
- }
30
- export declare enum PreferenceOverrideSource {
31
- SUBSCRIBER = "subscriber",
32
- TEMPLATE = "template",
33
- WORKFLOW_OVERRIDE = "workflowOverride"
34
- }
35
- export declare enum WebSocketEvent {
36
- RECEIVED = "notification_received",
37
- UNREAD = "unread_count_changed",
38
- UNSEEN = "unseen_count_changed"
39
- }
40
- export declare enum ActionTypeEnum {
41
- PRIMARY = "primary",
42
- SECONDARY = "secondary"
43
- }
44
- export type Session = {
45
- token: string;
46
- totalUnreadCount: number;
47
- };
48
- export type MessageButton = {
49
- type: NotificationButton;
50
- content: string;
51
- resultContent?: string;
52
- };
53
- export type MessageAction = {
54
- status?: NotificationActionStatus;
55
- buttons?: MessageButton[];
56
- result: {
57
- payload?: Record<string, unknown>;
58
- type?: NotificationButton;
59
- };
60
- };
61
- export type Subscriber = {
62
- id: string;
63
- firstName?: string;
64
- lastName?: string;
65
- avatar?: string;
66
- subscriberId: string;
67
- };
68
- export type Redirect = {
69
- url: string;
70
- target?: '_self' | '_blank' | '_parent' | '_top' | '_unfencedTop';
71
- };
72
- export type Action = {
73
- label: string;
74
- isCompleted: boolean;
75
- redirect?: Redirect;
76
- };
77
- export type InboxNotification = {
78
- id: string;
79
- subject?: string;
80
- body: string;
81
- to: Subscriber;
82
- isRead: boolean;
83
- isArchived: boolean;
84
- createdAt: string;
85
- readAt?: string | null;
86
- archivedAt?: string | null;
87
- avatar?: string;
88
- primaryAction?: Action;
89
- secondaryAction?: Action;
90
- channelType: ChannelType;
91
- tags?: string[];
92
- data?: Record<string, unknown>;
93
- redirect?: Redirect;
94
- };
95
- export type NotificationFilter = {
96
- tags?: string[];
97
- read?: boolean;
98
- archived?: boolean;
99
- };
100
- export type Workflow = {
101
- id: string;
102
- identifier: string;
103
- name: string;
104
- critical: boolean;
105
- tags?: string[];
106
- };
107
- export type ChannelPreference = {
108
- email?: boolean;
109
- sms?: boolean;
110
- in_app?: boolean;
111
- chat?: boolean;
112
- push?: boolean;
113
- };
114
- export type PaginatedResponse<T = unknown> = {
115
- data: T[];
116
- hasMore: boolean;
117
- totalCount: number;
118
- pageSize: number;
119
- page: number;
120
- };
121
- export type PreferencesResponse = {
122
- level: PreferenceLevel;
123
- enabled: boolean;
124
- channels: ChannelPreference;
125
- overrides?: IPreferenceOverride[];
126
- workflow?: Workflow;
127
- };
128
- export declare enum PreferenceOverrideSourceEnum {
129
- SUBSCRIBER = "subscriber",
130
- TEMPLATE = "template",
131
- WORKFLOW_OVERRIDE = "workflowOverride"
132
- }
133
- export type IPreferenceOverride = {
134
- channel: ChannelType;
135
- source: PreferenceOverrideSourceEnum;
136
- };
137
- export type TODO = any;
138
- export type Result<D = undefined, E = unknown> = Promise<{
139
- data?: D;
140
- error?: E;
141
- }>;
142
- export type NovuOptions = {
143
- applicationIdentifier: string;
144
- subscriberId: string;
145
- subscriberHash?: string;
146
- backendUrl?: string;
147
- socketUrl?: string;
148
- useCache?: boolean;
149
- };
150
- //# sourceMappingURL=types.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"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"}
@@ -1,6 +0,0 @@
1
- export * from './useNotifications';
2
- export * from './usePreferences';
3
- export * from './useReadAll';
4
- export * from './useArchiveAll';
5
- export * from './useArchiveAllRead';
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { NotificationFilter } from '../../../types';
2
- export declare const useArchiveAll: (props?: {
3
- onSuccess?: (() => void) | undefined;
4
- onError?: ((err: unknown) => void) | undefined;
5
- } | undefined) => {
6
- archiveAll: ({ tags }?: {
7
- tags?: NotificationFilter['tags'];
8
- }) => Promise<void>;
9
- };
10
- //# sourceMappingURL=useArchiveAll.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useArchiveAll.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/useArchiveAll.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,aAAa;uBAAgC,IAAI;qBAAkB,OAAO,KAAK,IAAI;;;eAGjD,kBAAkB,CAAC,MAAM,CAAC;;CAUxE,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { NotificationFilter } from '../../../types';
2
- export declare const useArchiveAllRead: (props?: {
3
- onSuccess?: (() => void) | undefined;
4
- onError?: ((err: unknown) => void) | undefined;
5
- } | undefined) => {
6
- archiveAllRead: ({ tags }?: {
7
- tags?: NotificationFilter['tags'];
8
- }) => Promise<void>;
9
- };
10
- //# sourceMappingURL=useArchiveAllRead.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useArchiveAllRead.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/useArchiveAllRead.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,iBAAiB;uBAAgC,IAAI;qBAAkB,OAAO,KAAK,IAAI;;;eAGjD,kBAAkB,CAAC,MAAM,CAAC;;CAU5E,CAAC"}
@@ -1,17 +0,0 @@
1
- import { Accessor } from 'solid-js';
2
- import { ListNotificationsArgs } from '../../../notifications';
3
- import type { NotificationFilter } from '../../../types';
4
- type UseNotificationsInfiniteScrollProps = {
5
- options: Accessor<Exclude<ListNotificationsArgs, 'offset'>>;
6
- };
7
- export declare const useNotificationsInfiniteScroll: (props: UseNotificationsInfiniteScrollProps) => {
8
- data: Accessor<import("../../../notifications").Notification[]>;
9
- initialLoading: Accessor<boolean>;
10
- setEl: (el: Element) => void;
11
- end: Accessor<boolean>;
12
- refetch: ({ filter }: {
13
- filter?: NotificationFilter | undefined;
14
- }) => void;
15
- };
16
- export {};
17
- //# sourceMappingURL=useNotifications.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useNotifications.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/useNotifications.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAoC,MAAM,UAAU,CAAC;AACtE,OAAO,EAAE,qBAAqB,EAA6B,MAAM,wBAAwB,CAAC;AAC1F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAKzD,KAAK,mCAAmC,GAAG;IACzC,OAAO,EAAE,QAAQ,CAAC,OAAO,CAAC,qBAAqB,EAAE,QAAQ,CAAC,CAAC,CAAC;CAC7D,CAAC;AAEF,eAAO,MAAM,8BAA8B,UAAW,mCAAmC;;;;;;;;CAyCxF,CAAC"}
@@ -1,9 +0,0 @@
1
- import { Preference } from '../../../preferences/preference';
2
- import { FetchPreferencesArgs } from '../../../preferences/types';
3
- export declare const usePreferences: (options?: FetchPreferencesArgs) => {
4
- preferences: import("solid-js").Resource<Preference[] | undefined>;
5
- loading: import("solid-js").Accessor<boolean>;
6
- mutate: import("solid-js").Setter<Preference[] | undefined>;
7
- refetch: (info?: unknown) => Preference[] | Promise<Preference[] | undefined> | null | undefined;
8
- };
9
- //# sourceMappingURL=usePreferences.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"usePreferences.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/usePreferences.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAC7D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAIlE,eAAO,MAAM,cAAc,aAAc,oBAAoB;;;;;CAkC5D,CAAC"}
@@ -1,10 +0,0 @@
1
- import type { NotificationFilter } from '../../../types';
2
- export declare const useReadAll: (props?: {
3
- onSuccess?: (() => void) | undefined;
4
- onError?: ((err: unknown) => void) | undefined;
5
- } | undefined) => {
6
- readAll: ({ tags }?: {
7
- tags?: NotificationFilter['tags'];
8
- }) => Promise<void>;
9
- };
10
- //# sourceMappingURL=useReadAll.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useReadAll.d.ts","sourceRoot":"","sources":["../../../../../src/ui/api/hooks/useReadAll.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;AAEzD,eAAO,MAAM,UAAU;uBAAgC,IAAI;qBAAkB,OAAO,KAAK,IAAI;;;eAGjD,kBAAkB,CAAC,MAAM,CAAC;;CAUrE,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './hooks';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/ui/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC"}
@@ -1,7 +0,0 @@
1
- import { ParentProps } from 'solid-js';
2
- type ExternalElementMounterProps = ParentProps<{
3
- render: (el: HTMLDivElement) => () => void;
4
- }>;
5
- export declare const ExternalElementRenderer: ({ render, ...rest }: ExternalElementMounterProps) => import("solid-js").JSX.Element;
6
- export {};
7
- //# sourceMappingURL=ExternalElementRenderer.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ExternalElementRenderer.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/ExternalElementRenderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA2B,WAAW,EAAE,MAAM,UAAU,CAAC;AAEhE,KAAK,2BAA2B,GAAG,WAAW,CAAC;IAC7C,MAAM,EAAE,CAAC,EAAE,EAAE,cAAc,KAAK,MAAM,IAAI,CAAC;CAC5C,CAAC,CAAC;AAEH,eAAO,MAAM,uBAAuB,wBAAyB,2BAA2B,mCAmBvF,CAAC"}
@@ -1,24 +0,0 @@
1
- import type { BellRenderer, NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer } from '../types';
2
- export type InboxProps = {
3
- open?: boolean;
4
- renderNotification?: NotificationRenderer;
5
- renderBell?: BellRenderer;
6
- onNotificationClick?: NotificationClickHandler;
7
- onPrimaryActionClick?: NotificationActionClickHandler;
8
- onSecondaryActionClick?: NotificationActionClickHandler;
9
- };
10
- export declare enum InboxPage {
11
- Notifications = "notifications",
12
- Preferences = "preferences"
13
- }
14
- export type InboxContentProps = {
15
- renderNotification?: NotificationRenderer;
16
- onNotificationClick?: NotificationClickHandler;
17
- onPrimaryActionClick?: NotificationActionClickHandler;
18
- onSecondaryActionClick?: NotificationActionClickHandler;
19
- initialPage?: InboxPage;
20
- hideNav?: boolean;
21
- };
22
- export declare const InboxContent: (props: InboxContentProps) => import("solid-js").JSX.Element;
23
- export declare const Inbox: (props: InboxProps) => import("solid-js").JSX.Element;
24
- //# sourceMappingURL=Inbox.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Inbox.d.ts","sourceRoot":"","sources":["../../../../src/ui/components/Inbox.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,YAAY,EACZ,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAMlB,MAAM,MAAM,UAAU,GAAG;IACvB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,UAAU,CAAC,EAAE,YAAY,CAAC;IAC1B,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;CACzD,CAAC;AAEF,oBAAY,SAAS;IACnB,aAAa,kBAAkB;IAC/B,WAAW,gBAAgB;CAC5B;AAED,MAAM,MAAM,iBAAiB,GAAG;IAC9B,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;IACxD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,mCAkDpD,CAAC;AAEF,eAAO,MAAM,KAAK,UAAW,UAAU,mCAwBtC,CAAC"}
@@ -1,16 +0,0 @@
1
- import { ComponentProps, JSX } from 'solid-js';
2
- import { ClassName } from '../../helpers';
3
- import { Tab } from '../../types';
4
- import { Dropdown } from '../primitives';
5
- export declare const InboxTabUnreadNotificationsCount: (props: {
6
- count: number;
7
- }) => JSX.Element;
8
- export declare const InboxTab: (props: Tab & {
9
- class?: ClassName;
10
- }) => JSX.Element;
11
- type InboxDropdownTabProps = Pick<ComponentProps<(typeof Dropdown)['Item']>, 'onClick'> & Tab & {
12
- rightIcon: JSX.Element;
13
- };
14
- export declare const InboxDropdownTab: (props: InboxDropdownTabProps) => JSX.Element;
15
- export {};
16
- //# sourceMappingURL=InboxTab.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InboxTab.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/InboxTabs/InboxTab.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAc,GAAG,EAAQ,MAAM,UAAU,CAAC;AAEjE,OAAO,EAAE,SAAS,EAAgB,MAAM,eAAe,CAAC;AACxD,OAAO,EAAsB,GAAG,EAAE,MAAM,aAAa,CAAC;AACtD,OAAO,EAAE,QAAQ,EAA8B,MAAM,eAAe,CAAC;AAKrE,eAAO,MAAM,gCAAgC,UAAW;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,gBAcxE,CAAC;AAEF,eAAO,MAAM,QAAQ,UAAW,GAAG,GAAG;IAAE,KAAK,CAAC,EAAE,SAAS,CAAA;CAAE,gBAgB1D,CAAC;AAEF,KAAK,qBAAqB,GAAG,IAAI,CAAC,cAAc,CAAC,CAAC,OAAO,QAAQ,CAAC,CAAC,MAAM,CAAC,CAAC,EAAE,SAAS,CAAC,GACrF,GAAG,GAAG;IACJ,SAAS,EAAE,GAAG,CAAC,OAAO,CAAC;CACxB,CAAC;AACJ,eAAO,MAAM,gBAAgB,UAAW,qBAAqB,gBAgB5D,CAAC"}
@@ -1,11 +0,0 @@
1
- import { NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer, Tab } from '../../types';
2
- type InboxTabsProps = {
3
- renderNotification?: NotificationRenderer;
4
- onNotificationClick?: NotificationClickHandler;
5
- onPrimaryActionClick?: NotificationActionClickHandler;
6
- onSecondaryActionClick?: NotificationActionClickHandler;
7
- tabs: Array<Tab>;
8
- };
9
- export declare const InboxTabs: (props: InboxTabsProps) => import("solid-js").JSX.Element;
10
- export {};
11
- //# sourceMappingURL=InboxTabs.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InboxTabs.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/InboxTabs/InboxTabs.tsx"],"names":[],"mappings":"AAKA,OAAO,EACL,8BAA8B,EAC9B,wBAAwB,EACxB,oBAAoB,EAEpB,GAAG,EACJ,MAAM,aAAa,CAAC;AAWrB,KAAK,cAAc,GAAG;IACpB,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;IACxD,IAAI,EAAE,KAAK,CAAC,GAAG,CAAC,CAAC;CAClB,CAAC;AAEF,eAAO,MAAM,SAAS,UAAW,cAAc,mCA8F9C,CAAC"}
@@ -1,2 +0,0 @@
1
- export * from './InboxTabs';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/InboxTabs/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
@@ -1,11 +0,0 @@
1
- import type { Tab } from '../../types';
2
- type TabsArray = Array<Tab>;
3
- export declare const useTabsDropdown: ({ tabs }: {
4
- tabs: TabsArray;
5
- }) => {
6
- dropdownTabs: import("solid-js").Accessor<TabsArray>;
7
- setTabsList: import("solid-js").Setter<HTMLDivElement | undefined>;
8
- visibleTabs: import("solid-js").Accessor<TabsArray>;
9
- };
10
- export {};
11
- //# sourceMappingURL=useTabsDropdown.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useTabsDropdown.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/InboxTabs/useTabsDropdown.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAC;AAEvC,KAAK,SAAS,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC;AAE5B,eAAO,MAAM,eAAe;;;;;;CAsC3B,CAAC"}
@@ -1,12 +0,0 @@
1
- import { JSX } from 'solid-js';
2
- import type { Notification } from '../../../notifications';
3
- import type { NotificationActionClickHandler, NotificationClickHandler } from '../../types';
4
- type DefaultNotificationProps = {
5
- notification: Notification;
6
- onNotificationClick?: NotificationClickHandler;
7
- onPrimaryActionClick?: NotificationActionClickHandler;
8
- onSecondaryActionClick?: NotificationActionClickHandler;
9
- };
10
- export declare const DefaultNotification: (props: DefaultNotificationProps) => JSX.Element;
11
- export {};
12
- //# sourceMappingURL=DefaultNotification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DefaultNotification.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/DefaultNotification.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,GAAG,EAAQ,MAAM,UAAU,CAAC;AAE7E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAK3D,OAAO,KAAK,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,MAAM,aAAa,CAAC;AAK5F,KAAK,wBAAwB,GAAG;IAC9B,YAAY,EAAE,YAAY,CAAC;IAC3B,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,UAAW,wBAAwB,gBAmOlE,CAAC"}
@@ -1,6 +0,0 @@
1
- import { Component, JSX } from 'solid-js';
2
- export declare const NewMessagesCta: Component<{
3
- onClick?: JSX.EventHandlerUnion<HTMLButtonElement, MouseEvent>;
4
- count: number;
5
- }>;
6
- //# sourceMappingURL=NewMessagesCta.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"NewMessagesCta.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/NewMessagesCta.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAc,GAAG,EAAQ,MAAM,UAAU,CAAC;AAI5D,eAAO,MAAM,cAAc,EAAE,SAAS,CAAC;IACrC,OAAO,CAAC,EAAE,GAAG,CAAC,iBAAiB,CAAC,iBAAiB,EAAE,UAAU,CAAC,CAAC;IAC/D,KAAK,EAAE,MAAM,CAAC;CACf,CAgBA,CAAC"}
@@ -1,12 +0,0 @@
1
- import type { Notification as NotificationType } from '../../../notifications';
2
- import type { NotificationActionClickHandler, NotificationClickHandler, NotificationRenderer } from '../../types';
3
- type NotificationProps = {
4
- notification: NotificationType;
5
- renderNotification?: NotificationRenderer;
6
- onNotificationClick?: NotificationClickHandler;
7
- onPrimaryActionClick?: NotificationActionClickHandler;
8
- onSecondaryActionClick?: NotificationActionClickHandler;
9
- };
10
- export declare const Notification: (props: NotificationProps) => import("solid-js").JSX.Element;
11
- export {};
12
- //# sourceMappingURL=Notification.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Notification.d.ts","sourceRoot":"","sources":["../../../../../src/ui/components/Notification/Notification.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC/E,OAAO,KAAK,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAIlH,KAAK,iBAAiB,GAAG;IACvB,YAAY,EAAE,gBAAgB,CAAC;IAC/B,kBAAkB,CAAC,EAAE,oBAAoB,CAAC;IAC1C,mBAAmB,CAAC,EAAE,wBAAwB,CAAC;IAC/C,oBAAoB,CAAC,EAAE,8BAA8B,CAAC;IACtD,sBAAsB,CAAC,EAAE,8BAA8B,CAAC;CACzD,CAAC;AAEF,eAAO,MAAM,YAAY,UAAW,iBAAiB,mCAgBpD,CAAC"}