Skip to content

Commit

Permalink
Merge pull request #7 from juanjiTech/feat/sync
Browse files Browse the repository at this point in the history
fix: sync
  • Loading branch information
GoldenSheep402 authored Sep 26, 2023
2 parents 9931e21 + 3cd58cd commit f0cde2d
Show file tree
Hide file tree
Showing 4 changed files with 87 additions and 73 deletions.
3 changes: 3 additions & 0 deletions gen/openapi/sync/v1/sync_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,9 @@
"v1UpdateRequest": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"host": {
"$ref": "#/definitions/v1Host"
},
Expand Down
155 changes: 82 additions & 73 deletions gen/proto/sync/v1/sync_service.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions gen/proto/sync/v1/sync_service.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export type SyncResponse = {


type BaseUpdateRequest = {
groupId?: string
}

export type UpdateRequest = BaseUpdateRequest
Expand Down
1 change: 1 addition & 0 deletions proto/sync/v1/sync_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ message SyncResponse {
}

message UpdateRequest {
string group_id = 2;
oneof data {
Host host = 11;
KnownHost known_host = 12;
Expand Down

0 comments on commit f0cde2d

Please sign in to comment.