Skip to content

Commit 0b75290

Browse files
committed
feat(proto): add HostBody os_type and icon for sync
1 parent 9e0e40a commit 0b75290

3 files changed

Lines changed: 25 additions & 3 deletions

File tree

gen/proto/sync/v1/config_body.pb.go

Lines changed: 21 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gen/proto/sync/v1/config_body.pb.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ export type HostBody = {
4545
proxyHostIds?: string[]
4646
forwardAgent?: boolean
4747
protocol?: HostProtocol
48+
osType?: string
49+
icon?: string
4850
}
4951

5052
export type PortForwardBody = {

proto/sync/v1/config_body.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ message HostBody {
4646
repeated string proxy_host_ids = 10; // Host inner_id 有序列表
4747
bool forward_agent = 11; // OpenSSH ForwardAgent
4848
HostProtocol protocol = 12;
49+
string os_type = 13; // 自动探测的系统类型 key;可空
50+
string icon = 14; // 用户手动图标 key;可空 = 跟随 os_type
4951
}
5052

5153
message PortForwardBody {

0 commit comments

Comments
 (0)