This commit is contained in:
Tau
2019-11-06 17:28:30 -05:00
parent fecc0e7981
commit 5b6534ae9a
11 changed files with 61 additions and 1 deletions
+4
View File
@@ -6,6 +6,7 @@ import { discoverProfile } from "./discoverProfile";
import { load2on2 } from "./load2on2";
import { loadConfig } from "./loadConfig";
import { loadConfig2 } from "./loadConfig2";
import { loadEventInfo } from "./loadEventInfo";
import { loadGarage } from "./loadGarage";
import { loadGeneralReward } from "./loadGeneralReward";
import { loadGhost } from "./loadGhost";
@@ -66,6 +67,9 @@ export async function dispatch(
case "discover_profile_req":
return discoverProfile(w, req);
case "load_event_info_req":
return loadEventInfo(w, req);
case "load_garage_req":
return loadGarage(w, req);
+12
View File
@@ -0,0 +1,12 @@
import { Repositories } from "../repo";
import { LoadEventInfoRequest } from "../request/loadEventInfo";
import { LoadEventInfoResponse } from "../response/loadEventInfo";
export function loadEventInfo(
w: Repositories,
req: LoadEventInfoRequest
): LoadEventInfoResponse {
return {
type: "load_event_info_res",
};
}