@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
39 lines (38 loc) • 1.09 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 MEMBER_TYPE () {
return MEMBER_TYPE;
},
get MEMBER_TYPE_REVERSE () {
return MEMBER_TYPE_REVERSE;
}
});
var MEMBER_TYPE = /*#__PURE__*/ function(MEMBER_TYPE) {
MEMBER_TYPE["USER"] = "user";
MEMBER_TYPE["GUEST"] = "guest";
MEMBER_TYPE["LINK"] = "link";
MEMBER_TYPE["GROUP"] = "group";
MEMBER_TYPE["PGROUP"] = "personal group";
return MEMBER_TYPE;
}({});
const MEMBER_TYPE_REVERSE = {
user: 'user',
guest: 'guest',
link: 'user',
group: 'group',
['personal group']: 'personal group'
};
//# sourceMappingURL=member.js.map