feat: team preferences
This commit is contained in:
committed by
Johannes Schill
parent
b2e6b2485f
commit
b00542e194
@@ -14,6 +14,7 @@ type Preferences struct {
|
||||
Id int64
|
||||
OrgId int64
|
||||
UserId int64
|
||||
TeamId int64
|
||||
Version int
|
||||
HomeDashboardId int64
|
||||
Timezone string
|
||||
@@ -29,14 +30,13 @@ type GetPreferencesQuery struct {
|
||||
Id int64
|
||||
OrgId int64
|
||||
UserId int64
|
||||
TeamId int64
|
||||
|
||||
Result *Preferences
|
||||
}
|
||||
|
||||
type GetPreferencesWithDefaultsQuery struct {
|
||||
Id int64
|
||||
OrgId int64
|
||||
UserId int64
|
||||
User *SignedInUser
|
||||
|
||||
Result *Preferences
|
||||
}
|
||||
@@ -46,6 +46,7 @@ type GetPreferencesWithDefaultsQuery struct {
|
||||
type SavePreferencesCommand struct {
|
||||
UserId int64
|
||||
OrgId int64
|
||||
TeamId int64
|
||||
|
||||
HomeDashboardId int64 `json:"homeDashboardId"`
|
||||
Timezone string `json:"timezone"`
|
||||
|
||||
Reference in New Issue
Block a user