@sync-in/server
Version:
The secure, open-source platform for file storage, sharing, collaboration, and sync
62 lines (61 loc) • 2.24 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 NOTIFICATION_APP () {
return NOTIFICATION_APP;
},
get NOTIFICATION_APP_EVENT () {
return NOTIFICATION_APP_EVENT;
}
});
const _constants = require("../../../common/constants");
var NOTIFICATION_APP = /*#__PURE__*/ function(NOTIFICATION_APP) {
NOTIFICATION_APP["COMMENTS"] = "comments";
NOTIFICATION_APP["SPACES"] = "spaces";
NOTIFICATION_APP["SPACE_ROOTS"] = "spaces_roots";
NOTIFICATION_APP["SHARES"] = "shares";
NOTIFICATION_APP["LINKS"] = "links";
NOTIFICATION_APP["SYNC"] = "sync";
return NOTIFICATION_APP;
}({});
const NOTIFICATION_APP_EVENT = {
COMMENTS: 'commented',
SPACES: {
[]: 'You now have access to the space',
[]: 'You no longer have access to the space',
[]: 'This space has been permanently deleted'
},
SPACE_ROOTS: {
[]: 'anchored',
[]: 'unanchored'
},
SHARES: {
[]: 'shared with you',
[]: 'no longer share with you'
},
SHARES_WITHOUT_OWNER: {
[]: 'You now have access to the share',
[]: 'You no longer have access to the share',
[]: 'You are no longer a member of the parent share, your child share has been deleted'
},
LINKS: {
[]: 'shared with you',
[]: 'You now have access to the space'
},
SYNC: {
[]: 'You are no longer synchronizing'
}
};
//# sourceMappingURL=notifications.js.map