smartuniverse/ts/interfaces/universeactions.interfaces.ts

14 lines
286 B
TypeScript
Raw Normal View History

2019-04-24 21:27:57 +00:00
export type IServerCallActions = 'subscribe' | 'sendmessage' | 'unsubscribe';
/**
* 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;
}