mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-03 11:20:16 +01:00
This commit is contained in:
parent
c136b71e67
commit
6e4fd4da6a
5 changed files with 215 additions and 4 deletions
2
app/src/types/index.d.ts
vendored
2
app/src/types/index.d.ts
vendored
|
|
@ -36,6 +36,7 @@ type TOperation =
|
|||
| "setAttrViewFilters"
|
||||
| "setAttrViewSorts"
|
||||
| "setAttrViewColCalc"
|
||||
| "updateAttrViewColNumberFormat"
|
||||
type TBazaarType = "templates" | "icons" | "widgets" | "themes" | "plugins"
|
||||
type TCardType = "doc" | "notebook" | "all"
|
||||
type TEventBus = "ws-main" |
|
||||
|
|
@ -329,6 +330,7 @@ interface IOperation {
|
|||
action: TOperation, // move, delete 不需要传 data
|
||||
id?: string,
|
||||
avID?: string, // av
|
||||
format?: string // updateAttrViewColNumberFormat 专享
|
||||
keyID?: string // updateAttrViewCell 专享
|
||||
rowID?: string // updateAttrViewCell 专享
|
||||
data?: any, // updateAttr 时为 { old: IObject, new: IObject }, updateAttrViewCell 时为 {TAVCol: {content: string}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue