Vanessa 2024-05-07 10:28:50 +08:00
parent 9aa9a67627
commit 96c5084af6
2 changed files with 23 additions and 9 deletions

View file

@ -834,7 +834,7 @@ interface IAVColumn {
name: string,
color: string,
}[],
relation?: IAVCellRelationValue,
relation?: IAVColumnRelation,
rollup?: IAVCellRollupValue
}
@ -886,10 +886,7 @@ interface IAVCellValue {
checkbox?: {
checked: boolean
}
relation?: {
blockIDs: string[]
contents?: IAVCellValue[]
}
relation?: IAVCellRelationValue
rollup?: {
contents?: IAVCellValue[]
}
@ -898,6 +895,11 @@ interface IAVCellValue {
updated?: IAVCellDateValue
}
interface IAVCellRelationValue {
blockIDs: string[]
contents?: IAVCellValue[]
}
interface IAVCellDateValue {
content?: number,
isNotEmpty?: boolean
@ -919,7 +921,7 @@ interface IAVCellAssetValue {
type: "file" | "image"
}
interface IAVCellRelationValue {
interface IAVColumnRelation {
avID?: string
backKeyID?: string
isTwoWay?: boolean