mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-03 20:21:40 +00:00
chore: remove unused workspace settings
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user