@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
33 lines (32 loc) • 862 B
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 USERS_WS () {
return USERS_WS;
},
get USER_ROOM_PREFIX () {
return USER_ROOM_PREFIX;
}
});
const USER_ROOM_PREFIX = 'uid_';
const USERS_WS = {
NAME_SPACE: '/',
EVENTS: {
ONLINE_STATUS: 'onlineStatus',
ONLINE_USERS: 'onlineUsers',
ONLINE_USER: 'onlineUser'
}
};
//# sourceMappingURL=websocket.js.map