16 lines
364 B
TypeScript
Raw Normal View History

2019-09-27 12:53:21 +09:00
import { createAction, props } from '@ngrx/store';
2019-10-10 14:50:58 +09:00
import { Info } from '@ucap-webmessenger/protocol-event';
2019-09-27 12:53:21 +09:00
export const selectedRoom = createAction(
'[Messenger::Chat] selectedRoom',
2019-10-08 11:19:47 +09:00
props<{ roomSeq: string }>()
2019-09-27 12:53:21 +09:00
);
2019-10-10 14:50:58 +09:00
export const newEventMessage = createAction(
'[Messenger::Chat] newEventMessage',
props<{
roomSeq: string;
info: Info;
}>()
);