convert notification types in mastodon API
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import MisskeyEntity from '@/misskey/entity'
|
||||
import MisskeyNotificationType from '@/misskey/notification'
|
||||
import Misskey from '@/misskey'
|
||||
import MegalodonNotificationType from '@/notification'
|
||||
import * as MegalodonNotificationType from '@/notification'
|
||||
import axios, { AxiosHeaders, AxiosResponse, InternalAxiosRequestConfig } from 'axios'
|
||||
|
||||
jest.mock('axios')
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import MisskeyAPI from '@/misskey/api_client'
|
||||
import MegalodonEntity from '@/entity'
|
||||
import MisskeyEntity from '@/misskey/entity'
|
||||
import MegalodonNotificationType from '@/notification'
|
||||
import * as MegalodonNotificationType from '@/notification'
|
||||
import MisskeyNotificationType from '@/misskey/notification'
|
||||
|
||||
const user: MisskeyEntity.User = {
|
||||
|
||||
Reference in New Issue
Block a user