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 { Owner } from '../../users/interfaces/owner.interface.js'
import type { comments } from './comments.schema.js'
type CommentSchema = typeof comments.$inferSelect
export interface Comment extends CommentSchema {
// extra properties
author: Owner & { isAuthor: boolean }
isFileOwner: boolean
}