2019-08-22 13:40:10 +00:00
|
|
|
export interface ITypedRequest {
|
|
|
|
method: string;
|
|
|
|
request: object;
|
|
|
|
response: object;
|
2020-02-10 21:08:52 +00:00
|
|
|
error?: { text: string; data: any };
|
2020-02-10 21:06:51 +00:00
|
|
|
retry?: {
|
|
|
|
waitForMs: number;
|
|
|
|
reason: string;
|
|
|
|
};
|
2019-08-23 14:57:45 +00:00
|
|
|
}
|
2019-09-24 16:40:37 +00:00
|
|
|
|
2020-02-10 21:06:51 +00:00
|
|
|
export type implementsTR<T, U extends T> = {};
|
|
|
|
|
2019-09-24 16:40:37 +00:00
|
|
|
export interface IBroadCastEvent<T> {
|
2019-11-10 15:35:43 +00:00
|
|
|
name: string;
|
2019-09-24 16:40:37 +00:00
|
|
|
uniqueEventId: string;
|
|
|
|
payload: T;
|
|
|
|
}
|