Merge pull request #26 from gwinn/master
add product & order to channel settings
This commit is contained in:
commit
1eb5fe3bcb
14
v1/types.go
14
v1/types.go
@ -43,6 +43,20 @@ type ChannelSettings struct {
|
|||||||
SpamAllowed bool `json:"spam_allowed"`
|
SpamAllowed bool `json:"spam_allowed"`
|
||||||
Status Status `json:"status"`
|
Status Status `json:"status"`
|
||||||
Text ChannelSettingsText `json:"text"`
|
Text ChannelSettingsText `json:"text"`
|
||||||
|
Product Product `json:"product"`
|
||||||
|
Order Order `json:"order"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Product struct {
|
||||||
|
Creating string `json:"creating"`
|
||||||
|
Editing string `json:"editing"`
|
||||||
|
Deleting string `json:"deleting"`
|
||||||
|
}
|
||||||
|
|
||||||
|
type Order struct {
|
||||||
|
Creating string `json:"creating"`
|
||||||
|
Editing string `json:"editing"`
|
||||||
|
Deleting string `json:"deleting"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// Status struct
|
// Status struct
|
||||||
|
Loading…
Reference in New Issue
Block a user