mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-04 15:58:49 +01:00
♻️ Refactor av data structure
This commit is contained in:
parent
5939add4a1
commit
b32d2950ef
1 changed files with 4 additions and 4 deletions
|
|
@ -82,10 +82,10 @@ type KeySelectOption struct {
|
|||
}
|
||||
|
||||
type Value struct {
|
||||
ID string `json:"id"`
|
||||
KeyID string `json:"keyID"`
|
||||
BlockID string `json:"blockID"`
|
||||
Type KeyType `json:"type"`
|
||||
ID string `json:"id,omitempty"`
|
||||
KeyID string `json:"keyID,omitempty"`
|
||||
BlockID string `json:"blockID,omitempty"`
|
||||
Type KeyType `json:"type,omitempty"`
|
||||
|
||||
Block *ValueBlock `json:"block,omitempty"`
|
||||
Text *ValueText `json:"text,omitempty"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue