mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-10-01 07:37:55 -05:00
Extract @sendou/in-game-lists and @sendou/tournament-engine workspace packages
This commit is contained in:
@@ -27,10 +27,10 @@
|
||||
*/
|
||||
import { readdirSync, readFileSync, writeFileSync } from "node:fs";
|
||||
import { join } from "node:path";
|
||||
import { stageIds } from "@sendou/in-game-lists/stage-ids";
|
||||
import type { ModeShort, StageId } from "@sendou/in-game-lists/types";
|
||||
import { ALL_WEAPON_ENTRIES } from "../../app/features/scanner/core/detectors/death/weapon-names";
|
||||
import type { ScannerLobby } from "../../app/features/scanner/scanner-types";
|
||||
import { stageIds } from "../../app/modules/in-game-lists/stage-ids";
|
||||
import type { ModeShort, StageId } from "../../app/modules/in-game-lists/types";
|
||||
import gameMisc from "../../locales/en/game-misc.json";
|
||||
|
||||
const SPLAT3_DIR =
|
||||
@@ -344,7 +344,7 @@ writeFileSync(
|
||||
* mapped to the sendou.ink id it means (core/localized.ts derives the
|
||||
* flattened match sets detectors snap OCR output against).`,
|
||||
)}
|
||||
import type { ModeShort, StageId } from "~/modules/in-game-lists/types";
|
||||
import type { ModeShort, StageId } from "@sendou/in-game-lists/types";
|
||||
import type { ScannerLobby } from "../scanner-types";
|
||||
|
||||
export interface LocalizedLobby {
|
||||
|
||||
@@ -19,6 +19,15 @@
|
||||
* Usage: pnpm scanner:status-audit <events.csv> [--all]
|
||||
*/
|
||||
import { readFileSync } from "node:fs";
|
||||
import { modesShort } from "@sendou/in-game-lists/modes";
|
||||
import { stageIds } from "@sendou/in-game-lists/stage-ids";
|
||||
import type {
|
||||
AbilityWithUnknown,
|
||||
MainWeaponId,
|
||||
ModeShort,
|
||||
StageId,
|
||||
} from "@sendou/in-game-lists/types";
|
||||
import { mainWeaponIds } from "@sendou/in-game-lists/weapon-ids";
|
||||
import { statusSpans } from "../../app/components/PlayerStatusTimeline";
|
||||
import { formatTime } from "../../app/features/scanner/components/format";
|
||||
import {
|
||||
@@ -74,15 +83,6 @@ import type {
|
||||
ScannerMatchPlayerStatusSample,
|
||||
} from "../../app/features/scanner/core/scanner-match";
|
||||
import type { ScannerLobby } from "../../app/features/scanner/scanner-types";
|
||||
import { modesShort } from "../../app/modules/in-game-lists/modes";
|
||||
import { stageIds } from "../../app/modules/in-game-lists/stage-ids";
|
||||
import type {
|
||||
AbilityWithUnknown,
|
||||
MainWeaponId,
|
||||
ModeShort,
|
||||
StageId,
|
||||
} from "../../app/modules/in-game-lists/types";
|
||||
import { mainWeaponIds } from "../../app/modules/in-game-lists/weapon-ids";
|
||||
|
||||
/** Mirrors PlayerStatusTimeline's MAX_BRIDGE_SECONDS: longer sample gaps render as unobserved. */
|
||||
const OBSERVATION_GAP_SECONDS = 15;
|
||||
|
||||
Reference in New Issue
Block a user