@battle-racing/br-common-lib
Version:
Common library for all Battle Racing Repositorios
20 lines (19 loc) • 541 B
TypeScript
import { CheckpointType } from '../../checkpoint';
import { GameTrack } from '../../gameTrack';
export type SocketInitRaspberryInput = {
macAddress: string;
hostname: string;
};
export type SocketRegisterKartCheckpointInput = {
macAddress: string;
checkpointAddress: number;
checkpointType: CheckpointType;
shouldRequestPowerUp: boolean;
originTimestampISO: string;
};
export type MacAddressGameTrackConnections = {
connectedRaspberries: {
macAddress: string;
}[];
gameTracks: GameTrack[];
};