From dc1d6d4d6189cca2725f18befe515c22455445fa Mon Sep 17 00:00:00 2001 From: crusader Date: Sun, 18 Mar 2018 20:55:37 +0900 Subject: [PATCH] ing --- .../core/rpc/store/notification/notification.action.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 {