memos/api/system.go

18 lines
442 B
Go
Raw Normal View History

package api
2022-06-27 17:09:06 +03:00
import "github.com/usememos/memos/server/profile"
2022-05-17 16:21:13 +03:00
type SystemStatus struct {
Host *User `json:"host"`
2022-05-22 04:29:34 +03:00
Profile *profile.Profile `json:"profile"`
DBSize int64 `json:"dbSize"`
// System settings
// Allow sign up.
AllowSignUp bool `json:"allowSignUp"`
// Additional style.
AdditionalStyle string `json:"additionalStyle"`
// Additional script.
AdditionalScript string `json:"additionalScript"`
}