refactor: use path alias to improve readability
This commit is contained in:
parent
6d881d4570
commit
97f2675d40
55 changed files with 92 additions and 92 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue