fantasia-archive/src/interfaces/I_FieldRelationship.ts

30 lines
481 B
TypeScript

export interface I_FieldRelationship{
type: string
label: string
value: string
url: string
_id: string
pairedField: string
isCategory: boolean
isDead: boolean
isAutoGenerated?: boolean
}
export interface I_RelationshipPair {
addedValues: {
pairedId: string,
value: string
}[]
value: I_FieldRelationship[],
}
export interface I_RelationshipPairSingle {
addedValues: {
pairedId: string,
value: string
}
value: I_FieldRelationship,
}