UNPKG

@sync-in/server

Version:

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

58 lines (57 loc) 1.9 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 API_SPACES_BROWSE () { return API_SPACES_BROWSE; }, get API_SPACES_LIST () { return API_SPACES_LIST; }, get API_SPACES_ROOT_CHECK () { return API_SPACES_ROOT_CHECK; }, get API_SPACES_TRASH_BINS_LIST () { return API_SPACES_TRASH_BINS_LIST; }, get API_SPACES_TREE () { return API_SPACES_TREE; }, get SPACES_BASE_ROUTE () { return SPACES_BASE_ROUTE; }, get SPACES_ROUTE () { return SPACES_ROUTE; } }); const _applicationsconstants = require("../../applications.constants"); const _spaces = require("./spaces"); const SPACES_BASE_ROUTE = 'spaces'; const SPACES_ROUTE = { BASE: `${_applicationsconstants.APP_BASE_ROUTE}/${SPACES_BASE_ROUTE}`, BROWSE: 'browse', TREE: 'tree', LIST: 'list', ROOTS: 'roots', ROOT_CHECK: 'root/check', LINKS: 'links', TRASH: _spaces.SPACE_REPOSITORY.TRASH, SHARES: _spaces.SPACE_REPOSITORY.SHARES }; const API_SPACES_BROWSE = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.BROWSE}`; const API_SPACES_TREE = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.TREE}`; const API_SPACES_LIST = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.LIST}`; const API_SPACES_TRASH_BINS_LIST = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.TRASH}/${SPACES_ROUTE.LIST}`; const API_SPACES_ROOT_CHECK = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.ROOT_CHECK}`; //# sourceMappingURL=routes.js.map