Harmonize tsconfig for frontend and server.
This commit is contained in:
parent
894ee97fdf
commit
22bff3496a
30 changed files with 77 additions and 53 deletions
|
@ -4,7 +4,7 @@ import { db } from "../db/database";
|
|||
import Logger from "../logger";
|
||||
import * as MailTemplateService from "./mailTemplateService";
|
||||
import * as Resources from "../utils/resources";
|
||||
import { RestParams } from "../utils/resources";
|
||||
import type { RestParams } from "../utils/resources";
|
||||
import {
|
||||
EmailAddress,
|
||||
isJSONObject,
|
||||
|
|
|
@ -7,8 +7,8 @@ import { htmlToText } from "nodemailer-html-to-text";
|
|||
import { config } from "../config";
|
||||
import Logger from "../logger";
|
||||
import { editNodeUrl } from "../utils/urlBuilder";
|
||||
import { Transporter } from "nodemailer";
|
||||
import { MailData, Mail } from "../types";
|
||||
import type { Transporter } from "nodemailer";
|
||||
import type { MailData, Mail } from "../types";
|
||||
|
||||
const templateBasePath = __dirname + "/../mailTemplates";
|
||||
const snippetsBasePath = templateBasePath + "/snippets";
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import { ParsedNode, parseNode, parseNodesJson } from "./monitoringService";
|
||||
import { Domain, MAC, OnlineState, Site, UnixTimestampSeconds } from "../types";
|
||||
import Logger from "../logger";
|
||||
import { MockLogger } from "../__mocks__/logger";
|
||||
import type { MockLogger } from "../__mocks__/logger";
|
||||
import { now, parseTimestamp } from "../utils/time";
|
||||
|
||||
const mockedLogger = Logger as MockLogger;
|
||||
|
|
|
@ -10,7 +10,7 @@ import Logger from "../logger";
|
|||
import * as MailService from "../services/mailService";
|
||||
import * as NodeService from "../services/nodeService";
|
||||
import * as Resources from "../utils/resources";
|
||||
import { RestParams } from "../utils/resources";
|
||||
import type { RestParams } from "../utils/resources";
|
||||
import { normalizeMac, parseInteger } from "../shared/utils/strings";
|
||||
import { monitoringDisableUrl } from "../utils/urlBuilder";
|
||||
import CONSTRAINTS from "../shared/validation/constraints";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue