Skip to content

Commit

Permalink
update: generate proto
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenSheep402 committed Dec 16, 2023
1 parent 3338680 commit 9694d72
Show file tree
Hide file tree
Showing 7 changed files with 119 additions and 61 deletions.
16 changes: 16 additions & 0 deletions gen/openapi/sync/v1/sync_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,10 @@
"format": "date-time",
"title": "删除时间"
},
"innerId": {
"type": "string",
"title": "内部ID 资源id"
},
"label": {
"type": "string",
"title": "标签"
Expand Down Expand Up @@ -296,6 +300,10 @@
"format": "date-time",
"title": "删除时间"
},
"innerId": {
"type": "string",
"title": "内部ID 资源id"
},
"label": {
"type": "string",
"title": "标签"
Expand Down Expand Up @@ -335,6 +343,10 @@
"format": "date-time",
"title": "删除时间"
},
"innerId": {
"type": "string",
"title": "内部ID 资源id"
},
"address": {
"type": "string",
"title": "ip或host"
Expand Down Expand Up @@ -367,6 +379,10 @@
"format": "date-time",
"title": "删除时间"
},
"innerId": {
"type": "string",
"title": "内部ID 资源id"
},
"label": {
"type": "string",
"title": "标签"
Expand Down
50 changes: 30 additions & 20 deletions gen/proto/sync/v1/host.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/host.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type Host = {
createdAt?: GoogleProtobufTimestamp.Timestamp
updatedAt?: GoogleProtobufTimestamp.Timestamp
deletedAt?: GoogleProtobufTimestamp.Timestamp
innerId?: string
label?: string
tags?: string[]
address?: string
Expand Down
81 changes: 50 additions & 31 deletions gen/proto/sync/v1/keychain.pb.go

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

2 changes: 2 additions & 0 deletions gen/proto/sync/v1/keychain.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ export type SshKey = {
createdAt?: GoogleProtobufTimestamp.Timestamp
updatedAt?: GoogleProtobufTimestamp.Timestamp
deletedAt?: GoogleProtobufTimestamp.Timestamp
innerId?: string
label?: string
privateKey?: string
publicKey?: string
Expand All @@ -21,6 +22,7 @@ export type Identity = {
createdAt?: GoogleProtobufTimestamp.Timestamp
updatedAt?: GoogleProtobufTimestamp.Timestamp
deletedAt?: GoogleProtobufTimestamp.Timestamp
innerId?: string
label?: string
username?: string
password?: string
Expand Down
Loading

0 comments on commit 9694d72

Please sign in to comment.