BREAKING CHANGE(core): switch to esm

This commit is contained in:
2022-07-16 17:45:10 +02:00
parent 5887eefbca
commit 4f8107221b
16 changed files with 3971 additions and 19946 deletions

View File

@ -1,3 +1,3 @@
import * as checkRequests from './requests.checks';
import * as checkRequests from './requests.checks.js';
export { checkRequests };

View File

@ -1,4 +1,4 @@
import * as plugins from '../ul-interfaces.plugins';
import * as plugins from '../ul-interfaces.plugins.js';
export type TCheckResultStatus = 'ok' | 'not ok' | 'timed out';

View File

@ -1,16 +1,17 @@
import * as plugins from '../ul-interfaces.plugins';
import * as data from '../data';
import * as plugins from '../ul-interfaces.plugins.js';
import * as data from '../data/index.js';
export interface IRequest_Incidents_Get extends plugins.typedRequestInterfaces.implementsTR<
plugins.typedRequestInterfaces.ITypedRequest,
IRequest_Incidents_Get
> {
method: 'getIncidents',
export interface IRequest_Incidents_Get
extends plugins.typedRequestInterfaces.implementsTR<
plugins.typedRequestInterfaces.ITypedRequest,
IRequest_Incidents_Get
> {
method: 'getIncidents';
request: {
userToken?: string;
};
response: {
currentIncidents: data.IIncident[];
pastIncidents: data.IIncident[];
}
};
}