refactor: refactoring imports
将来ESMに移行しやすいように Related: #7658 なんかmochaが起動しなくなってるけど理由不明 すぐ直したい
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import * as CRC32 from 'crc-32';
|
||||
import { publishReversiGameStream } from '../../../../../services/stream';
|
||||
import Reversi from '../../../../../games/reversi/core';
|
||||
import * as maps from '../../../../../games/reversi/maps';
|
||||
import Channel from '../../channel';
|
||||
import { ReversiGame } from '../../../../../models/entities/games/reversi/game';
|
||||
import { ReversiGames, Users } from '../../../../../models';
|
||||
import { User } from '../../../../../models/entities/user';
|
||||
import { publishReversiGameStream } from '@/services/stream.js';
|
||||
import Reversi from '../../../../../games/reversi/core.js';
|
||||
import * as maps from '../../../../../games/reversi/maps.js';
|
||||
import Channel from '../../channel.js';
|
||||
import { ReversiGame } from '@/models/entities/games/reversi/game.js';
|
||||
import { ReversiGames, Users } from '@/models/index.js';
|
||||
import { User } from '@/models/entities/user.js';
|
||||
|
||||
export default class extends Channel {
|
||||
public readonly chName = 'gamesReversiGame';
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import autobind from 'autobind-decorator';
|
||||
import { publishMainStream } from '../../../../../services/stream';
|
||||
import Channel from '../../channel';
|
||||
import { ReversiMatchings } from '../../../../../models';
|
||||
import { publishMainStream } from '@/services/stream.js';
|
||||
import Channel from '../../channel.js';
|
||||
import { ReversiMatchings } from '@/models/index.js';
|
||||
|
||||
export default class extends Channel {
|
||||
public readonly chName = 'gamesReversi';
|
||||
|
||||
Reference in New Issue
Block a user