mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-02 14:26:28 +02:00
refactor: use path alias to improve readability
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { toArray, unique } from '../../../prelude/array';
|
||||
import { toArray, unique } from '@/prelude/array';
|
||||
import { IObject, isMention, IApMention } from '../type';
|
||||
import { resolvePerson } from './person';
|
||||
import * as promiseLimit from 'promise-limit';
|
||||
|
||||
@@ -8,7 +8,7 @@ import { resolveImage } from './image';
|
||||
import { IRemoteUser } from '@/models/entities/user';
|
||||
import { htmlToMfm } from '../misc/html-to-mfm';
|
||||
import { extractApHashtags } from './tag';
|
||||
import { unique, toArray, toSingle } from '../../../prelude/array';
|
||||
import { unique, toArray, toSingle } from '@/prelude/array';
|
||||
import { extractPollFromQuestion } from './question';
|
||||
import vote from '@/services/note/polls/vote';
|
||||
import { apLogger } from '../logger';
|
||||
|
||||
@@ -25,7 +25,7 @@ import { isDuplicateKeyValueError } from '@/misc/is-duplicate-key-value-error';
|
||||
import { toPuny } from '@/misc/convert-host';
|
||||
import { UserProfile } from '@/models/entities/user-profile';
|
||||
import { getConnection } from 'typeorm';
|
||||
import { toArray } from '../../../prelude/array';
|
||||
import { toArray } from '@/prelude/array';
|
||||
import { fetchInstanceMetadata } from '@/services/fetch-instance-metadata';
|
||||
import { normalizeForSearch } from '@/misc/normalize-for-search';
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { toArray } from '../../../prelude/array';
|
||||
import { toArray } from '@/prelude/array';
|
||||
import { IObject, isHashtag, IApHashtag } from '../type';
|
||||
|
||||
export function extractApHashtags(tags: IObject | IObject[] | null | undefined) {
|
||||
|
||||
Reference in New Issue
Block a user