text: "use strict";
  var __importStar = (this && this.__importStar) || function (mod) {
      if (mod && mod.__esModule) return mod;
      var result = {};
      if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
      result["default"] = mod;
      return result;
  };
  var __importDefault = (this && this.__importDefault) || function (mod) {
      return (mod && mod.__esModule) ? mod : { "default": mod };
  };
  Object.defineProperty(exports, "__esModule", { value: true });
  const routes = __importStar(require("./routes"));
  const express_1 = __importDefault(require("express"));
  exports.router = express_1.default.Router();
  // existing games
  exports.router.get('/get', routes.listGames);
  exports.router.get('/get/:gameId', routes.getGame);
  exports.router.get('/getFull/:gameId', routes.getFullGame);
  // new games
  exports.router.put('/new/:mazeId/:teamId/:botId', routes.createGame); // single-player
  exports.router.put('/new/:mazeId/:teamId/', routes.createGame); // multi-player
  // actions
  exports.router.put('/action', routes.processAction);
  // utility
  exports.router.get('/count', routes.countGames);
  exports.router.delete('/abandon/:gameId', routes.abandonGame);
  exports.router.get('/cache/dump', routes.dumpCache); // TODO: Remove this debugging route
  // map the live/ready probes
  exports.router.get('/probes/live', routes.livenessProbe);
  exports.router.get('/probes/ready', routes.readinessProbe);
  //# sourceMappingURL=router.js.map