mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
fix
This commit is contained in:
parent
4e01ec908f
commit
32d17f7e94
@ -27,7 +27,10 @@ export default {
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): void {
|
||||
let probeKey: $TSFixMe, probeName: $TSFixMe, clusterKey: $TSFixMe, probeVersion: $TSFixMe;
|
||||
let probeKey: $TSFixMe,
|
||||
probeName: $TSFixMe,
|
||||
clusterKey: $TSFixMe,
|
||||
probeVersion: $TSFixMe;
|
||||
|
||||
if (req.params && req.params.probeKey) {
|
||||
probeKey = req.params.probeKey;
|
||||
|
@ -18,7 +18,11 @@ import payment from '../backend/config/payment';
|
||||
import Stripe from 'stripe';
|
||||
const stripe: $TSFixMe = Stripe(payment.paymentPrivateKey);
|
||||
|
||||
let token: $TSFixMe, userId: $TSFixMe, projectId: $TSFixMe, stripeCustomerId: $TSFixMe, testPlan: $TSFixMe;
|
||||
let token: $TSFixMe,
|
||||
userId: $TSFixMe,
|
||||
projectId: $TSFixMe,
|
||||
stripeCustomerId: $TSFixMe,
|
||||
testPlan: $TSFixMe;
|
||||
|
||||
describe('Invoice API', function (): void {
|
||||
this.timeout(200000);
|
||||
|
@ -23,7 +23,10 @@ import VerificationTokenModel from '../backend/models/verificationToken';
|
||||
|
||||
// let token: $TSFixMe, userId: $TSFixMe, projectId: $TSFixMe;
|
||||
|
||||
let token: $TSFixMe, projectId: $TSFixMe, subProjectId: $TSFixMe, userId: $TSFixMe;
|
||||
let token: $TSFixMe,
|
||||
projectId: $TSFixMe,
|
||||
subProjectId: $TSFixMe,
|
||||
userId: $TSFixMe;
|
||||
|
||||
describe('Project API', function (): void {
|
||||
this.timeout(30000);
|
||||
|
@ -17,7 +17,11 @@ import AirtableService from '../backend/services/airtableService';
|
||||
import GlobalConfig from './utils/globalConfig';
|
||||
import VerificationTokenModel from '../backend/models/verificationToken';
|
||||
|
||||
let token: $TSFixMe, userId: $TSFixMe, projectId: $TSFixMe, resourceCategoryId: $TSFixMe, apiKey: $TSFixMe;
|
||||
let token: $TSFixMe,
|
||||
userId: $TSFixMe,
|
||||
projectId: $TSFixMe,
|
||||
resourceCategoryId: $TSFixMe,
|
||||
apiKey: $TSFixMe;
|
||||
const resourceCategory: $TSFixMe = {
|
||||
resourceCategoryName: 'New Resource Category',
|
||||
};
|
||||
|
@ -18,7 +18,10 @@ export default {
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): void {
|
||||
let probeKey: $TSFixMe, probeName: $TSFixMe, clusterKey: $TSFixMe, probeVersion: $TSFixMe;
|
||||
let probeKey: $TSFixMe,
|
||||
probeName: $TSFixMe,
|
||||
clusterKey: $TSFixMe,
|
||||
probeVersion: $TSFixMe;
|
||||
|
||||
if (req.params && req.params.probeKey) {
|
||||
probeKey = req.params.probeKey;
|
||||
|
@ -381,7 +381,10 @@ class Service extends DatabaseService<typeof Model> {
|
||||
: {};
|
||||
let memberId: $TSFixMe = null;
|
||||
const response: $TSFixMe = new twilio.twiml.VoiceResponse();
|
||||
let forwardingNumber: $TSFixMe, error: $TSFixMe, userId: $TSFixMe, scheduleId: $TSFixMe;
|
||||
let forwardingNumber: $TSFixMe,
|
||||
error: $TSFixMe,
|
||||
userId: $TSFixMe,
|
||||
scheduleId: $TSFixMe;
|
||||
|
||||
const {
|
||||
type,
|
||||
|
@ -203,7 +203,10 @@ export default class Service {
|
||||
const format: string = 'ddd MMM DD YYYY H:m:s GMT';
|
||||
const start: $TSFixMe = moment(startDate, format).toDate();
|
||||
const end: $TSFixMe = moment(endDate, format).toDate();
|
||||
let group: $TSFixMe, sort: $TSFixMe, inputFormat: $TSFixMe, outputFormat: $TSFixMe;
|
||||
let group: $TSFixMe,
|
||||
sort: $TSFixMe,
|
||||
inputFormat: $TSFixMe,
|
||||
outputFormat: $TSFixMe;
|
||||
|
||||
if (filter === 'day') {
|
||||
group = {
|
||||
@ -331,7 +334,10 @@ export default class Service {
|
||||
const format: string = 'ddd MMM DD YYYY H:m:s GMT';
|
||||
const start: $TSFixMe = moment(startDate, format).toDate();
|
||||
const end: $TSFixMe = moment(endDate, format).toDate();
|
||||
let group: $TSFixMe, sort: $TSFixMe, inputFormat: $TSFixMe, outputFormat: $TSFixMe;
|
||||
let group: $TSFixMe,
|
||||
sort: $TSFixMe,
|
||||
inputFormat: $TSFixMe,
|
||||
outputFormat: $TSFixMe;
|
||||
|
||||
if (filter === 'day') {
|
||||
group = {
|
||||
|
@ -17,7 +17,10 @@ export default {
|
||||
res: ExpressResponse,
|
||||
next: NextFunction
|
||||
): void {
|
||||
let probeKey: $TSFixMe, probeName: $TSFixMe, clusterKey: $TSFixMe, probeVersion: $TSFixMe;
|
||||
let probeKey: $TSFixMe,
|
||||
probeName: $TSFixMe,
|
||||
clusterKey: $TSFixMe,
|
||||
probeVersion: $TSFixMe;
|
||||
|
||||
if (req.params && req.params.probeKey) {
|
||||
probeKey = req.params.probeKey;
|
||||
|
@ -108,7 +108,6 @@ const execCommands: Function = async (exec: $TSFixMe, os: $TSFixMe): void => {
|
||||
mainTemp: $TSFixMe,
|
||||
maxTemp: $TSFixMe;
|
||||
|
||||
|
||||
if (os === 'Linux') {
|
||||
const { stdout: load } = await (isSSH
|
||||
? exec.execCommand(COMMAND.linux.load)
|
||||
|
Loading…
Reference in New Issue
Block a user