Move BatchManual declarations to tachi-common

This commit is contained in:
zkldi
2021-08-21 01:58:14 +01:00
parent 421a7f1b49
commit 12f1796d3c
3 changed files with 14 additions and 4 deletions
@@ -1,8 +1,16 @@
import { KtLogger } from "lib/logger/logger";
import ScoreImportFatalError from "../../../framework/score-importing/score-import-error";
import { BatchManual, BatchManualContext, BatchManualScore } from "./types";
import { BatchManualContext } from "./types";
import p, { PrudenceSchema, ValidSchemaValue } from "prudence";
import { Game, ImportTypes, GetGamePTConfig, Playtypes, GetGameConfig } from "tachi-common";
import {
Game,
ImportTypes,
GetGamePTConfig,
Playtypes,
GetGameConfig,
BatchManualScore,
BatchManual,
} from "tachi-common";
import deepmerge from "deepmerge";
import { FormatPrError } from "utils/prudence";
import { ParserFunctionReturns } from "../types";
@@ -1,7 +1,8 @@
import { KtLogger } from "lib/logger/logger";
import { BatchManualScore } from "tachi-common";
import ScoreImportFatalError from "../../../framework/score-importing/score-import-error";
import { ParseBatchManualFromObject } from "../../common/batch-manual/parser";
import { BatchManualContext, BatchManualScore } from "../../common/batch-manual/types";
import { BatchManualContext } from "../../common/batch-manual/types";
import { ParserFunctionReturns } from "../../common/types";
/**
@@ -1,6 +1,7 @@
import { KtLogger } from "lib/logger/logger";
import { BatchManualScore } from "tachi-common";
import { ParseBatchManualFromObject } from "../../common/batch-manual/parser";
import { BatchManualContext, BatchManualScore } from "../../common/batch-manual/types";
import { BatchManualContext } from "../../common/batch-manual/types";
import { ParserFunctionReturns } from "../../common/types";
/**