Merge branch 'notification-read-api' into swn

This commit is contained in:
tamaina
2022-03-15 22:06:22 +09:00
29 changed files with 108 additions and 18 deletions

View File

@@ -6,7 +6,7 @@ import { httpAgent, httpsAgent, StatusError } from './fetch.js';
import config from '@/config/index.js';
import chalk from 'chalk';
import Logger from '@/services/logger.js';
import * as IPCIDR from 'ip-cidr';
import IPCIDR from 'ip-cidr';
import PrivateIp from 'private-ip';
const pipeline = util.promisify(stream.pipeline);

View File

@@ -1,5 +1,5 @@
import * as crypto from 'node:crypto';
import * as jsonld from 'jsonld';
import jsonld from 'jsonld';
import { CONTEXTS } from './contexts.js';
import fetch from 'node-fetch';
import { httpAgent, httpsAgent } from '@/misc/fetch.js';

View File

@@ -2,7 +2,7 @@ import * as fs from 'node:fs';
import { fileURLToPath } from 'node:url';
import { dirname } from 'node:path';
import Koa from 'koa';
import * as send from 'koa-send';
import send from 'koa-send';
import rename from 'rename';
import * as tmp from 'tmp';
import { serverLogger } from '../index.js';

View File

@@ -1,4 +1,4 @@
import validateEmail from 'deep-email-validator';
import { validate as validateEmail } from 'deep-email-validator';
import { UserProfiles } from '@/models/index.js';
export async function validateEmailForAccount(emailAddress: string): Promise<{