mirror of
https://github.com/aykhans/slash-e.git
synced 2025-06-14 20:07:50 +00:00
chore: update workspace setting keys
This commit is contained in:
@ -8,29 +8,32 @@ message WorkspaceSetting {
|
||||
WorkspaceSettingKey key = 1;
|
||||
|
||||
oneof value {
|
||||
string secret_session = 2;
|
||||
bool enable_signup = 3;
|
||||
string resource_relative_path = 4;
|
||||
string custom_style = 5;
|
||||
string custom_script = 6;
|
||||
AutoBackupWorkspaceSetting auto_backup = 7;
|
||||
string license_key = 2;
|
||||
string secret_session = 3;
|
||||
bool enable_signup = 4;
|
||||
string resource_relative_path = 5;
|
||||
string custom_style = 6;
|
||||
string custom_script = 7;
|
||||
AutoBackupWorkspaceSetting auto_backup = 8;
|
||||
}
|
||||
}
|
||||
|
||||
enum WorkspaceSettingKey {
|
||||
WORKSPACE_SETTING_KEY_UNSPECIFIED = 0;
|
||||
// The license key.
|
||||
WORKSPACE_LICENSE_KEY = 1;
|
||||
// The secret session key used to encrypt session data.
|
||||
WORKSPACE_SETTING_SECRET_SESSION = 1;
|
||||
WORKSPACE_SETTING_SECRET_SESSION = 2;
|
||||
// Whether to enable other users to sign up.
|
||||
WORKSAPCE_SETTING_ENABLE_SIGNUP = 2;
|
||||
WORKSAPCE_SETTING_ENABLE_SIGNUP = 3;
|
||||
// The relative path of the resource directory.
|
||||
WORKSPACE_SETTING_RESOURCE_RELATIVE_PATH = 3;
|
||||
WORKSPACE_SETTING_RESOURCE_RELATIVE_PATH = 4;
|
||||
// The custom style.
|
||||
WORKSPACE_SETTING_CUSTOM_STYLE = 4;
|
||||
WORKSPACE_SETTING_CUSTOM_STYLE = 5;
|
||||
// The custom script.
|
||||
WORKSPACE_SETTING_CUSTOM_SCRIPT = 5;
|
||||
WORKSPACE_SETTING_CUSTOM_SCRIPT = 6;
|
||||
// The auto backup setting.
|
||||
WORKSPACE_SETTING_AUTO_BACKUP = 6;
|
||||
WORKSPACE_SETTING_AUTO_BACKUP = 7;
|
||||
}
|
||||
|
||||
message AutoBackupWorkspaceSetting {
|
||||
|
Reference in New Issue
Block a user