UNPKG

@roadmanjs/couchset

Version:

A Couchbase roadman using CouchSet

21 lines 732 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.couchsetRoadman = void 0; require("reflect-metadata"); const core_1 = require("@roadmanjs/core"); const database_1 = require("./database"); /** * A Couchbase roadman using CouchSet * @docs https://couchset.org * @param RoadmanBuild */ const couchsetRoadman = async (args) => { const [errorStarting, started] = await (0, core_1.awaitTo)((0, database_1.startCouchbase)()); if (started) { console.log('CouchSet', `Couchbase has started`); return args; } throw errorStarting ? errorStarting : new Error('Error starting Couchbase'); }; exports.couchsetRoadman = couchsetRoadman; //# sourceMappingURL=couchbase.js.map