Skip to content

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

458 B
Raw Blame
export type FilesSearchTermOperator = 'required' | 'excluded' | 'optional'

export interface FilesSearchTerm {
  rawValue: string
  regexpValue: string
  operator: FilesSearchTermOperator
  requiresLike: boolean
  quoted: boolean
  wildcard: boolean
}

export interface FilesSearchQuery {
  terms: FilesSearchTerm[]
  positiveTerms: FilesSearchTerm[]
  requiredTerms: FilesSearchTerm[]
  optionalTerms: FilesSearchTerm[]
  excludedTerms: FilesSearchTerm[]
}