1
0
forked from mirror/misskey

refactor: use path alias

This commit is contained in:
syuilo 2021-10-09 12:47:40 +09:00
parent ec05c07321
commit abc45ded9b
7 changed files with 7 additions and 7 deletions

View File

@ -32,7 +32,7 @@ import XModalWindow from '@client/components/ui/modal-window.vue';
import MkSwitch from './form/switch.vue';
import MkInfo from './ui/info.vue';
import MkButton from './ui/button.vue';
import { notificationTypes } from '../../types';
import { notificationTypes } from '@/types';
export default defineComponent({
components: {

View File

@ -26,7 +26,7 @@ import paging from '@client/scripts/paging';
import XNotification from './notification.vue';
import XList from './date-separated-list.vue';
import XNote from './note.vue';
import { notificationTypes } from '../../types';
import { notificationTypes } from '@/types';
import * as os from '@client/os';
import MkButton from '@client/components/ui/button.vue';

View File

@ -15,7 +15,7 @@ import FormButton from '@client/components/debobigego/button.vue';
import FormLink from '@client/components/debobigego/link.vue';
import FormBase from '@client/components/debobigego/base.vue';
import FormGroup from '@client/components/debobigego/group.vue';
import { notificationTypes } from '../../../types';
import { notificationTypes } from '@/types';
import * as os from '@client/os';
import * as symbols from '@client/symbols';

View File

@ -5,7 +5,7 @@ import { Note } from './note';
import { FollowRequest } from './follow-request';
import { UserGroupInvitation } from './user-group-invitation';
import { AccessToken } from './access-token';
import { notificationTypes } from '../../types';
import { notificationTypes } from '@/types';
@Entity()
export class Notification {

View File

@ -2,7 +2,7 @@ import { Entity, Column, Index, OneToOne, JoinColumn, PrimaryColumn } from 'type
import { id } from '../id';
import { User } from './user';
import { Page } from './page';
import { notificationTypes } from '../../types';
import { notificationTypes } from '@/types';
// TODO: このテーブルで管理している情報すべてレジストリで管理するようにしても良いかも
// ただ、「emailVerified が true なユーザーを find する」のようなクエリは書けなくなるからウーン

View File

@ -4,7 +4,7 @@ import { readNotification } from '../../common/read-notification';
import define from '../../define';
import { makePaginationQuery } from '../../common/make-pagination-query';
import { Notifications, Followings, Mutings, Users } from '@/models/index';
import { notificationTypes } from '../../../../types';
import { notificationTypes } from '@/types';
import read from '@/services/note/read';
export const meta = {

View File

@ -13,7 +13,7 @@ import { ApiError } from '../../error';
import { Users, DriveFiles, UserProfiles, Pages } from '@/models/index';
import { User } from '@/models/entities/user';
import { UserProfile } from '@/models/entities/user-profile';
import { notificationTypes } from '../../../../types';
import { notificationTypes } from '@/types';
import { normalizeForSearch } from '@/misc/normalize-for-search';
export const meta = {