Update dependencies 🚀

This commit is contained in:
syuilo 2019-09-27 05:50:34 +09:00
parent f4cb62db16
commit 42a14508f6
19 changed files with 1002 additions and 1001 deletions

View file

@ -1,4 +1,4 @@
import * as Router from 'koa-router';
import * as Router from '@koa/router';
import config from '../../config';
import { renderActivity } from '../../remote/activitypub/renderer';
import renderOrderedCollection from '../../remote/activitypub/renderer/ordered-collection';
@ -7,7 +7,7 @@ import renderNote from '../../remote/activitypub/renderer/note';
import { Users, Notes, UserNotePinings } from '../../models';
import { ensure } from '../../prelude/ensure';
export default async (ctx: Router.IRouterContext) => {
export default async (ctx: Router.RouterContext) => {
const userId = ctx.params.user;
// Verify user

View file

@ -1,4 +1,4 @@
import * as Router from 'koa-router';
import * as Router from '@koa/router';
import config from '../../config';
import $ from 'cafy';
import { ID } from '../../misc/cafy-id';
@ -11,7 +11,7 @@ import { setResponseType } from '../activitypub';
import { Users, Followings } from '../../models';
import { LessThan } from 'typeorm';
export default async (ctx: Router.IRouterContext) => {
export default async (ctx: Router.RouterContext) => {
const userId = ctx.params.user;
// Get 'cursor' parameter

View file

@ -1,4 +1,4 @@
import * as Router from 'koa-router';
import * as Router from '@koa/router';
import config from '../../config';
import $ from 'cafy';
import { ID } from '../../misc/cafy-id';
@ -12,7 +12,7 @@ import { Users, Followings } from '../../models';
import { LessThan, FindConditions } from 'typeorm';
import { Following } from '../../models/entities/following';
export default async (ctx: Router.IRouterContext) => {
export default async (ctx: Router.RouterContext) => {
const userId = ctx.params.user;
// Get 'cursor' parameter

View file

@ -1,4 +1,4 @@
import * as Router from 'koa-router';
import * as Router from '@koa/router';
import config from '../../config';
import $ from 'cafy';
import { ID } from '../../misc/cafy-id';
@ -17,7 +17,7 @@ import { Brackets } from 'typeorm';
import { Note } from '../../models/entities/note';
import { ensure } from '../../prelude/ensure';
export default async (ctx: Router.IRouterContext) => {
export default async (ctx: Router.RouterContext) => {
const userId = ctx.params.user;
// Get 'sinceId' parameter