import { createAction, props } from '@ngrx/store'; import { YapNotification } from '@onepoint-yap/dashboard'; export const NotificationActions = { add: createAction('[Notification] received', props<{ notification: YapNotification }>()), read: createAction('[Notification] read', props<{ id: string }>()) };