1
0
mirror of synced 2024-11-21 20:46:05 +03:00

Merge pull request #26 from gwinn/master

add product & order to channel settings
This commit is contained in:
Alex Lushpai 2018-09-13 20:34:26 +03:00 committed by GitHub
commit 1eb5fe3bcb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,6 +43,20 @@ type ChannelSettings struct {
SpamAllowed bool `json:"spam_allowed"`
Status Status `json:"status"`
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