BerniUtz / WS23-SWKOM

2 stars 0 forks source link

Implement another use-cases in your project #42

Open BerniUtz opened 1 year ago

BerniUtz commented 1 year ago

at least „search for documents“

leonardstruck commented 10 months ago

als use case würde ich erstmal beginnen die Dokumente im Frontend anzuzeigen

leonardstruck commented 10 months ago

Ich vermute dass als Response für ein API die Daten im anhand des interfaces PaperlessDocument paperless-ngx-ui/src/app/data/paperless-document.ts erwartet werden

export interface PaperlessDocument extends ObjectWithPermissions {
  correspondent$?: Observable<PaperlessCorrespondent>

  correspondent?: number

  document_type$?: Observable<PaperlessDocumentType>

  document_type?: number

  storage_path$?: Observable<PaperlessStoragePath>

  storage_path?: number

  title?: string

  content?: string

  tags$?: Observable<PaperlessTag[]>

  tags?: number[]

  checksum?: string

  // UTC
  created?: Date

  // localized date
  created_date?: Date

  modified?: Date

  added?: Date

  original_file_name?: string

  download_url?: string

  thumbnail_url?: string

  archive_serial_number?: number

  notes?: PaperlessDocumentNote[]

  __search_hit__?: SearchHit
}