add product & order to channel settings
This commit is contained in:
parent
02ac4efe62
commit
f069f93b17
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