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 type { SpaceEnv } from '../../spaces/models/space-env.model.js'
export interface DownloadFileContentInfo {
contentLength: number | null
contentType: string
lastModified: string | undefined
}
export interface DownloadFileOptions {
allowPrivateIP?: boolean
space?: SpaceEnv
publishedPath?: string
getContentInfo?: boolean
maxSize?: number
onProgress?: (bytes: number) => void
signal?: AbortSignal
}
export interface DownloadFileRequestOptions {
allowPrivateIP?: boolean
maxRedirects?: number
}
export type DownloadStage = 'head' | 'validation' | 'get' | 'stream'