mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-09-22 00:20:47 +02:00
🎨 Add funding settings in marketplace package https://github.com/siyuan-note/siyuan/issues/8171
This commit is contained in:
parent
204eed2e99
commit
9d1a04a12a
1 changed files with 11 additions and 3 deletions
|
@ -38,10 +38,18 @@ import (
|
|||
"golang.org/x/text/transform"
|
||||
)
|
||||
|
||||
type Funding struct {
|
||||
OpenCollective string `json:"openCollective"`
|
||||
Patreon string `json:"patreon"`
|
||||
GitHub string `json:"github"`
|
||||
Custom []string `json:"custom"`
|
||||
}
|
||||
|
||||
type Package struct {
|
||||
Author string `json:"author"`
|
||||
URL string `json:"url"`
|
||||
Version string `json:"version"`
|
||||
Author string `json:"author"`
|
||||
URL string `json:"url"`
|
||||
Version string `json:"version"`
|
||||
Funding *Funding `json:"funding"`
|
||||
|
||||
Name string `json:"name"`
|
||||
RepoURL string `json:"repoURL"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue