Skip to content

Commit

Permalink
Merge pull request #5 from juanjiTech/fix/sync
Browse files Browse the repository at this point in the history
update/sync
  • Loading branch information
asjdf authored Sep 25, 2023
2 parents 73a52ef + 9bc7a2f commit 006fae4
Show file tree
Hide file tree
Showing 4 changed files with 81 additions and 63 deletions.
6 changes: 6 additions & 0 deletions gen/openapi/sync/v1/sync_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@
"required": false,
"type": "string",
"format": "date-time"
},
{
"name": "groupId",
"in": "query",
"required": false,
"type": "string"
}
],
"tags": [
Expand Down
136 changes: 73 additions & 63 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 @@ -20,6 +20,7 @@ type OneOf<T> =
: never);
export type SyncRequest = {
after?: GoogleProtobufTimestamp.Timestamp
groupId?: string
}

export type SyncResponse = {
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 @@ -22,6 +22,7 @@ service SyncService {

message SyncRequest {
google.protobuf.Timestamp after = 1; // 获取该时间之后的设置变化,若不设置该字段,则拉取全量配置信息
string group_id = 2;
}

message SyncResponse {
Expand Down

0 comments on commit 006fae4

Please sign in to comment.