refactor typescript wiring

This commit is contained in:
seavor 2026-04-15 15:46:17 -05:00
parent cea9ae62d8
commit c62c336a11
286 changed files with 2999 additions and 3053 deletions

View file

@ -1,7 +1,6 @@
import type { Event_CreateCounter } from 'generated/proto/event_create_counter_pb';
import type { GameEventMeta } from 'types';
import type { Data, Enriched } from '@app/types';
import { GamePersistence } from '../../persistence';
export function createCounter(data: Event_CreateCounter, meta: GameEventMeta): void {
export function createCounter(data: Data.Event_CreateCounter, meta: Enriched.GameEventMeta): void {
GamePersistence.counterCreated(meta.gameId, meta.playerId, data);
}