mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
17 lines
414 B
TypeScript
17 lines
414 B
TypeScript
import type { Tank } from "../../protos/tank";
|
|
import type { TankList } from "../../protos/tank_list";
|
|
import type { Tanks } from "../../protos/tanks";
|
|
|
|
export abstract class AbstractAPI {
|
|
abstract tanks(): Promise<Tanks>;
|
|
|
|
abstract tankList(): Promise<TankList>;
|
|
|
|
abstract strings(
|
|
locale: string,
|
|
prefix?: string
|
|
): Promise<Record<string, string>>;
|
|
|
|
abstract tank(id: string): Promise<Tank>;
|
|
}
|