refactor sync flags
add disable-transfer flag
This commit is contained in:
parent
7d38aa7b29
commit
14668c339e
5 changed files with 140 additions and 159 deletions
sdk
11
sdk/api.go
11
sdk/api.go
|
@ -34,6 +34,17 @@ type SyncProperties struct {
|
|||
YoutubeChannelID string
|
||||
}
|
||||
|
||||
type SyncFlags struct {
|
||||
StopOnError bool
|
||||
TakeOverExistingChannel bool
|
||||
SkipSpaceCheck bool
|
||||
SyncUpdate bool
|
||||
SingleRun bool
|
||||
RemoveDBUnpublished bool
|
||||
UpgradeMetadata bool
|
||||
DisableTransfers bool
|
||||
}
|
||||
|
||||
type Fee struct {
|
||||
Amount string `json:"amount"`
|
||||
Address string `json:"address"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue