chore: remove unused workspace settings

This commit is contained in:
Steven
2024-07-29 00:00:05 +08:00
parent 2ad51a3d42
commit 5dd045e080
10 changed files with 199 additions and 619 deletions

View File

@ -18,10 +18,6 @@ message WorkspaceSetting {
bool enable_signup = 4;
// The custom style.
string custom_style = 5;
// The custom script.
string custom_script = 6;
// The auto backup setting. (Unimplemented)
AutoBackupWorkspaceSetting auto_backup = 7;
// The instance URL of workspace.
string instance_url = 8;
// The default visibility of shortcuts and collections.
@ -41,10 +37,6 @@ enum WorkspaceSettingKey {
WORKSAPCE_SETTING_ENABLE_SIGNUP = 3;
// The custom style.
WORKSPACE_SETTING_CUSTOM_STYLE = 4;
// The custom script.
WORKSPACE_SETTING_CUSTOM_SCRIPT = 5;
// The auto backup setting.
WORKSPACE_SETTING_AUTO_BACKUP = 6;
// The instance URL.
WORKSPACE_SETTING_INSTANCE_URL = 7;
// The default visibility of shortcuts and collections.
@ -52,14 +44,3 @@ enum WorkspaceSettingKey {
// The url of custom favicon provider.
WORKSPACE_SETTING_FAVICON_PROVIDER = 9;
}
message AutoBackupWorkspaceSetting {
// Whether auto backup is enabled.
bool enabled = 1;
// The cron expression for auto backup.
// For example, "0 0 0 * * *" means backup at 00:00:00 every day.
// See https://en.wikipedia.org/wiki/Cron for more details.
string cron_expression = 2;
// The maximum number of backups to keep.
int32 max_keep = 3;
}