games_app/backend/dist-test-faq/games/bootstrap.js

12 lines
578 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerBuiltinGames = registerBuiltinGames;
const registry_1 = require("./registry");
const candle_predict_1 = require("./modules/candle-predict");
/** Registers built-in game modules. Safe to call more than once. */
function registerBuiltinGames() {
if (!(0, registry_1.getGameModuleByImplementation)(candle_predict_1.candlePredictModule.implementationKey)) {
(0, registry_1.registerGameModule)(candle_predict_1.candlePredictModule);
}
}
//# sourceMappingURL=bootstrap.js.map