smartuniverse/ts/interfaces/universeactions.interfaces.ts
2019-08-12 14:59:37 +02:00

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;
}