smartuniverse/ts/interfaces/universeactions.interfaces.ts

14 lines
286 B
TypeScript
Raw Normal View History

2019-04-24 23:27:57 +02:00
export type IServerCallActions = 'subscribe' | 'sendmessage' | 'unsubscribe';
/**
* the interface for a subscription
*/
export interface IServerCallSubscribeActionPayload {
name: string;
passphrase: string;
2019-04-28 12:42:08 +02:00
}
export interface IServerUnsubscribeActionPayload {
name: string;
}