From df30dcfbc98bcdf90bcd2d53a125a87109208ff9 Mon Sep 17 00:00:00 2001 From: renard Date: Sun, 1 May 2022 12:16:02 +0900 Subject: [PATCH] fix class --- server/CircuitBuilder.ts | 4 ++-- server/CircuitParts.ts | 2 +- server/CircuitParts/Audio.ts | 2 +- server/CircuitParts/Condenser.ts | 2 +- server/CircuitParts/GraphicBoard.ts | 2 +- server/CircuitParts/HDD.ts | 2 +- server/CircuitParts/Memory.ts | 2 +- server/CircuitParts/Ports.ts | 2 +- server/CircuitParts/PowerSupply.ts | 2 +- server/CircuitParts/SSD.ts | 2 +- server/CircuitParts/TipSet.ts | 2 +- server/CircuitUtils.ts | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/server/CircuitBuilder.ts b/server/CircuitBuilder.ts index 60e3535..ade4d0e 100644 --- a/server/CircuitBuilder.ts +++ b/server/CircuitBuilder.ts @@ -1,5 +1,5 @@ import { Basis } from './Basis' -import { CircuitParts } from './CircuitParts' +import type { CircuitParts } from './CircuitParts' import { Condenser } from './CircuitParts/Condenser' import { CPU } from './CircuitParts/CPU' import { GraphicBoard } from './CircuitParts/GraphicBoard' @@ -11,7 +11,7 @@ import { TipSet } from './CircuitParts/TipSet' import { PowerSupply } from './CircuitParts/PowerSupply' import { Audio } from './CircuitParts/Audio' import { CircuitUtils } from './CircuitUtils' -import { Genre, ServerResponse } from './ServerMain' +import type { Genre, ServerResponse } from './ServerMain' export class CircuitBuilder { //単位提出数(subUnit毎に一つパーツがおかれる) diff --git a/server/CircuitParts.ts b/server/CircuitParts.ts index 7be75e0..d4009c7 100644 --- a/server/CircuitParts.ts +++ b/server/CircuitParts.ts @@ -1,4 +1,4 @@ -import { Genre } from './ServerMain' +import type { Genre } from './ServerMain' export abstract class CircuitParts { public sizeX = 0 diff --git a/server/CircuitParts/Audio.ts b/server/CircuitParts/Audio.ts index 823e211..509858d 100644 --- a/server/CircuitParts/Audio.ts +++ b/server/CircuitParts/Audio.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class Audio extends CircuitParts { public sizeX = 5 public sizeY = 2 diff --git a/server/CircuitParts/Condenser.ts b/server/CircuitParts/Condenser.ts index c6ff847..4a036a0 100644 --- a/server/CircuitParts/Condenser.ts +++ b/server/CircuitParts/Condenser.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class Condenser extends CircuitParts { public sizeX = 1 public sizeY = 7 diff --git a/server/CircuitParts/GraphicBoard.ts b/server/CircuitParts/GraphicBoard.ts index 6f69a23..b612acc 100644 --- a/server/CircuitParts/GraphicBoard.ts +++ b/server/CircuitParts/GraphicBoard.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class GraphicBoard extends CircuitParts { public sizeX = 1 public sizeY = 6 diff --git a/server/CircuitParts/HDD.ts b/server/CircuitParts/HDD.ts index e4ff642..68e39ea 100644 --- a/server/CircuitParts/HDD.ts +++ b/server/CircuitParts/HDD.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class HDD extends CircuitParts { public sizeX = 4 public sizeY = 2 diff --git a/server/CircuitParts/Memory.ts b/server/CircuitParts/Memory.ts index d3290db..cbde6fa 100644 --- a/server/CircuitParts/Memory.ts +++ b/server/CircuitParts/Memory.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class Memory extends CircuitParts { public sizeX = 8 public sizeY = 4 diff --git a/server/CircuitParts/Ports.ts b/server/CircuitParts/Ports.ts index af3bef6..0405d50 100644 --- a/server/CircuitParts/Ports.ts +++ b/server/CircuitParts/Ports.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class Ports extends CircuitParts { public sizeX = 2 public sizeY = 3 diff --git a/server/CircuitParts/PowerSupply.ts b/server/CircuitParts/PowerSupply.ts index c11f324..696c642 100644 --- a/server/CircuitParts/PowerSupply.ts +++ b/server/CircuitParts/PowerSupply.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class PowerSupply extends CircuitParts { public sizeX = 3 public sizeY = 2 diff --git a/server/CircuitParts/SSD.ts b/server/CircuitParts/SSD.ts index 89c5204..42f3113 100644 --- a/server/CircuitParts/SSD.ts +++ b/server/CircuitParts/SSD.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class SSD extends CircuitParts { public sizeX = 6 public sizeY = 5 diff --git a/server/CircuitParts/TipSet.ts b/server/CircuitParts/TipSet.ts index c947649..f687abb 100644 --- a/server/CircuitParts/TipSet.ts +++ b/server/CircuitParts/TipSet.ts @@ -1,5 +1,5 @@ import { CircuitParts } from '../CircuitParts' -import { Genre } from '../ServerMain' +import type { Genre } from '../ServerMain' export class TipSet extends CircuitParts { public sizeX = 2 public sizeY = 2 diff --git a/server/CircuitUtils.ts b/server/CircuitUtils.ts index afd2163..a220535 100644 --- a/server/CircuitUtils.ts +++ b/server/CircuitUtils.ts @@ -1,4 +1,4 @@ -import { +import type { CircuitServerBasisInfo, CircuitServerPartsInfo, CircuitServerWiresInfo