Skip to content

Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.

312 B
Raw Blame
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
}