refactor: use path alias to improve readability
This commit is contained in:
@@ -2,7 +2,7 @@ import * as Router from '@koa/router';
|
||||
import config from '@/config/index';
|
||||
import $ from 'cafy';
|
||||
import { ID } from '@/misc/cafy-id';
|
||||
import * as url from '../../prelude/url';
|
||||
import * as url from '@/prelude/url';
|
||||
import { renderActivity } from '@/remote/activitypub/renderer/index';
|
||||
import renderOrderedCollection from '@/remote/activitypub/renderer/ordered-collection';
|
||||
import renderOrderedCollectionPage from '@/remote/activitypub/renderer/ordered-collection-page';
|
||||
|
@@ -2,7 +2,7 @@ import * as Router from '@koa/router';
|
||||
import config from '@/config/index';
|
||||
import $ from 'cafy';
|
||||
import { ID } from '@/misc/cafy-id';
|
||||
import * as url from '../../prelude/url';
|
||||
import * as url from '@/prelude/url';
|
||||
import { renderActivity } from '@/remote/activitypub/renderer/index';
|
||||
import renderOrderedCollection from '@/remote/activitypub/renderer/ordered-collection';
|
||||
import renderOrderedCollectionPage from '@/remote/activitypub/renderer/ordered-collection-page';
|
||||
|
@@ -9,8 +9,8 @@ import { setResponseType } from '../activitypub';
|
||||
import renderNote from '@/remote/activitypub/renderer/note';
|
||||
import renderCreate from '@/remote/activitypub/renderer/create';
|
||||
import renderAnnounce from '@/remote/activitypub/renderer/announce';
|
||||
import { countIf } from '../../prelude/array';
|
||||
import * as url from '../../prelude/url';
|
||||
import { countIf } from '@/prelude/array';
|
||||
import * as url from '@/prelude/url';
|
||||
import { Users, Notes } from '@/models/index';
|
||||
import { makePaginationQuery } from '../api/common/make-pagination-query';
|
||||
import { Brackets } from 'typeorm';
|
||||
|
Reference in New Issue
Block a user