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 { UploadFileStreamLimiter } from './upload-file.interface.js'
export interface WriteFromStreamOptions {
start?: number
signal?: AbortSignal
// Called before forwarding a chunk to the destination. Throwing aborts the pipeline.
accountBytes?: (bytes: number) => void
}
export interface WriteUploadStreamOptions {
limiter: UploadFileStreamLimiter
signal?: AbortSignal
// Receives only bytes accepted by the limiter.
onProgress?: (bytes: number) => void
}