Skip to content

Commit 989d579

Browse files
committed
Include (untested) routes to the queue service to add and remove queues.
TODO: Add in event streams to notify of new queues and list queues. TODO: Upon max queue creation, begin team selections, this will require changing the data of the queue. TODO: Upon team creation, create a match with no server, or a publically available one. Allow users to update as needed.
1 parent 7611d49 commit 989d579

File tree

3 files changed

+444
-27
lines changed

3 files changed

+444
-27
lines changed

app.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import matchesRouter from "./src/routes/matches/matches.js";
2424
import matchServerRouter from "./src/routes/matches/matchserver.js";
2525
import playerstatsRouter from "./src/routes/playerstats/playerstats.js";
2626
import playerstatsextraRouter from "./src/routes/playerstats/extrastats.js";
27+
import queuerouter from "./src/routes/queue.js";
2728
import seasonsRouter from "./src/routes/seasons.js";
2829
import serversRouter from "./src/routes/servers.js";
2930
import teamsRouter from "./src/routes/teams.js";
@@ -143,6 +144,7 @@ app.use("/matches", matchesRouter, matchServerRouter);
143144
app.use("/mapstats", mapstatsRouter);
144145
app.use("/playerstats", playerstatsRouter);
145146
app.use("/playerstatsextra", playerstatsextraRouter);
147+
app.use("/queue", queuerouter);
146148
app.use("/seasons", seasonsRouter);
147149
app.use("/match", legacyAPICalls);
148150
app.use("/leaderboard", leaderboardRouter);

0 commit comments

Comments
 (0)