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 { inject } from '@angular/core'
import { ActivatedRouteSnapshot, ResolveFn, UrlSegment } from '@angular/router'
import { StoreService } from '../../store/store.service'
export const spacesResolver: ResolveFn<any> = (route: ActivatedRouteSnapshot): UrlSegment[] => {
inject(StoreService).repository.set(route.data.repository)
return route.url
}