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 { FILE_REPOSITORY } from '../constants/operations.js'
export interface FileParseContext {
realPath: string
pathPrefix: string
isDir: boolean
}
export interface FileParseContentPath {
id: number
type: FILE_REPOSITORY
paths: FileParseContext[]
}
export interface FileContentIndexContext {
indexName: string
pathPrefix: string
regexBasePath?: RegExp
}
export interface FileParseTrashRetentionPath {
id: number
type: FILE_REPOSITORY
realPath: string
retentionDays: number
}
export interface FileTrashRetentionIndexContext {
tableName: string
regexBasePath: RegExp
}