smartuniverse/ts/interfaces/universeactions.interfaces.ts
2019-04-28 12:42:08 +02:00

14 lines
286 B
TypeScript

export type IServerCallActions = 'subscribe' | 'sendmessage' | 'unsubscribe';
/**
* the interface for a subscription
*/
export interface IServerCallSubscribeActionPayload {
name: string;
passphrase: string;
}
export interface IServerUnsubscribeActionPayload {
name: string;
}