2022-05-15 05:57:54 +03:00
|
|
|
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
|
|
|
|
2022-05-15 05:57:54 +03:00
|
|
|
type SystemStatus struct {
|
2022-07-08 17:16:18 +03:00
|
|
|
Host *User `json:"host"`
|
2022-05-22 04:29:34 +03:00
|
|
|
Profile *profile.Profile `json:"profile"`
|
2022-11-18 16:17:52 +03:00
|
|
|
DBSize int64 `json:"dbSize"`
|
|
|
|
|
2022-11-03 16:47:36 +03:00
|
|
|
// System settings
|
2022-11-11 18:42:44 +03:00
|
|
|
// Allow sign up.
|
2022-11-03 16:47:36 +03:00
|
|
|
AllowSignUp bool `json:"allowSignUp"`
|
2022-11-11 18:42:44 +03:00
|
|
|
// Additional style.
|
|
|
|
AdditionalStyle string `json:"additionalStyle"`
|
2022-11-14 17:21:19 +03:00
|
|
|
// Additional script.
|
|
|
|
AdditionalScript string `json:"additionalScript"`
|
2022-05-15 05:57:54 +03:00
|
|
|
}
|