refactor: absolute imports with path alias (#2960) [skip ci]

This commit is contained in:
Ryan Cohen
2022-08-22 11:02:46 +09:00
committed by GitHub
parent 4b855b8114
commit c6a133d4e5
317 changed files with 1741 additions and 1665 deletions

View File

@@ -1,8 +1,8 @@
import type { NotificationAgentEmail } from '@server/lib/settings';
import { getSettings } from '@server/lib/settings';
import Email from 'email-templates';
import nodemailer from 'nodemailer';
import { URL } from 'url';
import type { NotificationAgentEmail } from '../settings';
import { getSettings } from '../settings';
import { openpgpEncrypt } from './openpgpEncrypt';
class PreparedEmail extends Email {

View File

@@ -1,8 +1,8 @@
import logger from '@server/logger';
import { randomBytes } from 'crypto';
import * as openpgp from 'openpgp';
import type { TransformCallback } from 'stream';
import { Transform } from 'stream';
import logger from '../../logger';
interface EncryptorOptions {
signingKey?: string;