smartuniverse/ts/interfaces/http.interfaces.ts
2019-04-23 00:28:57 +02:00

16 lines
286 B
TypeScript

export interface IServerGetMessagesRequestBody {
channel: string;
topic?: string;
youngerThan: number;
}
/**
* the interface for a standard request
*/
export interface IServerPutMessageRequestBody {
channel: string;
passphrase: string;
message: string;
payload: any;
}