18 lines
340 B
TypeScript
18 lines
340 B
TypeScript
export type IServerCallActions =
|
|
| 'channelSubscription'
|
|
| 'processMessage'
|
|
| 'channelUnsubscribe'
|
|
| 'terminateConnection';
|
|
|
|
/**
|
|
* the interface for a subscription
|
|
*/
|
|
export interface IServerCallSubscribeActionPayload {
|
|
name: string;
|
|
passphrase: string;
|
|
}
|
|
|
|
export interface IServerUnsubscribeActionPayload {
|
|
name: string;
|
|
}
|