mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
There are still two more of these that don't show up in openapi.json because they don't show up in HTTP routes (only in the websocket): * GameUpdateEvents * FrozenCombat I'm not sure if there's a way to forcibly include those in the openapi.json, if I should add a no-op API to force it to happen, or if I should just ignore it. For now I'm going with option 3.
6 lines
210 B
TypeScript
6 lines
210 B
TypeScript
import { Game } from "./liberationApi";
|
|
import { createAction } from "@reduxjs/toolkit";
|
|
|
|
export const gameLoaded = createAction<Game>("game/loaded");
|
|
export const gameUnloaded = createAction("game/unloaded");
|