feat(fe): enable preferences in fe client and state

This commit is contained in:
hexxa 2021-10-17 17:30:36 +08:00 committed by Hexxa
parent 1f6fa6d370
commit 5ff6988e0d
8 changed files with 48 additions and 16 deletions

View file

@ -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 {