UNPKG

@sync-in/server

Version:

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

62 lines (61 loc) 2.24 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 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: { [_constants.ACTION.ADD]: 'You now have access to the space', [_constants.ACTION.DELETE]: 'You no longer have access to the space', [_constants.ACTION.DELETE_PERMANENTLY]: 'This space has been permanently deleted' }, SPACE_ROOTS: { [_constants.ACTION.ADD]: 'anchored', [_constants.ACTION.DELETE]: 'unanchored' }, SHARES: { [_constants.ACTION.ADD]: 'shared with you', [_constants.ACTION.DELETE]: 'no longer share with you' }, SHARES_WITHOUT_OWNER: { [_constants.ACTION.ADD]: 'You now have access to the share', [_constants.ACTION.DELETE]: 'You no longer have access to the share', [_constants.ACTION.DELETE_PERMANENTLY]: 'You are no longer a member of the parent share, your child share has been deleted' }, LINKS: { [_constants.ACTION.ADD]: 'shared with you', [_constants.ACTION.UPDATE]: 'You now have access to the space' }, SYNC: { [_constants.ACTION.DELETE]: 'You are no longer synchronizing' } }; //# sourceMappingURL=notifications.js.map