Commit f308299e authored by nanahira's avatar nanahira

optimize

parent af5a5f1d
import moment from "moment"; import moment from "moment";
import { Moment } from "moment";
import bunyan from "bunyan"; import bunyan from "bunyan";
import {Connection, ConnectionOptions, createConnection, Transaction} from "typeorm"; import {Connection, ConnectionOptions, createConnection} from "typeorm";
import { CloudReplay } from "./entities/CloudReplay"; import {CloudReplay} from "./entities/CloudReplay";
import { CloudReplayPlayer } from "./entities/CloudReplayPlayer"; import {CloudReplayPlayer} from "./entities/CloudReplayPlayer";
import { Ban } from "./entities/Ban"; import {Ban} from "./entities/Ban";
import {RandomDuelBan} from "./entities/RandomDuelBan"; import {RandomDuelBan} from "./entities/RandomDuelBan";
import _ from "underscore"; import _ from "underscore";
import {DuelLog} from "./entities/DuelLog"; import {DuelLog} from "./entities/DuelLog";
......
...@@ -2,7 +2,6 @@ import {Column, Entity, Index, OneToMany, PrimaryGeneratedColumn} from "typeorm" ...@@ -2,7 +2,6 @@ import {Column, Entity, Index, OneToMany, PrimaryGeneratedColumn} from "typeorm"
import {DuelLogPlayer} from "./DuelLogPlayer"; import {DuelLogPlayer} from "./DuelLogPlayer";
import moment from "moment"; import moment from "moment";
import _ from "underscore"; import _ from "underscore";
import {DuelLogPlayerInfo} from "../DataManager";
@Entity() @Entity()
export class DuelLog { export class DuelLog {
......
import {Column, Entity, Index, ManyToOne} from "typeorm"; import {Column, Entity, Index, ManyToOne} from "typeorm";
import {BasePlayer} from "./BasePlayer"; import {BasePlayer} from "./BasePlayer";
import {DuelLog} from "./DuelLog"; import {DuelLog} from "./DuelLog";
import {Deck} from "../DeckEncoder"; import {Deck, decodeDeck, encodeDeck} from "../DeckEncoder";
import {decodeDeck, encodeDeck} from "../DeckEncoder";
import {DuelLogPlayerInfo} from "../DataManager"; import {DuelLogPlayerInfo} from "../DataManager";
@Entity() @Entity()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment