interfaces/ts/requests/requests.incidents.ts

18 lines
443 B
TypeScript
Raw Normal View History

2022-07-16 15:45:10 +00:00
import * as plugins from '../ul-interfaces.plugins.js';
import * as data from '../data/index.js';
2021-09-26 14:11:41 +00:00
2022-07-16 15:45:10 +00:00
export interface IRequest_Incidents_Get
extends plugins.typedRequestInterfaces.implementsTR<
plugins.typedRequestInterfaces.ITypedRequest,
IRequest_Incidents_Get
> {
method: 'getIncidents';
2021-09-26 14:11:41 +00:00
request: {
userToken?: string;
};
response: {
currentIncidents: data.IIncident[];
pastIncidents: data.IIncident[];
2022-07-16 15:45:10 +00:00
};
2021-09-26 14:11:41 +00:00
}