modernize megalodon to target the same ES and TS standards as the rest of the app

This commit is contained in:
Hazelnoot 2025-10-05 23:55:32 -04:00
parent 169d35885c
commit 0861541b18
124 changed files with 2144 additions and 2463 deletions

View file

@ -1,8 +1,8 @@
import MisskeyAPI from '@/misskey/api_client'
import MegalodonEntity from '@/entity'
import MisskeyEntity from '@/misskey/entity'
import * as MegalodonNotificationType from '@/notification'
import MisskeyNotificationType from '@/misskey/notification'
import * as MisskeyAPI from '../../../src/misskey/api_client.js'
import * as MegalodonEntity from '../../../src/entity.js'
import * as MisskeyEntity from '../../../src/misskey/entity.js'
import * as MegalodonNotificationType from '../../../src/notification.js'
import * as MisskeyNotificationType from '../../../src/misskey/notification.js'
const user: MisskeyEntity.User = {
id: '1',

View file

@ -1,5 +1,6 @@
import { Parser } from '@/parser'
import Entity from '@/entity'
import { Parser } from '../../src/parser.js'
import * as Entity from '../../src/entity.js'
import { jest } from '@jest/globals';
const account: Entity.Account = {
id: '1',