"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function getAllPaths({ baseUrl, supportUrl, remoteBranch, inBase, outBase, }) { // generate links for remote git server const homeUrl = baseUrl; if (baseUrl != '' && remoteBranch != '') { if (supportUrl == '') { supportUrl = `${baseUrl}/issues`; } baseUrl = `${baseUrl}/raw/branch/${remoteBranch}/${outBase}`; } return { base: { in: inBase, out: outBase, }, url: { home: homeUrl, base: baseUrl, support: supportUrl, }, script: (name) => ({ dir: `${inBase}/${name}`, main: `${inBase}/${name}/main.ts`, meta: `${inBase}/${name}/meta.json`, error: `${inBase}/${name}/error.log`, dist: `${outBase}/${name}.user.js`, url: `${baseUrl}/${name}.user.js`, }), }; } exports.default = getAllPaths; //# sourceMappingURL=paths.js.map