55*/
66
77import * as fm from "../../fetch.pb"
8- import * as GoogleProtobufTimestamp from "../../google/protobuf/timestamp.pb"
98import * as TeamV1Team from "../../team/v1/team.pb"
109import * as UserV1Key_wallet from "../../user/v1/key_wallet.pb"
1110import * as SyncV1Team_config from "./team_config.pb"
1211export type SyncConfigRequest = {
13- after ?: GoogleProtobufTimestamp . Timestamp
12+ after ?: Date
1413 teamId ?: string
1514}
1615
1716export type SyncConfigResponse = {
18- serverTime ?: GoogleProtobufTimestamp . Timestamp
17+ serverTime ?: Date
1918 records ?: SyncV1Team_config . TeamConfigRecord [ ]
2019}
2120
@@ -25,25 +24,25 @@ export type UpdateConfigRequest = {
2524}
2625
2726export type UpdateConfigResponse = {
28- serverTime ?: GoogleProtobufTimestamp . Timestamp
27+ serverTime ?: Date
2928 record ?: SyncV1Team_config . TeamConfigRecord
3029}
3130
3231export type SyncTeamRequest = {
33- after ?: GoogleProtobufTimestamp . Timestamp
32+ after ?: Date
3433}
3534
3635export type SyncTeamResponse = {
37- serverTime ?: GoogleProtobufTimestamp . Timestamp
36+ serverTime ?: Date
3837 teams ?: TeamV1Team . Team [ ]
3938}
4039
4140export type SyncUserKeyWalletRequest = {
42- after ?: GoogleProtobufTimestamp . Timestamp
41+ after ?: Date
4342}
4443
4544export type SyncUserKeyWalletResponse = {
46- serverTime ?: GoogleProtobufTimestamp . Timestamp
45+ serverTime ?: Date
4746 publicKey ?: string
4847 encryptedPrivateKey ?: string
4948 userKeyWalletSet ?: UserV1Key_wallet . UserKeyWallet [ ]
@@ -59,7 +58,7 @@ export type UpdateUserKeyWalletResponse = {
5958 publicKey ?: string
6059 encryptedPrivateKey ?: string
6160 userKeyWalletSet ?: UserV1Key_wallet . UserKeyWallet [ ]
62- serverTime ?: GoogleProtobufTimestamp . Timestamp
61+ serverTime ?: Date
6362}
6463
6564export class SyncService {
0 commit comments