chore: initial workspace setting proto definition

This commit is contained in:
Steven
2023-09-12 08:50:23 +08:00
parent 032d9c1220
commit e843594a02
17 changed files with 1910 additions and 52 deletions

View File

@ -306,6 +306,9 @@
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| key | [WorkspaceSettingKey](#slash-store-WorkspaceSettingKey) | | |
| secret_session | [string](#string) | | |
| enable_signup | [bool](#bool) | | |
| resource_relative_path | [string](#string) | | |
| auto_backup | [AutoBackupWorkspaceSetting](#slash-store-AutoBackupWorkspaceSetting) | | |
@ -323,7 +326,10 @@
| Name | Number | Description |
| ---- | ------ | ----------- |
| WORKSPACE_SETTING_KEY_UNSPECIFIED | 0 | |
| WORKSPACE_SETTING_AUTO_BACKUP | 1 | |
| WORKSPACE_SETTING_SECRET_SESSION | 1 | The secret session key used to encrypt session data. |
| WORKSAPCE_SETTING_ENABLE_SIGNUP | 2 | Whether to enable other users to sign up. |
| WORKSPACE_SETTING_RESOURCE_RELATIVE_PATH | 3 | The relative path of the resource directory. |
| WORKSPACE_SETTING_AUTO_BACKUP | 4 | The auto backup setting. |