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 { LOCK_DEPTH } from '../../webdav/constants/webdav.js'
export interface SaveStreamTmpFileValidationContext {
tmpPath: string
realPath: string
checksum?: string
}
export interface SaveStreamOptions {
dav?: { depth: LOCK_DEPTH; lockTokens: string[] }
checksumAlg?: string
// Expected final file size, including any resumed range.
expectedUploadSize?: number
maxSize?: number
tmpPath?: string
validateTmpFile?: (ctx: SaveStreamTmpFileValidationContext) => Promise<void>
}