This commit is contained in:
Nawaz Dhandala 2022-04-15 11:44:48 +01:00
parent 4e01ec908f
commit 32d17f7e94
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
9 changed files with 38 additions and 10 deletions

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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',
};

View File

@ -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;

View File

@ -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,

View File

@ -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 = {

View File

@ -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;

View File

@ -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)