@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
35 lines (34 loc) • 1.21 kB
JavaScript
/*
* 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 GROUP_TYPE () {
return GROUP_TYPE;
},
get GROUP_VISIBILITY () {
return GROUP_VISIBILITY;
}
});
var GROUP_TYPE = /*#__PURE__*/ function(GROUP_TYPE) {
GROUP_TYPE[GROUP_TYPE["USER"] = 0] = "USER";
GROUP_TYPE[GROUP_TYPE["PERSONAL"] = 1] = "PERSONAL";
return GROUP_TYPE;
}({});
var GROUP_VISIBILITY = /*#__PURE__*/ function(GROUP_VISIBILITY) {
GROUP_VISIBILITY[GROUP_VISIBILITY["VISIBLE"] = 0] = "VISIBLE";
GROUP_VISIBILITY[GROUP_VISIBILITY["PRIVATE"] = 1] = "PRIVATE";
GROUP_VISIBILITY[GROUP_VISIBILITY["ISOLATED"] = 2] = "ISOLATED"; // hidden, its members cannot see it and cannot see each other
return GROUP_VISIBILITY;
}({});
//# sourceMappingURL=group.js.map