Skip to content

Commit aa1f137

Browse files
committed
user/v1: switch to ExchangeDataWithoutRate
1 parent d2a2c70 commit aa1f137

File tree

9 files changed

+82
-81
lines changed

9 files changed

+82
-81
lines changed

generated/go/user/v1/identity_service.pb.go

Lines changed: 64 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './badge_service_connect';
21
export * from './badge_service_pb';
2+
export * from './badge_service_connect';

generated/protobuf-es/index.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
1-
export * as Transaction from './transaction/v2';
21
export * as Micropayment from './micropayment/v1';
2+
export * as User from './user/v1';
3+
export * as Messaging from './messaging/v1';
4+
export * as Transaction from './transaction/v2';
5+
export * as Badge from './badge/v1';
6+
export * as Phone from './phone/v1';
37
export * as Contact from './contact/v1';
48
export * as Chat from './chat/v1';
59
export * as Chat from './chat/v2';
6-
export * as User from './user/v1';
7-
export * as Invite from './invite/v2';
8-
export * as Push from './push/v1';
9-
export * as Common from './common/v1';
10-
export * as Phone from './phone/v1';
1110
export * as Device from './device/v1';
11+
export * as Common from './common/v1';
12+
export * as Push from './push/v1';
1213
export * as Account from './account/v1';
13-
export * as Messaging from './messaging/v1';
14+
export * as Invite from './invite/v2';
1415
export * as Currency from './currency/v1';
15-
export * as Badge from './badge/v1';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './invite_service_pb';
21
export * from './invite_service_connect';
2+
export * from './invite_service_pb';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './messaging_service_connect';
21
export * from './messaging_service_pb';
2+
export * from './messaging_service_connect';
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './transaction_service_pb';
21
export * from './transaction_service_connect';
2+
export * from './transaction_service_pb';

generated/protobuf-es/user/v1/identity_service_pb.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialM
77
import { Message, proto3 } from "@bufbuild/protobuf";
88
import { DataContainerId, IntentId, Locale, PhoneNumber, Signature, SolanaAccountId, UserId } from "../../common/v1/model_pb";
99
import { PhoneLinkingToken } from "../../phone/v1/phone_verification_service_pb";
10-
import { AirdropType, ExchangeData } from "../../transaction/v2/transaction_service_pb";
10+
import { AirdropType, ExchangeDataWithoutRate } from "../../transaction/v2/transaction_service_pb";
1111

1212
/**
1313
* @generated from message code.user.v1.LinkAccountRequest
@@ -1240,9 +1240,9 @@ export class TwitterUser extends Message<TwitterUser> {
12401240
* This should not be cached for an extended period, as exchange rate / value
12411241
* may change at any time.
12421242
*
1243-
* @generated from field: code.transaction.v2.ExchangeData friendship_cost = 7;
1243+
* @generated from field: code.transaction.v2.ExchangeDataWithoutRate friendship_cost = 7;
12441244
*/
1245-
friendshipCost?: ExchangeData;
1245+
friendshipCost?: ExchangeDataWithoutRate;
12461246

12471247
/**
12481248
* Indicates the user is a friend of the caller.
@@ -1265,7 +1265,7 @@ export class TwitterUser extends Message<TwitterUser> {
12651265
{ no: 4, name: "profile_pic_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
12661266
{ no: 5, name: "verified_type", kind: "enum", T: proto3.getEnumType(TwitterUser_VerifiedType) },
12671267
{ no: 6, name: "follower_count", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1268-
{ no: 7, name: "friendship_cost", kind: "message", T: ExchangeData },
1268+
{ no: 7, name: "friendship_cost", kind: "message", T: ExchangeDataWithoutRate },
12691269
{ no: 10, name: "is_friend", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
12701270
]);
12711271

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
export * from './identity_service_pb';
21
export * from './identity_service_connect';
2+
export * from './identity_service_pb';

proto/user/v1/identity_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ message TwitterUser {
378378
//
379379
// This should not be cached for an extended period, as exchange rate / value
380380
// may change at any time.
381-
transaction.v2.ExchangeData friendship_cost = 7;
381+
transaction.v2.ExchangeDataWithoutRate friendship_cost = 7;
382382

383383
// ===========================================================
384384
// The rest of the fields require authentication to be present.

0 commit comments

Comments
 (0)