feat(fe): enable preferences in fe client and state
This commit is contained in:
parent
1f6fa6d370
commit
5ff6988e0d
8 changed files with 48 additions and 16 deletions
|
@ -7,6 +7,7 @@ import (
|
|||
"sync"
|
||||
"time"
|
||||
|
||||
"github.com/ihexxa/quickshare/src/db/sitestore"
|
||||
"github.com/ihexxa/quickshare/src/kvstore"
|
||||
)
|
||||
|
||||
|
@ -44,9 +45,10 @@ type Quota struct {
|
|||
}
|
||||
|
||||
type Preferences struct {
|
||||
BgURL string `json:"bgURL"`
|
||||
CSSURL string `json:"cssURL"`
|
||||
LanPackURL string `json:"lanPackURL"`
|
||||
Bg *sitestore.BgConfig `json:"bg"`
|
||||
BgURL string `json:"bgURL"`
|
||||
CSSURL string `json:"cssURL"`
|
||||
LanPackURL string `json:"lanPackURL"`
|
||||
}
|
||||
|
||||
type UserCfg struct {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue