smartuniverse/ts/interfaces/universeactions.interfaces.ts

18 lines
340 B
TypeScript
Raw Normal View History

2019-08-12 12:59:37 +00:00
export type IServerCallActions =
| 'channelSubscription'
| 'processMessage'
| 'channelUnsubscribe'
| 'terminateConnection';
2019-04-24 21:27:57 +00:00
/**
* the interface for a subscription
*/
export interface IServerCallSubscribeActionPayload {
name: string;
passphrase: string;
2019-04-28 10:42:08 +00:00
}
export interface IServerUnsubscribeActionPayload {
name: string;
}