@rocket.chat/apps-engine
Version:
The engine code for the Rocket.Chat Apps which manages, runs, translates, coordinates and all of that.
18 lines (17 loc) • 358 B
TypeScript
import type { HttpStatusCode } from '../accessors';
export interface IApiResponse {
status: HttpStatusCode;
headers?: {
[key: string]: string;
};
content?: any;
}
export interface IApiResponseJSON {
status: HttpStatusCode;
headers?: {
[key: string]: string;
};
content?: {
[key: string]: any;
};
}