mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-11 08:48:15 +03:00
rename Kamaitachi-common to tachi-common (warning: large)
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@
|
||||
"express-session": "^1.17.2",
|
||||
"fast-json-stable-hash": "^1.0.2",
|
||||
"fast-xml-parser": "^3.19.0",
|
||||
"kamaitachi-common": "github:zkldi/Kamaitachi-common",
|
||||
"tachi-common": "github:zkldi/tachi-common",
|
||||
"mkdirp": "^1.0.4",
|
||||
"mongodb": "3.6.3",
|
||||
"monk": "^7.3.4",
|
||||
|
||||
Generated
+4
-4
@@ -33,7 +33,6 @@ specifiers:
|
||||
express-session: ^1.17.2
|
||||
fast-json-stable-hash: ^1.0.2
|
||||
fast-xml-parser: ^3.19.0
|
||||
kamaitachi-common: github:zkldi/Kamaitachi-common
|
||||
mkdirp: ^1.0.4
|
||||
mongodb: 3.6.3
|
||||
monk: ^7.3.4
|
||||
@@ -45,6 +44,7 @@ specifiers:
|
||||
redis: ^3.1.2
|
||||
rimraf: ^3.0.2
|
||||
supertest: ^6.1.3
|
||||
tachi-common: github:zkldi/tachi-common
|
||||
tap: ^15.0.9
|
||||
ts-node: ^10.0.0
|
||||
typescript: ^4.3.2
|
||||
@@ -64,7 +64,6 @@ dependencies:
|
||||
express-session: 1.17.2
|
||||
fast-json-stable-hash: 1.0.2
|
||||
fast-xml-parser: 3.19.0
|
||||
kamaitachi-common: github.com/zkldi/Kamaitachi-common/ceaccaf38a718a78257d48a36a0c524faa1c5132
|
||||
mkdirp: 1.0.4
|
||||
mongodb: 3.6.3
|
||||
monk: 7.3.4
|
||||
@@ -73,6 +72,7 @@ dependencies:
|
||||
prudence: 0.9.6
|
||||
redis: 3.1.2
|
||||
rimraf: 3.0.2
|
||||
tachi-common: github.com/zkldi/tachi-common/ceaccaf38a718a78257d48a36a0c524faa1c5132
|
||||
typescript: 4.3.2
|
||||
winston: 3.3.3
|
||||
|
||||
@@ -4397,8 +4397,8 @@ packages:
|
||||
engines: {node: '>=6'}
|
||||
dev: true
|
||||
|
||||
github.com/zkldi/Kamaitachi-common/ceaccaf38a718a78257d48a36a0c524faa1c5132:
|
||||
resolution: {tarball: https://codeload.github.com/zkldi/Kamaitachi-common/tar.gz/ceaccaf38a718a78257d48a36a0c524faa1c5132}
|
||||
github.com/zkldi/tachi-common/ceaccaf38a718a78257d48a36a0c524faa1c5132:
|
||||
resolution: {tarball: https://codeload.github.com/zkldi/tachi-common/tar.gz/ceaccaf38a718a78257d48a36a0c524faa1c5132}
|
||||
name: kamaitachi-common
|
||||
version: 0.1.0
|
||||
dependencies:
|
||||
|
||||
@@ -5,7 +5,7 @@ import fs from "fs";
|
||||
import path from "path";
|
||||
import db from "../../../src/db/db";
|
||||
import { MDBJson } from "./types";
|
||||
import { Difficulties, Playtypes, ChartDocument } from "kamaitachi-common";
|
||||
import { Difficulties, Playtypes, ChartDocument } from "tachi-common";
|
||||
import CreateLogCtx from "../../../src/common/logger";
|
||||
|
||||
import { Command } from "commander";
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { ChartDocument, SongDocument } from "kamaitachi-common";
|
||||
import { ChartDocument, SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
import { oldKTDB } from "./old-db";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ChartDocument, SongDocument } from "kamaitachi-common";
|
||||
import { ChartDocument, SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
import { oldKTDB } from "./old-db";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { FolderDocument, Game } from "kamaitachi-common";
|
||||
import { validPlaytypes, gameHuman } from "kamaitachi-common/js/config";
|
||||
import { FolderDocument, Game } from "tachi-common";
|
||||
import { validPlaytypes, gameHuman } from "tachi-common/js/config";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// oh boy
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { GoalDocument } from "kamaitachi-common";
|
||||
import { GoalDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import db from "../../../src/db/db";
|
||||
import { TierlistDataDocument } from "kamaitachi-common";
|
||||
import { TierlistDataDocument } from "tachi-common";
|
||||
import { CalculateTierlistDataID } from "../../../src/common/tierlist";
|
||||
import { oldKTDB } from "../old-db";
|
||||
import CreateLogCtx from "../../../src/common/logger";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { PrivateUserDocument, ScoreDocument } from "kamaitachi-common";
|
||||
import { grades, lamps, supportedGames, validPlaytypes } from "kamaitachi-common/js/config";
|
||||
import { PrivateUserDocument, ScoreDocument } from "tachi-common";
|
||||
import { grades, lamps, supportedGames, validPlaytypes } from "tachi-common/js/config";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { gameOrders } from "kamaitachi-common/js/config";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import { gameOrders } from "tachi-common/js/config";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { SongDocument } from "kamaitachi-common";
|
||||
import { SongDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
import { TierlistParent, Game } from "kamaitachi-common";
|
||||
import { gameHuman, validPlaytypes } from "kamaitachi-common/js/config";
|
||||
import { TierlistParent, Game } from "tachi-common";
|
||||
import { gameHuman, validPlaytypes } from "tachi-common/js/config";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
/* eslint-disable @typescript-eslint/no-explicit-any */
|
||||
|
||||
import { UserGoalDocument } from "kamaitachi-common";
|
||||
import { UserGoalDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PrivateUserDocument } from "kamaitachi-common";
|
||||
import { PrivateUserDocument } from "tachi-common";
|
||||
import db from "../../src/db/db";
|
||||
import MigrateRecords from "./migrate";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import { ICollection } from "monk";
|
||||
import path from "path";
|
||||
import db from "../../src/db/db";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
import { FindSongOnTitle } from "../../src/common/database-lookup/song";
|
||||
import { FindChartWithPTDFVersion } from "../../src/common/database-lookup/chart";
|
||||
|
||||
@@ -55,9 +55,9 @@ async function MergeIDs() {
|
||||
}
|
||||
|
||||
// eslint-disable-next-line no-await-in-loop
|
||||
await ((db.charts.iidx as unknown) as ICollection<
|
||||
ChartDocument<"iidx:SP" | "iidx:DP">
|
||||
>).update(
|
||||
await (
|
||||
db.charts.iidx as unknown as ICollection<ChartDocument<"iidx:SP" | "iidx:DP">>
|
||||
).update(
|
||||
{
|
||||
_id: ktchiChart._id,
|
||||
},
|
||||
|
||||
@@ -4,7 +4,7 @@ import db from "../../src/db/db";
|
||||
import fetch from "node-fetch";
|
||||
import { FindSongOnTitle } from "../../src/common/database-lookup/song";
|
||||
import { FindChartWithPTDF } from "../../src/common/database-lookup/chart";
|
||||
import { Difficulties, TierlistDataDocument } from "kamaitachi-common";
|
||||
import { Difficulties, TierlistDataDocument } from "tachi-common";
|
||||
|
||||
import { CalculateTierlistDataID } from "../../src/common/tierlist";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
|
||||
@@ -5,7 +5,7 @@ import { CalculateTierlistDataID } from "../../src/common/tierlist";
|
||||
import { FindSongOnTitle } from "../../src/common/database-lookup/song";
|
||||
import CreateLogCtx from "../../src/common/logger";
|
||||
import { FindChartWithPTDF } from "../../src/common/database-lookup/chart";
|
||||
import { Difficulties } from "kamaitachi-common";
|
||||
import { Difficulties } from "tachi-common";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -2,8 +2,8 @@ import monk from "monk";
|
||||
import { Command } from "commander";
|
||||
import CreateLogCtx from "../src/lib/logger/logger";
|
||||
import { IndexOptions } from "mongodb";
|
||||
import { ValidDatabases } from "kamaitachi-common";
|
||||
import { supportedGames } from "kamaitachi-common/js/config";
|
||||
import { ValidDatabases } from "tachi-common";
|
||||
import { supportedGames } from "tachi-common/js/config";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import db from "../../../src/db/db";
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
|
||||
db.charts.iidx
|
||||
.find({})
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
import db from "../../src/db/db";
|
||||
import { FolderDocument } from "kamaitachi-common";
|
||||
import { FolderDocument } from "tachi-common";
|
||||
|
||||
(async () => {
|
||||
let folders = (await db.folders.find({})) as any[];
|
||||
const folders = (await db.folders.find({})) as any[];
|
||||
|
||||
for (const fl of folders) {
|
||||
let f: FolderDocument = {
|
||||
const f: FolderDocument = {
|
||||
folderID: fl.folderID,
|
||||
game: fl.game,
|
||||
playtype: fl.playtype,
|
||||
|
||||
@@ -3,7 +3,7 @@ import fetch from "node-fetch";
|
||||
import { Command } from "commander";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import { config, Difficulties, ESDCore, IIDXBPIData, ChartDocument } from "kamaitachi-common";
|
||||
import { config, Difficulties, ESDCore, IIDXBPIData, ChartDocument } from "tachi-common";
|
||||
import { FindSongOnTitle } from "../src/score-import/database-lookup/song-title";
|
||||
import {
|
||||
FindChartWithPTDF,
|
||||
|
||||
@@ -5,7 +5,7 @@ import CreateLogCtx from "../src/common/logger";
|
||||
import fs from "fs";
|
||||
import path from "path";
|
||||
import { PrudenceError } from "prudence/js/error";
|
||||
import { supportedGames, validPlaytypes } from "kamaitachi-common/js/config";
|
||||
import { supportedGames, validPlaytypes } from "tachi-common/js/config";
|
||||
|
||||
const BASE_DIR = path.join(__dirname, "./validate-database-errs");
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -24,7 +24,7 @@ import {
|
||||
PBScoreDocument,
|
||||
UserMilestoneDocument,
|
||||
BMSCourseDocument,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import monk from "monk";
|
||||
import { MONGO_BASE_URL } from "../../lib/env/env";
|
||||
import CreateLogCtx from "../../lib/logger/logger";
|
||||
|
||||
Vendored
+2
-2
@@ -1,5 +1,5 @@
|
||||
import deepmerge from "deepmerge";
|
||||
import { Game, Playtypes } from "kamaitachi-common";
|
||||
import { Game, Playtypes } from "tachi-common";
|
||||
import {
|
||||
grades,
|
||||
importTypes,
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
validDifficulties,
|
||||
validPlaytypes,
|
||||
supportedGames,
|
||||
} from "kamaitachi-common/js/config";
|
||||
} from "tachi-common/js/config";
|
||||
import p, { PrudenceSchema, ValidSchemaValue } from "prudence";
|
||||
|
||||
const LAZY_EMAIL_REGEX = /^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/u;
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import redis from "redis";
|
||||
import { RedisIPCChannels, RedisIPCData } from "kamaitachi-common";
|
||||
import { RedisIPCChannels, RedisIPCData } from "tachi-common";
|
||||
import CreateLogCtx from "../../lib/logger/logger";
|
||||
|
||||
const logger = CreateLogCtx(__filename);
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
Grades,
|
||||
Lamps,
|
||||
IDStrings,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { HasOwnProperty } from "../../../../utils/misc";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import t from "tap";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { AnyChartDocument, Difficulties, Lamps, ScoreDocument } from "kamaitachi-common";
|
||||
import { AnyChartDocument, Difficulties, Lamps, ScoreDocument } from "tachi-common";
|
||||
import {
|
||||
CalculateBPI,
|
||||
CalculateCHUNITHMRating,
|
||||
|
||||
@@ -6,12 +6,12 @@ import {
|
||||
Lamps,
|
||||
Game,
|
||||
Playtypes,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { GetAllTierlistDataOfType, GetOneTierlistData } from "../../../../utils/tierlist";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { DryScore } from "../common/types";
|
||||
import { lamps, clearLamp, ratingParameters } from "kamaitachi-common/js/config";
|
||||
import { lamps, clearLamp, ratingParameters } from "tachi-common/js/config";
|
||||
|
||||
/**
|
||||
* Calculates the in-game CHUNITHM rating for a score.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Various Errors that can occur during processing.
|
||||
|
||||
// @todo #116 Resolve circular dependency between converter-failures.ts and import-types/common/types.
|
||||
import { ImportTypes } from "kamaitachi-common";
|
||||
import { ImportTypes } from "tachi-common";
|
||||
import { ImportTypeDataMap, ImportTypeContextMap } from "../../import-types/common/types";
|
||||
|
||||
export class ConverterFailure {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import t from "tap";
|
||||
import { CreateImportLoggerAndID } from "./import-logger";
|
||||
import { PublicUserDocument } from "kamaitachi-common";
|
||||
import { PublicUserDocument } from "tachi-common";
|
||||
import { CloseAllConnections } from "../../../../test-utils/close-connections";
|
||||
|
||||
t.test("#CreateImportLoggerAndID", (t) => {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ImportTypes, PublicUserDocument } from "kamaitachi-common";
|
||||
import { ImportTypes, PublicUserDocument } from "tachi-common";
|
||||
import crypto from "crypto";
|
||||
import { FormatUserDoc } from "../../../../utils/user";
|
||||
import { rootLogger, KtLogger } from "../../../logger/logger";
|
||||
|
||||
@@ -8,8 +8,8 @@ import {
|
||||
GameToIDStrings,
|
||||
ESDCore,
|
||||
Playtypes,
|
||||
} from "kamaitachi-common";
|
||||
import { judgementWindows, gamePercentMax } from "kamaitachi-common/js/config";
|
||||
} from "tachi-common";
|
||||
import { judgementWindows, gamePercentMax } from "tachi-common/js/config";
|
||||
import CreateLogCtx from "../../../logger/logger";
|
||||
import { InternalFailure, InvalidScoreFailure } from "./converter-failures";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { InvalidScoreFailure } from "./converter-failures";
|
||||
import { Difficulties, Game, IDStrings, Playtypes } from "kamaitachi-common";
|
||||
import { validDifficulties } from "kamaitachi-common/js/config";
|
||||
import { Difficulties, Game, IDStrings, Playtypes } from "tachi-common";
|
||||
import { validDifficulties } from "tachi-common/js/config";
|
||||
|
||||
export function AssertStrAsDifficulty(
|
||||
strVal: string,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { IDStrings, ScoreDocument, Playtypes, Game } from "kamaitachi-common";
|
||||
import { IDStrings, ScoreDocument, Playtypes, Game } from "tachi-common";
|
||||
|
||||
/**
|
||||
* An intermediate score format that will be filled out by
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
SuccessfulAPIResponse,
|
||||
UnsuccessfulAPIResponse,
|
||||
ImportDocument,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import { ImportInputParser } from "../import-types/common/types";
|
||||
import { CreateImportLoggerAndID } from "./common/import-logger";
|
||||
import ScoreImportMain from "./score-import-main";
|
||||
|
||||
@@ -2,7 +2,7 @@ import t from "tap";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import ResetDBState from "../../../../test-utils/resets";
|
||||
import { GetRelevantFolderGoals, GetRelevantGoals, UpdateGoalsForUser, ProcessGoal } from "./goals";
|
||||
import { GoalDocument, UserGoalDocument } from "kamaitachi-common";
|
||||
import { GoalDocument, UserGoalDocument } from "tachi-common";
|
||||
import { CreateFolderChartLookup } from "../../../../utils/folder";
|
||||
import {
|
||||
GetKTDataJSON,
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer, Game, GoalDocument, UserGoalDocument } from "kamaitachi-common";
|
||||
import { integer, Game, GoalDocument, UserGoalDocument } from "tachi-common";
|
||||
import { EvaluateGoalForUser } from "../../../../utils/goal";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
|
||||
@@ -4,7 +4,7 @@ import CreateLogCtx from "../../../logger/logger";
|
||||
import ResetDBState from "../../../../test-utils/resets";
|
||||
import { TestingIIDXSPMilestone } from "../../../../test-utils/test-data";
|
||||
import { UpdateUsersMilestones } from "./milestones";
|
||||
import { GoalImportInfo } from "kamaitachi-common";
|
||||
import { GoalImportInfo } from "tachi-common";
|
||||
import deepmerge from "deepmerge";
|
||||
import { CloseAllConnections } from "../../../../test-utils/close-connections";
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
UserMilestoneDocument,
|
||||
MilestoneImportInfo,
|
||||
MilestoneDocument,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { BulkWriteUpdateOneOperation } from "mongodb";
|
||||
import { CalculateMilestoneOutOf, GetGoalIDsFromMilestone } from "../../../../utils/milestone";
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
ImportTypeDataMap,
|
||||
OrphanScoreDocument,
|
||||
} from "../../import-types/common/types";
|
||||
import { ImportTypes, integer } from "kamaitachi-common";
|
||||
import { ImportTypes, integer } from "tachi-common";
|
||||
import fjsh from "fast-json-stable-hash";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { Converters } from "../../import-types/converters";
|
||||
|
||||
@@ -6,7 +6,7 @@ import { CreatePBDoc } from "./create-pb-doc";
|
||||
import deepmerge from "deepmerge";
|
||||
import CreateLogCtx, { KtLogger } from "../../../logger/logger";
|
||||
|
||||
import { lamps } from "kamaitachi-common/js/config";
|
||||
import { lamps } from "tachi-common/js/config";
|
||||
import { CloseAllConnections } from "../../../../test-utils/close-connections";
|
||||
|
||||
let IIDXScore = TestingIIDXSPScore;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { integer, PBScoreDocument, ScoreDocument } from "kamaitachi-common";
|
||||
import { integer, PBScoreDocument, ScoreDocument } from "tachi-common";
|
||||
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { IIDXMergeFn, SDVXMergeFn } from "./game-specific-merge";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { PBScoreDocument, ScoreDocument } from "kamaitachi-common";
|
||||
import { PBScoreDocument, ScoreDocument } from "tachi-common";
|
||||
import { FindChartWithChartID } from "../../../../utils/queries/charts";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { CreatePBDoc, UpdateChartRanking, PBScoreDocumentNoRank } from "./create-pb-doc";
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
Game,
|
||||
integer,
|
||||
IDStrings,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import { KtLogger } from "../../logger/logger";
|
||||
import { ImportAllIterableData } from "./score-importing/score-importing";
|
||||
import { CreateImportLoggerAndID } from "./common/import-logger";
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
integer,
|
||||
ScoreDocument,
|
||||
AnySongDocument,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { CreateCalculatedData } from "../calculated-data/calculated-data";
|
||||
import { CalculateESDForGame } from "../common/score-utils";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ScoreDocument } from "kamaitachi-common";
|
||||
import { ScoreDocument } from "tachi-common";
|
||||
import t from "tap";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { CloseAllConnections } from "../../../../test-utils/close-connections";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ScoreDocument } from "kamaitachi-common";
|
||||
import { ScoreDocument } from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import CreateLogCtx from "../../../logger/logger";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ScoreDocument } from "kamaitachi-common";
|
||||
import { ScoreDocument } from "tachi-common";
|
||||
import t from "tap";
|
||||
import { CloseAllConnections } from "../../../../test-utils/close-connections";
|
||||
import ResetDBState from "../../../../test-utils/resets";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import crypto from "crypto";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
import { DryScore } from "../common/types";
|
||||
|
||||
function CreateScoreIDString(userID: integer, partialScore: DryScore, chartID: string) {
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
AnySongDocument,
|
||||
ImportTypes,
|
||||
IDStrings,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import { HydrateScore } from "./hydrate-score";
|
||||
import { InsertQueue, QueueScoreInsert, ScoreIDs } from "./insert-score";
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ScoreDocument, SessionDocument, Game, Playtypes } from "kamaitachi-common";
|
||||
import { ScoreDocument, SessionDocument, Game, Playtypes } from "tachi-common";
|
||||
|
||||
type ScoreCalculatedDataOnly = Pick<ScoreDocument, "calculatedData">;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import ResetDBState from "../../../../test-utils/resets";
|
||||
import { TestingIIDXSPScore, TestingIIDXSPScorePB } from "../../../../test-utils/test-data";
|
||||
import { CreateScoreLogger } from "../common/import-logger";
|
||||
import { CreateSessions, LoadScoresIntoSessions } from "./sessions";
|
||||
import { PublicUserDocument, ScoreDocument, SessionDocument } from "kamaitachi-common";
|
||||
import { PublicUserDocument, ScoreDocument, SessionDocument } from "tachi-common";
|
||||
import deepmerge from "deepmerge";
|
||||
|
||||
const logger = CreateScoreLogger(
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
SessionScoreInfo,
|
||||
SessionInfoReturn,
|
||||
Game,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { AppendLogCtx, KtLogger } from "../../../logger/logger";
|
||||
import { GenerateRandomSessionName } from "./name-generation";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Game, Playtypes, integer, ScoreCalculatedDataLookup } from "kamaitachi-common";
|
||||
import { GameClasses } from "kamaitachi-common/js/game-classes";
|
||||
import { Game, Playtypes, integer, ScoreCalculatedDataLookup } from "tachi-common";
|
||||
import { GameClasses } from "tachi-common/js/game-classes";
|
||||
import { GitadoraColours, SDVXVFClasses } from "../../../constants/classes";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { UserGameStats } from "kamaitachi-common";
|
||||
import { UserGameStats } from "tachi-common";
|
||||
import t from "tap";
|
||||
import CreateLogCtx from "../../../logger/logger";
|
||||
import ResetDBState from "../../../../test-utils/resets";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Game, Playtypes, integer, UserGameStats, ClassDelta, IDStrings } from "kamaitachi-common";
|
||||
import { GameClasses } from "kamaitachi-common/js/game-classes";
|
||||
import { Game, Playtypes, integer, UserGameStats, ClassDelta, IDStrings } from "tachi-common";
|
||||
import { GameClasses } from "tachi-common/js/game-classes";
|
||||
import deepmerge from "deepmerge";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import {
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
ScoreCalculatedDataLookup,
|
||||
IDStrings,
|
||||
UserGameStats,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Game, Playtypes, integer, IDStrings } from "kamaitachi-common";
|
||||
import { GameClasses } from "kamaitachi-common/js/game-classes";
|
||||
import { Game, Playtypes, integer, IDStrings } from "tachi-common";
|
||||
import { GameClasses } from "tachi-common/js/game-classes";
|
||||
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Some games have dedicated methods to calculate statistics like these, other games do not.
|
||||
// That's about all there is to it!
|
||||
|
||||
import { Game, Playtypes, integer, UserGameStats, ClassDelta } from "kamaitachi-common";
|
||||
import { Game, Playtypes, integer, UserGameStats, ClassDelta } from "tachi-common";
|
||||
import db from "../../../../external/mongo/db";
|
||||
import { KtLogger } from "../../../logger/logger";
|
||||
import { CalculateClassDeltas, UpdateUGSClasses } from "./classes";
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
GenericGetGradeAndPercent,
|
||||
ParseDateFromString,
|
||||
} from "../../../framework/common/score-utils";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
|
||||
// There's a bunch of other useless fields but we don't care
|
||||
const PR_ArcDDRScore: PrudenceSchema = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface ARCDDRScore {
|
||||
chart_id: string;
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
GenericGetGradeAndPercent,
|
||||
ParseDateFromString,
|
||||
} from "../../../framework/common/score-utils";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
|
||||
// There's a bunch of other useless fields but we don't care
|
||||
const PR_ArcIIDXScore: PrudenceSchema = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface ARCIIDXScore {
|
||||
chart_id: string;
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
GenericGetGradeAndPercent,
|
||||
ParseDateFromString,
|
||||
} from "../../../framework/common/score-utils";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
|
||||
// There's a bunch of other useless fields but we don't care
|
||||
const PR_ArcSDVXScore: PrudenceSchema = {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface ARCSDVXScore {
|
||||
chart_id: string;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { KtLogger } from "../../../../logger/logger";
|
||||
import { ParseKaiIIDX } from "../../common/api-kai/iidx/parser";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
|
||||
export function ParseEagIIDX(authDoc: KaiAuthDocument, logger: KtLogger) {
|
||||
return ParseKaiIIDX("EAG", authDoc, logger);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { KtLogger } from "../../../../logger/logger";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
import { ParseKaiSDVX } from "../../common/api-kai/sdvx/parser";
|
||||
|
||||
export function ParseEagSDVX(authDoc: KaiAuthDocument, logger: KtLogger) {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { KtLogger } from "../../../../logger/logger";
|
||||
import { ParseKaiIIDX } from "../../common/api-kai/iidx/parser";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
|
||||
export function ParseFloIIDX(authDoc: KaiAuthDocument, logger: KtLogger) {
|
||||
return ParseKaiIIDX("FLO", authDoc, logger);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { KtLogger } from "../../../../logger/logger";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
import { ParseKaiSDVX } from "../../common/api-kai/sdvx/parser";
|
||||
|
||||
export function ParseFloSDVX(authDoc: KaiAuthDocument, logger: KtLogger) {
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
GenericGetGradeAndPercent,
|
||||
ParseDateFromString,
|
||||
} from "../../../../framework/common/score-utils";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
import { ConverterFunction } from "../../types";
|
||||
import { DryScore } from "../../../../framework/common/types";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { KtLogger } from "../../../../../logger/logger";
|
||||
import nodeFetch from "../../../../../../utils/fetch";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
import { KaiContext } from "../types";
|
||||
import { TraverseKaiAPI } from "../traverse-api";
|
||||
import { ParserFunctionReturnsAsync } from "../../types";
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
GenericGetGradeAndPercent,
|
||||
ParseDateFromString,
|
||||
} from "../../../../framework/common/score-utils";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
import { ConverterFunction } from "../../types";
|
||||
import { DryScore } from "../../../../framework/common/types";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { KtLogger } from "../../../../../logger/logger";
|
||||
import nodeFetch from "../../../../../../utils/fetch";
|
||||
import { KaiAuthDocument } from "kamaitachi-common";
|
||||
import { KaiAuthDocument } from "tachi-common";
|
||||
import { KaiContext } from "../types";
|
||||
import { TraverseKaiAPI } from "../traverse-api";
|
||||
import { ParserFunctionReturnsAsync } from "../../types";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface KaiIIDXScore {
|
||||
music_id: integer;
|
||||
|
||||
@@ -4,7 +4,7 @@ import { GetKTDataJSON, Testing511Song, Testing511SPA } from "../../../../../tes
|
||||
import { ResolveChartFromSong, ResolveMatchTypeToKTData, ConverterBatchManual } from "./converter";
|
||||
import deepmerge from "deepmerge";
|
||||
import { EscapeStringRegexp } from "../../../../../utils/misc";
|
||||
import { Game } from "kamaitachi-common";
|
||||
import { Game } from "tachi-common";
|
||||
import ResetDBState from "../../../../../test-utils/resets";
|
||||
import { InvalidScoreFailure } from "../../../framework/common/converter-failures";
|
||||
import { CloseAllConnections } from "../../../../../test-utils/close-connections";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { BatchManualContext, BatchManualScore } from "./types";
|
||||
import { AnyChartDocument, AnySongDocument, ImportTypes } from "kamaitachi-common";
|
||||
import { AnyChartDocument, AnySongDocument, ImportTypes } from "tachi-common";
|
||||
import {
|
||||
InternalFailure,
|
||||
InvalidScoreFailure,
|
||||
|
||||
@@ -2,8 +2,8 @@ import { KtLogger } from "../../../../logger/logger";
|
||||
import ScoreImportFatalError from "../../../framework/score-importing/score-import-error";
|
||||
import { BatchManual, BatchManualContext, BatchManualScore } from "./types";
|
||||
import p, { PrudenceSchema, ValidSchemaValue } from "prudence";
|
||||
import { lamps, supportedGames, validHitData, validPlaytypes } from "kamaitachi-common/js/config";
|
||||
import { Game, ImportTypes } from "kamaitachi-common";
|
||||
import { lamps, supportedGames, validHitData, validPlaytypes } from "tachi-common/js/config";
|
||||
import { Game, ImportTypes } from "tachi-common";
|
||||
import { ConverterBatchManual } from "./converter";
|
||||
import deepmerge from "deepmerge";
|
||||
import { FormatPrError } from "../../../../../utils/prudence";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Game, Playtypes, Lamps, IDStrings } from "kamaitachi-common";
|
||||
import { Game, Playtypes, Lamps, IDStrings } from "tachi-common";
|
||||
|
||||
export type BatchManualScore = {
|
||||
score: number;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Lamps, ChartDocument } from "kamaitachi-common";
|
||||
import { Lamps, ChartDocument } from "tachi-common";
|
||||
import { FindChartWithPTDFVersion } from "../../../../../utils/queries/charts";
|
||||
import { FindSongOnTitle } from "../../../../../utils/queries/songs";
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { Difficulties } from "kamaitachi-common";
|
||||
import { Difficulties } from "tachi-common";
|
||||
import { KtLogger } from "../../../../logger/logger";
|
||||
import ScoreImportFatalError from "../../../framework/score-importing/score-import-error";
|
||||
import { ParserFunctionReturnsSync } from "../types";
|
||||
|
||||
@@ -15,7 +15,7 @@ import {
|
||||
AnySongDocument,
|
||||
integer,
|
||||
MongoDBDocument,
|
||||
} from "kamaitachi-common";
|
||||
} from "tachi-common";
|
||||
import { ConverterFailure } from "../../framework/common/converter-failures";
|
||||
import { DryScore } from "../../framework/common/types";
|
||||
import { BeatorajaContext, BeatorajaScore } from "../ir/beatoraja/types";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ImportTypes } from "kamaitachi-common";
|
||||
import { ImportTypes } from "tachi-common";
|
||||
import { ConvertAPIArcDDR } from "./api/arc-ddr/converter";
|
||||
import { ConvertAPIArcIIDX } from "./api/arc-iidx/converter";
|
||||
import { ConvertAPIArcSDVX } from "./api/arc-sdvx/converter";
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
ParseDateFromString,
|
||||
} from "../../../framework/common/score-utils";
|
||||
import { MerScore } from "./types";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
import { DryScore } from "../../../framework/common/types";
|
||||
import { ConverterFunction } from "../../common/types";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface MerScore {
|
||||
music_id: integer;
|
||||
|
||||
@@ -6,7 +6,7 @@ import {
|
||||
SkipScoreFailure,
|
||||
} from "../../../framework/common/converter-failures";
|
||||
import { S3Score } from "./types";
|
||||
import { Playtypes, Difficulties, Grades, Lamps } from "kamaitachi-common";
|
||||
import { Playtypes, Difficulties, Grades, Lamps } from "tachi-common";
|
||||
import { FindSongOnTitleInsensitive } from "../../../../../utils/queries/songs";
|
||||
import { FindChartWithPTDFVersion } from "../../../../../utils/queries/charts";
|
||||
import {
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface S3Score {
|
||||
id: integer;
|
||||
|
||||
@@ -7,7 +7,7 @@ import {
|
||||
KTDataNotFoundFailure,
|
||||
} from "../../../framework/common/converter-failures";
|
||||
import { BarbatosScore } from "./types";
|
||||
import { Lamps } from "kamaitachi-common";
|
||||
import { Lamps } from "tachi-common";
|
||||
import { DryScore } from "../../../framework/common/types";
|
||||
import { ConverterFunction } from "../../common/types";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface BarbatosScore {
|
||||
difficulty: 0 | 1 | 2 | 3 | 4;
|
||||
|
||||
@@ -8,7 +8,7 @@ import { GenericGetGradeAndPercent } from "../../../framework/common/score-utils
|
||||
import { DryScore } from "../../../framework/common/types";
|
||||
import { ConverterFunction } from "../../common/types";
|
||||
import { BeatorajaContext, BeatorajaScore } from "./types";
|
||||
import { ChartDocument } from "kamaitachi-common";
|
||||
import { ChartDocument } from "tachi-common";
|
||||
|
||||
const LAMP_LOOKUP = {
|
||||
NoPlay: "NO PLAY",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
|
||||
export interface BeatorajaContext {
|
||||
client: "beatoraja" | "lr2oraja";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { integer } from "kamaitachi-common";
|
||||
import { integer } from "tachi-common";
|
||||
import { ClassHandler } from "../../../framework/user-game-stats/types";
|
||||
|
||||
export function CreateFerStaticClassHandler(body: Record<string, unknown>): ClassHandler {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user