Skip to content

Commit

Permalink
snake case
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Dec 7, 2023
1 parent 92d9060 commit ccd3b92
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions packages/bsky/proto/bsky.proto
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,12 @@ message GetRelationshipsRequest {
message Relationships {
bool muted = 1;
string muted_by_list = 2;
string blockedBy = 3;
string blocked_by = 3;
string blocking = 4;
string blockedByList = 5;
string blockingByList = 6;
string blocked_by_list = 5;
string blocking_by_list = 6;
string following = 7;
string followedBy = 8;
string followed_by = 8;
}

message GetRelationshipsResponse {
Expand Down
16 changes: 8 additions & 8 deletions packages/bsky/src/data-plane/gen/bsky_pb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1455,7 +1455,7 @@ export class Relationships extends Message<Relationships> {
mutedByList = "";

/**
* @generated from field: string blockedBy = 3;
* @generated from field: string blocked_by = 3;
*/
blockedBy = "";

Expand All @@ -1465,12 +1465,12 @@ export class Relationships extends Message<Relationships> {
blocking = "";

/**
* @generated from field: string blockedByList = 5;
* @generated from field: string blocked_by_list = 5;
*/
blockedByList = "";

/**
* @generated from field: string blockingByList = 6;
* @generated from field: string blocking_by_list = 6;
*/
blockingByList = "";

Expand All @@ -1480,7 +1480,7 @@ export class Relationships extends Message<Relationships> {
following = "";

/**
* @generated from field: string followedBy = 8;
* @generated from field: string followed_by = 8;
*/
followedBy = "";

Expand All @@ -1494,12 +1494,12 @@ export class Relationships extends Message<Relationships> {
static readonly fields: FieldList = proto3.util.newFieldList(() => [
{ no: 1, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
{ no: 2, name: "muted_by_list", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "blockedBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 3, name: "blocked_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 4, name: "blocking", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "blockedByList", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "blockingByList", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 5, name: "blocked_by_list", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 6, name: "blocking_by_list", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 7, name: "following", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "followedBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
{ no: 8, name: "followed_by", kind: "scalar", T: 9 /* ScalarType.STRING */ },
]);

static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Relationships {
Expand Down

0 comments on commit ccd3b92

Please sign in to comment.