Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
import { APP_BASE_ROUTE } from '../../applications.constants.js'
import { SPACE_REPOSITORY } from './spaces.js'
export const SPACES_BASE_ROUTE = 'spaces'
export const SPACES_ROUTE = {
BASE: `${APP_BASE_ROUTE}/${SPACES_BASE_ROUTE}`,
ADMIN: 'admin',
BROWSE: 'browse',
TREE: 'tree',
LIST: 'list',
ROOTS: 'roots',
ROOT_CHECK: 'root/check',
LINKS: 'links',
TRASH: SPACE_REPOSITORY.TRASH,
SHARES: SPACE_REPOSITORY.SHARES
} as const
export const API_SPACES_BROWSE = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.BROWSE}`
export const API_SPACES_TREE = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.TREE}`
export const API_SPACES_LIST = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.LIST}`
export const API_ADMIN_SPACES_LIST = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.ADMIN}/${SPACES_ROUTE.LIST}`
export const API_SPACES_TRASH_BINS_LIST = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.TRASH}/${SPACES_ROUTE.LIST}`
export const API_SPACES_ROOT_CHECK = `${SPACES_ROUTE.BASE}/${SPACES_ROUTE.ROOT_CHECK}`