mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-14 01:45:36 +02:00
refactor: Use path alias
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Users } from '../../../../models';
|
||||
import { name, schema } from '../schemas/active-users';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { DriveFiles } from '../../../../models';
|
||||
import { Not, IsNull } from 'typeorm';
|
||||
import { DriveFile } from '../../../../models/entities/drive-file';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Instances } from '../../../../models';
|
||||
import { name, schema } from '../schemas/federation';
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Users } from '../../../../models';
|
||||
import { name, schema } from '../schemas/hashtag';
|
||||
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { DriveFiles, Followings, Users, Notes } from '../../../../models';
|
||||
import { DriveFile } from '../../../../models/entities/drive-file';
|
||||
import { name, schema } from '../schemas/instance';
|
||||
import { Note } from '../../../../models/entities/note';
|
||||
import { toPuny } from '../../../../misc/convert-host';
|
||||
import { toPuny } from '@/misc/convert-host';
|
||||
|
||||
type InstanceLog = SchemaType<typeof schema>;
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { name, schema } from '../schemas/network';
|
||||
|
||||
type NetworkLog = SchemaType<typeof schema>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Notes } from '../../../../models';
|
||||
import { Not, IsNull } from 'typeorm';
|
||||
import { Note } from '../../../../models/entities/note';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { DriveFiles } from '../../../../models';
|
||||
import { DriveFile } from '../../../../models/entities/drive-file';
|
||||
import { name, schema } from '../schemas/per-user-drive';
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Followings, Users } from '../../../../models';
|
||||
import { Not, IsNull } from 'typeorm';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Notes } from '../../../../models';
|
||||
import { Note } from '../../../../models/entities/note';
|
||||
import { name, schema } from '../schemas/per-user-notes';
|
||||
|
||||
@@ -2,7 +2,7 @@ import autobind from 'autobind-decorator';
|
||||
import Chart, { DeepPartial } from '../../core';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
import { Note } from '../../../../models/entities/note';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Users } from '../../../../models';
|
||||
import { name, schema } from '../schemas/per-user-reactions';
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { name, schema } from '../schemas/test-grouped';
|
||||
|
||||
type TestGroupedLog = SchemaType<typeof schema>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { name, schema } from '../schemas/test-unique';
|
||||
|
||||
type TestUniqueLog = SchemaType<typeof schema>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { name, schema } from '../schemas/test';
|
||||
|
||||
type TestLog = SchemaType<typeof schema>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import Chart, { Obj, DeepPartial } from '../../core';
|
||||
import { SchemaType } from '../../../../misc/schema';
|
||||
import { SchemaType } from '@/misc/schema';
|
||||
import { Users } from '../../../../models';
|
||||
import { Not, IsNull } from 'typeorm';
|
||||
import { User } from '../../../../models/entities/user';
|
||||
|
||||
Reference in New Issue
Block a user