2022-05-15 10:57:54 +08:00
|
|
|
package api
|
|
|
|
|
2022-06-27 22:09:06 +08:00
|
|
|
import "github.com/usememos/memos/server/profile"
|
2022-05-17 21:21:13 +08:00
|
|
|
|
2022-05-15 10:57:54 +08:00
|
|
|
type SystemStatus struct {
|
2022-07-08 22:16:18 +08:00
|
|
|
Host *User `json:"host"`
|
2022-05-22 09:29:34 +08:00
|
|
|
Profile *profile.Profile `json:"profile"`
|
2022-11-03 21:47:36 +08:00
|
|
|
// System settings
|
2022-11-11 23:42:44 +08:00
|
|
|
// Allow sign up.
|
2022-11-03 21:47:36 +08:00
|
|
|
AllowSignUp bool `json:"allowSignUp"`
|
2022-11-11 23:42:44 +08:00
|
|
|
// Additional style.
|
|
|
|
AdditionalStyle string `json:"additionalStyle"`
|
2022-05-15 10:57:54 +08:00
|
|
|
}
|