mirror of
https://github.com/kokonect-link/cherrypick
synced 2024-12-11 13:18:54 +09:00
refactor: use path alias
This commit is contained in:
parent
ec05c07321
commit
abc45ded9b
@ -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: {
|
||||
|
@ -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';
|
||||
|
||||
|
@ -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';
|
||||
|
||||
|
@ -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 {
|
||||
|
@ -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 する」のようなクエリは書けなくなるからウーン
|
||||
|
@ -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 = {
|
||||
|
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user