UNPKG

@sync-in/server

Version:

The secure, open-source platform for file storage, sharing, collaboration, and sync

31 lines (30 loc) 1.07 kB
/* * Copyright (C) 2012-2025 Johan Legrand <johan.legrand@sync-in.com> * This file is part of Sync-in | The open source file sync and share solution * See the LICENSE file for licensing details */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: Object.getOwnPropertyDescriptor(all, name).get }); } _export(exports, { get SHARE_ALL_OPERATIONS () { return SHARE_ALL_OPERATIONS; }, get SHARE_TYPE () { return SHARE_TYPE; } }); const _spaces = require("../../spaces/constants/spaces"); var SHARE_TYPE = /*#__PURE__*/ function(SHARE_TYPE) { SHARE_TYPE[SHARE_TYPE["COMMON"] = 0] = "COMMON"; SHARE_TYPE[SHARE_TYPE["LINK"] = 1] = "LINK"; return SHARE_TYPE; }({}); const SHARE_ALL_OPERATIONS = Object.values(_spaces.SPACE_OPERATION).filter((p)=>p !== _spaces.SPACE_OPERATION.SHARE_INSIDE).sort().join(_spaces.SPACE_PERMS_SEP); //# sourceMappingURL=shares.js.map