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
|
|
@ -9,7 +9,7 @@ import autobind from 'autobind-decorator';
|
|||
import Logger from '../logger';
|
||||
import { Schema } from '@/misc/schema';
|
||||
import { EntitySchema, getRepository, Repository, LessThan, Between } from 'typeorm';
|
||||
import { dateUTC, isTimeSame, isTimeBefore, subtractTime, addTime } from '../../prelude/time';
|
||||
import { dateUTC, isTimeSame, isTimeBefore, subtractTime, addTime } from '@/prelude/time';
|
||||
import { getChartInsertLock } from '@/misc/app-lock';
|
||||
|
||||
const logger = new Logger('chart', 'white', process.env.NODE_ENV !== 'test');
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { renderActivity } from '@/remote/activitypub/renderer/index';
|
|||
import { resolveUser } from '@/remote/resolve-user';
|
||||
import config from '@/config/index';
|
||||
import { updateHashtags } from '../update-hashtag';
|
||||
import { concat } from '../../prelude/array';
|
||||
import { concat } from '@/prelude/array';
|
||||
import insertNoteUnread from './unread';
|
||||
import { registerOrFetchInstanceDoc } from '../register-or-fetch-instance-doc';
|
||||
import { extractMentions } from '@/misc/extract-mentions';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue