Skip to content

Commit

Permalink
update: move key wallet from sync to user
Browse files Browse the repository at this point in the history
  • Loading branch information
asjdf committed Nov 22, 2023
1 parent 2a98726 commit 82a399c
Show file tree
Hide file tree
Showing 8 changed files with 76 additions and 76 deletions.
2 changes: 1 addition & 1 deletion gen/openapi/sync/v1/sync_service.swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@
"uid": {
"type": "string"
},
"gid": {
"tid": {
"type": "string"
},
"encryptedTeamPrivateKey": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "sync/v1/key_wallet.proto",
"title": "user/v1/key_wallet.proto",
"version": "version not set"
},
"consumes": [
Expand Down
44 changes: 22 additions & 22 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.

8 changes: 4 additions & 4 deletions gen/proto/sync/v1/sync_service.pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import * as fm from "../../fetch.pb"
import * as GoogleProtobufTimestamp from "../../google/protobuf/timestamp.pb"
import * as TeamV1Team from "../../team/v1/team.pb"
import * as UserV1Key_wallet from "../../user/v1/key_wallet.pb"
import * as SyncV1Host from "./host.pb"
import * as SyncV1Key_wallet from "./key_wallet.pb"
import * as SyncV1Keychain from "./keychain.pb"
import * as SyncV1Known_hosts from "./known_hosts.pb"

Expand Down Expand Up @@ -65,19 +65,19 @@ export type SyncUserKeyWalletResponse = {
serverTime?: GoogleProtobufTimestamp.Timestamp
publicKey?: string
encryptedPrivateKey?: string
userKeyWalletSet?: SyncV1Key_wallet.UserKeyWallet[]
userKeyWalletSet?: UserV1Key_wallet.UserKeyWallet[]
}

export type UpdateUserKeyWalletRequest = {
publicKey?: string
encryptedPrivateKey?: string
userKeyWalletSet?: SyncV1Key_wallet.UserKeyWallet[]
userKeyWalletSet?: UserV1Key_wallet.UserKeyWallet[]
}

export type UpdateUserKeyWalletResponse = {
publicKey?: string
encryptedPrivateKey?: string
userKeyWalletSet?: SyncV1Key_wallet.UserKeyWallet[]
userKeyWalletSet?: UserV1Key_wallet.UserKeyWallet[]
}

export class SyncService {
Expand Down
Loading

0 comments on commit 82a399c

Please sign in to comment.