Skip to content

Commit

Permalink
Fix bsync proto casing
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelbsky committed Dec 20, 2024
1 parent 7229325 commit 9628860
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions packages/bsync/proto/bsync.proto
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ message ScanNotifOperationsResponse {

message Subscription {
string status = 1;
string renewalStatus = 2;
string renewal_status = 2;
string group = 3;
string platform = 4;
string offering = 5;
google.protobuf.Timestamp periodEndsAt = 6;
google.protobuf.Timestamp periodStartsAt = 7;
google.protobuf.Timestamp purchasedAt = 8;
google.protobuf.Timestamp period_ends_at = 6;
google.protobuf.Timestamp period_starts_at = 7;
google.protobuf.Timestamp purchased_at = 8;
}

message GetSubscriptionsRequest {
Expand Down
16 changes: 8 additions & 8 deletions packages/bsync/src/proto/bsync_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@ export class Subscription extends Message<Subscription> {
status = ''

/**
* @generated from field: string renewalStatus = 2;
* @generated from field: string renewal_status = 2;
*/
renewalStatus = ''

Expand All @@ -719,17 +719,17 @@ export class Subscription extends Message<Subscription> {
offering = ''

/**
* @generated from field: google.protobuf.Timestamp periodEndsAt = 6;
* @generated from field: google.protobuf.Timestamp period_ends_at = 6;
*/
periodEndsAt?: Timestamp

/**
* @generated from field: google.protobuf.Timestamp periodStartsAt = 7;
* @generated from field: google.protobuf.Timestamp period_starts_at = 7;
*/
periodStartsAt?: Timestamp

/**
* @generated from field: google.protobuf.Timestamp purchasedAt = 8;
* @generated from field: google.protobuf.Timestamp purchased_at = 8;
*/
purchasedAt?: Timestamp

Expand All @@ -744,16 +744,16 @@ export class Subscription extends Message<Subscription> {
{ no: 1, name: 'status', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{
no: 2,
name: 'renewalStatus',
name: 'renewal_status',
kind: 'scalar',
T: 9 /* ScalarType.STRING */,
},
{ no: 3, name: 'group', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 4, name: 'platform', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 5, name: 'offering', kind: 'scalar', T: 9 /* ScalarType.STRING */ },
{ no: 6, name: 'periodEndsAt', kind: 'message', T: Timestamp },
{ no: 7, name: 'periodStartsAt', kind: 'message', T: Timestamp },
{ no: 8, name: 'purchasedAt', kind: 'message', T: Timestamp },
{ no: 6, name: 'period_ends_at', kind: 'message', T: Timestamp },
{ no: 7, name: 'period_starts_at', kind: 'message', T: Timestamp },
{ no: 8, name: 'purchased_at', kind: 'message', T: Timestamp },
])

static fromBinary(
Expand Down

0 comments on commit 9628860

Please sign in to comment.