import { UpdateMode } from '../../constant'; import { BaseContext } from '../../types'; import { Action, ActionKind } from './Action'; export interface NotifyWebClientActionPayload extends Omit { updateMode: UpdateMode; } export class NotifyWebClientAction extends Action { constructor(payload: NotifyWebClientActionPayload) { super( { payload, }, ActionKind.NOTIFY_WEB_CLIENT, ); } }