feat: add brief concept party classification
This commit is contained in:
+18
-1
@@ -1,4 +1,6 @@
|
||||
export type EvidenceType = 'folder' | 'evidence' | 'note' | 'event'
|
||||
export type EvidenceType = 'folder' | 'evidence' | 'note' | 'event' | 'party'
|
||||
export type PartyKind = 'person' | 'organization'
|
||||
export type OrganizationKind = 'business' | 'public_body' | 'association' | 'informal_group' | 'other'
|
||||
export type SourceFileType = 'image' | 'pdf' | 'web_capture' | 'email' | 'article' | 'filing' | 'price_list' | 'text' | 'file'
|
||||
|
||||
export interface DocumentRegion {
|
||||
@@ -33,6 +35,10 @@ export interface Evidence {
|
||||
sourceRegionId?: string
|
||||
eventDate?: string
|
||||
supportingEvidenceIds?: string[]
|
||||
partyKind?: PartyKind
|
||||
organizationKind?: OrganizationKind
|
||||
aliases?: string[]
|
||||
relatedEvidenceIds?: string[]
|
||||
x: number
|
||||
y: number
|
||||
width: number
|
||||
@@ -58,6 +64,16 @@ export interface Connection {
|
||||
|
||||
export interface Viewport { x: number; y: number; zoom: number }
|
||||
|
||||
export interface BriefConcept {
|
||||
id: string
|
||||
label: string
|
||||
context: string
|
||||
expectedPartyKind?: PartyKind
|
||||
resolvedPartyExhibitId?: string
|
||||
}
|
||||
|
||||
export interface LevelBrief { body: string; concepts: BriefConcept[] }
|
||||
|
||||
export interface CaseState {
|
||||
id: string
|
||||
title: string
|
||||
@@ -67,6 +83,7 @@ export interface CaseState {
|
||||
relations: WidgetRelation[]
|
||||
connections: Connection[]
|
||||
viewport: Viewport
|
||||
brief: LevelBrief
|
||||
updatedAt?: string
|
||||
levelStatus?: string
|
||||
sourceTemplateVersionId?: string
|
||||
|
||||
Reference in New Issue
Block a user