diff --git a/src/packages/core/rpc/store/notification/notification.action.ts b/src/packages/core/rpc/store/notification/notification.action.ts index a322323..aba52eb 100644 --- a/src/packages/core/rpc/store/notification/notification.action.ts +++ b/src/packages/core/rpc/store/notification/notification.action.ts @@ -1,11 +1,13 @@ import { Action } from '@ngrx/store'; +export const NOTIFICATION_ACTION_TYPE_PREFIX = '@@NOTIFICATION'; + export interface NotificationAction extends Action { payload?: any; } export function notificationActionEnum(method: string): string { - return `[@@NOTIFICATION] ${method}`; + return `[${NOTIFICATION_ACTION_TYPE_PREFIX}] ${method}`; } export function notificationAction(method: string, params: any): Action {