"use strict";
/*
 *  This file is part of CoCalc: Copyright © 2020 Sagemath, Inc.
 *  License: AGPLv3 s.t. "Commons Clause" – see LICENSE.md for details
 */
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const get_collaborators_1 = __importDefault(require("lib/share/get-collaborators"));
const get_public_paths_1 = __importDefault(require("lib/share/get-public-paths"));
async function getProjectInfo(project_id, req) {
    return {
        publicPaths: await (0, get_public_paths_1.default)(project_id, req),
        collaborators: await (0, get_collaborators_1.default)(project_id),
    };
}
exports.default = getProjectInfo;
//# sourceMappingURL=info.js.map