mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
refactor typescript wiring
This commit is contained in:
parent
cea9ae62d8
commit
c62c336a11
286 changed files with 2999 additions and 3053 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue