mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-26 17:04:07 +01:00
This commit is contained in:
parent
23fd11ae12
commit
b8aa401996
6 changed files with 279 additions and 95 deletions
19
app/src/types/index.d.ts
vendored
19
app/src/types/index.d.ts
vendored
|
|
@ -1082,16 +1082,14 @@ interface IAVColumn {
|
|||
type: TAVCol,
|
||||
numberFormat: string,
|
||||
template: string,
|
||||
calc: {
|
||||
operator: string,
|
||||
result: IAVCellValue
|
||||
},
|
||||
calc: IAVCalc,
|
||||
// 选项列表
|
||||
options?: {
|
||||
name: string,
|
||||
color: string,
|
||||
}[],
|
||||
relation?: IAVCellRelationValue
|
||||
relation?: IAVCellRelationValue,
|
||||
rollup?: IAVCellRollupValue
|
||||
}
|
||||
|
||||
interface IAVRow {
|
||||
|
|
@ -1175,3 +1173,14 @@ interface IAVCellRelationValue {
|
|||
backKeyID?: string
|
||||
isTwoWay?: boolean
|
||||
}
|
||||
|
||||
interface IAVCellRollupValue {
|
||||
relationKeyID?: string // 关联列 ID
|
||||
keyID?: string
|
||||
calc?: IAVCalc
|
||||
}
|
||||
|
||||
interface IAVCalc {
|
||||
operator?: string,
|
||||
result?: IAVCellValue
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue