From 5982e112fcd5de7a3d15dd3143fa51302e49bea7 Mon Sep 17 00:00:00 2001 From: Michael-Andrew Keays Date: Sun, 15 Dec 2024 16:08:23 -0500 Subject: [PATCH] codegen: Add poll answer stats to feed agg --- packages/bsky/src/proto/bsky_connect.ts | 392 +- packages/bsky/src/proto/bsky_pb.ts | 11488 ++++++------------- packages/bsky/src/proto/bsync_connect.ts | 32 +- packages/bsky/src/proto/bsync_pb.ts | 792 +- packages/bsky/src/proto/courier_connect.ts | 24 +- packages/bsky/src/proto/courier_pb.ts | 447 +- 6 files changed, 4214 insertions(+), 8961 deletions(-) diff --git a/packages/bsky/src/proto/bsky_connect.ts b/packages/bsky/src/proto/bsky_connect.ts index f26731731f1..737b115dabf 100644 --- a/packages/bsky/src/proto/bsky_connect.ts +++ b/packages/bsky/src/proto/bsky_connect.ts @@ -3,199 +3,8 @@ /* eslint-disable */ // @ts-nocheck -import { - ClearActorMutelistSubscriptionsRequest, - ClearActorMutelistSubscriptionsResponse, - ClearActorMutesRequest, - ClearActorMutesResponse, - ClearThreadMutesRequest, - ClearThreadMutesResponse, - CreateActorMutelistSubscriptionRequest, - CreateActorMutelistSubscriptionResponse, - CreateActorMuteRequest, - CreateActorMuteResponse, - CreateThreadMuteRequest, - CreateThreadMuteResponse, - DeleteActorMutelistSubscriptionRequest, - DeleteActorMutelistSubscriptionResponse, - DeleteActorMuteRequest, - DeleteActorMuteResponse, - DeleteThreadMuteRequest, - DeleteThreadMuteResponse, - GetActorChatDeclarationRecordsRequest, - GetActorChatDeclarationRecordsResponse, - GetActorFeedsRequest, - GetActorFeedsResponse, - GetActorFollowsActorsRequest, - GetActorFollowsActorsResponse, - GetActorLikesRequest, - GetActorLikesResponse, - GetActorListsRequest, - GetActorListsResponse, - GetActorMutesActorRequest, - GetActorMutesActorResponse, - GetActorMutesActorViaListRequest, - GetActorMutesActorViaListResponse, - GetActorRepostsRequest, - GetActorRepostsResponse, - GetActorsRequest, - GetActorsResponse, - GetActorStarterPacksRequest, - GetActorStarterPacksResponse, - GetActorTakedownRequest, - GetActorTakedownResponse, - GetAllLabelersRequest, - GetAllLabelersResponse, - GetAuthorFeedRequest, - GetAuthorFeedResponse, - GetBidirectionalBlockRequest, - GetBidirectionalBlockResponse, - GetBidirectionalBlockViaListRequest, - GetBidirectionalBlockViaListResponse, - GetBlobTakedownRequest, - GetBlobTakedownResponse, - GetBlockExistenceRequest, - GetBlockExistenceResponse, - GetBlocklistSubscriptionRequest, - GetBlocklistSubscriptionResponse, - GetBlocklistSubscriptionsRequest, - GetBlocklistSubscriptionsResponse, - GetBlockRecordsRequest, - GetBlockRecordsResponse, - GetBlocksRequest, - GetBlocksResponse, - GetCountsForUsersRequest, - GetCountsForUsersResponse, - GetDidsByHandlesRequest, - GetDidsByHandlesResponse, - GetFeedGeneratorRecordsRequest, - GetFeedGeneratorRecordsResponse, - GetFeedGeneratorStatusRequest, - GetFeedGeneratorStatusResponse, - GetFollowersRequest, - GetFollowersResponse, - GetFollowRecordsRequest, - GetFollowRecordsResponse, - GetFollowsFollowingRequest, - GetFollowsFollowingResponse, - GetFollowsRequest, - GetFollowsResponse, - GetFollowSuggestionsRequest, - GetFollowSuggestionsResponse, - GetIdentityByDidRequest, - GetIdentityByDidResponse, - GetIdentityByHandleRequest, - GetIdentityByHandleResponse, - GetInteractionCountsRequest, - GetInteractionCountsResponse, - GetLabelerRecordsRequest, - GetLabelerRecordsResponse, - GetLabelsRequest, - GetLabelsResponse, - GetLatestRevRequest, - GetLatestRevResponse, - GetLikeRecordsRequest, - GetLikeRecordsResponse, - GetLikesByActorAndSubjectsRequest, - GetLikesByActorAndSubjectsResponse, - GetLikesBySubjectRequest, - GetLikesBySubjectResponse, - GetLikesBySubjectSortedRequest, - GetLikesBySubjectSortedResponse, - GetListBlockRecordsRequest, - GetListBlockRecordsResponse, - GetListCountRequest, - GetListCountResponse, - GetListCountsRequest, - GetListCountsResponse, - GetListFeedRequest, - GetListFeedResponse, - GetListItemRecordsRequest, - GetListItemRecordsResponse, - GetListMembershipRequest, - GetListMembershipResponse, - GetListMembersRequest, - GetListMembersResponse, - GetListRecordsRequest, - GetListRecordsResponse, - GetMutelistSubscriptionRequest, - GetMutelistSubscriptionResponse, - GetMutelistSubscriptionsRequest, - GetMutelistSubscriptionsResponse, - GetMutesRequest, - GetMutesResponse, - GetNewUserCountForRangeRequest, - GetNewUserCountForRangeResponse, - GetNotificationSeenRequest, - GetNotificationSeenResponse, - GetNotificationsRequest, - GetNotificationsResponse, - GetPostgateRecordsRequest, - GetPostgateRecordsResponse, - GetPostRecordsRequest, - GetPostRecordsResponse, - GetPostReplyCountsRequest, - GetPostReplyCountsResponse, - GetProfileRecordsRequest, - GetProfileRecordsResponse, - GetQuotesBySubjectSortedRequest, - GetQuotesBySubjectSortedResponse, - GetRecordTakedownRequest, - GetRecordTakedownResponse, - GetRelationshipsRequest, - GetRelationshipsResponse, - GetRepostRecordsRequest, - GetRepostRecordsResponse, - GetRepostsByActorAndSubjectsRequest, - GetRepostsByActorAndSubjectsResponse, - GetRepostsBySubjectRequest, - GetRepostsBySubjectResponse, - GetStarterPackCountsRequest, - GetStarterPackCountsResponse, - GetStarterPackRecordsRequest, - GetStarterPackRecordsResponse, - GetSuggestedEntitiesRequest, - GetSuggestedEntitiesResponse, - GetSuggestedFeedsRequest, - GetSuggestedFeedsResponse, - GetThreadGateRecordsRequest, - GetThreadGateRecordsResponse, - GetThreadMutesOnSubjectsRequest, - GetThreadMutesOnSubjectsResponse, - GetThreadRequest, - GetThreadResponse, - GetTimelineRequest, - GetTimelineResponse, - GetUnreadNotificationCountRequest, - GetUnreadNotificationCountResponse, - PingRequest, - PingResponse, - SearchActorsRequest, - SearchActorsResponse, - SearchFeedGeneratorsRequest, - SearchFeedGeneratorsResponse, - SearchPostsRequest, - SearchPostsResponse, - SearchStarterPacksRequest, - SearchStarterPacksResponse, - TakedownActorRequest, - TakedownActorResponse, - TakedownBlobRequest, - TakedownBlobResponse, - TakedownRecordRequest, - TakedownRecordResponse, - UntakedownActorRequest, - UntakedownActorResponse, - UntakedownBlobRequest, - UntakedownBlobResponse, - UntakedownRecordRequest, - UntakedownRecordResponse, - UpdateActorUpstreamStatusRequest, - UpdateActorUpstreamStatusResponse, - UpdateNotificationSeenRequest, - UpdateNotificationSeenResponse, -} from './bsky_pb' -import { MethodKind } from '@bufbuild/protobuf' +import { ClearActorMutelistSubscriptionsRequest, ClearActorMutelistSubscriptionsResponse, ClearActorMutesRequest, ClearActorMutesResponse, ClearThreadMutesRequest, ClearThreadMutesResponse, CreateActorMutelistSubscriptionRequest, CreateActorMutelistSubscriptionResponse, CreateActorMuteRequest, CreateActorMuteResponse, CreateThreadMuteRequest, CreateThreadMuteResponse, DeleteActorMutelistSubscriptionRequest, DeleteActorMutelistSubscriptionResponse, DeleteActorMuteRequest, DeleteActorMuteResponse, DeleteThreadMuteRequest, DeleteThreadMuteResponse, GetActorChatDeclarationRecordsRequest, GetActorChatDeclarationRecordsResponse, GetActorFeedsRequest, GetActorFeedsResponse, GetActorFollowsActorsRequest, GetActorFollowsActorsResponse, GetActorLikesRequest, GetActorLikesResponse, GetActorListsRequest, GetActorListsResponse, GetActorMutesActorRequest, GetActorMutesActorResponse, GetActorMutesActorViaListRequest, GetActorMutesActorViaListResponse, GetActorRepostsRequest, GetActorRepostsResponse, GetActorsRequest, GetActorsResponse, GetActorStarterPacksRequest, GetActorStarterPacksResponse, GetActorTakedownRequest, GetActorTakedownResponse, GetAllLabelersRequest, GetAllLabelersResponse, GetAuthorFeedRequest, GetAuthorFeedResponse, GetBidirectionalBlockRequest, GetBidirectionalBlockResponse, GetBidirectionalBlockViaListRequest, GetBidirectionalBlockViaListResponse, GetBlobTakedownRequest, GetBlobTakedownResponse, GetBlockExistenceRequest, GetBlockExistenceResponse, GetBlocklistSubscriptionRequest, GetBlocklistSubscriptionResponse, GetBlocklistSubscriptionsRequest, GetBlocklistSubscriptionsResponse, GetBlockRecordsRequest, GetBlockRecordsResponse, GetBlocksRequest, GetBlocksResponse, GetCountsForUsersRequest, GetCountsForUsersResponse, GetDidsByHandlesRequest, GetDidsByHandlesResponse, GetFeedGeneratorRecordsRequest, GetFeedGeneratorRecordsResponse, GetFeedGeneratorStatusRequest, GetFeedGeneratorStatusResponse, GetFollowersRequest, GetFollowersResponse, GetFollowRecordsRequest, GetFollowRecordsResponse, GetFollowsFollowingRequest, GetFollowsFollowingResponse, GetFollowsRequest, GetFollowsResponse, GetFollowSuggestionsRequest, GetFollowSuggestionsResponse, GetIdentityByDidRequest, GetIdentityByDidResponse, GetIdentityByHandleRequest, GetIdentityByHandleResponse, GetInteractionCountsRequest, GetInteractionCountsResponse, GetLabelerRecordsRequest, GetLabelerRecordsResponse, GetLabelsRequest, GetLabelsResponse, GetLatestRevRequest, GetLatestRevResponse, GetLikeRecordsRequest, GetLikeRecordsResponse, GetLikesByActorAndSubjectsRequest, GetLikesByActorAndSubjectsResponse, GetLikesBySubjectRequest, GetLikesBySubjectResponse, GetLikesBySubjectSortedRequest, GetLikesBySubjectSortedResponse, GetListBlockRecordsRequest, GetListBlockRecordsResponse, GetListCountRequest, GetListCountResponse, GetListCountsRequest, GetListCountsResponse, GetListFeedRequest, GetListFeedResponse, GetListItemRecordsRequest, GetListItemRecordsResponse, GetListMembershipRequest, GetListMembershipResponse, GetListMembersRequest, GetListMembersResponse, GetListRecordsRequest, GetListRecordsResponse, GetMutelistSubscriptionRequest, GetMutelistSubscriptionResponse, GetMutelistSubscriptionsRequest, GetMutelistSubscriptionsResponse, GetMutesRequest, GetMutesResponse, GetNewUserCountForRangeRequest, GetNewUserCountForRangeResponse, GetNotificationSeenRequest, GetNotificationSeenResponse, GetNotificationsRequest, GetNotificationsResponse, GetPostgateRecordsRequest, GetPostgateRecordsResponse, GetPostRecordsRequest, GetPostRecordsResponse, GetPostReplyCountsRequest, GetPostReplyCountsResponse, GetProfileRecordsRequest, GetProfileRecordsResponse, GetQuotesBySubjectSortedRequest, GetQuotesBySubjectSortedResponse, GetRecordTakedownRequest, GetRecordTakedownResponse, GetRelationshipsRequest, GetRelationshipsResponse, GetRepostRecordsRequest, GetRepostRecordsResponse, GetRepostsByActorAndSubjectsRequest, GetRepostsByActorAndSubjectsResponse, GetRepostsBySubjectRequest, GetRepostsBySubjectResponse, GetStarterPackCountsRequest, GetStarterPackCountsResponse, GetStarterPackRecordsRequest, GetStarterPackRecordsResponse, GetSuggestedEntitiesRequest, GetSuggestedEntitiesResponse, GetSuggestedFeedsRequest, GetSuggestedFeedsResponse, GetThreadGateRecordsRequest, GetThreadGateRecordsResponse, GetThreadMutesOnSubjectsRequest, GetThreadMutesOnSubjectsResponse, GetThreadRequest, GetThreadResponse, GetTimelineRequest, GetTimelineResponse, GetUnreadNotificationCountRequest, GetUnreadNotificationCountResponse, PingRequest, PingResponse, SearchActorsRequest, SearchActorsResponse, SearchFeedGeneratorsRequest, SearchFeedGeneratorsResponse, SearchPostsRequest, SearchPostsResponse, SearchStarterPacksRequest, SearchStarterPacksResponse, TakedownActorRequest, TakedownActorResponse, TakedownBlobRequest, TakedownBlobResponse, TakedownRecordRequest, TakedownRecordResponse, UntakedownActorRequest, UntakedownActorResponse, UntakedownBlobRequest, UntakedownBlobResponse, UntakedownRecordRequest, UntakedownRecordResponse, UpdateActorUpstreamStatusRequest, UpdateActorUpstreamStatusResponse, UpdateNotificationSeenRequest, UpdateNotificationSeenResponse } from "./bsky_pb"; +import { MethodKind } from "@bufbuild/protobuf"; /** * @@ -205,7 +14,7 @@ import { MethodKind } from '@bufbuild/protobuf' * @generated from service bsky.Service */ export const Service = { - typeName: 'bsky.Service', + typeName: "bsky.Service", methods: { /** * Records @@ -213,7 +22,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlockRecords */ getBlockRecords: { - name: 'GetBlockRecords', + name: "GetBlockRecords", I: GetBlockRecordsRequest, O: GetBlockRecordsResponse, kind: MethodKind.Unary, @@ -222,7 +31,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFeedGeneratorRecords */ getFeedGeneratorRecords: { - name: 'GetFeedGeneratorRecords', + name: "GetFeedGeneratorRecords", I: GetFeedGeneratorRecordsRequest, O: GetFeedGeneratorRecordsResponse, kind: MethodKind.Unary, @@ -231,7 +40,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFollowRecords */ getFollowRecords: { - name: 'GetFollowRecords', + name: "GetFollowRecords", I: GetFollowRecordsRequest, O: GetFollowRecordsResponse, kind: MethodKind.Unary, @@ -240,7 +49,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLikeRecords */ getLikeRecords: { - name: 'GetLikeRecords', + name: "GetLikeRecords", I: GetLikeRecordsRequest, O: GetLikeRecordsResponse, kind: MethodKind.Unary, @@ -249,7 +58,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListBlockRecords */ getListBlockRecords: { - name: 'GetListBlockRecords', + name: "GetListBlockRecords", I: GetListBlockRecordsRequest, O: GetListBlockRecordsResponse, kind: MethodKind.Unary, @@ -258,7 +67,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListItemRecords */ getListItemRecords: { - name: 'GetListItemRecords', + name: "GetListItemRecords", I: GetListItemRecordsRequest, O: GetListItemRecordsResponse, kind: MethodKind.Unary, @@ -267,7 +76,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListRecords */ getListRecords: { - name: 'GetListRecords', + name: "GetListRecords", I: GetListRecordsRequest, O: GetListRecordsResponse, kind: MethodKind.Unary, @@ -276,7 +85,7 @@ export const Service = { * @generated from rpc bsky.Service.GetPostRecords */ getPostRecords: { - name: 'GetPostRecords', + name: "GetPostRecords", I: GetPostRecordsRequest, O: GetPostRecordsResponse, kind: MethodKind.Unary, @@ -285,7 +94,7 @@ export const Service = { * @generated from rpc bsky.Service.GetProfileRecords */ getProfileRecords: { - name: 'GetProfileRecords', + name: "GetProfileRecords", I: GetProfileRecordsRequest, O: GetProfileRecordsResponse, kind: MethodKind.Unary, @@ -294,7 +103,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorChatDeclarationRecords */ getActorChatDeclarationRecords: { - name: 'GetActorChatDeclarationRecords', + name: "GetActorChatDeclarationRecords", I: GetActorChatDeclarationRecordsRequest, O: GetActorChatDeclarationRecordsResponse, kind: MethodKind.Unary, @@ -303,7 +112,7 @@ export const Service = { * @generated from rpc bsky.Service.GetRepostRecords */ getRepostRecords: { - name: 'GetRepostRecords', + name: "GetRepostRecords", I: GetRepostRecordsRequest, O: GetRepostRecordsResponse, kind: MethodKind.Unary, @@ -312,7 +121,7 @@ export const Service = { * @generated from rpc bsky.Service.GetThreadGateRecords */ getThreadGateRecords: { - name: 'GetThreadGateRecords', + name: "GetThreadGateRecords", I: GetThreadGateRecordsRequest, O: GetThreadGateRecordsResponse, kind: MethodKind.Unary, @@ -321,7 +130,7 @@ export const Service = { * @generated from rpc bsky.Service.GetPostgateRecords */ getPostgateRecords: { - name: 'GetPostgateRecords', + name: "GetPostgateRecords", I: GetPostgateRecordsRequest, O: GetPostgateRecordsResponse, kind: MethodKind.Unary, @@ -330,7 +139,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLabelerRecords */ getLabelerRecords: { - name: 'GetLabelerRecords', + name: "GetLabelerRecords", I: GetLabelerRecordsRequest, O: GetLabelerRecordsResponse, kind: MethodKind.Unary, @@ -339,7 +148,7 @@ export const Service = { * @generated from rpc bsky.Service.GetStarterPackRecords */ getStarterPackRecords: { - name: 'GetStarterPackRecords', + name: "GetStarterPackRecords", I: GetStarterPackRecordsRequest, O: GetStarterPackRecordsResponse, kind: MethodKind.Unary, @@ -350,7 +159,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorFollowsActors */ getActorFollowsActors: { - name: 'GetActorFollowsActors', + name: "GetActorFollowsActors", I: GetActorFollowsActorsRequest, O: GetActorFollowsActorsResponse, kind: MethodKind.Unary, @@ -359,7 +168,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFollowers */ getFollowers: { - name: 'GetFollowers', + name: "GetFollowers", I: GetFollowersRequest, O: GetFollowersResponse, kind: MethodKind.Unary, @@ -368,7 +177,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFollows */ getFollows: { - name: 'GetFollows', + name: "GetFollows", I: GetFollowsRequest, O: GetFollowsResponse, kind: MethodKind.Unary, @@ -379,7 +188,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLikesBySubject */ getLikesBySubject: { - name: 'GetLikesBySubject', + name: "GetLikesBySubject", I: GetLikesBySubjectRequest, O: GetLikesBySubjectResponse, kind: MethodKind.Unary, @@ -388,7 +197,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLikesBySubjectSorted */ getLikesBySubjectSorted: { - name: 'GetLikesBySubjectSorted', + name: "GetLikesBySubjectSorted", I: GetLikesBySubjectSortedRequest, O: GetLikesBySubjectSortedResponse, kind: MethodKind.Unary, @@ -397,7 +206,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLikesByActorAndSubjects */ getLikesByActorAndSubjects: { - name: 'GetLikesByActorAndSubjects', + name: "GetLikesByActorAndSubjects", I: GetLikesByActorAndSubjectsRequest, O: GetLikesByActorAndSubjectsResponse, kind: MethodKind.Unary, @@ -406,7 +215,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorLikes */ getActorLikes: { - name: 'GetActorLikes', + name: "GetActorLikes", I: GetActorLikesRequest, O: GetActorLikesResponse, kind: MethodKind.Unary, @@ -417,7 +226,7 @@ export const Service = { * @generated from rpc bsky.Service.GetRepostsBySubject */ getRepostsBySubject: { - name: 'GetRepostsBySubject', + name: "GetRepostsBySubject", I: GetRepostsBySubjectRequest, O: GetRepostsBySubjectResponse, kind: MethodKind.Unary, @@ -426,7 +235,7 @@ export const Service = { * @generated from rpc bsky.Service.GetRepostsByActorAndSubjects */ getRepostsByActorAndSubjects: { - name: 'GetRepostsByActorAndSubjects', + name: "GetRepostsByActorAndSubjects", I: GetRepostsByActorAndSubjectsRequest, O: GetRepostsByActorAndSubjectsResponse, kind: MethodKind.Unary, @@ -435,7 +244,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorReposts */ getActorReposts: { - name: 'GetActorReposts', + name: "GetActorReposts", I: GetActorRepostsRequest, O: GetActorRepostsResponse, kind: MethodKind.Unary, @@ -446,7 +255,7 @@ export const Service = { * @generated from rpc bsky.Service.GetQuotesBySubjectSorted */ getQuotesBySubjectSorted: { - name: 'GetQuotesBySubjectSorted', + name: "GetQuotesBySubjectSorted", I: GetQuotesBySubjectSortedRequest, O: GetQuotesBySubjectSortedResponse, kind: MethodKind.Unary, @@ -457,7 +266,7 @@ export const Service = { * @generated from rpc bsky.Service.GetInteractionCounts */ getInteractionCounts: { - name: 'GetInteractionCounts', + name: "GetInteractionCounts", I: GetInteractionCountsRequest, O: GetInteractionCountsResponse, kind: MethodKind.Unary, @@ -466,7 +275,7 @@ export const Service = { * @generated from rpc bsky.Service.GetCountsForUsers */ getCountsForUsers: { - name: 'GetCountsForUsers', + name: "GetCountsForUsers", I: GetCountsForUsersRequest, O: GetCountsForUsersResponse, kind: MethodKind.Unary, @@ -475,7 +284,7 @@ export const Service = { * @generated from rpc bsky.Service.GetStarterPackCounts */ getStarterPackCounts: { - name: 'GetStarterPackCounts', + name: "GetStarterPackCounts", I: GetStarterPackCountsRequest, O: GetStarterPackCountsResponse, kind: MethodKind.Unary, @@ -484,7 +293,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListCounts */ getListCounts: { - name: 'GetListCounts', + name: "GetListCounts", I: GetListCountsRequest, O: GetListCountsResponse, kind: MethodKind.Unary, @@ -493,7 +302,7 @@ export const Service = { * @generated from rpc bsky.Service.GetNewUserCountForRange */ getNewUserCountForRange: { - name: 'GetNewUserCountForRange', + name: "GetNewUserCountForRange", I: GetNewUserCountForRangeRequest, O: GetNewUserCountForRangeResponse, kind: MethodKind.Unary, @@ -504,7 +313,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActors */ getActors: { - name: 'GetActors', + name: "GetActors", I: GetActorsRequest, O: GetActorsResponse, kind: MethodKind.Unary, @@ -513,7 +322,7 @@ export const Service = { * @generated from rpc bsky.Service.GetDidsByHandles */ getDidsByHandles: { - name: 'GetDidsByHandles', + name: "GetDidsByHandles", I: GetDidsByHandlesRequest, O: GetDidsByHandlesResponse, kind: MethodKind.Unary, @@ -524,7 +333,7 @@ export const Service = { * @generated from rpc bsky.Service.GetRelationships */ getRelationships: { - name: 'GetRelationships', + name: "GetRelationships", I: GetRelationshipsRequest, O: GetRelationshipsResponse, kind: MethodKind.Unary, @@ -533,7 +342,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlockExistence */ getBlockExistence: { - name: 'GetBlockExistence', + name: "GetBlockExistence", I: GetBlockExistenceRequest, O: GetBlockExistenceResponse, kind: MethodKind.Unary, @@ -544,7 +353,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorLists */ getActorLists: { - name: 'GetActorLists', + name: "GetActorLists", I: GetActorListsRequest, O: GetActorListsResponse, kind: MethodKind.Unary, @@ -553,7 +362,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListMembers */ getListMembers: { - name: 'GetListMembers', + name: "GetListMembers", I: GetListMembersRequest, O: GetListMembersResponse, kind: MethodKind.Unary, @@ -562,7 +371,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListMembership */ getListMembership: { - name: 'GetListMembership', + name: "GetListMembership", I: GetListMembershipRequest, O: GetListMembershipResponse, kind: MethodKind.Unary, @@ -571,7 +380,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListCount */ getListCount: { - name: 'GetListCount', + name: "GetListCount", I: GetListCountRequest, O: GetListCountResponse, kind: MethodKind.Unary, @@ -582,7 +391,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorMutesActor */ getActorMutesActor: { - name: 'GetActorMutesActor', + name: "GetActorMutesActor", I: GetActorMutesActorRequest, O: GetActorMutesActorResponse, kind: MethodKind.Unary, @@ -591,7 +400,7 @@ export const Service = { * @generated from rpc bsky.Service.GetMutes */ getMutes: { - name: 'GetMutes', + name: "GetMutes", I: GetMutesRequest, O: GetMutesResponse, kind: MethodKind.Unary, @@ -602,7 +411,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorMutesActorViaList */ getActorMutesActorViaList: { - name: 'GetActorMutesActorViaList', + name: "GetActorMutesActorViaList", I: GetActorMutesActorViaListRequest, O: GetActorMutesActorViaListResponse, kind: MethodKind.Unary, @@ -611,7 +420,7 @@ export const Service = { * @generated from rpc bsky.Service.GetMutelistSubscription */ getMutelistSubscription: { - name: 'GetMutelistSubscription', + name: "GetMutelistSubscription", I: GetMutelistSubscriptionRequest, O: GetMutelistSubscriptionResponse, kind: MethodKind.Unary, @@ -620,7 +429,7 @@ export const Service = { * @generated from rpc bsky.Service.GetMutelistSubscriptions */ getMutelistSubscriptions: { - name: 'GetMutelistSubscriptions', + name: "GetMutelistSubscriptions", I: GetMutelistSubscriptionsRequest, O: GetMutelistSubscriptionsResponse, kind: MethodKind.Unary, @@ -631,7 +440,7 @@ export const Service = { * @generated from rpc bsky.Service.GetThreadMutesOnSubjects */ getThreadMutesOnSubjects: { - name: 'GetThreadMutesOnSubjects', + name: "GetThreadMutesOnSubjects", I: GetThreadMutesOnSubjectsRequest, O: GetThreadMutesOnSubjectsResponse, kind: MethodKind.Unary, @@ -642,7 +451,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBidirectionalBlock */ getBidirectionalBlock: { - name: 'GetBidirectionalBlock', + name: "GetBidirectionalBlock", I: GetBidirectionalBlockRequest, O: GetBidirectionalBlockResponse, kind: MethodKind.Unary, @@ -651,7 +460,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlocks */ getBlocks: { - name: 'GetBlocks', + name: "GetBlocks", I: GetBlocksRequest, O: GetBlocksResponse, kind: MethodKind.Unary, @@ -662,7 +471,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBidirectionalBlockViaList */ getBidirectionalBlockViaList: { - name: 'GetBidirectionalBlockViaList', + name: "GetBidirectionalBlockViaList", I: GetBidirectionalBlockViaListRequest, O: GetBidirectionalBlockViaListResponse, kind: MethodKind.Unary, @@ -671,7 +480,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlocklistSubscription */ getBlocklistSubscription: { - name: 'GetBlocklistSubscription', + name: "GetBlocklistSubscription", I: GetBlocklistSubscriptionRequest, O: GetBlocklistSubscriptionResponse, kind: MethodKind.Unary, @@ -680,7 +489,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlocklistSubscriptions */ getBlocklistSubscriptions: { - name: 'GetBlocklistSubscriptions', + name: "GetBlocklistSubscriptions", I: GetBlocklistSubscriptionsRequest, O: GetBlocklistSubscriptionsResponse, kind: MethodKind.Unary, @@ -691,7 +500,7 @@ export const Service = { * @generated from rpc bsky.Service.GetNotifications */ getNotifications: { - name: 'GetNotifications', + name: "GetNotifications", I: GetNotificationsRequest, O: GetNotificationsResponse, kind: MethodKind.Unary, @@ -700,7 +509,7 @@ export const Service = { * @generated from rpc bsky.Service.GetNotificationSeen */ getNotificationSeen: { - name: 'GetNotificationSeen', + name: "GetNotificationSeen", I: GetNotificationSeenRequest, O: GetNotificationSeenResponse, kind: MethodKind.Unary, @@ -709,7 +518,7 @@ export const Service = { * @generated from rpc bsky.Service.GetUnreadNotificationCount */ getUnreadNotificationCount: { - name: 'GetUnreadNotificationCount', + name: "GetUnreadNotificationCount", I: GetUnreadNotificationCountRequest, O: GetUnreadNotificationCountResponse, kind: MethodKind.Unary, @@ -718,7 +527,7 @@ export const Service = { * @generated from rpc bsky.Service.UpdateNotificationSeen */ updateNotificationSeen: { - name: 'UpdateNotificationSeen', + name: "UpdateNotificationSeen", I: UpdateNotificationSeenRequest, O: UpdateNotificationSeenResponse, kind: MethodKind.Unary, @@ -729,7 +538,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorFeeds */ getActorFeeds: { - name: 'GetActorFeeds', + name: "GetActorFeeds", I: GetActorFeedsRequest, O: GetActorFeedsResponse, kind: MethodKind.Unary, @@ -738,7 +547,7 @@ export const Service = { * @generated from rpc bsky.Service.GetSuggestedFeeds */ getSuggestedFeeds: { - name: 'GetSuggestedFeeds', + name: "GetSuggestedFeeds", I: GetSuggestedFeedsRequest, O: GetSuggestedFeedsResponse, kind: MethodKind.Unary, @@ -747,7 +556,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFeedGeneratorStatus */ getFeedGeneratorStatus: { - name: 'GetFeedGeneratorStatus', + name: "GetFeedGeneratorStatus", I: GetFeedGeneratorStatusRequest, O: GetFeedGeneratorStatusResponse, kind: MethodKind.Unary, @@ -756,7 +565,7 @@ export const Service = { * @generated from rpc bsky.Service.SearchFeedGenerators */ searchFeedGenerators: { - name: 'SearchFeedGenerators', + name: "SearchFeedGenerators", I: SearchFeedGeneratorsRequest, O: SearchFeedGeneratorsResponse, kind: MethodKind.Unary, @@ -767,7 +576,7 @@ export const Service = { * @generated from rpc bsky.Service.GetAuthorFeed */ getAuthorFeed: { - name: 'GetAuthorFeed', + name: "GetAuthorFeed", I: GetAuthorFeedRequest, O: GetAuthorFeedResponse, kind: MethodKind.Unary, @@ -776,7 +585,7 @@ export const Service = { * @generated from rpc bsky.Service.GetTimeline */ getTimeline: { - name: 'GetTimeline', + name: "GetTimeline", I: GetTimelineRequest, O: GetTimelineResponse, kind: MethodKind.Unary, @@ -785,7 +594,7 @@ export const Service = { * @generated from rpc bsky.Service.GetListFeed */ getListFeed: { - name: 'GetListFeed', + name: "GetListFeed", I: GetListFeedRequest, O: GetListFeedResponse, kind: MethodKind.Unary, @@ -796,7 +605,7 @@ export const Service = { * @generated from rpc bsky.Service.GetThread */ getThread: { - name: 'GetThread', + name: "GetThread", I: GetThreadRequest, O: GetThreadResponse, kind: MethodKind.Unary, @@ -807,7 +616,7 @@ export const Service = { * @generated from rpc bsky.Service.SearchActors */ searchActors: { - name: 'SearchActors', + name: "SearchActors", I: SearchActorsRequest, O: SearchActorsResponse, kind: MethodKind.Unary, @@ -816,7 +625,7 @@ export const Service = { * @generated from rpc bsky.Service.SearchPosts */ searchPosts: { - name: 'SearchPosts', + name: "SearchPosts", I: SearchPostsRequest, O: SearchPostsResponse, kind: MethodKind.Unary, @@ -825,7 +634,7 @@ export const Service = { * @generated from rpc bsky.Service.SearchStarterPacks */ searchStarterPacks: { - name: 'SearchStarterPacks', + name: "SearchStarterPacks", I: SearchStarterPacksRequest, O: SearchStarterPacksResponse, kind: MethodKind.Unary, @@ -836,7 +645,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFollowSuggestions */ getFollowSuggestions: { - name: 'GetFollowSuggestions', + name: "GetFollowSuggestions", I: GetFollowSuggestionsRequest, O: GetFollowSuggestionsResponse, kind: MethodKind.Unary, @@ -845,7 +654,7 @@ export const Service = { * @generated from rpc bsky.Service.GetSuggestedEntities */ getSuggestedEntities: { - name: 'GetSuggestedEntities', + name: "GetSuggestedEntities", I: GetSuggestedEntitiesRequest, O: GetSuggestedEntitiesResponse, kind: MethodKind.Unary, @@ -856,7 +665,7 @@ export const Service = { * @generated from rpc bsky.Service.GetPostReplyCounts */ getPostReplyCounts: { - name: 'GetPostReplyCounts', + name: "GetPostReplyCounts", I: GetPostReplyCountsRequest, O: GetPostReplyCountsResponse, kind: MethodKind.Unary, @@ -867,7 +676,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLabels */ getLabels: { - name: 'GetLabels', + name: "GetLabels", I: GetLabelsRequest, O: GetLabelsResponse, kind: MethodKind.Unary, @@ -876,7 +685,7 @@ export const Service = { * @generated from rpc bsky.Service.GetAllLabelers */ getAllLabelers: { - name: 'GetAllLabelers', + name: "GetAllLabelers", I: GetAllLabelersRequest, O: GetAllLabelersResponse, kind: MethodKind.Unary, @@ -887,7 +696,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorStarterPacks */ getActorStarterPacks: { - name: 'GetActorStarterPacks', + name: "GetActorStarterPacks", I: GetActorStarterPacksRequest, O: GetActorStarterPacksResponse, kind: MethodKind.Unary, @@ -898,7 +707,7 @@ export const Service = { * @generated from rpc bsky.Service.GetLatestRev */ getLatestRev: { - name: 'GetLatestRev', + name: "GetLatestRev", I: GetLatestRevRequest, O: GetLatestRevResponse, kind: MethodKind.Unary, @@ -909,7 +718,7 @@ export const Service = { * @generated from rpc bsky.Service.GetBlobTakedown */ getBlobTakedown: { - name: 'GetBlobTakedown', + name: "GetBlobTakedown", I: GetBlobTakedownRequest, O: GetBlobTakedownResponse, kind: MethodKind.Unary, @@ -918,7 +727,7 @@ export const Service = { * @generated from rpc bsky.Service.GetRecordTakedown */ getRecordTakedown: { - name: 'GetRecordTakedown', + name: "GetRecordTakedown", I: GetRecordTakedownRequest, O: GetRecordTakedownResponse, kind: MethodKind.Unary, @@ -927,7 +736,7 @@ export const Service = { * @generated from rpc bsky.Service.GetActorTakedown */ getActorTakedown: { - name: 'GetActorTakedown', + name: "GetActorTakedown", I: GetActorTakedownRequest, O: GetActorTakedownResponse, kind: MethodKind.Unary, @@ -938,7 +747,7 @@ export const Service = { * @generated from rpc bsky.Service.GetIdentityByDid */ getIdentityByDid: { - name: 'GetIdentityByDid', + name: "GetIdentityByDid", I: GetIdentityByDidRequest, O: GetIdentityByDidResponse, kind: MethodKind.Unary, @@ -947,7 +756,7 @@ export const Service = { * @generated from rpc bsky.Service.GetIdentityByHandle */ getIdentityByHandle: { - name: 'GetIdentityByHandle', + name: "GetIdentityByHandle", I: GetIdentityByHandleRequest, O: GetIdentityByHandleResponse, kind: MethodKind.Unary, @@ -958,7 +767,7 @@ export const Service = { * @generated from rpc bsky.Service.GetFollowsFollowing */ getFollowsFollowing: { - name: 'GetFollowsFollowing', + name: "GetFollowsFollowing", I: GetFollowsFollowingRequest, O: GetFollowsFollowingResponse, kind: MethodKind.Unary, @@ -969,7 +778,7 @@ export const Service = { * @generated from rpc bsky.Service.Ping */ ping: { - name: 'Ping', + name: "Ping", I: PingRequest, O: PingResponse, kind: MethodKind.Unary, @@ -980,7 +789,7 @@ export const Service = { * @generated from rpc bsky.Service.TakedownBlob */ takedownBlob: { - name: 'TakedownBlob', + name: "TakedownBlob", I: TakedownBlobRequest, O: TakedownBlobResponse, kind: MethodKind.Unary, @@ -989,7 +798,7 @@ export const Service = { * @generated from rpc bsky.Service.TakedownRecord */ takedownRecord: { - name: 'TakedownRecord', + name: "TakedownRecord", I: TakedownRecordRequest, O: TakedownRecordResponse, kind: MethodKind.Unary, @@ -998,7 +807,7 @@ export const Service = { * @generated from rpc bsky.Service.TakedownActor */ takedownActor: { - name: 'TakedownActor', + name: "TakedownActor", I: TakedownActorRequest, O: TakedownActorResponse, kind: MethodKind.Unary, @@ -1007,7 +816,7 @@ export const Service = { * @generated from rpc bsky.Service.UpdateActorUpstreamStatus */ updateActorUpstreamStatus: { - name: 'UpdateActorUpstreamStatus', + name: "UpdateActorUpstreamStatus", I: UpdateActorUpstreamStatusRequest, O: UpdateActorUpstreamStatusResponse, kind: MethodKind.Unary, @@ -1016,7 +825,7 @@ export const Service = { * @generated from rpc bsky.Service.UntakedownBlob */ untakedownBlob: { - name: 'UntakedownBlob', + name: "UntakedownBlob", I: UntakedownBlobRequest, O: UntakedownBlobResponse, kind: MethodKind.Unary, @@ -1025,7 +834,7 @@ export const Service = { * @generated from rpc bsky.Service.UntakedownRecord */ untakedownRecord: { - name: 'UntakedownRecord', + name: "UntakedownRecord", I: UntakedownRecordRequest, O: UntakedownRecordResponse, kind: MethodKind.Unary, @@ -1034,7 +843,7 @@ export const Service = { * @generated from rpc bsky.Service.UntakedownActor */ untakedownActor: { - name: 'UntakedownActor', + name: "UntakedownActor", I: UntakedownActorRequest, O: UntakedownActorResponse, kind: MethodKind.Unary, @@ -1045,7 +854,7 @@ export const Service = { * @generated from rpc bsky.Service.CreateActorMute */ createActorMute: { - name: 'CreateActorMute', + name: "CreateActorMute", I: CreateActorMuteRequest, O: CreateActorMuteResponse, kind: MethodKind.Unary, @@ -1054,7 +863,7 @@ export const Service = { * @generated from rpc bsky.Service.DeleteActorMute */ deleteActorMute: { - name: 'DeleteActorMute', + name: "DeleteActorMute", I: DeleteActorMuteRequest, O: DeleteActorMuteResponse, kind: MethodKind.Unary, @@ -1063,7 +872,7 @@ export const Service = { * @generated from rpc bsky.Service.ClearActorMutes */ clearActorMutes: { - name: 'ClearActorMutes', + name: "ClearActorMutes", I: ClearActorMutesRequest, O: ClearActorMutesResponse, kind: MethodKind.Unary, @@ -1072,7 +881,7 @@ export const Service = { * @generated from rpc bsky.Service.CreateActorMutelistSubscription */ createActorMutelistSubscription: { - name: 'CreateActorMutelistSubscription', + name: "CreateActorMutelistSubscription", I: CreateActorMutelistSubscriptionRequest, O: CreateActorMutelistSubscriptionResponse, kind: MethodKind.Unary, @@ -1081,7 +890,7 @@ export const Service = { * @generated from rpc bsky.Service.DeleteActorMutelistSubscription */ deleteActorMutelistSubscription: { - name: 'DeleteActorMutelistSubscription', + name: "DeleteActorMutelistSubscription", I: DeleteActorMutelistSubscriptionRequest, O: DeleteActorMutelistSubscriptionResponse, kind: MethodKind.Unary, @@ -1090,7 +899,7 @@ export const Service = { * @generated from rpc bsky.Service.ClearActorMutelistSubscriptions */ clearActorMutelistSubscriptions: { - name: 'ClearActorMutelistSubscriptions', + name: "ClearActorMutelistSubscriptions", I: ClearActorMutelistSubscriptionsRequest, O: ClearActorMutelistSubscriptionsResponse, kind: MethodKind.Unary, @@ -1099,7 +908,7 @@ export const Service = { * @generated from rpc bsky.Service.CreateThreadMute */ createThreadMute: { - name: 'CreateThreadMute', + name: "CreateThreadMute", I: CreateThreadMuteRequest, O: CreateThreadMuteResponse, kind: MethodKind.Unary, @@ -1108,7 +917,7 @@ export const Service = { * @generated from rpc bsky.Service.DeleteThreadMute */ deleteThreadMute: { - name: 'DeleteThreadMute', + name: "DeleteThreadMute", I: DeleteThreadMuteRequest, O: DeleteThreadMuteResponse, kind: MethodKind.Unary, @@ -1117,10 +926,11 @@ export const Service = { * @generated from rpc bsky.Service.ClearThreadMutes */ clearThreadMutes: { - name: 'ClearThreadMutes', + name: "ClearThreadMutes", I: ClearThreadMutesRequest, O: ClearThreadMutesResponse, kind: MethodKind.Unary, }, - }, -} as const + } +} as const; + diff --git a/packages/bsky/src/proto/bsky_pb.ts b/packages/bsky/src/proto/bsky_pb.ts index 74f0f04a604..27ffd5d6958 100644 --- a/packages/bsky/src/proto/bsky_pb.ts +++ b/packages/bsky/src/proto/bsky_pb.ts @@ -3,15 +3,8 @@ /* eslint-disable */ // @ts-nocheck -import type { - BinaryReadOptions, - FieldList, - JsonReadOptions, - JsonValue, - PartialMessage, - PlainMessage, -} from '@bufbuild/protobuf' -import { Message, proto3, protoInt64, Timestamp } from '@bufbuild/protobuf' +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, protoInt64, Timestamp } from "@bufbuild/protobuf"; /** * @generated from enum bsky.FeedType @@ -38,12 +31,12 @@ export enum FeedType { POSTS_WITH_MEDIA = 3, } // Retrieve enum metadata with: proto3.getEnumType(FeedType) -proto3.util.setEnumType(FeedType, 'bsky.FeedType', [ - { no: 0, name: 'FEED_TYPE_UNSPECIFIED' }, - { no: 1, name: 'FEED_TYPE_POSTS_AND_AUTHOR_THREADS' }, - { no: 2, name: 'FEED_TYPE_POSTS_NO_REPLIES' }, - { no: 3, name: 'FEED_TYPE_POSTS_WITH_MEDIA' }, -]) +proto3.util.setEnumType(FeedType, "bsky.FeedType", [ + { no: 0, name: "FEED_TYPE_UNSPECIFIED" }, + { no: 1, name: "FEED_TYPE_POSTS_AND_AUTHOR_THREADS" }, + { no: 2, name: "FEED_TYPE_POSTS_NO_REPLIES" }, + { no: 3, name: "FEED_TYPE_POSTS_WITH_MEDIA" }, +]); /** * @generated from message bsky.Record @@ -52,86 +45,69 @@ export class Record extends Message { /** * @generated from field: bytes record = 1; */ - record = new Uint8Array(0) + record = new Uint8Array(0); /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; /** * @generated from field: google.protobuf.Timestamp indexed_at = 4; */ - indexedAt?: Timestamp + indexedAt?: Timestamp; /** * @generated from field: bool taken_down = 5; */ - takenDown = false + takenDown = false; /** * @generated from field: google.protobuf.Timestamp created_at = 6; */ - createdAt?: Timestamp + createdAt?: Timestamp; /** * @generated from field: google.protobuf.Timestamp sorted_at = 7; */ - sortedAt?: Timestamp + sortedAt?: Timestamp; /** * @generated from field: string takedown_ref = 8; */ - takedownRef = '' + takedownRef = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.Record' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.Record"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'record', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'indexed_at', kind: 'message', T: Timestamp }, - { no: 5, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: 'created_at', kind: 'message', T: Timestamp }, - { no: 7, name: 'sorted_at', kind: 'message', T: Timestamp }, - { - no: 8, - name: 'takedown_ref', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "record", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "indexed_at", kind: "message", T: Timestamp }, + { no: 5, name: "taken_down", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "created_at", kind: "message", T: Timestamp }, + { no: 7, name: "sorted_at", kind: "message", T: Timestamp }, + { no: 8, name: "takedown_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): Record { - return new Record().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): Record { + return new Record().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): Record { - return new Record().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): Record { + return new Record().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): Record { - return new Record().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): Record { + return new Record().fromJsonString(jsonString, options); } - static equals( - a: Record | PlainMessage | undefined, - b: Record | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(Record, a, b) + static equals(a: Record | PlainMessage | undefined, b: Record | PlainMessage | undefined): boolean { + return proto3.util.equals(Record, a, b); } } @@ -142,57 +118,33 @@ export class GetBlockRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlockRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlockRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlockRecordsRequest { - return new GetBlockRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlockRecordsRequest { + return new GetBlockRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlockRecordsRequest { - return new GetBlockRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlockRecordsRequest { + return new GetBlockRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlockRecordsRequest { - return new GetBlockRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlockRecordsRequest { + return new GetBlockRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlockRecordsRequest - | PlainMessage - | undefined, - b: - | GetBlockRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlockRecordsRequest, a, b) + static equals(a: GetBlockRecordsRequest | PlainMessage | undefined, b: GetBlockRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlockRecordsRequest, a, b); } } @@ -203,51 +155,33 @@ export class GetBlockRecordsResponse extends Message { /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlockRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlockRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlockRecordsResponse { - return new GetBlockRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlockRecordsResponse { + return new GetBlockRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlockRecordsResponse { - return new GetBlockRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlockRecordsResponse { + return new GetBlockRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlockRecordsResponse { - return new GetBlockRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlockRecordsResponse { + return new GetBlockRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlockRecordsResponse - | PlainMessage - | undefined, - b: - | GetBlockRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlockRecordsResponse, a, b) + static equals(a: GetBlockRecordsResponse | PlainMessage | undefined, b: GetBlockRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlockRecordsResponse, a, b); } } @@ -258,60 +192,33 @@ export class GetFeedGeneratorRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFeedGeneratorRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFeedGeneratorRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFeedGeneratorRecordsRequest { - return new GetFeedGeneratorRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFeedGeneratorRecordsRequest { + return new GetFeedGeneratorRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFeedGeneratorRecordsRequest { - return new GetFeedGeneratorRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFeedGeneratorRecordsRequest { + return new GetFeedGeneratorRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFeedGeneratorRecordsRequest { - return new GetFeedGeneratorRecordsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetFeedGeneratorRecordsRequest { + return new GetFeedGeneratorRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetFeedGeneratorRecordsRequest - | PlainMessage - | undefined, - b: - | GetFeedGeneratorRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFeedGeneratorRecordsRequest, a, b) + static equals(a: GetFeedGeneratorRecordsRequest | PlainMessage | undefined, b: GetFeedGeneratorRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFeedGeneratorRecordsRequest, a, b); } } @@ -322,54 +229,33 @@ export class GetFeedGeneratorRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFeedGeneratorRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFeedGeneratorRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFeedGeneratorRecordsResponse { - return new GetFeedGeneratorRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFeedGeneratorRecordsResponse { + return new GetFeedGeneratorRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFeedGeneratorRecordsResponse { - return new GetFeedGeneratorRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFeedGeneratorRecordsResponse { + return new GetFeedGeneratorRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFeedGeneratorRecordsResponse { - return new GetFeedGeneratorRecordsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetFeedGeneratorRecordsResponse { + return new GetFeedGeneratorRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetFeedGeneratorRecordsResponse - | PlainMessage - | undefined, - b: - | GetFeedGeneratorRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFeedGeneratorRecordsResponse, a, b) + static equals(a: GetFeedGeneratorRecordsResponse | PlainMessage | undefined, b: GetFeedGeneratorRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFeedGeneratorRecordsResponse, a, b); } } @@ -380,57 +266,33 @@ export class GetFollowRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowRecordsRequest { - return new GetFollowRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowRecordsRequest { + return new GetFollowRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowRecordsRequest { - return new GetFollowRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowRecordsRequest { + return new GetFollowRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowRecordsRequest { - return new GetFollowRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowRecordsRequest { + return new GetFollowRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowRecordsRequest - | PlainMessage - | undefined, - b: - | GetFollowRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowRecordsRequest, a, b) + static equals(a: GetFollowRecordsRequest | PlainMessage | undefined, b: GetFollowRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowRecordsRequest, a, b); } } @@ -441,51 +303,33 @@ export class GetFollowRecordsResponse extends Message /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowRecordsResponse { - return new GetFollowRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowRecordsResponse { + return new GetFollowRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowRecordsResponse { - return new GetFollowRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowRecordsResponse { + return new GetFollowRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowRecordsResponse { - return new GetFollowRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowRecordsResponse { + return new GetFollowRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowRecordsResponse - | PlainMessage - | undefined, - b: - | GetFollowRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowRecordsResponse, a, b) + static equals(a: GetFollowRecordsResponse | PlainMessage | undefined, b: GetFollowRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowRecordsResponse, a, b); } } @@ -496,51 +340,33 @@ export class GetLikeRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikeRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikeRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikeRecordsRequest { - return new GetLikeRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikeRecordsRequest { + return new GetLikeRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikeRecordsRequest { - return new GetLikeRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikeRecordsRequest { + return new GetLikeRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikeRecordsRequest { - return new GetLikeRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLikeRecordsRequest { + return new GetLikeRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetLikeRecordsRequest | PlainMessage | undefined, - b: GetLikeRecordsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetLikeRecordsRequest, a, b) + static equals(a: GetLikeRecordsRequest | PlainMessage | undefined, b: GetLikeRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikeRecordsRequest, a, b); } } @@ -551,51 +377,33 @@ export class GetLikeRecordsResponse extends Message { /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikeRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikeRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikeRecordsResponse { - return new GetLikeRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikeRecordsResponse { + return new GetLikeRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikeRecordsResponse { - return new GetLikeRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikeRecordsResponse { + return new GetLikeRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikeRecordsResponse { - return new GetLikeRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLikeRecordsResponse { + return new GetLikeRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikeRecordsResponse - | PlainMessage - | undefined, - b: - | GetLikeRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikeRecordsResponse, a, b) + static equals(a: GetLikeRecordsResponse | PlainMessage | undefined, b: GetLikeRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikeRecordsResponse, a, b); } } @@ -606,57 +414,33 @@ export class GetListBlockRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListBlockRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListBlockRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListBlockRecordsRequest { - return new GetListBlockRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListBlockRecordsRequest { + return new GetListBlockRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListBlockRecordsRequest { - return new GetListBlockRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListBlockRecordsRequest { + return new GetListBlockRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListBlockRecordsRequest { - return new GetListBlockRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListBlockRecordsRequest { + return new GetListBlockRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetListBlockRecordsRequest - | PlainMessage - | undefined, - b: - | GetListBlockRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListBlockRecordsRequest, a, b) + static equals(a: GetListBlockRecordsRequest | PlainMessage | undefined, b: GetListBlockRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListBlockRecordsRequest, a, b); } } @@ -667,51 +451,33 @@ export class GetListBlockRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListBlockRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListBlockRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListBlockRecordsResponse { - return new GetListBlockRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListBlockRecordsResponse { + return new GetListBlockRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListBlockRecordsResponse { - return new GetListBlockRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListBlockRecordsResponse { + return new GetListBlockRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListBlockRecordsResponse { - return new GetListBlockRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListBlockRecordsResponse { + return new GetListBlockRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetListBlockRecordsResponse - | PlainMessage - | undefined, - b: - | GetListBlockRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListBlockRecordsResponse, a, b) + static equals(a: GetListBlockRecordsResponse | PlainMessage | undefined, b: GetListBlockRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListBlockRecordsResponse, a, b); } } @@ -722,57 +488,33 @@ export class GetListItemRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListItemRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListItemRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListItemRecordsRequest { - return new GetListItemRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListItemRecordsRequest { + return new GetListItemRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListItemRecordsRequest { - return new GetListItemRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListItemRecordsRequest { + return new GetListItemRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListItemRecordsRequest { - return new GetListItemRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListItemRecordsRequest { + return new GetListItemRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetListItemRecordsRequest - | PlainMessage - | undefined, - b: - | GetListItemRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListItemRecordsRequest, a, b) + static equals(a: GetListItemRecordsRequest | PlainMessage | undefined, b: GetListItemRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListItemRecordsRequest, a, b); } } @@ -783,51 +525,33 @@ export class GetListItemRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListItemRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListItemRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListItemRecordsResponse { - return new GetListItemRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListItemRecordsResponse { + return new GetListItemRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListItemRecordsResponse { - return new GetListItemRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListItemRecordsResponse { + return new GetListItemRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListItemRecordsResponse { - return new GetListItemRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListItemRecordsResponse { + return new GetListItemRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetListItemRecordsResponse - | PlainMessage - | undefined, - b: - | GetListItemRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListItemRecordsResponse, a, b) + static equals(a: GetListItemRecordsResponse | PlainMessage | undefined, b: GetListItemRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListItemRecordsResponse, a, b); } } @@ -838,51 +562,33 @@ export class GetListRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListRecordsRequest { - return new GetListRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListRecordsRequest { + return new GetListRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListRecordsRequest { - return new GetListRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListRecordsRequest { + return new GetListRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListRecordsRequest { - return new GetListRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListRecordsRequest { + return new GetListRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetListRecordsRequest | PlainMessage | undefined, - b: GetListRecordsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListRecordsRequest, a, b) + static equals(a: GetListRecordsRequest | PlainMessage | undefined, b: GetListRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListRecordsRequest, a, b); } } @@ -893,51 +599,33 @@ export class GetListRecordsResponse extends Message { /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListRecordsResponse { - return new GetListRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListRecordsResponse { + return new GetListRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListRecordsResponse { - return new GetListRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListRecordsResponse { + return new GetListRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListRecordsResponse { - return new GetListRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListRecordsResponse { + return new GetListRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetListRecordsResponse - | PlainMessage - | undefined, - b: - | GetListRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListRecordsResponse, a, b) + static equals(a: GetListRecordsResponse | PlainMessage | undefined, b: GetListRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListRecordsResponse, a, b); } } @@ -948,95 +636,63 @@ export class PostRecordMeta extends Message { /** * @generated from field: bool violates_thread_gate = 1; */ - violatesThreadGate = false + violatesThreadGate = false; /** * @generated from field: bool has_media = 2; */ - hasMedia = false + hasMedia = false; /** * @generated from field: bool is_reply = 3; */ - isReply = false + isReply = false; /** * @generated from field: bool violates_embedding_rules = 4; */ - violatesEmbeddingRules = false + violatesEmbeddingRules = false; /** * @generated from field: bool has_post_gate = 5; */ - hasPostGate = false + hasPostGate = false; /** * @generated from field: bool has_thread_gate = 6; */ - hasThreadGate = false + hasThreadGate = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.PostRecordMeta' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'violates_thread_gate', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { no: 2, name: 'has_media', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 3, name: 'is_reply', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 4, - name: 'violates_embedding_rules', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 5, - name: 'has_post_gate', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 6, - name: 'has_thread_gate', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PostRecordMeta { - return new PostRecordMeta().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PostRecordMeta { - return new PostRecordMeta().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): PostRecordMeta { - return new PostRecordMeta().fromJsonString(jsonString, options) - } - - static equals( - a: PostRecordMeta | PlainMessage | undefined, - b: PostRecordMeta | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PostRecordMeta, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.PostRecordMeta"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "violates_thread_gate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "has_media", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "is_reply", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 4, name: "violates_embedding_rules", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "has_post_gate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "has_thread_gate", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PostRecordMeta { + return new PostRecordMeta().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PostRecordMeta { + return new PostRecordMeta().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PostRecordMeta { + return new PostRecordMeta().fromJsonString(jsonString, options); + } + + static equals(a: PostRecordMeta | PlainMessage | undefined, b: PostRecordMeta | PlainMessage | undefined): boolean { + return proto3.util.equals(PostRecordMeta, a, b); } } @@ -1047,51 +703,33 @@ export class GetPostRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostRecordsRequest { - return new GetPostRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostRecordsRequest { + return new GetPostRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostRecordsRequest { - return new GetPostRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostRecordsRequest { + return new GetPostRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostRecordsRequest { - return new GetPostRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostRecordsRequest { + return new GetPostRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetPostRecordsRequest | PlainMessage | undefined, - b: GetPostRecordsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetPostRecordsRequest, a, b) + static equals(a: GetPostRecordsRequest | PlainMessage | undefined, b: GetPostRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostRecordsRequest, a, b); } } @@ -1102,57 +740,39 @@ export class GetPostRecordsResponse extends Message { /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; /** * @generated from field: repeated bsky.PostRecordMeta meta = 2; */ - meta: PostRecordMeta[] = [] + meta: PostRecordMeta[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - { no: 2, name: 'meta', kind: 'message', T: PostRecordMeta, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + { no: 2, name: "meta", kind: "message", T: PostRecordMeta, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostRecordsResponse { - return new GetPostRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostRecordsResponse { + return new GetPostRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostRecordsResponse { - return new GetPostRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostRecordsResponse { + return new GetPostRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostRecordsResponse { - return new GetPostRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostRecordsResponse { + return new GetPostRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetPostRecordsResponse - | PlainMessage - | undefined, - b: - | GetPostRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetPostRecordsResponse, a, b) + static equals(a: GetPostRecordsResponse | PlainMessage | undefined, b: GetPostRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostRecordsResponse, a, b); } } @@ -1163,57 +783,33 @@ export class GetProfileRecordsRequest extends Message /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetProfileRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetProfileRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetProfileRecordsRequest { - return new GetProfileRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetProfileRecordsRequest { + return new GetProfileRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetProfileRecordsRequest { - return new GetProfileRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetProfileRecordsRequest { + return new GetProfileRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetProfileRecordsRequest { - return new GetProfileRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetProfileRecordsRequest { + return new GetProfileRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetProfileRecordsRequest - | PlainMessage - | undefined, - b: - | GetProfileRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetProfileRecordsRequest, a, b) + static equals(a: GetProfileRecordsRequest | PlainMessage | undefined, b: GetProfileRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetProfileRecordsRequest, a, b); } } @@ -1224,51 +820,33 @@ export class GetProfileRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetProfileRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetProfileRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetProfileRecordsResponse { - return new GetProfileRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetProfileRecordsResponse { + return new GetProfileRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetProfileRecordsResponse { - return new GetProfileRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetProfileRecordsResponse { + return new GetProfileRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetProfileRecordsResponse { - return new GetProfileRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetProfileRecordsResponse { + return new GetProfileRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetProfileRecordsResponse - | PlainMessage - | undefined, - b: - | GetProfileRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetProfileRecordsResponse, a, b) + static equals(a: GetProfileRecordsResponse | PlainMessage | undefined, b: GetProfileRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetProfileRecordsResponse, a, b); } } @@ -1279,66 +857,33 @@ export class GetActorChatDeclarationRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorChatDeclarationRecordsRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorChatDeclarationRecordsRequest { - return new GetActorChatDeclarationRecordsRequest().fromBinary( - bytes, - options, - ) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorChatDeclarationRecordsRequest { - return new GetActorChatDeclarationRecordsRequest().fromJson( - jsonValue, - options, - ) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorChatDeclarationRecordsRequest { - return new GetActorChatDeclarationRecordsRequest().fromJsonString( - jsonString, - options, - ) - } - - static equals( - a: - | GetActorChatDeclarationRecordsRequest - | PlainMessage - | undefined, - b: - | GetActorChatDeclarationRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorChatDeclarationRecordsRequest, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorChatDeclarationRecordsRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorChatDeclarationRecordsRequest { + return new GetActorChatDeclarationRecordsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorChatDeclarationRecordsRequest { + return new GetActorChatDeclarationRecordsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetActorChatDeclarationRecordsRequest { + return new GetActorChatDeclarationRecordsRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetActorChatDeclarationRecordsRequest | PlainMessage | undefined, b: GetActorChatDeclarationRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorChatDeclarationRecordsRequest, a, b); } } @@ -1349,60 +894,33 @@ export class GetActorChatDeclarationRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorChatDeclarationRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorChatDeclarationRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorChatDeclarationRecordsResponse { - return new GetActorChatDeclarationRecordsResponse().fromBinary( - bytes, - options, - ) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorChatDeclarationRecordsResponse { + return new GetActorChatDeclarationRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorChatDeclarationRecordsResponse { - return new GetActorChatDeclarationRecordsResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorChatDeclarationRecordsResponse { + return new GetActorChatDeclarationRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorChatDeclarationRecordsResponse { - return new GetActorChatDeclarationRecordsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorChatDeclarationRecordsResponse { + return new GetActorChatDeclarationRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorChatDeclarationRecordsResponse - | PlainMessage - | undefined, - b: - | GetActorChatDeclarationRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorChatDeclarationRecordsResponse, a, b) + static equals(a: GetActorChatDeclarationRecordsResponse | PlainMessage | undefined, b: GetActorChatDeclarationRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorChatDeclarationRecordsResponse, a, b); } } @@ -1413,57 +931,33 @@ export class GetRepostRecordsRequest extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostRecordsRequest { - return new GetRepostRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostRecordsRequest { + return new GetRepostRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostRecordsRequest { - return new GetRepostRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostRecordsRequest { + return new GetRepostRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostRecordsRequest { - return new GetRepostRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRepostRecordsRequest { + return new GetRepostRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostRecordsRequest - | PlainMessage - | undefined, - b: - | GetRepostRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostRecordsRequest, a, b) + static equals(a: GetRepostRecordsRequest | PlainMessage | undefined, b: GetRepostRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostRecordsRequest, a, b); } } @@ -1474,51 +968,33 @@ export class GetRepostRecordsResponse extends Message /** * @generated from field: repeated bsky.Record records = 1; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostRecordsResponse { - return new GetRepostRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostRecordsResponse { + return new GetRepostRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostRecordsResponse { - return new GetRepostRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostRecordsResponse { + return new GetRepostRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostRecordsResponse { - return new GetRepostRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRepostRecordsResponse { + return new GetRepostRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostRecordsResponse - | PlainMessage - | undefined, - b: - | GetRepostRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostRecordsResponse, a, b) + static equals(a: GetRepostRecordsResponse | PlainMessage | undefined, b: GetRepostRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostRecordsResponse, a, b); } } @@ -1529,57 +1005,33 @@ export class GetThreadGateRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadGateRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadGateRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadGateRecordsRequest { - return new GetThreadGateRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadGateRecordsRequest { + return new GetThreadGateRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadGateRecordsRequest { - return new GetThreadGateRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadGateRecordsRequest { + return new GetThreadGateRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadGateRecordsRequest { - return new GetThreadGateRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetThreadGateRecordsRequest { + return new GetThreadGateRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetThreadGateRecordsRequest - | PlainMessage - | undefined, - b: - | GetThreadGateRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetThreadGateRecordsRequest, a, b) + static equals(a: GetThreadGateRecordsRequest | PlainMessage | undefined, b: GetThreadGateRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadGateRecordsRequest, a, b); } } @@ -1590,54 +1042,33 @@ export class GetThreadGateRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadGateRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadGateRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadGateRecordsResponse { - return new GetThreadGateRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadGateRecordsResponse { + return new GetThreadGateRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadGateRecordsResponse { - return new GetThreadGateRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadGateRecordsResponse { + return new GetThreadGateRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadGateRecordsResponse { - return new GetThreadGateRecordsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetThreadGateRecordsResponse { + return new GetThreadGateRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetThreadGateRecordsResponse - | PlainMessage - | undefined, - b: - | GetThreadGateRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetThreadGateRecordsResponse, a, b) + static equals(a: GetThreadGateRecordsResponse | PlainMessage | undefined, b: GetThreadGateRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadGateRecordsResponse, a, b); } } @@ -1648,57 +1079,33 @@ export class GetPostgateRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostgateRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostgateRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostgateRecordsRequest { - return new GetPostgateRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostgateRecordsRequest { + return new GetPostgateRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostgateRecordsRequest { - return new GetPostgateRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostgateRecordsRequest { + return new GetPostgateRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostgateRecordsRequest { - return new GetPostgateRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostgateRecordsRequest { + return new GetPostgateRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetPostgateRecordsRequest - | PlainMessage - | undefined, - b: - | GetPostgateRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetPostgateRecordsRequest, a, b) + static equals(a: GetPostgateRecordsRequest | PlainMessage | undefined, b: GetPostgateRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostgateRecordsRequest, a, b); } } @@ -1709,51 +1116,33 @@ export class GetPostgateRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostgateRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostgateRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostgateRecordsResponse { - return new GetPostgateRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostgateRecordsResponse { + return new GetPostgateRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostgateRecordsResponse { - return new GetPostgateRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostgateRecordsResponse { + return new GetPostgateRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostgateRecordsResponse { - return new GetPostgateRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostgateRecordsResponse { + return new GetPostgateRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetPostgateRecordsResponse - | PlainMessage - | undefined, - b: - | GetPostgateRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetPostgateRecordsResponse, a, b) + static equals(a: GetPostgateRecordsResponse | PlainMessage | undefined, b: GetPostgateRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostgateRecordsResponse, a, b); } } @@ -1764,57 +1153,33 @@ export class GetLabelerRecordsRequest extends Message /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLabelerRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLabelerRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLabelerRecordsRequest { - return new GetLabelerRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLabelerRecordsRequest { + return new GetLabelerRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLabelerRecordsRequest { - return new GetLabelerRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLabelerRecordsRequest { + return new GetLabelerRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLabelerRecordsRequest { - return new GetLabelerRecordsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLabelerRecordsRequest { + return new GetLabelerRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetLabelerRecordsRequest - | PlainMessage - | undefined, - b: - | GetLabelerRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLabelerRecordsRequest, a, b) + static equals(a: GetLabelerRecordsRequest | PlainMessage | undefined, b: GetLabelerRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLabelerRecordsRequest, a, b); } } @@ -1825,51 +1190,33 @@ export class GetLabelerRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLabelerRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLabelerRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLabelerRecordsResponse { - return new GetLabelerRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLabelerRecordsResponse { + return new GetLabelerRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLabelerRecordsResponse { - return new GetLabelerRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLabelerRecordsResponse { + return new GetLabelerRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLabelerRecordsResponse { - return new GetLabelerRecordsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLabelerRecordsResponse { + return new GetLabelerRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetLabelerRecordsResponse - | PlainMessage - | undefined, - b: - | GetLabelerRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLabelerRecordsResponse, a, b) + static equals(a: GetLabelerRecordsResponse | PlainMessage | undefined, b: GetLabelerRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLabelerRecordsResponse, a, b); } } @@ -1878,40 +1225,29 @@ export class GetLabelerRecordsResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetAllLabelersRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetAllLabelersRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetAllLabelersRequest { - return new GetAllLabelersRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetAllLabelersRequest { + return new GetAllLabelersRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetAllLabelersRequest { - return new GetAllLabelersRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetAllLabelersRequest { + return new GetAllLabelersRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetAllLabelersRequest { - return new GetAllLabelersRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetAllLabelersRequest { + return new GetAllLabelersRequest().fromJsonString(jsonString, options); } - static equals( - a: GetAllLabelersRequest | PlainMessage | undefined, - b: GetAllLabelersRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetAllLabelersRequest, a, b) + static equals(a: GetAllLabelersRequest | PlainMessage | undefined, b: GetAllLabelersRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAllLabelersRequest, a, b); } } @@ -1922,63 +1258,39 @@ export class GetAllLabelersResponse extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; /** * @generated from field: repeated bsky.Record records = 2; */ - records: Record[] = [] + records: Record[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetAllLabelersResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetAllLabelersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetAllLabelersResponse { - return new GetAllLabelersResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetAllLabelersResponse { + return new GetAllLabelersResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetAllLabelersResponse { - return new GetAllLabelersResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetAllLabelersResponse { + return new GetAllLabelersResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetAllLabelersResponse { - return new GetAllLabelersResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetAllLabelersResponse { + return new GetAllLabelersResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetAllLabelersResponse - | PlainMessage - | undefined, - b: - | GetAllLabelersResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetAllLabelersResponse, a, b) + static equals(a: GetAllLabelersResponse | PlainMessage | undefined, b: GetAllLabelersResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAllLabelersResponse, a, b); } } @@ -1989,60 +1301,33 @@ export class GetStarterPackRecordsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetStarterPackRecordsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetStarterPackRecordsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetStarterPackRecordsRequest { - return new GetStarterPackRecordsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetStarterPackRecordsRequest { + return new GetStarterPackRecordsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetStarterPackRecordsRequest { - return new GetStarterPackRecordsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetStarterPackRecordsRequest { + return new GetStarterPackRecordsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetStarterPackRecordsRequest { - return new GetStarterPackRecordsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetStarterPackRecordsRequest { + return new GetStarterPackRecordsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetStarterPackRecordsRequest - | PlainMessage - | undefined, - b: - | GetStarterPackRecordsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetStarterPackRecordsRequest, a, b) + static equals(a: GetStarterPackRecordsRequest | PlainMessage | undefined, b: GetStarterPackRecordsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetStarterPackRecordsRequest, a, b); } } @@ -2053,54 +1338,33 @@ export class GetStarterPackRecordsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetStarterPackRecordsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetStarterPackRecordsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'records', kind: 'message', T: Record, repeated: true }, - ]) + { no: 1, name: "records", kind: "message", T: Record, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetStarterPackRecordsResponse { - return new GetStarterPackRecordsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetStarterPackRecordsResponse { + return new GetStarterPackRecordsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetStarterPackRecordsResponse { - return new GetStarterPackRecordsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetStarterPackRecordsResponse { + return new GetStarterPackRecordsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetStarterPackRecordsResponse { - return new GetStarterPackRecordsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetStarterPackRecordsResponse { + return new GetStarterPackRecordsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetStarterPackRecordsResponse - | PlainMessage - | undefined, - b: - | GetStarterPackRecordsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetStarterPackRecordsResponse, a, b) + static equals(a: GetStarterPackRecordsResponse | PlainMessage | undefined, b: GetStarterPackRecordsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetStarterPackRecordsResponse, a, b); } } @@ -2114,66 +1378,39 @@ export class GetActorFollowsActorsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorFollowsActorsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorFollowsActorsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'target_dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorFollowsActorsRequest { - return new GetActorFollowsActorsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorFollowsActorsRequest { + return new GetActorFollowsActorsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorFollowsActorsRequest { - return new GetActorFollowsActorsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorFollowsActorsRequest { + return new GetActorFollowsActorsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorFollowsActorsRequest { - return new GetActorFollowsActorsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorFollowsActorsRequest { + return new GetActorFollowsActorsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorFollowsActorsRequest - | PlainMessage - | undefined, - b: - | GetActorFollowsActorsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorFollowsActorsRequest, a, b) + static equals(a: GetActorFollowsActorsRequest | PlainMessage | undefined, b: GetActorFollowsActorsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorFollowsActorsRequest, a, b); } } @@ -2184,60 +1421,33 @@ export class GetActorFollowsActorsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorFollowsActorsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorFollowsActorsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorFollowsActorsResponse { - return new GetActorFollowsActorsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorFollowsActorsResponse { + return new GetActorFollowsActorsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorFollowsActorsResponse { - return new GetActorFollowsActorsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorFollowsActorsResponse { + return new GetActorFollowsActorsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorFollowsActorsResponse { - return new GetActorFollowsActorsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorFollowsActorsResponse { + return new GetActorFollowsActorsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorFollowsActorsResponse - | PlainMessage - | undefined, - b: - | GetActorFollowsActorsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorFollowsActorsResponse, a, b) + static equals(a: GetActorFollowsActorsResponse | PlainMessage | undefined, b: GetActorFollowsActorsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorFollowsActorsResponse, a, b); } } @@ -2251,57 +1461,45 @@ export class GetFollowersRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowersRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowersRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowersRequest { - return new GetFollowersRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowersRequest { + return new GetFollowersRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowersRequest { - return new GetFollowersRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowersRequest { + return new GetFollowersRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowersRequest { - return new GetFollowersRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowersRequest { + return new GetFollowersRequest().fromJsonString(jsonString, options); } - static equals( - a: GetFollowersRequest | PlainMessage | undefined, - b: GetFollowersRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetFollowersRequest, a, b) + static equals(a: GetFollowersRequest | PlainMessage | undefined, b: GetFollowersRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowersRequest, a, b); } } @@ -2312,62 +1510,45 @@ export class FollowInfo extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string actor_did = 2; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string subject_did = 3; */ - subjectDid = '' + subjectDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.FollowInfo' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.FollowInfo"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 3, - name: 'subject_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "subject_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): FollowInfo { - return new FollowInfo().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): FollowInfo { + return new FollowInfo().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): FollowInfo { - return new FollowInfo().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): FollowInfo { + return new FollowInfo().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): FollowInfo { - return new FollowInfo().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): FollowInfo { + return new FollowInfo().fromJsonString(jsonString, options); } - static equals( - a: FollowInfo | PlainMessage | undefined, - b: FollowInfo | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(FollowInfo, a, b) + static equals(a: FollowInfo | PlainMessage | undefined, b: FollowInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(FollowInfo, a, b); } } @@ -2378,57 +1559,39 @@ export class GetFollowersResponse extends Message { /** * @generated from field: repeated bsky.FollowInfo followers = 1; */ - followers: FollowInfo[] = [] + followers: FollowInfo[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowersResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'followers', - kind: 'message', - T: FollowInfo, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "followers", kind: "message", T: FollowInfo, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowersResponse { - return new GetFollowersResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowersResponse { + return new GetFollowersResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowersResponse { - return new GetFollowersResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowersResponse { + return new GetFollowersResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowersResponse { - return new GetFollowersResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowersResponse { + return new GetFollowersResponse().fromJsonString(jsonString, options); } - static equals( - a: GetFollowersResponse | PlainMessage | undefined, - b: GetFollowersResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetFollowersResponse, a, b) + static equals(a: GetFollowersResponse | PlainMessage | undefined, b: GetFollowersResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowersResponse, a, b); } } @@ -2442,57 +1605,45 @@ export class GetFollowsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowsRequest { - return new GetFollowsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowsRequest { + return new GetFollowsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowsRequest { - return new GetFollowsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowsRequest { + return new GetFollowsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowsRequest { - return new GetFollowsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowsRequest { + return new GetFollowsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetFollowsRequest | PlainMessage | undefined, - b: GetFollowsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetFollowsRequest, a, b) + static equals(a: GetFollowsRequest | PlainMessage | undefined, b: GetFollowsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowsRequest, a, b); } } @@ -2503,51 +1654,39 @@ export class GetFollowsResponse extends Message { /** * @generated from field: repeated bsky.FollowInfo follows = 1; */ - follows: FollowInfo[] = [] + follows: FollowInfo[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'follows', kind: 'message', T: FollowInfo, repeated: true }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "follows", kind: "message", T: FollowInfo, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowsResponse { - return new GetFollowsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowsResponse { + return new GetFollowsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowsResponse { - return new GetFollowsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowsResponse { + return new GetFollowsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowsResponse { - return new GetFollowsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowsResponse { + return new GetFollowsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetFollowsResponse | PlainMessage | undefined, - b: GetFollowsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetFollowsResponse, a, b) + static equals(a: GetFollowsResponse | PlainMessage | undefined, b: GetFollowsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowsResponse, a, b); } } @@ -2561,63 +1700,45 @@ export class GetLikesBySubjectRequest extends Message /** * @generated from field: bsky.RecordRef subject = 1; */ - subject?: RecordRef + subject?: RecordRef; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesBySubjectRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesBySubjectRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'subject', kind: 'message', T: RecordRef }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "subject", kind: "message", T: RecordRef }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesBySubjectRequest { - return new GetLikesBySubjectRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesBySubjectRequest { + return new GetLikesBySubjectRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesBySubjectRequest { - return new GetLikesBySubjectRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesBySubjectRequest { + return new GetLikesBySubjectRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesBySubjectRequest { - return new GetLikesBySubjectRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLikesBySubjectRequest { + return new GetLikesBySubjectRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesBySubjectRequest - | PlainMessage - | undefined, - b: - | GetLikesBySubjectRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesBySubjectRequest, a, b) + static equals(a: GetLikesBySubjectRequest | PlainMessage | undefined, b: GetLikesBySubjectRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesBySubjectRequest, a, b); } } @@ -2628,63 +1749,39 @@ export class GetLikesBySubjectResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesBySubjectResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesBySubjectResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesBySubjectResponse { - return new GetLikesBySubjectResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesBySubjectResponse { + return new GetLikesBySubjectResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesBySubjectResponse { - return new GetLikesBySubjectResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesBySubjectResponse { + return new GetLikesBySubjectResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesBySubjectResponse { - return new GetLikesBySubjectResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLikesBySubjectResponse { + return new GetLikesBySubjectResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesBySubjectResponse - | PlainMessage - | undefined, - b: - | GetLikesBySubjectResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesBySubjectResponse, a, b) + static equals(a: GetLikesBySubjectResponse | PlainMessage | undefined, b: GetLikesBySubjectResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesBySubjectResponse, a, b); } } @@ -2695,66 +1792,45 @@ export class GetLikesBySubjectSortedRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesBySubjectSortedRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesBySubjectSortedRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'subject', kind: 'message', T: RecordRef }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "subject", kind: "message", T: RecordRef }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesBySubjectSortedRequest { - return new GetLikesBySubjectSortedRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesBySubjectSortedRequest { + return new GetLikesBySubjectSortedRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesBySubjectSortedRequest { - return new GetLikesBySubjectSortedRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesBySubjectSortedRequest { + return new GetLikesBySubjectSortedRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesBySubjectSortedRequest { - return new GetLikesBySubjectSortedRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetLikesBySubjectSortedRequest { + return new GetLikesBySubjectSortedRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesBySubjectSortedRequest - | PlainMessage - | undefined, - b: - | GetLikesBySubjectSortedRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesBySubjectSortedRequest, a, b) + static equals(a: GetLikesBySubjectSortedRequest | PlainMessage | undefined, b: GetLikesBySubjectSortedRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesBySubjectSortedRequest, a, b); } } @@ -2765,66 +1841,39 @@ export class GetLikesBySubjectSortedResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesBySubjectSortedResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesBySubjectSortedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesBySubjectSortedResponse { - return new GetLikesBySubjectSortedResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesBySubjectSortedResponse { + return new GetLikesBySubjectSortedResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesBySubjectSortedResponse { - return new GetLikesBySubjectSortedResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesBySubjectSortedResponse { + return new GetLikesBySubjectSortedResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesBySubjectSortedResponse { - return new GetLikesBySubjectSortedResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetLikesBySubjectSortedResponse { + return new GetLikesBySubjectSortedResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesBySubjectSortedResponse - | PlainMessage - | undefined, - b: - | GetLikesBySubjectSortedResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesBySubjectSortedResponse, a, b) + static equals(a: GetLikesBySubjectSortedResponse | PlainMessage | undefined, b: GetLikesBySubjectSortedResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesBySubjectSortedResponse, a, b); } } @@ -2835,66 +1884,45 @@ export class GetQuotesBySubjectSortedRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetQuotesBySubjectSortedRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetQuotesBySubjectSortedRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'subject', kind: 'message', T: RecordRef }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "subject", kind: "message", T: RecordRef }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetQuotesBySubjectSortedRequest { - return new GetQuotesBySubjectSortedRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetQuotesBySubjectSortedRequest { + return new GetQuotesBySubjectSortedRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetQuotesBySubjectSortedRequest { - return new GetQuotesBySubjectSortedRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetQuotesBySubjectSortedRequest { + return new GetQuotesBySubjectSortedRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetQuotesBySubjectSortedRequest { - return new GetQuotesBySubjectSortedRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetQuotesBySubjectSortedRequest { + return new GetQuotesBySubjectSortedRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetQuotesBySubjectSortedRequest - | PlainMessage - | undefined, - b: - | GetQuotesBySubjectSortedRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetQuotesBySubjectSortedRequest, a, b) + static equals(a: GetQuotesBySubjectSortedRequest | PlainMessage | undefined, b: GetQuotesBySubjectSortedRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetQuotesBySubjectSortedRequest, a, b); } } @@ -2905,66 +1933,39 @@ export class GetQuotesBySubjectSortedResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetQuotesBySubjectSortedResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetQuotesBySubjectSortedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetQuotesBySubjectSortedResponse { - return new GetQuotesBySubjectSortedResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetQuotesBySubjectSortedResponse { + return new GetQuotesBySubjectSortedResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetQuotesBySubjectSortedResponse { - return new GetQuotesBySubjectSortedResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetQuotesBySubjectSortedResponse { + return new GetQuotesBySubjectSortedResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetQuotesBySubjectSortedResponse { - return new GetQuotesBySubjectSortedResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetQuotesBySubjectSortedResponse { + return new GetQuotesBySubjectSortedResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetQuotesBySubjectSortedResponse - | PlainMessage - | undefined, - b: - | GetQuotesBySubjectSortedResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetQuotesBySubjectSortedResponse, a, b) + static equals(a: GetQuotesBySubjectSortedResponse | PlainMessage | undefined, b: GetQuotesBySubjectSortedResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetQuotesBySubjectSortedResponse, a, b); } } @@ -2978,60 +1979,39 @@ export class GetLikesByActorAndSubjectsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesByActorAndSubjectsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesByActorAndSubjectsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesByActorAndSubjectsRequest { - return new GetLikesByActorAndSubjectsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesByActorAndSubjectsRequest { + return new GetLikesByActorAndSubjectsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesByActorAndSubjectsRequest { - return new GetLikesByActorAndSubjectsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesByActorAndSubjectsRequest { + return new GetLikesByActorAndSubjectsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesByActorAndSubjectsRequest { - return new GetLikesByActorAndSubjectsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetLikesByActorAndSubjectsRequest { + return new GetLikesByActorAndSubjectsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesByActorAndSubjectsRequest - | PlainMessage - | undefined, - b: - | GetLikesByActorAndSubjectsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesByActorAndSubjectsRequest, a, b) + static equals(a: GetLikesByActorAndSubjectsRequest | PlainMessage | undefined, b: GetLikesByActorAndSubjectsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesByActorAndSubjectsRequest, a, b); } } @@ -3042,60 +2022,33 @@ export class GetLikesByActorAndSubjectsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLikesByActorAndSubjectsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLikesByActorAndSubjectsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLikesByActorAndSubjectsResponse { - return new GetLikesByActorAndSubjectsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLikesByActorAndSubjectsResponse { + return new GetLikesByActorAndSubjectsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLikesByActorAndSubjectsResponse { - return new GetLikesByActorAndSubjectsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLikesByActorAndSubjectsResponse { + return new GetLikesByActorAndSubjectsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLikesByActorAndSubjectsResponse { - return new GetLikesByActorAndSubjectsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetLikesByActorAndSubjectsResponse { + return new GetLikesByActorAndSubjectsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetLikesByActorAndSubjectsResponse - | PlainMessage - | undefined, - b: - | GetLikesByActorAndSubjectsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetLikesByActorAndSubjectsResponse, a, b) + static equals(a: GetLikesByActorAndSubjectsResponse | PlainMessage | undefined, b: GetLikesByActorAndSubjectsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLikesByActorAndSubjectsResponse, a, b); } } @@ -3109,57 +2062,45 @@ export class GetActorLikesRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorLikesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorLikesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorLikesRequest { - return new GetActorLikesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorLikesRequest { + return new GetActorLikesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorLikesRequest { - return new GetActorLikesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorLikesRequest { + return new GetActorLikesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorLikesRequest { - return new GetActorLikesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorLikesRequest { + return new GetActorLikesRequest().fromJsonString(jsonString, options); } - static equals( - a: GetActorLikesRequest | PlainMessage | undefined, - b: GetActorLikesRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorLikesRequest, a, b) + static equals(a: GetActorLikesRequest | PlainMessage | undefined, b: GetActorLikesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorLikesRequest, a, b); } } @@ -3170,51 +2111,39 @@ export class LikeInfo extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string subject = 2; */ - subject = '' + subject = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.LikeInfo' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.LikeInfo"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): LikeInfo { - return new LikeInfo().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): LikeInfo { + return new LikeInfo().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): LikeInfo { - return new LikeInfo().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): LikeInfo { + return new LikeInfo().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): LikeInfo { - return new LikeInfo().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): LikeInfo { + return new LikeInfo().fromJsonString(jsonString, options); } - static equals( - a: LikeInfo | PlainMessage | undefined, - b: LikeInfo | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(LikeInfo, a, b) + static equals(a: LikeInfo | PlainMessage | undefined, b: LikeInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(LikeInfo, a, b); } } @@ -3225,51 +2154,39 @@ export class GetActorLikesResponse extends Message { /** * @generated from field: repeated bsky.LikeInfo likes = 1; */ - likes: LikeInfo[] = [] + likes: LikeInfo[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorLikesResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorLikesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'likes', kind: 'message', T: LikeInfo, repeated: true }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "likes", kind: "message", T: LikeInfo, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorLikesResponse { - return new GetActorLikesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorLikesResponse { + return new GetActorLikesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorLikesResponse { - return new GetActorLikesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorLikesResponse { + return new GetActorLikesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorLikesResponse { - return new GetActorLikesResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorLikesResponse { + return new GetActorLikesResponse().fromJsonString(jsonString, options); } - static equals( - a: GetActorLikesResponse | PlainMessage | undefined, - b: GetActorLikesResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorLikesResponse, a, b) + static equals(a: GetActorLikesResponse | PlainMessage | undefined, b: GetActorLikesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorLikesResponse, a, b); } } @@ -3284,51 +2201,70 @@ export class GetInteractionCountsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetInteractionCountsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetInteractionCountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetInteractionCountsRequest { - return new GetInteractionCountsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetInteractionCountsRequest { + return new GetInteractionCountsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetInteractionCountsRequest { - return new GetInteractionCountsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetInteractionCountsRequest { + return new GetInteractionCountsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetInteractionCountsRequest { - return new GetInteractionCountsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetInteractionCountsRequest { + return new GetInteractionCountsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetInteractionCountsRequest - | PlainMessage - | undefined, - b: - | GetInteractionCountsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetInteractionCountsRequest, a, b) + static equals(a: GetInteractionCountsRequest | PlainMessage | undefined, b: GetInteractionCountsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetInteractionCountsRequest, a, b); + } +} + +/** + * @generated from message bsky.PollAnswerCount + */ +export class PollAnswerCount extends Message { + /** + * @generated from field: repeated int32 count = 3; + */ + count: number[] = []; + + constructor(data?: PartialMessage) { + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.PollAnswerCount"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 3, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PollAnswerCount { + return new PollAnswerCount().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PollAnswerCount { + return new PollAnswerCount().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PollAnswerCount { + return new PollAnswerCount().fromJsonString(jsonString, options); + } + + static equals(a: PollAnswerCount | PlainMessage | undefined, b: PollAnswerCount | PlainMessage | undefined): boolean { + return proto3.util.equals(PollAnswerCount, a, b); } } @@ -3339,96 +2275,63 @@ export class GetInteractionCountsResponse extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetInteractionCountsResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'likes', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 2, - name: 'reposts', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 3, - name: 'replies', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 4, - name: 'quotes', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetInteractionCountsResponse { - return new GetInteractionCountsResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetInteractionCountsResponse { - return new GetInteractionCountsResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetInteractionCountsResponse { - return new GetInteractionCountsResponse().fromJsonString( - jsonString, - options, - ) - } - - static equals( - a: - | GetInteractionCountsResponse - | PlainMessage - | undefined, - b: - | GetInteractionCountsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetInteractionCountsResponse, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetInteractionCountsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "likes", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 2, name: "reposts", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 3, name: "replies", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 4, name: "quotes", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 5, name: "poll_answer_count", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 6, name: "poll_answers", kind: "message", T: PollAnswerCount, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetInteractionCountsResponse { + return new GetInteractionCountsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetInteractionCountsResponse { + return new GetInteractionCountsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetInteractionCountsResponse { + return new GetInteractionCountsResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetInteractionCountsResponse | PlainMessage | undefined, b: GetInteractionCountsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetInteractionCountsResponse, a, b); } } @@ -3439,57 +2342,33 @@ export class GetCountsForUsersRequest extends Message /** * @generated from field: repeated string dids = 1; */ - dids: string[] = [] + dids: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetCountsForUsersRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetCountsForUsersRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetCountsForUsersRequest { - return new GetCountsForUsersRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetCountsForUsersRequest { + return new GetCountsForUsersRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetCountsForUsersRequest { - return new GetCountsForUsersRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetCountsForUsersRequest { + return new GetCountsForUsersRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetCountsForUsersRequest { - return new GetCountsForUsersRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetCountsForUsersRequest { + return new GetCountsForUsersRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetCountsForUsersRequest - | PlainMessage - | undefined, - b: - | GetCountsForUsersRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetCountsForUsersRequest, a, b) + static equals(a: GetCountsForUsersRequest | PlainMessage | undefined, b: GetCountsForUsersRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetCountsForUsersRequest, a, b); } } @@ -3500,129 +2379,69 @@ export class GetCountsForUsersResponse extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetCountsForUsersResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'posts', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 2, - name: 'reposts', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 3, - name: 'following', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 4, - name: 'followers', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 5, - name: 'lists', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 6, - name: 'feeds', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 7, - name: 'starter_packs', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetCountsForUsersResponse { - return new GetCountsForUsersResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetCountsForUsersResponse { - return new GetCountsForUsersResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetCountsForUsersResponse { - return new GetCountsForUsersResponse().fromJsonString(jsonString, options) - } - - static equals( - a: - | GetCountsForUsersResponse - | PlainMessage - | undefined, - b: - | GetCountsForUsersResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetCountsForUsersResponse, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetCountsForUsersResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "posts", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 2, name: "reposts", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 3, name: "following", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 4, name: "followers", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 5, name: "lists", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 6, name: "feeds", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 7, name: "starter_packs", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetCountsForUsersResponse { + return new GetCountsForUsersResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetCountsForUsersResponse { + return new GetCountsForUsersResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetCountsForUsersResponse { + return new GetCountsForUsersResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetCountsForUsersResponse | PlainMessage | undefined, b: GetCountsForUsersResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetCountsForUsersResponse, a, b); } } @@ -3633,51 +2452,33 @@ export class GetStarterPackCountsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetStarterPackCountsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetStarterPackCountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetStarterPackCountsRequest { - return new GetStarterPackCountsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetStarterPackCountsRequest { + return new GetStarterPackCountsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetStarterPackCountsRequest { - return new GetStarterPackCountsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetStarterPackCountsRequest { + return new GetStarterPackCountsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetStarterPackCountsRequest { - return new GetStarterPackCountsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetStarterPackCountsRequest { + return new GetStarterPackCountsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetStarterPackCountsRequest - | PlainMessage - | undefined, - b: - | GetStarterPackCountsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetStarterPackCountsRequest, a, b) + static equals(a: GetStarterPackCountsRequest | PlainMessage | undefined, b: GetStarterPackCountsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetStarterPackCountsRequest, a, b); } } @@ -3688,72 +2489,39 @@ export class GetStarterPackCountsResponse extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetStarterPackCountsResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'joined_week', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - { - no: 2, - name: 'joined_all_time', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetStarterPackCountsResponse { - return new GetStarterPackCountsResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetStarterPackCountsResponse { - return new GetStarterPackCountsResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetStarterPackCountsResponse { - return new GetStarterPackCountsResponse().fromJsonString( - jsonString, - options, - ) - } - - static equals( - a: - | GetStarterPackCountsResponse - | PlainMessage - | undefined, - b: - | GetStarterPackCountsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetStarterPackCountsResponse, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetStarterPackCountsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "joined_week", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + { no: 2, name: "joined_all_time", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetStarterPackCountsResponse { + return new GetStarterPackCountsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetStarterPackCountsResponse { + return new GetStarterPackCountsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetStarterPackCountsResponse { + return new GetStarterPackCountsResponse().fromJsonString(jsonString, options); + } + + static equals(a: GetStarterPackCountsResponse | PlainMessage | undefined, b: GetStarterPackCountsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetStarterPackCountsResponse, a, b); } } @@ -3764,45 +2532,33 @@ export class GetListCountsRequest extends Message { /** * @generated from field: repeated bsky.RecordRef refs = 1; */ - refs: RecordRef[] = [] + refs: RecordRef[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListCountsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListCountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListCountsRequest { - return new GetListCountsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListCountsRequest { + return new GetListCountsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListCountsRequest { - return new GetListCountsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListCountsRequest { + return new GetListCountsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListCountsRequest { - return new GetListCountsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListCountsRequest { + return new GetListCountsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetListCountsRequest | PlainMessage | undefined, - b: GetListCountsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListCountsRequest, a, b) + static equals(a: GetListCountsRequest | PlainMessage | undefined, b: GetListCountsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListCountsRequest, a, b); } } @@ -3813,51 +2569,33 @@ export class GetListCountsResponse extends Message { /** * @generated from field: repeated int32 list_items = 1; */ - listItems: number[] = [] + listItems: number[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListCountsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListCountsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'list_items', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - ]) + { no: 1, name: "list_items", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListCountsResponse { - return new GetListCountsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListCountsResponse { + return new GetListCountsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListCountsResponse { - return new GetListCountsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListCountsResponse { + return new GetListCountsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListCountsResponse { - return new GetListCountsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListCountsResponse { + return new GetListCountsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetListCountsResponse | PlainMessage | undefined, - b: GetListCountsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListCountsResponse, a, b) + static equals(a: GetListCountsResponse | PlainMessage | undefined, b: GetListCountsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListCountsResponse, a, b); } } @@ -3868,60 +2606,39 @@ export class GetNewUserCountForRangeRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNewUserCountForRangeRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNewUserCountForRangeRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'start', kind: 'message', T: Timestamp }, - { no: 2, name: 'end', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "start", kind: "message", T: Timestamp }, + { no: 2, name: "end", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNewUserCountForRangeRequest { - return new GetNewUserCountForRangeRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNewUserCountForRangeRequest { + return new GetNewUserCountForRangeRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNewUserCountForRangeRequest { - return new GetNewUserCountForRangeRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNewUserCountForRangeRequest { + return new GetNewUserCountForRangeRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNewUserCountForRangeRequest { - return new GetNewUserCountForRangeRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetNewUserCountForRangeRequest { + return new GetNewUserCountForRangeRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetNewUserCountForRangeRequest - | PlainMessage - | undefined, - b: - | GetNewUserCountForRangeRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNewUserCountForRangeRequest, a, b) + static equals(a: GetNewUserCountForRangeRequest | PlainMessage | undefined, b: GetNewUserCountForRangeRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNewUserCountForRangeRequest, a, b); } } @@ -3932,54 +2649,33 @@ export class GetNewUserCountForRangeResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNewUserCountForRangeResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNewUserCountForRangeResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) + { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNewUserCountForRangeResponse { - return new GetNewUserCountForRangeResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNewUserCountForRangeResponse { + return new GetNewUserCountForRangeResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNewUserCountForRangeResponse { - return new GetNewUserCountForRangeResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNewUserCountForRangeResponse { + return new GetNewUserCountForRangeResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNewUserCountForRangeResponse { - return new GetNewUserCountForRangeResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetNewUserCountForRangeResponse { + return new GetNewUserCountForRangeResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetNewUserCountForRangeResponse - | PlainMessage - | undefined, - b: - | GetNewUserCountForRangeResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNewUserCountForRangeResponse, a, b) + static equals(a: GetNewUserCountForRangeResponse | PlainMessage | undefined, b: GetNewUserCountForRangeResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNewUserCountForRangeResponse, a, b); } } @@ -3993,63 +2689,45 @@ export class GetRepostsBySubjectRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostsBySubjectRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostsBySubjectRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'subject', kind: 'message', T: RecordRef }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "subject", kind: "message", T: RecordRef }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostsBySubjectRequest { - return new GetRepostsBySubjectRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostsBySubjectRequest { + return new GetRepostsBySubjectRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostsBySubjectRequest { - return new GetRepostsBySubjectRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostsBySubjectRequest { + return new GetRepostsBySubjectRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostsBySubjectRequest { - return new GetRepostsBySubjectRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRepostsBySubjectRequest { + return new GetRepostsBySubjectRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostsBySubjectRequest - | PlainMessage - | undefined, - b: - | GetRepostsBySubjectRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostsBySubjectRequest, a, b) + static equals(a: GetRepostsBySubjectRequest | PlainMessage | undefined, b: GetRepostsBySubjectRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostsBySubjectRequest, a, b); } } @@ -4060,63 +2738,39 @@ export class GetRepostsBySubjectResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostsBySubjectResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostsBySubjectResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostsBySubjectResponse { - return new GetRepostsBySubjectResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostsBySubjectResponse { + return new GetRepostsBySubjectResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostsBySubjectResponse { - return new GetRepostsBySubjectResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostsBySubjectResponse { + return new GetRepostsBySubjectResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostsBySubjectResponse { - return new GetRepostsBySubjectResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRepostsBySubjectResponse { + return new GetRepostsBySubjectResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostsBySubjectResponse - | PlainMessage - | undefined, - b: - | GetRepostsBySubjectResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostsBySubjectResponse, a, b) + static equals(a: GetRepostsBySubjectResponse | PlainMessage | undefined, b: GetRepostsBySubjectResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostsBySubjectResponse, a, b); } } @@ -4130,63 +2784,39 @@ export class GetRepostsByActorAndSubjectsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostsByActorAndSubjectsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostsByActorAndSubjectsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostsByActorAndSubjectsRequest { - return new GetRepostsByActorAndSubjectsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostsByActorAndSubjectsRequest { + return new GetRepostsByActorAndSubjectsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostsByActorAndSubjectsRequest { - return new GetRepostsByActorAndSubjectsRequest().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostsByActorAndSubjectsRequest { + return new GetRepostsByActorAndSubjectsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostsByActorAndSubjectsRequest { - return new GetRepostsByActorAndSubjectsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetRepostsByActorAndSubjectsRequest { + return new GetRepostsByActorAndSubjectsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostsByActorAndSubjectsRequest - | PlainMessage - | undefined, - b: - | GetRepostsByActorAndSubjectsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostsByActorAndSubjectsRequest, a, b) + static equals(a: GetRepostsByActorAndSubjectsRequest | PlainMessage | undefined, b: GetRepostsByActorAndSubjectsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostsByActorAndSubjectsRequest, a, b); } } @@ -4197,51 +2827,39 @@ export class RecordRef extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.RecordRef' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.RecordRef"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): RecordRef { - return new RecordRef().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): RecordRef { + return new RecordRef().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): RecordRef { - return new RecordRef().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): RecordRef { + return new RecordRef().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): RecordRef { - return new RecordRef().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): RecordRef { + return new RecordRef().fromJsonString(jsonString, options); } - static equals( - a: RecordRef | PlainMessage | undefined, - b: RecordRef | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(RecordRef, a, b) + static equals(a: RecordRef | PlainMessage | undefined, b: RecordRef | PlainMessage | undefined): boolean { + return proto3.util.equals(RecordRef, a, b); } } @@ -4252,63 +2870,33 @@ export class GetRepostsByActorAndSubjectsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRepostsByActorAndSubjectsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRepostsByActorAndSubjectsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRepostsByActorAndSubjectsResponse { - return new GetRepostsByActorAndSubjectsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRepostsByActorAndSubjectsResponse { + return new GetRepostsByActorAndSubjectsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRepostsByActorAndSubjectsResponse { - return new GetRepostsByActorAndSubjectsResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRepostsByActorAndSubjectsResponse { + return new GetRepostsByActorAndSubjectsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRepostsByActorAndSubjectsResponse { - return new GetRepostsByActorAndSubjectsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetRepostsByActorAndSubjectsResponse { + return new GetRepostsByActorAndSubjectsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetRepostsByActorAndSubjectsResponse - | PlainMessage - | undefined, - b: - | GetRepostsByActorAndSubjectsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRepostsByActorAndSubjectsResponse, a, b) + static equals(a: GetRepostsByActorAndSubjectsResponse | PlainMessage | undefined, b: GetRepostsByActorAndSubjectsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRepostsByActorAndSubjectsResponse, a, b); } } @@ -4322,63 +2910,45 @@ export class GetActorRepostsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorRepostsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorRepostsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorRepostsRequest { - return new GetActorRepostsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorRepostsRequest { + return new GetActorRepostsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorRepostsRequest { - return new GetActorRepostsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorRepostsRequest { + return new GetActorRepostsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorRepostsRequest { - return new GetActorRepostsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorRepostsRequest { + return new GetActorRepostsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorRepostsRequest - | PlainMessage - | undefined, - b: - | GetActorRepostsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorRepostsRequest, a, b) + static equals(a: GetActorRepostsRequest | PlainMessage | undefined, b: GetActorRepostsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorRepostsRequest, a, b); } } @@ -4389,63 +2959,39 @@ export class GetActorRepostsResponse extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorRepostsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorRepostsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorRepostsResponse { - return new GetActorRepostsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorRepostsResponse { + return new GetActorRepostsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorRepostsResponse { - return new GetActorRepostsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorRepostsResponse { + return new GetActorRepostsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorRepostsResponse { - return new GetActorRepostsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorRepostsResponse { + return new GetActorRepostsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorRepostsResponse - | PlainMessage - | undefined, - b: - | GetActorRepostsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorRepostsResponse, a, b) + static equals(a: GetActorRepostsResponse | PlainMessage | undefined, b: GetActorRepostsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorRepostsResponse, a, b); } } @@ -4460,51 +3006,33 @@ export class GetActorsRequest extends Message { /** * @generated from field: repeated string dids = 1; */ - dids: string[] = [] + dids: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorsRequest { - return new GetActorsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorsRequest { + return new GetActorsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorsRequest { - return new GetActorsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorsRequest { + return new GetActorsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorsRequest { - return new GetActorsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorsRequest { + return new GetActorsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetActorsRequest | PlainMessage | undefined, - b: GetActorsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorsRequest, a, b) + static equals(a: GetActorsRequest | PlainMessage | undefined, b: GetActorsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorsRequest, a, b); } } @@ -4515,125 +3043,93 @@ export class ActorInfo extends Message { /** * @generated from field: bool exists = 1; */ - exists = false + exists = false; /** * @generated from field: string handle = 2; */ - handle = '' + handle = ""; /** * @generated from field: bsky.Record profile = 3; */ - profile?: Record + profile?: Record; /** * @generated from field: bool taken_down = 4; */ - takenDown = false + takenDown = false; /** * @generated from field: string takedown_ref = 5; */ - takedownRef = '' + takedownRef = ""; /** * @generated from field: google.protobuf.Timestamp tombstoned_at = 6; */ - tombstonedAt?: Timestamp + tombstonedAt?: Timestamp; /** * @generated from field: bool labeler = 7; */ - labeler = false + labeler = false; /** * @generated from field: string allow_incoming_chats_from = 8; */ - allowIncomingChatsFrom = '' + allowIncomingChatsFrom = ""; /** * @generated from field: string upstream_status = 9; */ - upstreamStatus = '' + upstreamStatus = ""; /** * @generated from field: google.protobuf.Timestamp created_at = 10; */ - createdAt?: Timestamp + createdAt?: Timestamp; /** * @generated from field: bool priority_notifications = 11; */ - priorityNotifications = false + priorityNotifications = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ActorInfo' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'exists', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'profile', kind: 'message', T: Record }, - { no: 4, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 5, - name: 'takedown_ref', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 6, name: 'tombstoned_at', kind: 'message', T: Timestamp }, - { no: 7, name: 'labeler', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 8, - name: 'allow_incoming_chats_from', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 9, - name: 'upstream_status', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 10, name: 'created_at', kind: 'message', T: Timestamp }, - { - no: 11, - name: 'priority_notifications', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ActorInfo { - return new ActorInfo().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ActorInfo { - return new ActorInfo().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): ActorInfo { - return new ActorInfo().fromJsonString(jsonString, options) - } - - static equals( - a: ActorInfo | PlainMessage | undefined, - b: ActorInfo | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(ActorInfo, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ActorInfo"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "exists", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "handle", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "profile", kind: "message", T: Record }, + { no: 4, name: "taken_down", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "takedown_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "tombstoned_at", kind: "message", T: Timestamp }, + { no: 7, name: "labeler", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "allow_incoming_chats_from", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 9, name: "upstream_status", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 10, name: "created_at", kind: "message", T: Timestamp }, + { no: 11, name: "priority_notifications", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ActorInfo { + return new ActorInfo().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ActorInfo { + return new ActorInfo().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ActorInfo { + return new ActorInfo().fromJsonString(jsonString, options); + } + + static equals(a: ActorInfo | PlainMessage | undefined, b: ActorInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(ActorInfo, a, b); } } @@ -4644,45 +3140,33 @@ export class GetActorsResponse extends Message { /** * @generated from field: repeated bsky.ActorInfo actors = 1; */ - actors: ActorInfo[] = [] + actors: ActorInfo[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actors', kind: 'message', T: ActorInfo, repeated: true }, - ]) + { no: 1, name: "actors", kind: "message", T: ActorInfo, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorsResponse { - return new GetActorsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorsResponse { + return new GetActorsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorsResponse { - return new GetActorsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorsResponse { + return new GetActorsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorsResponse { - return new GetActorsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorsResponse { + return new GetActorsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetActorsResponse | PlainMessage | undefined, - b: GetActorsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorsResponse, a, b) + static equals(a: GetActorsResponse | PlainMessage | undefined, b: GetActorsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorsResponse, a, b); } } @@ -4697,57 +3181,33 @@ export class GetDidsByHandlesRequest extends Message { /** * @generated from field: repeated string handles = 1; */ - handles: string[] = [] + handles: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetDidsByHandlesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetDidsByHandlesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'handles', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "handles", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetDidsByHandlesRequest { - return new GetDidsByHandlesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetDidsByHandlesRequest { + return new GetDidsByHandlesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetDidsByHandlesRequest { - return new GetDidsByHandlesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetDidsByHandlesRequest { + return new GetDidsByHandlesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetDidsByHandlesRequest { - return new GetDidsByHandlesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetDidsByHandlesRequest { + return new GetDidsByHandlesRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetDidsByHandlesRequest - | PlainMessage - | undefined, - b: - | GetDidsByHandlesRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetDidsByHandlesRequest, a, b) + static equals(a: GetDidsByHandlesRequest | PlainMessage | undefined, b: GetDidsByHandlesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDidsByHandlesRequest, a, b); } } @@ -4758,57 +3218,33 @@ export class GetDidsByHandlesResponse extends Message /** * @generated from field: repeated string dids = 1; */ - dids: string[] = [] + dids: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetDidsByHandlesResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetDidsByHandlesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetDidsByHandlesResponse { - return new GetDidsByHandlesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetDidsByHandlesResponse { + return new GetDidsByHandlesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetDidsByHandlesResponse { - return new GetDidsByHandlesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetDidsByHandlesResponse { + return new GetDidsByHandlesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetDidsByHandlesResponse { - return new GetDidsByHandlesResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetDidsByHandlesResponse { + return new GetDidsByHandlesResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetDidsByHandlesResponse - | PlainMessage - | undefined, - b: - | GetDidsByHandlesResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetDidsByHandlesResponse, a, b) + static equals(a: GetDidsByHandlesResponse | PlainMessage | undefined, b: GetDidsByHandlesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetDidsByHandlesResponse, a, b); } } @@ -4823,63 +3259,39 @@ export class GetRelationshipsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: repeated string target_dids = 2; */ - targetDids: string[] = [] + targetDids: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRelationshipsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRelationshipsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'target_dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRelationshipsRequest { - return new GetRelationshipsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRelationshipsRequest { + return new GetRelationshipsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRelationshipsRequest { - return new GetRelationshipsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRelationshipsRequest { + return new GetRelationshipsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRelationshipsRequest { - return new GetRelationshipsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRelationshipsRequest { + return new GetRelationshipsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetRelationshipsRequest - | PlainMessage - | undefined, - b: - | GetRelationshipsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRelationshipsRequest, a, b) + static equals(a: GetRelationshipsRequest | PlainMessage | undefined, b: GetRelationshipsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRelationshipsRequest, a, b); } } @@ -4890,107 +3302,75 @@ export class Relationships extends Message { /** * @generated from field: bool muted = 1; */ - muted = false + muted = false; /** * @generated from field: string muted_by_list = 2; */ - mutedByList = '' + mutedByList = ""; /** * @generated from field: string blocked_by = 3; */ - blockedBy = '' + blockedBy = ""; /** * @generated from field: string blocking = 4; */ - blocking = '' + blocking = ""; /** * @generated from field: string blocked_by_list = 5; */ - blockedByList = '' + blockedByList = ""; /** * @generated from field: string blocking_by_list = 6; */ - blockingByList = '' + blockingByList = ""; /** * @generated from field: string following = 7; */ - following = '' + following = ""; /** * @generated from field: string followed_by = 8; */ - followedBy = '' + followedBy = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.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: 'blocked_by', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'blocking', 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: 'followed_by', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): Relationships { - return new Relationships().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): Relationships { - return new Relationships().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): Relationships { - return new Relationships().fromJsonString(jsonString, options) - } - - static equals( - a: Relationships | PlainMessage | undefined, - b: Relationships | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(Relationships, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.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: "blocked_by", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "blocking", 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: "followed_by", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Relationships { + return new Relationships().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Relationships { + return new Relationships().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Relationships { + return new Relationships().fromJsonString(jsonString, options); + } + + static equals(a: Relationships | PlainMessage | undefined, b: Relationships | PlainMessage | undefined): boolean { + return proto3.util.equals(Relationships, a, b); } } @@ -5001,57 +3381,33 @@ export class GetRelationshipsResponse extends Message /** * @generated from field: repeated bsky.Relationships relationships = 1; */ - relationships: Relationships[] = [] + relationships: Relationships[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRelationshipsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRelationshipsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'relationships', - kind: 'message', - T: Relationships, - repeated: true, - }, - ]) + { no: 1, name: "relationships", kind: "message", T: Relationships, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRelationshipsResponse { - return new GetRelationshipsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRelationshipsResponse { + return new GetRelationshipsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRelationshipsResponse { - return new GetRelationshipsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRelationshipsResponse { + return new GetRelationshipsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRelationshipsResponse { - return new GetRelationshipsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRelationshipsResponse { + return new GetRelationshipsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetRelationshipsResponse - | PlainMessage - | undefined, - b: - | GetRelationshipsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRelationshipsResponse, a, b) + static equals(a: GetRelationshipsResponse | PlainMessage | undefined, b: GetRelationshipsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRelationshipsResponse, a, b); } } @@ -5065,51 +3421,39 @@ export class RelationshipPair extends Message { /** * @generated from field: string a = 1; */ - a = '' + a = ""; /** * @generated from field: string b = 2; */ - b = '' + b = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.RelationshipPair' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.RelationshipPair"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'a', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'b', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "a", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "b", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): RelationshipPair { - return new RelationshipPair().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): RelationshipPair { + return new RelationshipPair().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): RelationshipPair { - return new RelationshipPair().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): RelationshipPair { + return new RelationshipPair().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): RelationshipPair { - return new RelationshipPair().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): RelationshipPair { + return new RelationshipPair().fromJsonString(jsonString, options); } - static equals( - a: RelationshipPair | PlainMessage | undefined, - b: RelationshipPair | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(RelationshipPair, a, b) + static equals(a: RelationshipPair | PlainMessage | undefined, b: RelationshipPair | PlainMessage | undefined): boolean { + return proto3.util.equals(RelationshipPair, a, b); } } @@ -5120,73 +3464,51 @@ export class BlockExistence extends Message { /** * @generated from field: string blocked_by = 1; */ - blockedBy = '' + blockedBy = ""; /** * @generated from field: string blocking = 2; */ - blocking = '' + blocking = ""; /** * @generated from field: string blocked_by_list = 3; */ - blockedByList = '' + blockedByList = ""; /** * @generated from field: string blocking_by_list = 4; */ - blockingByList = '' + blockingByList = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.BlockExistence' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.BlockExistence"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'blocked_by', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'blocking', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 3, - name: 'blocked_by_list', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 4, - name: 'blocking_by_list', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "blocked_by", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "blocking", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "blocked_by_list", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "blocking_by_list", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): BlockExistence { - return new BlockExistence().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): BlockExistence { + return new BlockExistence().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): BlockExistence { - return new BlockExistence().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): BlockExistence { + return new BlockExistence().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): BlockExistence { - return new BlockExistence().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): BlockExistence { + return new BlockExistence().fromJsonString(jsonString, options); } - static equals( - a: BlockExistence | PlainMessage | undefined, - b: BlockExistence | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(BlockExistence, a, b) + static equals(a: BlockExistence | PlainMessage | undefined, b: BlockExistence | PlainMessage | undefined): boolean { + return proto3.util.equals(BlockExistence, a, b); } } @@ -5197,57 +3519,33 @@ export class GetBlockExistenceRequest extends Message /** * @generated from field: repeated bsky.RelationshipPair pairs = 1; */ - pairs: RelationshipPair[] = [] + pairs: RelationshipPair[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlockExistenceRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlockExistenceRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'pairs', - kind: 'message', - T: RelationshipPair, - repeated: true, - }, - ]) + { no: 1, name: "pairs", kind: "message", T: RelationshipPair, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlockExistenceRequest { - return new GetBlockExistenceRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlockExistenceRequest { + return new GetBlockExistenceRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlockExistenceRequest { - return new GetBlockExistenceRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlockExistenceRequest { + return new GetBlockExistenceRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlockExistenceRequest { - return new GetBlockExistenceRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlockExistenceRequest { + return new GetBlockExistenceRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlockExistenceRequest - | PlainMessage - | undefined, - b: - | GetBlockExistenceRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlockExistenceRequest, a, b) + static equals(a: GetBlockExistenceRequest | PlainMessage | undefined, b: GetBlockExistenceRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlockExistenceRequest, a, b); } } @@ -5258,69 +3556,39 @@ export class GetBlockExistenceResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlockExistenceResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlockExistenceResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'exists', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - repeated: true, - }, - { - no: 2, - name: 'blocks', - kind: 'message', - T: BlockExistence, - repeated: true, - }, - ]) + { no: 1, name: "exists", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, + { no: 2, name: "blocks", kind: "message", T: BlockExistence, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlockExistenceResponse { - return new GetBlockExistenceResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlockExistenceResponse { + return new GetBlockExistenceResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlockExistenceResponse { - return new GetBlockExistenceResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlockExistenceResponse { + return new GetBlockExistenceResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlockExistenceResponse { - return new GetBlockExistenceResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlockExistenceResponse { + return new GetBlockExistenceResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlockExistenceResponse - | PlainMessage - | undefined, - b: - | GetBlockExistenceResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlockExistenceResponse, a, b) + static equals(a: GetBlockExistenceResponse | PlainMessage | undefined, b: GetBlockExistenceResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlockExistenceResponse, a, b); } } @@ -5331,51 +3599,39 @@ export class ListItemInfo extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string did = 2; */ - did = '' + did = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ListItemInfo' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ListItemInfo"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ListItemInfo { - return new ListItemInfo().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): ListItemInfo { + return new ListItemInfo().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ListItemInfo { - return new ListItemInfo().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): ListItemInfo { + return new ListItemInfo().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ListItemInfo { - return new ListItemInfo().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): ListItemInfo { + return new ListItemInfo().fromJsonString(jsonString, options); } - static equals( - a: ListItemInfo | PlainMessage | undefined, - b: ListItemInfo | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(ListItemInfo, a, b) + static equals(a: ListItemInfo | PlainMessage | undefined, b: ListItemInfo | PlainMessage | undefined): boolean { + return proto3.util.equals(ListItemInfo, a, b); } } @@ -5389,57 +3645,45 @@ export class GetListMembersRequest extends Message { /** * @generated from field: string list_uri = 1; */ - listUri = '' + listUri = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListMembersRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListMembersRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListMembersRequest { - return new GetListMembersRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListMembersRequest { + return new GetListMembersRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListMembersRequest { - return new GetListMembersRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListMembersRequest { + return new GetListMembersRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListMembersRequest { - return new GetListMembersRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListMembersRequest { + return new GetListMembersRequest().fromJsonString(jsonString, options); } - static equals( - a: GetListMembersRequest | PlainMessage | undefined, - b: GetListMembersRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListMembersRequest, a, b) + static equals(a: GetListMembersRequest | PlainMessage | undefined, b: GetListMembersRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListMembersRequest, a, b); } } @@ -5450,63 +3694,39 @@ export class GetListMembersResponse extends Message { /** * @generated from field: repeated bsky.ListItemInfo listitems = 1; */ - listitems: ListItemInfo[] = [] + listitems: ListItemInfo[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListMembersResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListMembersResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'listitems', - kind: 'message', - T: ListItemInfo, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "listitems", kind: "message", T: ListItemInfo, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListMembersResponse { - return new GetListMembersResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListMembersResponse { + return new GetListMembersResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListMembersResponse { - return new GetListMembersResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListMembersResponse { + return new GetListMembersResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListMembersResponse { - return new GetListMembersResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListMembersResponse { + return new GetListMembersResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetListMembersResponse - | PlainMessage - | undefined, - b: - | GetListMembersResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListMembersResponse, a, b) + static equals(a: GetListMembersResponse | PlainMessage | undefined, b: GetListMembersResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListMembersResponse, a, b); } } @@ -5520,63 +3740,39 @@ export class GetListMembershipRequest extends Message /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: repeated string list_uris = 2; */ - listUris: string[] = [] + listUris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListMembershipRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListMembershipRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'list_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "list_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListMembershipRequest { - return new GetListMembershipRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListMembershipRequest { + return new GetListMembershipRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListMembershipRequest { - return new GetListMembershipRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListMembershipRequest { + return new GetListMembershipRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListMembershipRequest { - return new GetListMembershipRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListMembershipRequest { + return new GetListMembershipRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetListMembershipRequest - | PlainMessage - | undefined, - b: - | GetListMembershipRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListMembershipRequest, a, b) + static equals(a: GetListMembershipRequest | PlainMessage | undefined, b: GetListMembershipRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListMembershipRequest, a, b); } } @@ -5587,57 +3783,33 @@ export class GetListMembershipResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListMembershipResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListMembershipResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'listitem_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "listitem_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListMembershipResponse { - return new GetListMembershipResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListMembershipResponse { + return new GetListMembershipResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListMembershipResponse { - return new GetListMembershipResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListMembershipResponse { + return new GetListMembershipResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListMembershipResponse { - return new GetListMembershipResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListMembershipResponse { + return new GetListMembershipResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetListMembershipResponse - | PlainMessage - | undefined, - b: - | GetListMembershipResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetListMembershipResponse, a, b) + static equals(a: GetListMembershipResponse | PlainMessage | undefined, b: GetListMembershipResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListMembershipResponse, a, b); } } @@ -5651,45 +3823,33 @@ export class GetListCountRequest extends Message { /** * @generated from field: string list_uri = 1; */ - listUri = '' + listUri = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListCountRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListCountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListCountRequest { - return new GetListCountRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListCountRequest { + return new GetListCountRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListCountRequest { - return new GetListCountRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListCountRequest { + return new GetListCountRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListCountRequest { - return new GetListCountRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListCountRequest { + return new GetListCountRequest().fromJsonString(jsonString, options); } - static equals( - a: GetListCountRequest | PlainMessage | undefined, - b: GetListCountRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListCountRequest, a, b) + static equals(a: GetListCountRequest | PlainMessage | undefined, b: GetListCountRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListCountRequest, a, b); } } @@ -5700,45 +3860,33 @@ export class GetListCountResponse extends Message { /** * @generated from field: int32 count = 1; */ - count = 0 + count = 0; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListCountResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListCountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) + { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListCountResponse { - return new GetListCountResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListCountResponse { + return new GetListCountResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListCountResponse { - return new GetListCountResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListCountResponse { + return new GetListCountResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListCountResponse { - return new GetListCountResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListCountResponse { + return new GetListCountResponse().fromJsonString(jsonString, options); } - static equals( - a: GetListCountResponse | PlainMessage | undefined, - b: GetListCountResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListCountResponse, a, b) + static equals(a: GetListCountResponse | PlainMessage | undefined, b: GetListCountResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListCountResponse, a, b); } } @@ -5752,57 +3900,45 @@ export class GetActorListsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorListsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorListsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorListsRequest { - return new GetActorListsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorListsRequest { + return new GetActorListsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorListsRequest { - return new GetActorListsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorListsRequest { + return new GetActorListsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorListsRequest { - return new GetActorListsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorListsRequest { + return new GetActorListsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetActorListsRequest | PlainMessage | undefined, - b: GetActorListsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorListsRequest, a, b) + static equals(a: GetActorListsRequest | PlainMessage | undefined, b: GetActorListsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorListsRequest, a, b); } } @@ -5813,57 +3949,39 @@ export class GetActorListsResponse extends Message { /** * @generated from field: repeated string list_uris = 1; */ - listUris: string[] = [] + listUris: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorListsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorListsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'list_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorListsResponse { - return new GetActorListsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorListsResponse { + return new GetActorListsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorListsResponse { - return new GetActorListsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorListsResponse { + return new GetActorListsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorListsResponse { - return new GetActorListsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorListsResponse { + return new GetActorListsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetActorListsResponse | PlainMessage | undefined, - b: GetActorListsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorListsResponse, a, b) + static equals(a: GetActorListsResponse | PlainMessage | undefined, b: GetActorListsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorListsResponse, a, b); } } @@ -5877,57 +3995,39 @@ export class GetActorMutesActorRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorMutesActorRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorMutesActorRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'target_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorMutesActorRequest { - return new GetActorMutesActorRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorMutesActorRequest { + return new GetActorMutesActorRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorMutesActorRequest { - return new GetActorMutesActorRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorMutesActorRequest { + return new GetActorMutesActorRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorMutesActorRequest { - return new GetActorMutesActorRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorMutesActorRequest { + return new GetActorMutesActorRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorMutesActorRequest - | PlainMessage - | undefined, - b: - | GetActorMutesActorRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorMutesActorRequest, a, b) + static equals(a: GetActorMutesActorRequest | PlainMessage | undefined, b: GetActorMutesActorRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorMutesActorRequest, a, b); } } @@ -5938,51 +4038,33 @@ export class GetActorMutesActorResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorMutesActorResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorMutesActorResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'muted', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorMutesActorResponse { - return new GetActorMutesActorResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorMutesActorResponse { + return new GetActorMutesActorResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorMutesActorResponse { - return new GetActorMutesActorResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorMutesActorResponse { + return new GetActorMutesActorResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorMutesActorResponse { - return new GetActorMutesActorResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorMutesActorResponse { + return new GetActorMutesActorResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorMutesActorResponse - | PlainMessage - | undefined, - b: - | GetActorMutesActorResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorMutesActorResponse, a, b) + static equals(a: GetActorMutesActorResponse | PlainMessage | undefined, b: GetActorMutesActorResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorMutesActorResponse, a, b); } } @@ -5996,57 +4078,45 @@ export class GetMutesRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutesRequest { - return new GetMutesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutesRequest { + return new GetMutesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutesRequest { - return new GetMutesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutesRequest { + return new GetMutesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutesRequest { - return new GetMutesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetMutesRequest { + return new GetMutesRequest().fromJsonString(jsonString, options); } - static equals( - a: GetMutesRequest | PlainMessage | undefined, - b: GetMutesRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetMutesRequest, a, b) + static equals(a: GetMutesRequest | PlainMessage | undefined, b: GetMutesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutesRequest, a, b); } } @@ -6057,57 +4127,39 @@ export class GetMutesResponse extends Message { /** * @generated from field: repeated string dids = 1; */ - dids: string[] = [] + dids: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutesResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutesResponse { - return new GetMutesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutesResponse { + return new GetMutesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutesResponse { - return new GetMutesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutesResponse { + return new GetMutesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutesResponse { - return new GetMutesResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetMutesResponse { + return new GetMutesResponse().fromJsonString(jsonString, options); } - static equals( - a: GetMutesResponse | PlainMessage | undefined, - b: GetMutesResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetMutesResponse, a, b) + static equals(a: GetMutesResponse | PlainMessage | undefined, b: GetMutesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutesResponse, a, b); } } @@ -6122,60 +4174,39 @@ export class GetActorMutesActorViaListRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorMutesActorViaListRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorMutesActorViaListRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'target_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorMutesActorViaListRequest { - return new GetActorMutesActorViaListRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorMutesActorViaListRequest { + return new GetActorMutesActorViaListRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorMutesActorViaListRequest { - return new GetActorMutesActorViaListRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorMutesActorViaListRequest { + return new GetActorMutesActorViaListRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorMutesActorViaListRequest { - return new GetActorMutesActorViaListRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorMutesActorViaListRequest { + return new GetActorMutesActorViaListRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorMutesActorViaListRequest - | PlainMessage - | undefined, - b: - | GetActorMutesActorViaListRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorMutesActorViaListRequest, a, b) + static equals(a: GetActorMutesActorViaListRequest | PlainMessage | undefined, b: GetActorMutesActorViaListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorMutesActorViaListRequest, a, b); } } @@ -6186,54 +4217,33 @@ export class GetActorMutesActorViaListResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorMutesActorViaListResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorMutesActorViaListResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorMutesActorViaListResponse { - return new GetActorMutesActorViaListResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorMutesActorViaListResponse { + return new GetActorMutesActorViaListResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorMutesActorViaListResponse { - return new GetActorMutesActorViaListResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorMutesActorViaListResponse { + return new GetActorMutesActorViaListResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorMutesActorViaListResponse { - return new GetActorMutesActorViaListResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorMutesActorViaListResponse { + return new GetActorMutesActorViaListResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorMutesActorViaListResponse - | PlainMessage - | undefined, - b: - | GetActorMutesActorViaListResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorMutesActorViaListResponse, a, b) + static equals(a: GetActorMutesActorViaListResponse | PlainMessage | undefined, b: GetActorMutesActorViaListResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorMutesActorViaListResponse, a, b); } } @@ -6247,60 +4257,39 @@ export class GetMutelistSubscriptionRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutelistSubscriptionRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutelistSubscriptionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutelistSubscriptionRequest { - return new GetMutelistSubscriptionRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutelistSubscriptionRequest { + return new GetMutelistSubscriptionRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutelistSubscriptionRequest { - return new GetMutelistSubscriptionRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutelistSubscriptionRequest { + return new GetMutelistSubscriptionRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutelistSubscriptionRequest { - return new GetMutelistSubscriptionRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetMutelistSubscriptionRequest { + return new GetMutelistSubscriptionRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetMutelistSubscriptionRequest - | PlainMessage - | undefined, - b: - | GetMutelistSubscriptionRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetMutelistSubscriptionRequest, a, b) + static equals(a: GetMutelistSubscriptionRequest | PlainMessage | undefined, b: GetMutelistSubscriptionRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutelistSubscriptionRequest, a, b); } } @@ -6311,54 +4300,33 @@ export class GetMutelistSubscriptionResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutelistSubscriptionResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutelistSubscriptionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'subscribed', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "subscribed", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutelistSubscriptionResponse { - return new GetMutelistSubscriptionResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutelistSubscriptionResponse { + return new GetMutelistSubscriptionResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutelistSubscriptionResponse { - return new GetMutelistSubscriptionResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutelistSubscriptionResponse { + return new GetMutelistSubscriptionResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutelistSubscriptionResponse { - return new GetMutelistSubscriptionResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetMutelistSubscriptionResponse { + return new GetMutelistSubscriptionResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetMutelistSubscriptionResponse - | PlainMessage - | undefined, - b: - | GetMutelistSubscriptionResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetMutelistSubscriptionResponse, a, b) + static equals(a: GetMutelistSubscriptionResponse | PlainMessage | undefined, b: GetMutelistSubscriptionResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutelistSubscriptionResponse, a, b); } } @@ -6372,66 +4340,45 @@ export class GetMutelistSubscriptionsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutelistSubscriptionsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutelistSubscriptionsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutelistSubscriptionsRequest { - return new GetMutelistSubscriptionsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutelistSubscriptionsRequest { + return new GetMutelistSubscriptionsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutelistSubscriptionsRequest { - return new GetMutelistSubscriptionsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutelistSubscriptionsRequest { + return new GetMutelistSubscriptionsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutelistSubscriptionsRequest { - return new GetMutelistSubscriptionsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetMutelistSubscriptionsRequest { + return new GetMutelistSubscriptionsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetMutelistSubscriptionsRequest - | PlainMessage - | undefined, - b: - | GetMutelistSubscriptionsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetMutelistSubscriptionsRequest, a, b) + static equals(a: GetMutelistSubscriptionsRequest | PlainMessage | undefined, b: GetMutelistSubscriptionsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutelistSubscriptionsRequest, a, b); } } @@ -6442,66 +4389,39 @@ export class GetMutelistSubscriptionsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetMutelistSubscriptionsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetMutelistSubscriptionsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'list_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetMutelistSubscriptionsResponse { - return new GetMutelistSubscriptionsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetMutelistSubscriptionsResponse { + return new GetMutelistSubscriptionsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetMutelistSubscriptionsResponse { - return new GetMutelistSubscriptionsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetMutelistSubscriptionsResponse { + return new GetMutelistSubscriptionsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetMutelistSubscriptionsResponse { - return new GetMutelistSubscriptionsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetMutelistSubscriptionsResponse { + return new GetMutelistSubscriptionsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetMutelistSubscriptionsResponse - | PlainMessage - | undefined, - b: - | GetMutelistSubscriptionsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetMutelistSubscriptionsResponse, a, b) + static equals(a: GetMutelistSubscriptionsResponse | PlainMessage | undefined, b: GetMutelistSubscriptionsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetMutelistSubscriptionsResponse, a, b); } } @@ -6512,66 +4432,39 @@ export class GetThreadMutesOnSubjectsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadMutesOnSubjectsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadMutesOnSubjectsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'thread_roots', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "thread_roots", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadMutesOnSubjectsRequest { - return new GetThreadMutesOnSubjectsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadMutesOnSubjectsRequest { + return new GetThreadMutesOnSubjectsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadMutesOnSubjectsRequest { - return new GetThreadMutesOnSubjectsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadMutesOnSubjectsRequest { + return new GetThreadMutesOnSubjectsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadMutesOnSubjectsRequest { - return new GetThreadMutesOnSubjectsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetThreadMutesOnSubjectsRequest { + return new GetThreadMutesOnSubjectsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetThreadMutesOnSubjectsRequest - | PlainMessage - | undefined, - b: - | GetThreadMutesOnSubjectsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetThreadMutesOnSubjectsRequest, a, b) + static equals(a: GetThreadMutesOnSubjectsRequest | PlainMessage | undefined, b: GetThreadMutesOnSubjectsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadMutesOnSubjectsRequest, a, b); } } @@ -6582,60 +4475,33 @@ export class GetThreadMutesOnSubjectsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadMutesOnSubjectsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadMutesOnSubjectsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'muted', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - repeated: true, - }, - ]) + { no: 1, name: "muted", kind: "scalar", T: 8 /* ScalarType.BOOL */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadMutesOnSubjectsResponse { - return new GetThreadMutesOnSubjectsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadMutesOnSubjectsResponse { + return new GetThreadMutesOnSubjectsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadMutesOnSubjectsResponse { - return new GetThreadMutesOnSubjectsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadMutesOnSubjectsResponse { + return new GetThreadMutesOnSubjectsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadMutesOnSubjectsResponse { - return new GetThreadMutesOnSubjectsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetThreadMutesOnSubjectsResponse { + return new GetThreadMutesOnSubjectsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetThreadMutesOnSubjectsResponse - | PlainMessage - | undefined, - b: - | GetThreadMutesOnSubjectsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetThreadMutesOnSubjectsResponse, a, b) + static equals(a: GetThreadMutesOnSubjectsResponse | PlainMessage | undefined, b: GetThreadMutesOnSubjectsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadMutesOnSubjectsResponse, a, b); } } @@ -6650,60 +4516,39 @@ export class GetBidirectionalBlockRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBidirectionalBlockRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBidirectionalBlockRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'target_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBidirectionalBlockRequest { - return new GetBidirectionalBlockRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBidirectionalBlockRequest { + return new GetBidirectionalBlockRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBidirectionalBlockRequest { - return new GetBidirectionalBlockRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBidirectionalBlockRequest { + return new GetBidirectionalBlockRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBidirectionalBlockRequest { - return new GetBidirectionalBlockRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBidirectionalBlockRequest { + return new GetBidirectionalBlockRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBidirectionalBlockRequest - | PlainMessage - | undefined, - b: - | GetBidirectionalBlockRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBidirectionalBlockRequest, a, b) + static equals(a: GetBidirectionalBlockRequest | PlainMessage | undefined, b: GetBidirectionalBlockRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBidirectionalBlockRequest, a, b); } } @@ -6714,54 +4559,33 @@ export class GetBidirectionalBlockResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBidirectionalBlockResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBidirectionalBlockResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'block_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "block_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBidirectionalBlockResponse { - return new GetBidirectionalBlockResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBidirectionalBlockResponse { + return new GetBidirectionalBlockResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBidirectionalBlockResponse { - return new GetBidirectionalBlockResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBidirectionalBlockResponse { + return new GetBidirectionalBlockResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBidirectionalBlockResponse { - return new GetBidirectionalBlockResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBidirectionalBlockResponse { + return new GetBidirectionalBlockResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBidirectionalBlockResponse - | PlainMessage - | undefined, - b: - | GetBidirectionalBlockResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBidirectionalBlockResponse, a, b) + static equals(a: GetBidirectionalBlockResponse | PlainMessage | undefined, b: GetBidirectionalBlockResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBidirectionalBlockResponse, a, b); } } @@ -6775,57 +4599,45 @@ export class GetBlocksRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocksRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocksRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocksRequest { - return new GetBlocksRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocksRequest { + return new GetBlocksRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocksRequest { - return new GetBlocksRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocksRequest { + return new GetBlocksRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocksRequest { - return new GetBlocksRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlocksRequest { + return new GetBlocksRequest().fromJsonString(jsonString, options); } - static equals( - a: GetBlocksRequest | PlainMessage | undefined, - b: GetBlocksRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetBlocksRequest, a, b) + static equals(a: GetBlocksRequest | PlainMessage | undefined, b: GetBlocksRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocksRequest, a, b); } } @@ -6836,57 +4648,39 @@ export class GetBlocksResponse extends Message { /** * @generated from field: repeated string block_uris = 1; */ - blockUris: string[] = [] + blockUris: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocksResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocksResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'block_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "block_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocksResponse { - return new GetBlocksResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocksResponse { + return new GetBlocksResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocksResponse { - return new GetBlocksResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocksResponse { + return new GetBlocksResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocksResponse { - return new GetBlocksResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlocksResponse { + return new GetBlocksResponse().fromJsonString(jsonString, options); } - static equals( - a: GetBlocksResponse | PlainMessage | undefined, - b: GetBlocksResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetBlocksResponse, a, b) + static equals(a: GetBlocksResponse | PlainMessage | undefined, b: GetBlocksResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocksResponse, a, b); } } @@ -6901,63 +4695,39 @@ export class GetBidirectionalBlockViaListRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBidirectionalBlockViaListRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBidirectionalBlockViaListRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'target_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBidirectionalBlockViaListRequest { - return new GetBidirectionalBlockViaListRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBidirectionalBlockViaListRequest { + return new GetBidirectionalBlockViaListRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBidirectionalBlockViaListRequest { - return new GetBidirectionalBlockViaListRequest().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBidirectionalBlockViaListRequest { + return new GetBidirectionalBlockViaListRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBidirectionalBlockViaListRequest { - return new GetBidirectionalBlockViaListRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBidirectionalBlockViaListRequest { + return new GetBidirectionalBlockViaListRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBidirectionalBlockViaListRequest - | PlainMessage - | undefined, - b: - | GetBidirectionalBlockViaListRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBidirectionalBlockViaListRequest, a, b) + static equals(a: GetBidirectionalBlockViaListRequest | PlainMessage | undefined, b: GetBidirectionalBlockViaListRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBidirectionalBlockViaListRequest, a, b); } } @@ -6968,57 +4738,33 @@ export class GetBidirectionalBlockViaListResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBidirectionalBlockViaListResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBidirectionalBlockViaListResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBidirectionalBlockViaListResponse { - return new GetBidirectionalBlockViaListResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBidirectionalBlockViaListResponse { + return new GetBidirectionalBlockViaListResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBidirectionalBlockViaListResponse { - return new GetBidirectionalBlockViaListResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBidirectionalBlockViaListResponse { + return new GetBidirectionalBlockViaListResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBidirectionalBlockViaListResponse { - return new GetBidirectionalBlockViaListResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBidirectionalBlockViaListResponse { + return new GetBidirectionalBlockViaListResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBidirectionalBlockViaListResponse - | PlainMessage - | undefined, - b: - | GetBidirectionalBlockViaListResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBidirectionalBlockViaListResponse, a, b) + static equals(a: GetBidirectionalBlockViaListResponse | PlainMessage | undefined, b: GetBidirectionalBlockViaListResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBidirectionalBlockViaListResponse, a, b); } } @@ -7032,60 +4778,39 @@ export class GetBlocklistSubscriptionRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocklistSubscriptionRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocklistSubscriptionRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocklistSubscriptionRequest { - return new GetBlocklistSubscriptionRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocklistSubscriptionRequest { + return new GetBlocklistSubscriptionRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocklistSubscriptionRequest { - return new GetBlocklistSubscriptionRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocklistSubscriptionRequest { + return new GetBlocklistSubscriptionRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocklistSubscriptionRequest { - return new GetBlocklistSubscriptionRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBlocklistSubscriptionRequest { + return new GetBlocklistSubscriptionRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlocklistSubscriptionRequest - | PlainMessage - | undefined, - b: - | GetBlocklistSubscriptionRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlocklistSubscriptionRequest, a, b) + static equals(a: GetBlocklistSubscriptionRequest | PlainMessage | undefined, b: GetBlocklistSubscriptionRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocklistSubscriptionRequest, a, b); } } @@ -7096,59 +4821,33 @@ export class GetBlocklistSubscriptionResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocklistSubscriptionResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocklistSubscriptionResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'listblock_uri', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "listblock_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocklistSubscriptionResponse { - return new GetBlocklistSubscriptionResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocklistSubscriptionResponse { + return new GetBlocklistSubscriptionResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocklistSubscriptionResponse { - return new GetBlocklistSubscriptionResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocklistSubscriptionResponse { + return new GetBlocklistSubscriptionResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocklistSubscriptionResponse { - return new GetBlocklistSubscriptionResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBlocklistSubscriptionResponse { + return new GetBlocklistSubscriptionResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlocklistSubscriptionResponse - | PlainMessage - | undefined, - b: - | GetBlocklistSubscriptionResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlocklistSubscriptionResponse, a, b) + static equals(a: GetBlocklistSubscriptionResponse | PlainMessage | undefined, b: GetBlocklistSubscriptionResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocklistSubscriptionResponse, a, b); } } @@ -7162,66 +4861,45 @@ export class GetBlocklistSubscriptionsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocklistSubscriptionsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocklistSubscriptionsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocklistSubscriptionsRequest { - return new GetBlocklistSubscriptionsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocklistSubscriptionsRequest { + return new GetBlocklistSubscriptionsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocklistSubscriptionsRequest { - return new GetBlocklistSubscriptionsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocklistSubscriptionsRequest { + return new GetBlocklistSubscriptionsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocklistSubscriptionsRequest { - return new GetBlocklistSubscriptionsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBlocklistSubscriptionsRequest { + return new GetBlocklistSubscriptionsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlocklistSubscriptionsRequest - | PlainMessage - | undefined, - b: - | GetBlocklistSubscriptionsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlocklistSubscriptionsRequest, a, b) + static equals(a: GetBlocklistSubscriptionsRequest | PlainMessage | undefined, b: GetBlocklistSubscriptionsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocklistSubscriptionsRequest, a, b); } } @@ -7232,66 +4910,39 @@ export class GetBlocklistSubscriptionsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlocklistSubscriptionsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlocklistSubscriptionsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'list_uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "list_uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlocklistSubscriptionsResponse { - return new GetBlocklistSubscriptionsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlocklistSubscriptionsResponse { + return new GetBlocklistSubscriptionsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlocklistSubscriptionsResponse { - return new GetBlocklistSubscriptionsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlocklistSubscriptionsResponse { + return new GetBlocklistSubscriptionsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlocklistSubscriptionsResponse { - return new GetBlocklistSubscriptionsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetBlocklistSubscriptionsResponse { + return new GetBlocklistSubscriptionsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlocklistSubscriptionsResponse - | PlainMessage - | undefined, - b: - | GetBlocklistSubscriptionsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlocklistSubscriptionsResponse, a, b) + static equals(a: GetBlocklistSubscriptionsResponse | PlainMessage | undefined, b: GetBlocklistSubscriptionsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlocklistSubscriptionsResponse, a, b); } } @@ -7306,69 +4957,51 @@ export class GetNotificationsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; /** * @generated from field: bool priority = 4; */ - priority = false + priority = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNotificationsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNotificationsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'priority', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNotificationsRequest { - return new GetNotificationsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNotificationsRequest { + return new GetNotificationsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNotificationsRequest { - return new GetNotificationsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNotificationsRequest { + return new GetNotificationsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNotificationsRequest { - return new GetNotificationsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetNotificationsRequest { + return new GetNotificationsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetNotificationsRequest - | PlainMessage - | undefined, - b: - | GetNotificationsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNotificationsRequest, a, b) + static equals(a: GetNotificationsRequest | PlainMessage | undefined, b: GetNotificationsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNotificationsRequest, a, b); } } @@ -7379,85 +5012,63 @@ export class Notification extends Message { /** * @generated from field: string recipient_did = 1; */ - recipientDid = '' + recipientDid = ""; /** * @generated from field: string uri = 2; */ - uri = '' + uri = ""; /** * @generated from field: string reason = 3; */ - reason = '' + reason = ""; /** * @generated from field: string reason_subject = 4; */ - reasonSubject = '' + reasonSubject = ""; /** * @generated from field: google.protobuf.Timestamp timestamp = 5; */ - timestamp?: Timestamp + timestamp?: Timestamp; /** * @generated from field: bool priority = 6; */ - priority = false + priority = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.Notification' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.Notification"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'recipient_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 2, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'reason', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 4, - name: 'reason_subject', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 5, name: 'timestamp', kind: 'message', T: Timestamp }, - { no: 6, name: 'priority', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "recipient_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "reason_subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "timestamp", kind: "message", T: Timestamp }, + { no: 6, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): Notification { - return new Notification().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): Notification { + return new Notification().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): Notification { - return new Notification().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): Notification { + return new Notification().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): Notification { - return new Notification().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): Notification { + return new Notification().fromJsonString(jsonString, options); } - static equals( - a: Notification | PlainMessage | undefined, - b: Notification | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(Notification, a, b) + static equals(a: Notification | PlainMessage | undefined, b: Notification | PlainMessage | undefined): boolean { + return proto3.util.equals(Notification, a, b); } } @@ -7468,63 +5079,39 @@ export class GetNotificationsResponse extends Message /** * @generated from field: repeated bsky.Notification notifications = 1; */ - notifications: Notification[] = [] + notifications: Notification[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNotificationsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNotificationsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'notifications', - kind: 'message', - T: Notification, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "notifications", kind: "message", T: Notification, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNotificationsResponse { - return new GetNotificationsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNotificationsResponse { + return new GetNotificationsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNotificationsResponse { - return new GetNotificationsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNotificationsResponse { + return new GetNotificationsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNotificationsResponse { - return new GetNotificationsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetNotificationsResponse { + return new GetNotificationsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetNotificationsResponse - | PlainMessage - | undefined, - b: - | GetNotificationsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNotificationsResponse, a, b) + static equals(a: GetNotificationsResponse | PlainMessage | undefined, b: GetNotificationsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNotificationsResponse, a, b); } } @@ -7538,66 +5125,45 @@ export class UpdateNotificationSeenRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UpdateNotificationSeenRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UpdateNotificationSeenRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'timestamp', kind: 'message', T: Timestamp }, - { no: 3, name: 'priority', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "timestamp", kind: "message", T: Timestamp }, + { no: 3, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UpdateNotificationSeenRequest { - return new UpdateNotificationSeenRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateNotificationSeenRequest { + return new UpdateNotificationSeenRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UpdateNotificationSeenRequest { - return new UpdateNotificationSeenRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateNotificationSeenRequest { + return new UpdateNotificationSeenRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UpdateNotificationSeenRequest { - return new UpdateNotificationSeenRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): UpdateNotificationSeenRequest { + return new UpdateNotificationSeenRequest().fromJsonString(jsonString, options); } - static equals( - a: - | UpdateNotificationSeenRequest - | PlainMessage - | undefined, - b: - | UpdateNotificationSeenRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UpdateNotificationSeenRequest, a, b) + static equals(a: UpdateNotificationSeenRequest | PlainMessage | undefined, b: UpdateNotificationSeenRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateNotificationSeenRequest, a, b); } } @@ -7606,49 +5172,29 @@ export class UpdateNotificationSeenRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UpdateNotificationSeenResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UpdateNotificationSeenResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UpdateNotificationSeenResponse { - return new UpdateNotificationSeenResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateNotificationSeenResponse { + return new UpdateNotificationSeenResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UpdateNotificationSeenResponse { - return new UpdateNotificationSeenResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateNotificationSeenResponse { + return new UpdateNotificationSeenResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UpdateNotificationSeenResponse { - return new UpdateNotificationSeenResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): UpdateNotificationSeenResponse { + return new UpdateNotificationSeenResponse().fromJsonString(jsonString, options); } - static equals( - a: - | UpdateNotificationSeenResponse - | PlainMessage - | undefined, - b: - | UpdateNotificationSeenResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UpdateNotificationSeenResponse, a, b) + static equals(a: UpdateNotificationSeenResponse | PlainMessage | undefined, b: UpdateNotificationSeenResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateNotificationSeenResponse, a, b); } } @@ -7662,57 +5208,39 @@ export class GetNotificationSeenRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNotificationSeenRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNotificationSeenRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'priority', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNotificationSeenRequest { - return new GetNotificationSeenRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNotificationSeenRequest { + return new GetNotificationSeenRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNotificationSeenRequest { - return new GetNotificationSeenRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNotificationSeenRequest { + return new GetNotificationSeenRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNotificationSeenRequest { - return new GetNotificationSeenRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetNotificationSeenRequest { + return new GetNotificationSeenRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetNotificationSeenRequest - | PlainMessage - | undefined, - b: - | GetNotificationSeenRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNotificationSeenRequest, a, b) + static equals(a: GetNotificationSeenRequest | PlainMessage | undefined, b: GetNotificationSeenRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNotificationSeenRequest, a, b); } } @@ -7723,51 +5251,33 @@ export class GetNotificationSeenResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetNotificationSeenResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetNotificationSeenResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'timestamp', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "timestamp", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetNotificationSeenResponse { - return new GetNotificationSeenResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetNotificationSeenResponse { + return new GetNotificationSeenResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetNotificationSeenResponse { - return new GetNotificationSeenResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetNotificationSeenResponse { + return new GetNotificationSeenResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetNotificationSeenResponse { - return new GetNotificationSeenResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetNotificationSeenResponse { + return new GetNotificationSeenResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetNotificationSeenResponse - | PlainMessage - | undefined, - b: - | GetNotificationSeenResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetNotificationSeenResponse, a, b) + static equals(a: GetNotificationSeenResponse | PlainMessage | undefined, b: GetNotificationSeenResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetNotificationSeenResponse, a, b); } } @@ -7781,60 +5291,39 @@ export class GetUnreadNotificationCountRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetUnreadNotificationCountRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetUnreadNotificationCountRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'priority', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetUnreadNotificationCountRequest { - return new GetUnreadNotificationCountRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetUnreadNotificationCountRequest { + return new GetUnreadNotificationCountRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetUnreadNotificationCountRequest { - return new GetUnreadNotificationCountRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetUnreadNotificationCountRequest { + return new GetUnreadNotificationCountRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetUnreadNotificationCountRequest { - return new GetUnreadNotificationCountRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetUnreadNotificationCountRequest { + return new GetUnreadNotificationCountRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetUnreadNotificationCountRequest - | PlainMessage - | undefined, - b: - | GetUnreadNotificationCountRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetUnreadNotificationCountRequest, a, b) + static equals(a: GetUnreadNotificationCountRequest | PlainMessage | undefined, b: GetUnreadNotificationCountRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetUnreadNotificationCountRequest, a, b); } } @@ -7845,54 +5334,33 @@ export class GetUnreadNotificationCountResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetUnreadNotificationCountResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetUnreadNotificationCountResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'count', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) + { no: 1, name: "count", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetUnreadNotificationCountResponse { - return new GetUnreadNotificationCountResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetUnreadNotificationCountResponse { + return new GetUnreadNotificationCountResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetUnreadNotificationCountResponse { - return new GetUnreadNotificationCountResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetUnreadNotificationCountResponse { + return new GetUnreadNotificationCountResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetUnreadNotificationCountResponse { - return new GetUnreadNotificationCountResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetUnreadNotificationCountResponse { + return new GetUnreadNotificationCountResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetUnreadNotificationCountResponse - | PlainMessage - | undefined, - b: - | GetUnreadNotificationCountResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetUnreadNotificationCountResponse, a, b) + static equals(a: GetUnreadNotificationCountResponse | PlainMessage | undefined, b: GetUnreadNotificationCountResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetUnreadNotificationCountResponse, a, b); } } @@ -7906,57 +5374,45 @@ export class GetActorFeedsRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorFeedsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorFeedsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorFeedsRequest { - return new GetActorFeedsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorFeedsRequest { + return new GetActorFeedsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorFeedsRequest { - return new GetActorFeedsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorFeedsRequest { + return new GetActorFeedsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorFeedsRequest { - return new GetActorFeedsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorFeedsRequest { + return new GetActorFeedsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetActorFeedsRequest | PlainMessage | undefined, - b: GetActorFeedsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorFeedsRequest, a, b) + static equals(a: GetActorFeedsRequest | PlainMessage | undefined, b: GetActorFeedsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorFeedsRequest, a, b); } } @@ -7967,57 +5423,39 @@ export class GetActorFeedsResponse extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorFeedsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorFeedsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorFeedsResponse { - return new GetActorFeedsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorFeedsResponse { + return new GetActorFeedsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorFeedsResponse { - return new GetActorFeedsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorFeedsResponse { + return new GetActorFeedsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorFeedsResponse { - return new GetActorFeedsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorFeedsResponse { + return new GetActorFeedsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetActorFeedsResponse | PlainMessage | undefined, - b: GetActorFeedsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetActorFeedsResponse, a, b) + static equals(a: GetActorFeedsResponse | PlainMessage | undefined, b: GetActorFeedsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorFeedsResponse, a, b); } } @@ -8032,63 +5470,45 @@ export class GetSuggestedFeedsRequest extends Message /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetSuggestedFeedsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetSuggestedFeedsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetSuggestedFeedsRequest { - return new GetSuggestedFeedsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetSuggestedFeedsRequest { + return new GetSuggestedFeedsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetSuggestedFeedsRequest { - return new GetSuggestedFeedsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetSuggestedFeedsRequest { + return new GetSuggestedFeedsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetSuggestedFeedsRequest { - return new GetSuggestedFeedsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetSuggestedFeedsRequest { + return new GetSuggestedFeedsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetSuggestedFeedsRequest - | PlainMessage - | undefined, - b: - | GetSuggestedFeedsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetSuggestedFeedsRequest, a, b) + static equals(a: GetSuggestedFeedsRequest | PlainMessage | undefined, b: GetSuggestedFeedsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetSuggestedFeedsRequest, a, b); } } @@ -8099,63 +5519,39 @@ export class GetSuggestedFeedsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetSuggestedFeedsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetSuggestedFeedsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetSuggestedFeedsResponse { - return new GetSuggestedFeedsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetSuggestedFeedsResponse { + return new GetSuggestedFeedsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetSuggestedFeedsResponse { - return new GetSuggestedFeedsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetSuggestedFeedsResponse { + return new GetSuggestedFeedsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetSuggestedFeedsResponse { - return new GetSuggestedFeedsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetSuggestedFeedsResponse { + return new GetSuggestedFeedsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetSuggestedFeedsResponse - | PlainMessage - | undefined, - b: - | GetSuggestedFeedsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetSuggestedFeedsResponse, a, b) + static equals(a: GetSuggestedFeedsResponse | PlainMessage | undefined, b: GetSuggestedFeedsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetSuggestedFeedsResponse, a, b); } } @@ -8166,57 +5562,39 @@ export class SearchFeedGeneratorsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchFeedGeneratorsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchFeedGeneratorsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'query', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) + { no: 1, name: "query", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchFeedGeneratorsRequest { - return new SearchFeedGeneratorsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchFeedGeneratorsRequest { + return new SearchFeedGeneratorsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchFeedGeneratorsRequest { - return new SearchFeedGeneratorsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchFeedGeneratorsRequest { + return new SearchFeedGeneratorsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchFeedGeneratorsRequest { - return new SearchFeedGeneratorsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchFeedGeneratorsRequest { + return new SearchFeedGeneratorsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | SearchFeedGeneratorsRequest - | PlainMessage - | undefined, - b: - | SearchFeedGeneratorsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(SearchFeedGeneratorsRequest, a, b) + static equals(a: SearchFeedGeneratorsRequest | PlainMessage | undefined, b: SearchFeedGeneratorsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchFeedGeneratorsRequest, a, b); } } @@ -8227,60 +5605,33 @@ export class SearchFeedGeneratorsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchFeedGeneratorsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchFeedGeneratorsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchFeedGeneratorsResponse { - return new SearchFeedGeneratorsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchFeedGeneratorsResponse { + return new SearchFeedGeneratorsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchFeedGeneratorsResponse { - return new SearchFeedGeneratorsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchFeedGeneratorsResponse { + return new SearchFeedGeneratorsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchFeedGeneratorsResponse { - return new SearchFeedGeneratorsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): SearchFeedGeneratorsResponse { + return new SearchFeedGeneratorsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | SearchFeedGeneratorsResponse - | PlainMessage - | undefined, - b: - | SearchFeedGeneratorsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(SearchFeedGeneratorsResponse, a, b) + static equals(a: SearchFeedGeneratorsResponse | PlainMessage | undefined, b: SearchFeedGeneratorsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchFeedGeneratorsResponse, a, b); } } @@ -8294,60 +5645,33 @@ export class GetFeedGeneratorStatusRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFeedGeneratorStatusRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFeedGeneratorStatusRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFeedGeneratorStatusRequest { - return new GetFeedGeneratorStatusRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFeedGeneratorStatusRequest { + return new GetFeedGeneratorStatusRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFeedGeneratorStatusRequest { - return new GetFeedGeneratorStatusRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFeedGeneratorStatusRequest { + return new GetFeedGeneratorStatusRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFeedGeneratorStatusRequest { - return new GetFeedGeneratorStatusRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetFeedGeneratorStatusRequest { + return new GetFeedGeneratorStatusRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetFeedGeneratorStatusRequest - | PlainMessage - | undefined, - b: - | GetFeedGeneratorStatusRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFeedGeneratorStatusRequest, a, b) + static equals(a: GetFeedGeneratorStatusRequest | PlainMessage | undefined, b: GetFeedGeneratorStatusRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFeedGeneratorStatusRequest, a, b); } } @@ -8358,60 +5682,33 @@ export class GetFeedGeneratorStatusResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFeedGeneratorStatusResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFeedGeneratorStatusResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'status', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFeedGeneratorStatusResponse { - return new GetFeedGeneratorStatusResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFeedGeneratorStatusResponse { + return new GetFeedGeneratorStatusResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFeedGeneratorStatusResponse { - return new GetFeedGeneratorStatusResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFeedGeneratorStatusResponse { + return new GetFeedGeneratorStatusResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFeedGeneratorStatusResponse { - return new GetFeedGeneratorStatusResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetFeedGeneratorStatusResponse { + return new GetFeedGeneratorStatusResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetFeedGeneratorStatusResponse - | PlainMessage - | undefined, - b: - | GetFeedGeneratorStatusResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFeedGeneratorStatusResponse, a, b) + static equals(a: GetFeedGeneratorStatusResponse | PlainMessage | undefined, b: GetFeedGeneratorStatusResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFeedGeneratorStatusResponse, a, b); } } @@ -8426,63 +5723,51 @@ export class GetAuthorFeedRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; /** * @generated from field: bsky.FeedType feed_type = 4; */ - feedType = FeedType.UNSPECIFIED + feedType = FeedType.UNSPECIFIED; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetAuthorFeedRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetAuthorFeedRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'feed_type', kind: 'enum', T: proto3.getEnumType(FeedType) }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "feed_type", kind: "enum", T: proto3.getEnumType(FeedType) }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetAuthorFeedRequest { - return new GetAuthorFeedRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetAuthorFeedRequest { + return new GetAuthorFeedRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetAuthorFeedRequest { - return new GetAuthorFeedRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetAuthorFeedRequest { + return new GetAuthorFeedRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetAuthorFeedRequest { - return new GetAuthorFeedRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetAuthorFeedRequest { + return new GetAuthorFeedRequest().fromJsonString(jsonString, options); } - static equals( - a: GetAuthorFeedRequest | PlainMessage | undefined, - b: GetAuthorFeedRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetAuthorFeedRequest, a, b) + static equals(a: GetAuthorFeedRequest | PlainMessage | undefined, b: GetAuthorFeedRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAuthorFeedRequest, a, b); } } @@ -8493,119 +5778,87 @@ export class AuthorFeedItem extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; /** * @generated from field: string repost = 3; */ - repost = '' + repost = ""; /** * @generated from field: string repost_cid = 4; */ - repostCid = '' + repostCid = ""; /** * @generated from field: bool posts_and_author_threads = 5; */ - postsAndAuthorThreads = false + postsAndAuthorThreads = false; /** * @generated from field: bool posts_no_replies = 6; */ - postsNoReplies = false + postsNoReplies = false; /** * @generated from field: bool posts_with_media = 7; */ - postsWithMedia = false + postsWithMedia = false; /** * @generated from field: bool is_reply = 8; */ - isReply = false + isReply = false; /** * @generated from field: bool is_repost = 9; */ - isRepost = false + isRepost = false; /** * @generated from field: bool is_quote_post = 10; */ - isQuotePost = false + isQuotePost = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.AuthorFeedItem' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'repost', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'repost_cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 5, - name: 'posts_and_author_threads', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 6, - name: 'posts_no_replies', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 7, - name: 'posts_with_media', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { no: 8, name: 'is_reply', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 9, name: 'is_repost', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 10, - name: 'is_quote_post', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): AuthorFeedItem { - return new AuthorFeedItem().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): AuthorFeedItem { - return new AuthorFeedItem().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): AuthorFeedItem { - return new AuthorFeedItem().fromJsonString(jsonString, options) - } - - static equals( - a: AuthorFeedItem | PlainMessage | undefined, - b: AuthorFeedItem | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(AuthorFeedItem, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.AuthorFeedItem"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "repost", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "repost_cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "posts_and_author_threads", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "posts_no_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "posts_with_media", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 8, name: "is_reply", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 9, name: "is_repost", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 10, name: "is_quote_post", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AuthorFeedItem { + return new AuthorFeedItem().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AuthorFeedItem { + return new AuthorFeedItem().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AuthorFeedItem { + return new AuthorFeedItem().fromJsonString(jsonString, options); + } + + static equals(a: AuthorFeedItem | PlainMessage | undefined, b: AuthorFeedItem | PlainMessage | undefined): boolean { + return proto3.util.equals(AuthorFeedItem, a, b); } } @@ -8616,57 +5869,39 @@ export class GetAuthorFeedResponse extends Message { /** * @generated from field: repeated bsky.AuthorFeedItem items = 1; */ - items: AuthorFeedItem[] = [] + items: AuthorFeedItem[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetAuthorFeedResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetAuthorFeedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'items', - kind: 'message', - T: AuthorFeedItem, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "items", kind: "message", T: AuthorFeedItem, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetAuthorFeedResponse { - return new GetAuthorFeedResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetAuthorFeedResponse { + return new GetAuthorFeedResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetAuthorFeedResponse { - return new GetAuthorFeedResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetAuthorFeedResponse { + return new GetAuthorFeedResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetAuthorFeedResponse { - return new GetAuthorFeedResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetAuthorFeedResponse { + return new GetAuthorFeedResponse().fromJsonString(jsonString, options); } - static equals( - a: GetAuthorFeedResponse | PlainMessage | undefined, - b: GetAuthorFeedResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetAuthorFeedResponse, a, b) + static equals(a: GetAuthorFeedResponse | PlainMessage | undefined, b: GetAuthorFeedResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetAuthorFeedResponse, a, b); } } @@ -8680,90 +5915,63 @@ export class GetTimelineRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; /** * @generated from field: bool exclude_replies = 4; */ - excludeReplies = false + excludeReplies = false; /** * @generated from field: bool exclude_reposts = 5; */ - excludeReposts = false + excludeReposts = false; /** * @generated from field: bool exclude_quotes = 6; */ - excludeQuotes = false + excludeQuotes = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetTimelineRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 4, - name: 'exclude_replies', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 5, - name: 'exclude_reposts', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 6, - name: 'exclude_quotes', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetTimelineRequest { - return new GetTimelineRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetTimelineRequest { - return new GetTimelineRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetTimelineRequest { - return new GetTimelineRequest().fromJsonString(jsonString, options) - } - - static equals( - a: GetTimelineRequest | PlainMessage | undefined, - b: GetTimelineRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetTimelineRequest, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetTimelineRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "exclude_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "exclude_reposts", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "exclude_quotes", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetTimelineRequest { + return new GetTimelineRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetTimelineRequest { + return new GetTimelineRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetTimelineRequest { + return new GetTimelineRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetTimelineRequest | PlainMessage | undefined, b: GetTimelineRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTimelineRequest, a, b); } } @@ -8774,57 +5982,39 @@ export class GetTimelineResponse extends Message { /** * @generated from field: repeated bsky.TimelineFeedItem items = 1; */ - items: TimelineFeedItem[] = [] + items: TimelineFeedItem[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetTimelineResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetTimelineResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'items', - kind: 'message', - T: TimelineFeedItem, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "items", kind: "message", T: TimelineFeedItem, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetTimelineResponse { - return new GetTimelineResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetTimelineResponse { + return new GetTimelineResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetTimelineResponse { - return new GetTimelineResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetTimelineResponse { + return new GetTimelineResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetTimelineResponse { - return new GetTimelineResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetTimelineResponse { + return new GetTimelineResponse().fromJsonString(jsonString, options); } - static equals( - a: GetTimelineResponse | PlainMessage | undefined, - b: GetTimelineResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetTimelineResponse, a, b) + static equals(a: GetTimelineResponse | PlainMessage | undefined, b: GetTimelineResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetTimelineResponse, a, b); } } @@ -8835,86 +6025,69 @@ export class TimelineFeedItem extends Message { /** * @generated from field: string uri = 1; */ - uri = '' + uri = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; /** * @generated from field: string repost = 3; */ - repost = '' + repost = ""; /** * @generated from field: string repost_cid = 4; */ - repostCid = '' + repostCid = ""; /** * @generated from field: bool is_reply = 5; */ - isReply = false + isReply = false; /** * @generated from field: bool is_repost = 6; */ - isRepost = false + isRepost = false; /** * @generated from field: bool is_quote_post = 7; */ - isQuotePost = false + isQuotePost = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TimelineFeedItem' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TimelineFeedItem"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'repost', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'repost_cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 5, name: 'is_reply', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { no: 6, name: 'is_repost', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 7, - name: 'is_quote_post', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) + { no: 1, name: "uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "repost", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "repost_cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "is_reply", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "is_repost", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "is_quote_post", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TimelineFeedItem { - return new TimelineFeedItem().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TimelineFeedItem { + return new TimelineFeedItem().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TimelineFeedItem { - return new TimelineFeedItem().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TimelineFeedItem { + return new TimelineFeedItem().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TimelineFeedItem { - return new TimelineFeedItem().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TimelineFeedItem { + return new TimelineFeedItem().fromJsonString(jsonString, options); } - static equals( - a: TimelineFeedItem | PlainMessage | undefined, - b: TimelineFeedItem | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TimelineFeedItem, a, b) + static equals(a: TimelineFeedItem | PlainMessage | undefined, b: TimelineFeedItem | PlainMessage | undefined): boolean { + return proto3.util.equals(TimelineFeedItem, a, b); } } @@ -8929,90 +6102,63 @@ export class GetListFeedRequest extends Message { /** * @generated from field: string list_uri = 1; */ - listUri = '' + listUri = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; /** * @generated from field: bool exclude_replies = 4; */ - excludeReplies = false + excludeReplies = false; /** * @generated from field: bool exclude_reposts = 5; */ - excludeReposts = false + excludeReposts = false; /** * @generated from field: bool exclude_quotes = 6; */ - excludeQuotes = false + excludeQuotes = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListFeedRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'list_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 4, - name: 'exclude_replies', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 5, - name: 'exclude_reposts', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { - no: 6, - name: 'exclude_quotes', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListFeedRequest { - return new GetListFeedRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListFeedRequest { - return new GetListFeedRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListFeedRequest { - return new GetListFeedRequest().fromJsonString(jsonString, options) - } - - static equals( - a: GetListFeedRequest | PlainMessage | undefined, - b: GetListFeedRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListFeedRequest, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListFeedRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "list_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "exclude_replies", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 5, name: "exclude_reposts", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 6, name: "exclude_quotes", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): GetListFeedRequest { + return new GetListFeedRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): GetListFeedRequest { + return new GetListFeedRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): GetListFeedRequest { + return new GetListFeedRequest().fromJsonString(jsonString, options); + } + + static equals(a: GetListFeedRequest | PlainMessage | undefined, b: GetListFeedRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListFeedRequest, a, b); } } @@ -9023,57 +6169,39 @@ export class GetListFeedResponse extends Message { /** * @generated from field: repeated bsky.TimelineFeedItem items = 1; */ - items: TimelineFeedItem[] = [] + items: TimelineFeedItem[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetListFeedResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetListFeedResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'items', - kind: 'message', - T: TimelineFeedItem, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "items", kind: "message", T: TimelineFeedItem, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetListFeedResponse { - return new GetListFeedResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetListFeedResponse { + return new GetListFeedResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetListFeedResponse { - return new GetListFeedResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetListFeedResponse { + return new GetListFeedResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetListFeedResponse { - return new GetListFeedResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetListFeedResponse { + return new GetListFeedResponse().fromJsonString(jsonString, options); } - static equals( - a: GetListFeedResponse | PlainMessage | undefined, - b: GetListFeedResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetListFeedResponse, a, b) + static equals(a: GetListFeedResponse | PlainMessage | undefined, b: GetListFeedResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetListFeedResponse, a, b); } } @@ -9086,57 +6214,45 @@ export class GetThreadRequest extends Message { /** * @generated from field: string post_uri = 1; */ - postUri = '' + postUri = ""; /** * @generated from field: int32 above = 2; */ - above = 0 + above = 0; /** * @generated from field: int32 below = 3; */ - below = 0 + below = 0; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'post_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'above', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'below', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) + { no: 1, name: "post_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "above", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "below", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadRequest { - return new GetThreadRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadRequest { + return new GetThreadRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadRequest { - return new GetThreadRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadRequest { + return new GetThreadRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadRequest { - return new GetThreadRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetThreadRequest { + return new GetThreadRequest().fromJsonString(jsonString, options); } - static equals( - a: GetThreadRequest | PlainMessage | undefined, - b: GetThreadRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetThreadRequest, a, b) + static equals(a: GetThreadRequest | PlainMessage | undefined, b: GetThreadRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadRequest, a, b); } } @@ -9147,51 +6263,33 @@ export class GetThreadResponse extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetThreadResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetThreadResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetThreadResponse { - return new GetThreadResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetThreadResponse { + return new GetThreadResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetThreadResponse { - return new GetThreadResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetThreadResponse { + return new GetThreadResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetThreadResponse { - return new GetThreadResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetThreadResponse { + return new GetThreadResponse().fromJsonString(jsonString, options); } - static equals( - a: GetThreadResponse | PlainMessage | undefined, - b: GetThreadResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetThreadResponse, a, b) + static equals(a: GetThreadResponse | PlainMessage | undefined, b: GetThreadResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetThreadResponse, a, b); } } @@ -9205,57 +6303,45 @@ export class SearchActorsRequest extends Message { /** * @generated from field: string term = 1; */ - term = '' + term = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchActorsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchActorsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'term', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "term", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchActorsRequest { - return new SearchActorsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchActorsRequest { + return new SearchActorsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchActorsRequest { - return new SearchActorsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchActorsRequest { + return new SearchActorsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchActorsRequest { - return new SearchActorsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchActorsRequest { + return new SearchActorsRequest().fromJsonString(jsonString, options); } - static equals( - a: SearchActorsRequest | PlainMessage | undefined, - b: SearchActorsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(SearchActorsRequest, a, b) + static equals(a: SearchActorsRequest | PlainMessage | undefined, b: SearchActorsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchActorsRequest, a, b); } } @@ -9266,57 +6352,39 @@ export class SearchActorsResponse extends Message { /** * @generated from field: repeated string dids = 1; */ - dids: string[] = [] + dids: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchActorsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchActorsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchActorsResponse { - return new SearchActorsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchActorsResponse { + return new SearchActorsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchActorsResponse { - return new SearchActorsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchActorsResponse { + return new SearchActorsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchActorsResponse { - return new SearchActorsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchActorsResponse { + return new SearchActorsResponse().fromJsonString(jsonString, options); } - static equals( - a: SearchActorsResponse | PlainMessage | undefined, - b: SearchActorsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(SearchActorsResponse, a, b) + static equals(a: SearchActorsResponse | PlainMessage | undefined, b: SearchActorsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchActorsResponse, a, b); } } @@ -9330,57 +6398,45 @@ export class SearchPostsRequest extends Message { /** * @generated from field: string term = 1; */ - term = '' + term = ""; /** * @generated from field: int32 limit = 2; */ - limit = 0 + limit = 0; /** * @generated from field: string cursor = 3; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchPostsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchPostsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'term', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "term", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchPostsRequest { - return new SearchPostsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchPostsRequest { + return new SearchPostsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchPostsRequest { - return new SearchPostsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchPostsRequest { + return new SearchPostsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchPostsRequest { - return new SearchPostsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchPostsRequest { + return new SearchPostsRequest().fromJsonString(jsonString, options); } - static equals( - a: SearchPostsRequest | PlainMessage | undefined, - b: SearchPostsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(SearchPostsRequest, a, b) + static equals(a: SearchPostsRequest | PlainMessage | undefined, b: SearchPostsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchPostsRequest, a, b); } } @@ -9391,57 +6447,39 @@ export class SearchPostsResponse extends Message { /** * @generated from field: repeated string uris = 1; */ - uris: string[] = [] + uris: string[] = []; /** * @generated from field: string cursor = 2; */ - cursor = '' + cursor = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchPostsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchPostsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchPostsResponse { - return new SearchPostsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchPostsResponse { + return new SearchPostsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchPostsResponse { - return new SearchPostsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchPostsResponse { + return new SearchPostsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchPostsResponse { - return new SearchPostsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchPostsResponse { + return new SearchPostsResponse().fromJsonString(jsonString, options); } - static equals( - a: SearchPostsResponse | PlainMessage | undefined, - b: SearchPostsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(SearchPostsResponse, a, b) + static equals(a: SearchPostsResponse | PlainMessage | undefined, b: SearchPostsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchPostsResponse, a, b); } } @@ -9455,63 +6493,45 @@ export class SearchStarterPacksRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchStarterPacksRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchStarterPacksRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'term', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "term", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchStarterPacksRequest { - return new SearchStarterPacksRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchStarterPacksRequest { + return new SearchStarterPacksRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchStarterPacksRequest { - return new SearchStarterPacksRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchStarterPacksRequest { + return new SearchStarterPacksRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchStarterPacksRequest { - return new SearchStarterPacksRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchStarterPacksRequest { + return new SearchStarterPacksRequest().fromJsonString(jsonString, options); } - static equals( - a: - | SearchStarterPacksRequest - | PlainMessage - | undefined, - b: - | SearchStarterPacksRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(SearchStarterPacksRequest, a, b) + static equals(a: SearchStarterPacksRequest | PlainMessage | undefined, b: SearchStarterPacksRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchStarterPacksRequest, a, b); } } @@ -9522,63 +6542,39 @@ export class SearchStarterPacksResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SearchStarterPacksResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SearchStarterPacksResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SearchStarterPacksResponse { - return new SearchStarterPacksResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SearchStarterPacksResponse { + return new SearchStarterPacksResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SearchStarterPacksResponse { - return new SearchStarterPacksResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SearchStarterPacksResponse { + return new SearchStarterPacksResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SearchStarterPacksResponse { - return new SearchStarterPacksResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SearchStarterPacksResponse { + return new SearchStarterPacksResponse().fromJsonString(jsonString, options); } - static equals( - a: - | SearchStarterPacksResponse - | PlainMessage - | undefined, - b: - | SearchStarterPacksResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(SearchStarterPacksResponse, a, b) + static equals(a: SearchStarterPacksResponse | PlainMessage | undefined, b: SearchStarterPacksResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(SearchStarterPacksResponse, a, b); } } @@ -9592,74 +6588,51 @@ export class GetFollowSuggestionsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowSuggestionsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowSuggestionsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'relative_to_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 3, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 4, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "relative_to_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 4, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowSuggestionsRequest { - return new GetFollowSuggestionsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowSuggestionsRequest { + return new GetFollowSuggestionsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowSuggestionsRequest { - return new GetFollowSuggestionsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowSuggestionsRequest { + return new GetFollowSuggestionsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowSuggestionsRequest { - return new GetFollowSuggestionsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowSuggestionsRequest { + return new GetFollowSuggestionsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowSuggestionsRequest - | PlainMessage - | undefined, - b: - | GetFollowSuggestionsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowSuggestionsRequest, a, b) + static equals(a: GetFollowSuggestionsRequest | PlainMessage | undefined, b: GetFollowSuggestionsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowSuggestionsRequest, a, b); } } @@ -9670,66 +6643,39 @@ export class GetFollowSuggestionsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowSuggestionsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowSuggestionsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowSuggestionsResponse { - return new GetFollowSuggestionsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowSuggestionsResponse { + return new GetFollowSuggestionsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowSuggestionsResponse { - return new GetFollowSuggestionsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowSuggestionsResponse { + return new GetFollowSuggestionsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowSuggestionsResponse { - return new GetFollowSuggestionsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetFollowSuggestionsResponse { + return new GetFollowSuggestionsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowSuggestionsResponse - | PlainMessage - | undefined, - b: - | GetFollowSuggestionsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowSuggestionsResponse, a, b) + static equals(a: GetFollowSuggestionsResponse | PlainMessage | undefined, b: GetFollowSuggestionsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowSuggestionsResponse, a, b); } } @@ -9740,68 +6686,51 @@ export class SuggestedEntity extends Message { /** * @generated from field: string tag = 1; */ - tag = '' + tag = ""; /** * @generated from field: string subject = 2; */ - subject = '' + subject = ""; /** * @generated from field: string subject_type = 3; */ - subjectType = '' + subjectType = ""; /** * @generated from field: int64 priority = 4; */ - priority = protoInt64.zero + priority = protoInt64.zero; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.SuggestedEntity' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.SuggestedEntity"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'tag', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 3, - name: 'subject_type', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 4, name: 'priority', kind: 'scalar', T: 3 /* ScalarType.INT64 */ }, - ]) + { no: 1, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "subject_type", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "priority", kind: "scalar", T: 3 /* ScalarType.INT64 */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): SuggestedEntity { - return new SuggestedEntity().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): SuggestedEntity { + return new SuggestedEntity().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): SuggestedEntity { - return new SuggestedEntity().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): SuggestedEntity { + return new SuggestedEntity().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): SuggestedEntity { - return new SuggestedEntity().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): SuggestedEntity { + return new SuggestedEntity().fromJsonString(jsonString, options); } - static equals( - a: SuggestedEntity | PlainMessage | undefined, - b: SuggestedEntity | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(SuggestedEntity, a, b) + static equals(a: SuggestedEntity | PlainMessage | undefined, b: SuggestedEntity | PlainMessage | undefined): boolean { + return proto3.util.equals(SuggestedEntity, a, b); } } @@ -9812,57 +6741,39 @@ export class GetSuggestedEntitiesRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetSuggestedEntitiesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetSuggestedEntitiesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetSuggestedEntitiesRequest { - return new GetSuggestedEntitiesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetSuggestedEntitiesRequest { + return new GetSuggestedEntitiesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetSuggestedEntitiesRequest { - return new GetSuggestedEntitiesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetSuggestedEntitiesRequest { + return new GetSuggestedEntitiesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetSuggestedEntitiesRequest { - return new GetSuggestedEntitiesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetSuggestedEntitiesRequest { + return new GetSuggestedEntitiesRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetSuggestedEntitiesRequest - | PlainMessage - | undefined, - b: - | GetSuggestedEntitiesRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetSuggestedEntitiesRequest, a, b) + static equals(a: GetSuggestedEntitiesRequest | PlainMessage | undefined, b: GetSuggestedEntitiesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetSuggestedEntitiesRequest, a, b); } } @@ -9873,66 +6784,39 @@ export class GetSuggestedEntitiesResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetSuggestedEntitiesResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetSuggestedEntitiesResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'entities', - kind: 'message', - T: SuggestedEntity, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "entities", kind: "message", T: SuggestedEntity, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetSuggestedEntitiesResponse { - return new GetSuggestedEntitiesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetSuggestedEntitiesResponse { + return new GetSuggestedEntitiesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetSuggestedEntitiesResponse { - return new GetSuggestedEntitiesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetSuggestedEntitiesResponse { + return new GetSuggestedEntitiesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetSuggestedEntitiesResponse { - return new GetSuggestedEntitiesResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetSuggestedEntitiesResponse { + return new GetSuggestedEntitiesResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetSuggestedEntitiesResponse - | PlainMessage - | undefined, - b: - | GetSuggestedEntitiesResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetSuggestedEntitiesResponse, a, b) + static equals(a: GetSuggestedEntitiesResponse | PlainMessage | undefined, b: GetSuggestedEntitiesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetSuggestedEntitiesResponse, a, b); } } @@ -9946,51 +6830,33 @@ export class GetPostReplyCountsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostReplyCountsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostReplyCountsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'refs', kind: 'message', T: RecordRef, repeated: true }, - ]) + { no: 1, name: "refs", kind: "message", T: RecordRef, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostReplyCountsRequest { - return new GetPostReplyCountsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostReplyCountsRequest { + return new GetPostReplyCountsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostReplyCountsRequest { - return new GetPostReplyCountsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostReplyCountsRequest { + return new GetPostReplyCountsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostReplyCountsRequest { - return new GetPostReplyCountsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostReplyCountsRequest { + return new GetPostReplyCountsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetPostReplyCountsRequest - | PlainMessage - | undefined, - b: - | GetPostReplyCountsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetPostReplyCountsRequest, a, b) + static equals(a: GetPostReplyCountsRequest | PlainMessage | undefined, b: GetPostReplyCountsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostReplyCountsRequest, a, b); } } @@ -10001,57 +6867,33 @@ export class GetPostReplyCountsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetPostReplyCountsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetPostReplyCountsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'counts', - kind: 'scalar', - T: 5 /* ScalarType.INT32 */, - repeated: true, - }, - ]) + { no: 1, name: "counts", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetPostReplyCountsResponse { - return new GetPostReplyCountsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetPostReplyCountsResponse { + return new GetPostReplyCountsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetPostReplyCountsResponse { - return new GetPostReplyCountsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetPostReplyCountsResponse { + return new GetPostReplyCountsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetPostReplyCountsResponse { - return new GetPostReplyCountsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetPostReplyCountsResponse { + return new GetPostReplyCountsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetPostReplyCountsResponse - | PlainMessage - | undefined, - b: - | GetPostReplyCountsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetPostReplyCountsResponse, a, b) + static equals(a: GetPostReplyCountsResponse | PlainMessage | undefined, b: GetPostReplyCountsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetPostReplyCountsResponse, a, b); } } @@ -10065,63 +6907,39 @@ export class GetLabelsRequest extends Message { /** * @generated from field: repeated string subjects = 1; */ - subjects: string[] = [] + subjects: string[] = []; /** * @generated from field: repeated string issuers = 2; */ - issuers: string[] = [] + issuers: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLabelsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLabelsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'subjects', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { - no: 2, - name: 'issuers', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "subjects", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "issuers", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLabelsRequest { - return new GetLabelsRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLabelsRequest { + return new GetLabelsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLabelsRequest { - return new GetLabelsRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLabelsRequest { + return new GetLabelsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLabelsRequest { - return new GetLabelsRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLabelsRequest { + return new GetLabelsRequest().fromJsonString(jsonString, options); } - static equals( - a: GetLabelsRequest | PlainMessage | undefined, - b: GetLabelsRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetLabelsRequest, a, b) + static equals(a: GetLabelsRequest | PlainMessage | undefined, b: GetLabelsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLabelsRequest, a, b); } } @@ -10132,51 +6950,33 @@ export class GetLabelsResponse extends Message { /** * @generated from field: repeated bytes labels = 1; */ - labels: Uint8Array[] = [] + labels: Uint8Array[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLabelsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLabelsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'labels', - kind: 'scalar', - T: 12 /* ScalarType.BYTES */, - repeated: true, - }, - ]) + { no: 1, name: "labels", kind: "scalar", T: 12 /* ScalarType.BYTES */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLabelsResponse { - return new GetLabelsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLabelsResponse { + return new GetLabelsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLabelsResponse { - return new GetLabelsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLabelsResponse { + return new GetLabelsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLabelsResponse { - return new GetLabelsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLabelsResponse { + return new GetLabelsResponse().fromJsonString(jsonString, options); } - static equals( - a: GetLabelsResponse | PlainMessage | undefined, - b: GetLabelsResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetLabelsResponse, a, b) + static equals(a: GetLabelsResponse | PlainMessage | undefined, b: GetLabelsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLabelsResponse, a, b); } } @@ -10187,63 +6987,45 @@ export class GetActorStarterPacksRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorStarterPacksRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorStarterPacksRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - { no: 3, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + { no: 3, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorStarterPacksRequest { - return new GetActorStarterPacksRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorStarterPacksRequest { + return new GetActorStarterPacksRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorStarterPacksRequest { - return new GetActorStarterPacksRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorStarterPacksRequest { + return new GetActorStarterPacksRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorStarterPacksRequest { - return new GetActorStarterPacksRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorStarterPacksRequest { + return new GetActorStarterPacksRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorStarterPacksRequest - | PlainMessage - | undefined, - b: - | GetActorStarterPacksRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorStarterPacksRequest, a, b) + static equals(a: GetActorStarterPacksRequest | PlainMessage | undefined, b: GetActorStarterPacksRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorStarterPacksRequest, a, b); } } @@ -10254,66 +7036,39 @@ export class GetActorStarterPacksResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorStarterPacksResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorStarterPacksResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'uris', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "uris", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorStarterPacksResponse { - return new GetActorStarterPacksResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorStarterPacksResponse { + return new GetActorStarterPacksResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorStarterPacksResponse { - return new GetActorStarterPacksResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorStarterPacksResponse { + return new GetActorStarterPacksResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorStarterPacksResponse { - return new GetActorStarterPacksResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): GetActorStarterPacksResponse { + return new GetActorStarterPacksResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorStarterPacksResponse - | PlainMessage - | undefined, - b: - | GetActorStarterPacksResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorStarterPacksResponse, a, b) + static equals(a: GetActorStarterPacksResponse | PlainMessage | undefined, b: GetActorStarterPacksResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorStarterPacksResponse, a, b); } } @@ -10327,45 +7082,33 @@ export class GetLatestRevRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLatestRevRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLatestRevRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLatestRevRequest { - return new GetLatestRevRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLatestRevRequest { + return new GetLatestRevRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLatestRevRequest { - return new GetLatestRevRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLatestRevRequest { + return new GetLatestRevRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLatestRevRequest { - return new GetLatestRevRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLatestRevRequest { + return new GetLatestRevRequest().fromJsonString(jsonString, options); } - static equals( - a: GetLatestRevRequest | PlainMessage | undefined, - b: GetLatestRevRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetLatestRevRequest, a, b) + static equals(a: GetLatestRevRequest | PlainMessage | undefined, b: GetLatestRevRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLatestRevRequest, a, b); } } @@ -10376,45 +7119,33 @@ export class GetLatestRevResponse extends Message { /** * @generated from field: string rev = 1; */ - rev = '' + rev = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetLatestRevResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetLatestRevResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'rev', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "rev", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetLatestRevResponse { - return new GetLatestRevResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetLatestRevResponse { + return new GetLatestRevResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetLatestRevResponse { - return new GetLatestRevResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetLatestRevResponse { + return new GetLatestRevResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetLatestRevResponse { - return new GetLatestRevResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetLatestRevResponse { + return new GetLatestRevResponse().fromJsonString(jsonString, options); } - static equals( - a: GetLatestRevResponse | PlainMessage | undefined, - b: GetLatestRevResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(GetLatestRevResponse, a, b) + static equals(a: GetLatestRevResponse | PlainMessage | undefined, b: GetLatestRevResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetLatestRevResponse, a, b); } } @@ -10425,51 +7156,33 @@ export class GetIdentityByDidRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetIdentityByDidRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetIdentityByDidRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetIdentityByDidRequest { - return new GetIdentityByDidRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetIdentityByDidRequest { + return new GetIdentityByDidRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetIdentityByDidRequest { - return new GetIdentityByDidRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetIdentityByDidRequest { + return new GetIdentityByDidRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetIdentityByDidRequest { - return new GetIdentityByDidRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetIdentityByDidRequest { + return new GetIdentityByDidRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetIdentityByDidRequest - | PlainMessage - | undefined, - b: - | GetIdentityByDidRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetIdentityByDidRequest, a, b) + static equals(a: GetIdentityByDidRequest | PlainMessage | undefined, b: GetIdentityByDidRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetIdentityByDidRequest, a, b); } } @@ -10480,75 +7193,57 @@ export class GetIdentityByDidResponse extends Message /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: string handle = 2; */ - handle = '' + handle = ""; /** * @generated from field: bytes keys = 3; */ - keys = new Uint8Array(0) + keys = new Uint8Array(0); /** * @generated from field: bytes services = 4; */ - services = new Uint8Array(0) + services = new Uint8Array(0); /** * @generated from field: google.protobuf.Timestamp updated = 5; */ - updated?: Timestamp + updated?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetIdentityByDidResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetIdentityByDidResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 5, name: 'updated', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "handle", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "keys", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 4, name: "services", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 5, name: "updated", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetIdentityByDidResponse { - return new GetIdentityByDidResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetIdentityByDidResponse { + return new GetIdentityByDidResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetIdentityByDidResponse { - return new GetIdentityByDidResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetIdentityByDidResponse { + return new GetIdentityByDidResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetIdentityByDidResponse { - return new GetIdentityByDidResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetIdentityByDidResponse { + return new GetIdentityByDidResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetIdentityByDidResponse - | PlainMessage - | undefined, - b: - | GetIdentityByDidResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetIdentityByDidResponse, a, b) + static equals(a: GetIdentityByDidResponse | PlainMessage | undefined, b: GetIdentityByDidResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetIdentityByDidResponse, a, b); } } @@ -10559,51 +7254,33 @@ export class GetIdentityByHandleRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetIdentityByHandleRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetIdentityByHandleRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "handle", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetIdentityByHandleRequest { - return new GetIdentityByHandleRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetIdentityByHandleRequest { + return new GetIdentityByHandleRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetIdentityByHandleRequest { - return new GetIdentityByHandleRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetIdentityByHandleRequest { + return new GetIdentityByHandleRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetIdentityByHandleRequest { - return new GetIdentityByHandleRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetIdentityByHandleRequest { + return new GetIdentityByHandleRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetIdentityByHandleRequest - | PlainMessage - | undefined, - b: - | GetIdentityByHandleRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetIdentityByHandleRequest, a, b) + static equals(a: GetIdentityByHandleRequest | PlainMessage | undefined, b: GetIdentityByHandleRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetIdentityByHandleRequest, a, b); } } @@ -10614,75 +7291,57 @@ export class GetIdentityByHandleResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetIdentityByHandleResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetIdentityByHandleResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'handle', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'keys', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 4, name: 'services', kind: 'scalar', T: 12 /* ScalarType.BYTES */ }, - { no: 5, name: 'updated', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "handle", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "keys", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 4, name: "services", kind: "scalar", T: 12 /* ScalarType.BYTES */ }, + { no: 5, name: "updated", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetIdentityByHandleResponse { - return new GetIdentityByHandleResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetIdentityByHandleResponse { + return new GetIdentityByHandleResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetIdentityByHandleResponse { - return new GetIdentityByHandleResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetIdentityByHandleResponse { + return new GetIdentityByHandleResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetIdentityByHandleResponse { - return new GetIdentityByHandleResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetIdentityByHandleResponse { + return new GetIdentityByHandleResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetIdentityByHandleResponse - | PlainMessage - | undefined, - b: - | GetIdentityByHandleResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetIdentityByHandleResponse, a, b) + static equals(a: GetIdentityByHandleResponse | PlainMessage | undefined, b: GetIdentityByHandleResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetIdentityByHandleResponse, a, b); } } @@ -10693,57 +7352,39 @@ export class GetBlobTakedownRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlobTakedownRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlobTakedownRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlobTakedownRequest { - return new GetBlobTakedownRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlobTakedownRequest { + return new GetBlobTakedownRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlobTakedownRequest { - return new GetBlobTakedownRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlobTakedownRequest { + return new GetBlobTakedownRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlobTakedownRequest { - return new GetBlobTakedownRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlobTakedownRequest { + return new GetBlobTakedownRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlobTakedownRequest - | PlainMessage - | undefined, - b: - | GetBlobTakedownRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlobTakedownRequest, a, b) + static equals(a: GetBlobTakedownRequest | PlainMessage | undefined, b: GetBlobTakedownRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlobTakedownRequest, a, b); } } @@ -10754,62 +7395,39 @@ export class GetBlobTakedownResponse extends Message { /** * @generated from field: bool taken_down = 1; */ - takenDown = false + takenDown = false; /** * @generated from field: string takedown_ref = 2; */ - takedownRef = '' + takedownRef = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetBlobTakedownResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetBlobTakedownResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 2, - name: 'takedown_ref', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "taken_down", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "takedown_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetBlobTakedownResponse { - return new GetBlobTakedownResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetBlobTakedownResponse { + return new GetBlobTakedownResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetBlobTakedownResponse { - return new GetBlobTakedownResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetBlobTakedownResponse { + return new GetBlobTakedownResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetBlobTakedownResponse { - return new GetBlobTakedownResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetBlobTakedownResponse { + return new GetBlobTakedownResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetBlobTakedownResponse - | PlainMessage - | undefined, - b: - | GetBlobTakedownResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetBlobTakedownResponse, a, b) + static equals(a: GetBlobTakedownResponse | PlainMessage | undefined, b: GetBlobTakedownResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetBlobTakedownResponse, a, b); } } @@ -10820,51 +7438,33 @@ export class GetActorTakedownRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorTakedownRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorTakedownRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorTakedownRequest { - return new GetActorTakedownRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorTakedownRequest { + return new GetActorTakedownRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorTakedownRequest { - return new GetActorTakedownRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorTakedownRequest { + return new GetActorTakedownRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorTakedownRequest { - return new GetActorTakedownRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorTakedownRequest { + return new GetActorTakedownRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorTakedownRequest - | PlainMessage - | undefined, - b: - | GetActorTakedownRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorTakedownRequest, a, b) + static equals(a: GetActorTakedownRequest | PlainMessage | undefined, b: GetActorTakedownRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorTakedownRequest, a, b); } } @@ -10875,62 +7475,39 @@ export class GetActorTakedownResponse extends Message /** * @generated from field: bool taken_down = 1; */ - takenDown = false + takenDown = false; /** * @generated from field: string takedown_ref = 2; */ - takedownRef = '' + takedownRef = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetActorTakedownResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetActorTakedownResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 2, - name: 'takedown_ref', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "taken_down", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "takedown_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetActorTakedownResponse { - return new GetActorTakedownResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetActorTakedownResponse { + return new GetActorTakedownResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetActorTakedownResponse { - return new GetActorTakedownResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetActorTakedownResponse { + return new GetActorTakedownResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetActorTakedownResponse { - return new GetActorTakedownResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetActorTakedownResponse { + return new GetActorTakedownResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetActorTakedownResponse - | PlainMessage - | undefined, - b: - | GetActorTakedownResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetActorTakedownResponse, a, b) + static equals(a: GetActorTakedownResponse | PlainMessage | undefined, b: GetActorTakedownResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetActorTakedownResponse, a, b); } } @@ -10941,51 +7518,33 @@ export class GetRecordTakedownRequest extends Message /** * @generated from field: string record_uri = 1; */ - recordUri = '' + recordUri = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRecordTakedownRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRecordTakedownRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'record_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "record_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRecordTakedownRequest { - return new GetRecordTakedownRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRecordTakedownRequest { + return new GetRecordTakedownRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRecordTakedownRequest { - return new GetRecordTakedownRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRecordTakedownRequest { + return new GetRecordTakedownRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRecordTakedownRequest { - return new GetRecordTakedownRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRecordTakedownRequest { + return new GetRecordTakedownRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetRecordTakedownRequest - | PlainMessage - | undefined, - b: - | GetRecordTakedownRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRecordTakedownRequest, a, b) + static equals(a: GetRecordTakedownRequest | PlainMessage | undefined, b: GetRecordTakedownRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRecordTakedownRequest, a, b); } } @@ -10996,62 +7555,39 @@ export class GetRecordTakedownResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetRecordTakedownResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetRecordTakedownResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'taken_down', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 2, - name: 'takedown_ref', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "taken_down", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 2, name: "takedown_ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetRecordTakedownResponse { - return new GetRecordTakedownResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetRecordTakedownResponse { + return new GetRecordTakedownResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetRecordTakedownResponse { - return new GetRecordTakedownResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetRecordTakedownResponse { + return new GetRecordTakedownResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetRecordTakedownResponse { - return new GetRecordTakedownResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetRecordTakedownResponse { + return new GetRecordTakedownResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetRecordTakedownResponse - | PlainMessage - | undefined, - b: - | GetRecordTakedownResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetRecordTakedownResponse, a, b) + static equals(a: GetRecordTakedownResponse | PlainMessage | undefined, b: GetRecordTakedownResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetRecordTakedownResponse, a, b); } } @@ -11064,63 +7600,39 @@ export class GetFollowsFollowingRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowsFollowingRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowsFollowingRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'target_dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "target_dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowsFollowingRequest { - return new GetFollowsFollowingRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowsFollowingRequest { + return new GetFollowsFollowingRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowsFollowingRequest { - return new GetFollowsFollowingRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowsFollowingRequest { + return new GetFollowsFollowingRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowsFollowingRequest { - return new GetFollowsFollowingRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowsFollowingRequest { + return new GetFollowsFollowingRequest().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowsFollowingRequest - | PlainMessage - | undefined, - b: - | GetFollowsFollowingRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowsFollowingRequest, a, b) + static equals(a: GetFollowsFollowingRequest | PlainMessage | undefined, b: GetFollowsFollowingRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowsFollowingRequest, a, b); } } @@ -11131,57 +7643,39 @@ export class FollowsFollowing extends Message { /** * @generated from field: string target_did = 1; */ - targetDid = '' + targetDid = ""; /** * @generated from field: repeated string dids = 2; */ - dids: string[] = [] + dids: string[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.FollowsFollowing' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.FollowsFollowing"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'target_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'dids', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - repeated: true, - }, - ]) + { no: 1, name: "target_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "dids", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): FollowsFollowing { - return new FollowsFollowing().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): FollowsFollowing { + return new FollowsFollowing().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): FollowsFollowing { - return new FollowsFollowing().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): FollowsFollowing { + return new FollowsFollowing().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): FollowsFollowing { - return new FollowsFollowing().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): FollowsFollowing { + return new FollowsFollowing().fromJsonString(jsonString, options); } - static equals( - a: FollowsFollowing | PlainMessage | undefined, - b: FollowsFollowing | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(FollowsFollowing, a, b) + static equals(a: FollowsFollowing | PlainMessage | undefined, b: FollowsFollowing | PlainMessage | undefined): boolean { + return proto3.util.equals(FollowsFollowing, a, b); } } @@ -11192,57 +7686,33 @@ export class GetFollowsFollowingResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.GetFollowsFollowingResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.GetFollowsFollowingResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'results', - kind: 'message', - T: FollowsFollowing, - repeated: true, - }, - ]) + { no: 1, name: "results", kind: "message", T: FollowsFollowing, repeated: true }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): GetFollowsFollowingResponse { - return new GetFollowsFollowingResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): GetFollowsFollowingResponse { + return new GetFollowsFollowingResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): GetFollowsFollowingResponse { - return new GetFollowsFollowingResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): GetFollowsFollowingResponse { + return new GetFollowsFollowingResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): GetFollowsFollowingResponse { - return new GetFollowsFollowingResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): GetFollowsFollowingResponse { + return new GetFollowsFollowingResponse().fromJsonString(jsonString, options); } - static equals( - a: - | GetFollowsFollowingResponse - | PlainMessage - | undefined, - b: - | GetFollowsFollowingResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(GetFollowsFollowingResponse, a, b) + static equals(a: GetFollowsFollowingResponse | PlainMessage | undefined, b: GetFollowsFollowingResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(GetFollowsFollowingResponse, a, b); } } @@ -11253,40 +7723,29 @@ export class GetFollowsFollowingResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.PingRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.PingRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingRequest { - return new PingRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingRequest { + return new PingRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingRequest { + return new PingRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingRequest { + return new PingRequest().fromJsonString(jsonString, options); } - static equals( - a: PingRequest | PlainMessage | undefined, - b: PingRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingRequest, a, b) + static equals(a: PingRequest | PlainMessage | undefined, b: PingRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(PingRequest, a, b); } } @@ -11295,40 +7754,29 @@ export class PingRequest extends Message { */ export class PingResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.PingResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.PingResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingResponse { - return new PingResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingResponse { + return new PingResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingResponse { + return new PingResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingResponse { + return new PingResponse().fromJsonString(jsonString, options); } - static equals( - a: PingResponse | PlainMessage | undefined, - b: PingResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingResponse, a, b) + static equals(a: PingResponse | PlainMessage | undefined, b: PingResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(PingResponse, a, b); } } @@ -11339,71 +7787,45 @@ export class UpdateActorUpstreamStatusRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UpdateActorUpstreamStatusRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UpdateActorUpstreamStatusRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'active', kind: 'scalar', T: 8 /* ScalarType.BOOL */ }, - { - no: 3, - name: 'upstream_status', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 3, name: "upstream_status", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UpdateActorUpstreamStatusRequest { - return new UpdateActorUpstreamStatusRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateActorUpstreamStatusRequest { + return new UpdateActorUpstreamStatusRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UpdateActorUpstreamStatusRequest { - return new UpdateActorUpstreamStatusRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateActorUpstreamStatusRequest { + return new UpdateActorUpstreamStatusRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UpdateActorUpstreamStatusRequest { - return new UpdateActorUpstreamStatusRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): UpdateActorUpstreamStatusRequest { + return new UpdateActorUpstreamStatusRequest().fromJsonString(jsonString, options); } - static equals( - a: - | UpdateActorUpstreamStatusRequest - | PlainMessage - | undefined, - b: - | UpdateActorUpstreamStatusRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UpdateActorUpstreamStatusRequest, a, b) + static equals(a: UpdateActorUpstreamStatusRequest | PlainMessage | undefined, b: UpdateActorUpstreamStatusRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateActorUpstreamStatusRequest, a, b); } } @@ -11412,49 +7834,29 @@ export class UpdateActorUpstreamStatusRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UpdateActorUpstreamStatusResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UpdateActorUpstreamStatusResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UpdateActorUpstreamStatusResponse { - return new UpdateActorUpstreamStatusResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UpdateActorUpstreamStatusResponse { + return new UpdateActorUpstreamStatusResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UpdateActorUpstreamStatusResponse { - return new UpdateActorUpstreamStatusResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UpdateActorUpstreamStatusResponse { + return new UpdateActorUpstreamStatusResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UpdateActorUpstreamStatusResponse { - return new UpdateActorUpstreamStatusResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): UpdateActorUpstreamStatusResponse { + return new UpdateActorUpstreamStatusResponse().fromJsonString(jsonString, options); } - static equals( - a: - | UpdateActorUpstreamStatusResponse - | PlainMessage - | undefined, - b: - | UpdateActorUpstreamStatusResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UpdateActorUpstreamStatusResponse, a, b) + static equals(a: UpdateActorUpstreamStatusResponse | PlainMessage | undefined, b: UpdateActorUpstreamStatusResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UpdateActorUpstreamStatusResponse, a, b); } } @@ -11465,57 +7867,45 @@ export class TakedownActorRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: string ref = 2; */ - ref = '' + ref = ""; /** * @generated from field: google.protobuf.Timestamp seen = 3; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownActorRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownActorRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'ref', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownActorRequest { - return new TakedownActorRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownActorRequest { + return new TakedownActorRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownActorRequest { - return new TakedownActorRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownActorRequest { + return new TakedownActorRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownActorRequest { - return new TakedownActorRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownActorRequest { + return new TakedownActorRequest().fromJsonString(jsonString, options); } - static equals( - a: TakedownActorRequest | PlainMessage | undefined, - b: TakedownActorRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TakedownActorRequest, a, b) + static equals(a: TakedownActorRequest | PlainMessage | undefined, b: TakedownActorRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownActorRequest, a, b); } } @@ -11524,40 +7914,29 @@ export class TakedownActorRequest extends Message { */ export class TakedownActorResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownActorResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownActorResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownActorResponse { - return new TakedownActorResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownActorResponse { + return new TakedownActorResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownActorResponse { - return new TakedownActorResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownActorResponse { + return new TakedownActorResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownActorResponse { - return new TakedownActorResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownActorResponse { + return new TakedownActorResponse().fromJsonString(jsonString, options); } - static equals( - a: TakedownActorResponse | PlainMessage | undefined, - b: TakedownActorResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TakedownActorResponse, a, b) + static equals(a: TakedownActorResponse | PlainMessage | undefined, b: TakedownActorResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownActorResponse, a, b); } } @@ -11568,57 +7947,39 @@ export class UntakedownActorRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: google.protobuf.Timestamp seen = 2; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownActorRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownActorRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownActorRequest { - return new UntakedownActorRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownActorRequest { + return new UntakedownActorRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownActorRequest { - return new UntakedownActorRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownActorRequest { + return new UntakedownActorRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownActorRequest { - return new UntakedownActorRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownActorRequest { + return new UntakedownActorRequest().fromJsonString(jsonString, options); } - static equals( - a: - | UntakedownActorRequest - | PlainMessage - | undefined, - b: - | UntakedownActorRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UntakedownActorRequest, a, b) + static equals(a: UntakedownActorRequest | PlainMessage | undefined, b: UntakedownActorRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownActorRequest, a, b); } } @@ -11627,46 +7988,29 @@ export class UntakedownActorRequest extends Message { */ export class UntakedownActorResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownActorResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownActorResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownActorResponse { - return new UntakedownActorResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownActorResponse { + return new UntakedownActorResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownActorResponse { - return new UntakedownActorResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownActorResponse { + return new UntakedownActorResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownActorResponse { - return new UntakedownActorResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownActorResponse { + return new UntakedownActorResponse().fromJsonString(jsonString, options); } - static equals( - a: - | UntakedownActorResponse - | PlainMessage - | undefined, - b: - | UntakedownActorResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UntakedownActorResponse, a, b) + static equals(a: UntakedownActorResponse | PlainMessage | undefined, b: UntakedownActorResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownActorResponse, a, b); } } @@ -11677,63 +8021,51 @@ export class TakedownBlobRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; /** * @generated from field: string ref = 3; */ - ref = '' + ref = ""; /** * @generated from field: google.protobuf.Timestamp seen = 4; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownBlobRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownBlobRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'ref', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownBlobRequest { - return new TakedownBlobRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownBlobRequest { + return new TakedownBlobRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownBlobRequest { - return new TakedownBlobRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownBlobRequest { + return new TakedownBlobRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownBlobRequest { - return new TakedownBlobRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownBlobRequest { + return new TakedownBlobRequest().fromJsonString(jsonString, options); } - static equals( - a: TakedownBlobRequest | PlainMessage | undefined, - b: TakedownBlobRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TakedownBlobRequest, a, b) + static equals(a: TakedownBlobRequest | PlainMessage | undefined, b: TakedownBlobRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownBlobRequest, a, b); } } @@ -11742,40 +8074,29 @@ export class TakedownBlobRequest extends Message { */ export class TakedownBlobResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownBlobResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownBlobResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownBlobResponse { - return new TakedownBlobResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownBlobResponse { + return new TakedownBlobResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownBlobResponse { - return new TakedownBlobResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownBlobResponse { + return new TakedownBlobResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownBlobResponse { - return new TakedownBlobResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownBlobResponse { + return new TakedownBlobResponse().fromJsonString(jsonString, options); } - static equals( - a: TakedownBlobResponse | PlainMessage | undefined, - b: TakedownBlobResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TakedownBlobResponse, a, b) + static equals(a: TakedownBlobResponse | PlainMessage | undefined, b: TakedownBlobResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownBlobResponse, a, b); } } @@ -11786,57 +8107,45 @@ export class UntakedownBlobRequest extends Message { /** * @generated from field: string did = 1; */ - did = '' + did = ""; /** * @generated from field: string cid = 2; */ - cid = '' + cid = ""; /** * @generated from field: google.protobuf.Timestamp seen = 3; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownBlobRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownBlobRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'cid', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "cid", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownBlobRequest { - return new UntakedownBlobRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownBlobRequest { + return new UntakedownBlobRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownBlobRequest { - return new UntakedownBlobRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownBlobRequest { + return new UntakedownBlobRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownBlobRequest { - return new UntakedownBlobRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownBlobRequest { + return new UntakedownBlobRequest().fromJsonString(jsonString, options); } - static equals( - a: UntakedownBlobRequest | PlainMessage | undefined, - b: UntakedownBlobRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(UntakedownBlobRequest, a, b) + static equals(a: UntakedownBlobRequest | PlainMessage | undefined, b: UntakedownBlobRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownBlobRequest, a, b); } } @@ -11845,46 +8154,29 @@ export class UntakedownBlobRequest extends Message { */ export class UntakedownBlobResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownBlobResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownBlobResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownBlobResponse { - return new UntakedownBlobResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownBlobResponse { + return new UntakedownBlobResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownBlobResponse { - return new UntakedownBlobResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownBlobResponse { + return new UntakedownBlobResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownBlobResponse { - return new UntakedownBlobResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownBlobResponse { + return new UntakedownBlobResponse().fromJsonString(jsonString, options); } - static equals( - a: - | UntakedownBlobResponse - | PlainMessage - | undefined, - b: - | UntakedownBlobResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UntakedownBlobResponse, a, b) + static equals(a: UntakedownBlobResponse | PlainMessage | undefined, b: UntakedownBlobResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownBlobResponse, a, b); } } @@ -11895,57 +8187,45 @@ export class TakedownRecordRequest extends Message { /** * @generated from field: string record_uri = 1; */ - recordUri = '' + recordUri = ""; /** * @generated from field: string ref = 2; */ - ref = '' + ref = ""; /** * @generated from field: google.protobuf.Timestamp seen = 3; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownRecordRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownRecordRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'record_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'ref', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "record_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "ref", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownRecordRequest { - return new TakedownRecordRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownRecordRequest { + return new TakedownRecordRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownRecordRequest { - return new TakedownRecordRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownRecordRequest { + return new TakedownRecordRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownRecordRequest { - return new TakedownRecordRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownRecordRequest { + return new TakedownRecordRequest().fromJsonString(jsonString, options); } - static equals( - a: TakedownRecordRequest | PlainMessage | undefined, - b: TakedownRecordRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(TakedownRecordRequest, a, b) + static equals(a: TakedownRecordRequest | PlainMessage | undefined, b: TakedownRecordRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownRecordRequest, a, b); } } @@ -11954,46 +8234,29 @@ export class TakedownRecordRequest extends Message { */ export class TakedownRecordResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.TakedownRecordResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.TakedownRecordResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): TakedownRecordResponse { - return new TakedownRecordResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): TakedownRecordResponse { + return new TakedownRecordResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): TakedownRecordResponse { - return new TakedownRecordResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): TakedownRecordResponse { + return new TakedownRecordResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): TakedownRecordResponse { - return new TakedownRecordResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): TakedownRecordResponse { + return new TakedownRecordResponse().fromJsonString(jsonString, options); } - static equals( - a: - | TakedownRecordResponse - | PlainMessage - | undefined, - b: - | TakedownRecordResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(TakedownRecordResponse, a, b) + static equals(a: TakedownRecordResponse | PlainMessage | undefined, b: TakedownRecordResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(TakedownRecordResponse, a, b); } } @@ -12004,57 +8267,39 @@ export class UntakedownRecordRequest extends Message { /** * @generated from field: string record_uri = 1; */ - recordUri = '' + recordUri = ""; /** * @generated from field: google.protobuf.Timestamp seen = 2; */ - seen?: Timestamp + seen?: Timestamp; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownRecordRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownRecordRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'record_uri', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'seen', kind: 'message', T: Timestamp }, - ]) + { no: 1, name: "record_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "seen", kind: "message", T: Timestamp }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownRecordRequest { - return new UntakedownRecordRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownRecordRequest { + return new UntakedownRecordRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownRecordRequest { - return new UntakedownRecordRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownRecordRequest { + return new UntakedownRecordRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownRecordRequest { - return new UntakedownRecordRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownRecordRequest { + return new UntakedownRecordRequest().fromJsonString(jsonString, options); } - static equals( - a: - | UntakedownRecordRequest - | PlainMessage - | undefined, - b: - | UntakedownRecordRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UntakedownRecordRequest, a, b) + static equals(a: UntakedownRecordRequest | PlainMessage | undefined, b: UntakedownRecordRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownRecordRequest, a, b); } } @@ -12063,46 +8308,29 @@ export class UntakedownRecordRequest extends Message { */ export class UntakedownRecordResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.UntakedownRecordResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.UntakedownRecordResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): UntakedownRecordResponse { - return new UntakedownRecordResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): UntakedownRecordResponse { + return new UntakedownRecordResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): UntakedownRecordResponse { - return new UntakedownRecordResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): UntakedownRecordResponse { + return new UntakedownRecordResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): UntakedownRecordResponse { - return new UntakedownRecordResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): UntakedownRecordResponse { + return new UntakedownRecordResponse().fromJsonString(jsonString, options); } - static equals( - a: - | UntakedownRecordResponse - | PlainMessage - | undefined, - b: - | UntakedownRecordResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(UntakedownRecordResponse, a, b) + static equals(a: UntakedownRecordResponse | PlainMessage | undefined, b: UntakedownRecordResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(UntakedownRecordResponse, a, b); } } @@ -12113,62 +8341,39 @@ export class CreateActorMuteRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string subject_did = 2; */ - subjectDid = '' + subjectDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateActorMuteRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateActorMuteRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'subject_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateActorMuteRequest { - return new CreateActorMuteRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): CreateActorMuteRequest { + return new CreateActorMuteRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateActorMuteRequest { - return new CreateActorMuteRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): CreateActorMuteRequest { + return new CreateActorMuteRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateActorMuteRequest { - return new CreateActorMuteRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): CreateActorMuteRequest { + return new CreateActorMuteRequest().fromJsonString(jsonString, options); } - static equals( - a: - | CreateActorMuteRequest - | PlainMessage - | undefined, - b: - | CreateActorMuteRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateActorMuteRequest, a, b) + static equals(a: CreateActorMuteRequest | PlainMessage | undefined, b: CreateActorMuteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateActorMuteRequest, a, b); } } @@ -12177,46 +8382,29 @@ export class CreateActorMuteRequest extends Message { */ export class CreateActorMuteResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateActorMuteResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateActorMuteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateActorMuteResponse { - return new CreateActorMuteResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): CreateActorMuteResponse { + return new CreateActorMuteResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateActorMuteResponse { - return new CreateActorMuteResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): CreateActorMuteResponse { + return new CreateActorMuteResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateActorMuteResponse { - return new CreateActorMuteResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): CreateActorMuteResponse { + return new CreateActorMuteResponse().fromJsonString(jsonString, options); } - static equals( - a: - | CreateActorMuteResponse - | PlainMessage - | undefined, - b: - | CreateActorMuteResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateActorMuteResponse, a, b) + static equals(a: CreateActorMuteResponse | PlainMessage | undefined, b: CreateActorMuteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateActorMuteResponse, a, b); } } @@ -12227,62 +8415,39 @@ export class DeleteActorMuteRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string subject_did = 2; */ - subjectDid = '' + subjectDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteActorMuteRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteActorMuteRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'subject_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteActorMuteRequest { - return new DeleteActorMuteRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteActorMuteRequest { + return new DeleteActorMuteRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteActorMuteRequest { - return new DeleteActorMuteRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteActorMuteRequest { + return new DeleteActorMuteRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteActorMuteRequest { - return new DeleteActorMuteRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): DeleteActorMuteRequest { + return new DeleteActorMuteRequest().fromJsonString(jsonString, options); } - static equals( - a: - | DeleteActorMuteRequest - | PlainMessage - | undefined, - b: - | DeleteActorMuteRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteActorMuteRequest, a, b) + static equals(a: DeleteActorMuteRequest | PlainMessage | undefined, b: DeleteActorMuteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteActorMuteRequest, a, b); } } @@ -12291,46 +8456,29 @@ export class DeleteActorMuteRequest extends Message { */ export class DeleteActorMuteResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteActorMuteResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteActorMuteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteActorMuteResponse { - return new DeleteActorMuteResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteActorMuteResponse { + return new DeleteActorMuteResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteActorMuteResponse { - return new DeleteActorMuteResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteActorMuteResponse { + return new DeleteActorMuteResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteActorMuteResponse { - return new DeleteActorMuteResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): DeleteActorMuteResponse { + return new DeleteActorMuteResponse().fromJsonString(jsonString, options); } - static equals( - a: - | DeleteActorMuteResponse - | PlainMessage - | undefined, - b: - | DeleteActorMuteResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteActorMuteResponse, a, b) + static equals(a: DeleteActorMuteResponse | PlainMessage | undefined, b: DeleteActorMuteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteActorMuteResponse, a, b); } } @@ -12341,51 +8489,33 @@ export class ClearActorMutesRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearActorMutesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearActorMutesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearActorMutesRequest { - return new ClearActorMutesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearActorMutesRequest { + return new ClearActorMutesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearActorMutesRequest { - return new ClearActorMutesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearActorMutesRequest { + return new ClearActorMutesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearActorMutesRequest { - return new ClearActorMutesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): ClearActorMutesRequest { + return new ClearActorMutesRequest().fromJsonString(jsonString, options); } - static equals( - a: - | ClearActorMutesRequest - | PlainMessage - | undefined, - b: - | ClearActorMutesRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearActorMutesRequest, a, b) + static equals(a: ClearActorMutesRequest | PlainMessage | undefined, b: ClearActorMutesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearActorMutesRequest, a, b); } } @@ -12394,46 +8524,29 @@ export class ClearActorMutesRequest extends Message { */ export class ClearActorMutesResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearActorMutesResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearActorMutesResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearActorMutesResponse { - return new ClearActorMutesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearActorMutesResponse { + return new ClearActorMutesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearActorMutesResponse { - return new ClearActorMutesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearActorMutesResponse { + return new ClearActorMutesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearActorMutesResponse { - return new ClearActorMutesResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): ClearActorMutesResponse { + return new ClearActorMutesResponse().fromJsonString(jsonString, options); } - static equals( - a: - | ClearActorMutesResponse - | PlainMessage - | undefined, - b: - | ClearActorMutesResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearActorMutesResponse, a, b) + static equals(a: ClearActorMutesResponse | PlainMessage | undefined, b: ClearActorMutesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearActorMutesResponse, a, b); } } @@ -12444,71 +8557,39 @@ export class CreateActorMutelistSubscriptionRequest extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateActorMutelistSubscriptionRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'subject_uri', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateActorMutelistSubscriptionRequest { - return new CreateActorMutelistSubscriptionRequest().fromBinary( - bytes, - options, - ) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateActorMutelistSubscriptionRequest { - return new CreateActorMutelistSubscriptionRequest().fromJson( - jsonValue, - options, - ) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateActorMutelistSubscriptionRequest { - return new CreateActorMutelistSubscriptionRequest().fromJsonString( - jsonString, - options, - ) - } - - static equals( - a: - | CreateActorMutelistSubscriptionRequest - | PlainMessage - | undefined, - b: - | CreateActorMutelistSubscriptionRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateActorMutelistSubscriptionRequest, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateActorMutelistSubscriptionRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): CreateActorMutelistSubscriptionRequest { + return new CreateActorMutelistSubscriptionRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): CreateActorMutelistSubscriptionRequest { + return new CreateActorMutelistSubscriptionRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): CreateActorMutelistSubscriptionRequest { + return new CreateActorMutelistSubscriptionRequest().fromJsonString(jsonString, options); + } + + static equals(a: CreateActorMutelistSubscriptionRequest | PlainMessage | undefined, b: CreateActorMutelistSubscriptionRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateActorMutelistSubscriptionRequest, a, b); } } @@ -12517,55 +8598,29 @@ export class CreateActorMutelistSubscriptionRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateActorMutelistSubscriptionResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateActorMutelistSubscriptionResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateActorMutelistSubscriptionResponse { - return new CreateActorMutelistSubscriptionResponse().fromBinary( - bytes, - options, - ) + static fromBinary(bytes: Uint8Array, options?: Partial): CreateActorMutelistSubscriptionResponse { + return new CreateActorMutelistSubscriptionResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateActorMutelistSubscriptionResponse { - return new CreateActorMutelistSubscriptionResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): CreateActorMutelistSubscriptionResponse { + return new CreateActorMutelistSubscriptionResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateActorMutelistSubscriptionResponse { - return new CreateActorMutelistSubscriptionResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): CreateActorMutelistSubscriptionResponse { + return new CreateActorMutelistSubscriptionResponse().fromJsonString(jsonString, options); } - static equals( - a: - | CreateActorMutelistSubscriptionResponse - | PlainMessage - | undefined, - b: - | CreateActorMutelistSubscriptionResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateActorMutelistSubscriptionResponse, a, b) + static equals(a: CreateActorMutelistSubscriptionResponse | PlainMessage | undefined, b: CreateActorMutelistSubscriptionResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateActorMutelistSubscriptionResponse, a, b); } } @@ -12576,71 +8631,39 @@ export class DeleteActorMutelistSubscriptionRequest extends Message) { - super() - proto3.util.initPartial(data, this) - } - - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteActorMutelistSubscriptionRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'subject_uri', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteActorMutelistSubscriptionRequest { - return new DeleteActorMutelistSubscriptionRequest().fromBinary( - bytes, - options, - ) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteActorMutelistSubscriptionRequest { - return new DeleteActorMutelistSubscriptionRequest().fromJson( - jsonValue, - options, - ) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteActorMutelistSubscriptionRequest { - return new DeleteActorMutelistSubscriptionRequest().fromJsonString( - jsonString, - options, - ) - } - - static equals( - a: - | DeleteActorMutelistSubscriptionRequest - | PlainMessage - | undefined, - b: - | DeleteActorMutelistSubscriptionRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteActorMutelistSubscriptionRequest, a, b) + super(); + proto3.util.initPartial(data, this); + } + + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteActorMutelistSubscriptionRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "subject_uri", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteActorMutelistSubscriptionRequest { + return new DeleteActorMutelistSubscriptionRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteActorMutelistSubscriptionRequest { + return new DeleteActorMutelistSubscriptionRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): DeleteActorMutelistSubscriptionRequest { + return new DeleteActorMutelistSubscriptionRequest().fromJsonString(jsonString, options); + } + + static equals(a: DeleteActorMutelistSubscriptionRequest | PlainMessage | undefined, b: DeleteActorMutelistSubscriptionRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteActorMutelistSubscriptionRequest, a, b); } } @@ -12649,55 +8672,29 @@ export class DeleteActorMutelistSubscriptionRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteActorMutelistSubscriptionResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteActorMutelistSubscriptionResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteActorMutelistSubscriptionResponse { - return new DeleteActorMutelistSubscriptionResponse().fromBinary( - bytes, - options, - ) + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteActorMutelistSubscriptionResponse { + return new DeleteActorMutelistSubscriptionResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteActorMutelistSubscriptionResponse { - return new DeleteActorMutelistSubscriptionResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteActorMutelistSubscriptionResponse { + return new DeleteActorMutelistSubscriptionResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteActorMutelistSubscriptionResponse { - return new DeleteActorMutelistSubscriptionResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): DeleteActorMutelistSubscriptionResponse { + return new DeleteActorMutelistSubscriptionResponse().fromJsonString(jsonString, options); } - static equals( - a: - | DeleteActorMutelistSubscriptionResponse - | PlainMessage - | undefined, - b: - | DeleteActorMutelistSubscriptionResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteActorMutelistSubscriptionResponse, a, b) + static equals(a: DeleteActorMutelistSubscriptionResponse | PlainMessage | undefined, b: DeleteActorMutelistSubscriptionResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteActorMutelistSubscriptionResponse, a, b); } } @@ -12708,60 +8705,33 @@ export class ClearActorMutelistSubscriptionsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearActorMutelistSubscriptionsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearActorMutelistSubscriptionsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearActorMutelistSubscriptionsRequest { - return new ClearActorMutelistSubscriptionsRequest().fromBinary( - bytes, - options, - ) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearActorMutelistSubscriptionsRequest { + return new ClearActorMutelistSubscriptionsRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearActorMutelistSubscriptionsRequest { - return new ClearActorMutelistSubscriptionsRequest().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearActorMutelistSubscriptionsRequest { + return new ClearActorMutelistSubscriptionsRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearActorMutelistSubscriptionsRequest { - return new ClearActorMutelistSubscriptionsRequest().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): ClearActorMutelistSubscriptionsRequest { + return new ClearActorMutelistSubscriptionsRequest().fromJsonString(jsonString, options); } - static equals( - a: - | ClearActorMutelistSubscriptionsRequest - | PlainMessage - | undefined, - b: - | ClearActorMutelistSubscriptionsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearActorMutelistSubscriptionsRequest, a, b) + static equals(a: ClearActorMutelistSubscriptionsRequest | PlainMessage | undefined, b: ClearActorMutelistSubscriptionsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearActorMutelistSubscriptionsRequest, a, b); } } @@ -12770,55 +8740,29 @@ export class ClearActorMutelistSubscriptionsRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearActorMutelistSubscriptionsResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearActorMutelistSubscriptionsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearActorMutelistSubscriptionsResponse { - return new ClearActorMutelistSubscriptionsResponse().fromBinary( - bytes, - options, - ) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearActorMutelistSubscriptionsResponse { + return new ClearActorMutelistSubscriptionsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearActorMutelistSubscriptionsResponse { - return new ClearActorMutelistSubscriptionsResponse().fromJson( - jsonValue, - options, - ) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearActorMutelistSubscriptionsResponse { + return new ClearActorMutelistSubscriptionsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearActorMutelistSubscriptionsResponse { - return new ClearActorMutelistSubscriptionsResponse().fromJsonString( - jsonString, - options, - ) + static fromJsonString(jsonString: string, options?: Partial): ClearActorMutelistSubscriptionsResponse { + return new ClearActorMutelistSubscriptionsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | ClearActorMutelistSubscriptionsResponse - | PlainMessage - | undefined, - b: - | ClearActorMutelistSubscriptionsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearActorMutelistSubscriptionsResponse, a, b) + static equals(a: ClearActorMutelistSubscriptionsResponse | PlainMessage | undefined, b: ClearActorMutelistSubscriptionsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearActorMutelistSubscriptionsResponse, a, b); } } @@ -12829,62 +8773,39 @@ export class CreateThreadMuteRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string thread_root = 2; */ - threadRoot = '' + threadRoot = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateThreadMuteRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateThreadMuteRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'thread_root', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "thread_root", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateThreadMuteRequest { - return new CreateThreadMuteRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): CreateThreadMuteRequest { + return new CreateThreadMuteRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateThreadMuteRequest { - return new CreateThreadMuteRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): CreateThreadMuteRequest { + return new CreateThreadMuteRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateThreadMuteRequest { - return new CreateThreadMuteRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): CreateThreadMuteRequest { + return new CreateThreadMuteRequest().fromJsonString(jsonString, options); } - static equals( - a: - | CreateThreadMuteRequest - | PlainMessage - | undefined, - b: - | CreateThreadMuteRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateThreadMuteRequest, a, b) + static equals(a: CreateThreadMuteRequest | PlainMessage | undefined, b: CreateThreadMuteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateThreadMuteRequest, a, b); } } @@ -12893,46 +8814,29 @@ export class CreateThreadMuteRequest extends Message { */ export class CreateThreadMuteResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.CreateThreadMuteResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.CreateThreadMuteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): CreateThreadMuteResponse { - return new CreateThreadMuteResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): CreateThreadMuteResponse { + return new CreateThreadMuteResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): CreateThreadMuteResponse { - return new CreateThreadMuteResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): CreateThreadMuteResponse { + return new CreateThreadMuteResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): CreateThreadMuteResponse { - return new CreateThreadMuteResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): CreateThreadMuteResponse { + return new CreateThreadMuteResponse().fromJsonString(jsonString, options); } - static equals( - a: - | CreateThreadMuteResponse - | PlainMessage - | undefined, - b: - | CreateThreadMuteResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(CreateThreadMuteResponse, a, b) + static equals(a: CreateThreadMuteResponse | PlainMessage | undefined, b: CreateThreadMuteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(CreateThreadMuteResponse, a, b); } } @@ -12943,62 +8847,39 @@ export class DeleteThreadMuteRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string thread_root = 2; */ - threadRoot = '' + threadRoot = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteThreadMuteRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteThreadMuteRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'thread_root', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "thread_root", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteThreadMuteRequest { - return new DeleteThreadMuteRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteThreadMuteRequest { + return new DeleteThreadMuteRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteThreadMuteRequest { - return new DeleteThreadMuteRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteThreadMuteRequest { + return new DeleteThreadMuteRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteThreadMuteRequest { - return new DeleteThreadMuteRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): DeleteThreadMuteRequest { + return new DeleteThreadMuteRequest().fromJsonString(jsonString, options); } - static equals( - a: - | DeleteThreadMuteRequest - | PlainMessage - | undefined, - b: - | DeleteThreadMuteRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteThreadMuteRequest, a, b) + static equals(a: DeleteThreadMuteRequest | PlainMessage | undefined, b: DeleteThreadMuteRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteThreadMuteRequest, a, b); } } @@ -13007,46 +8888,29 @@ export class DeleteThreadMuteRequest extends Message { */ export class DeleteThreadMuteResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.DeleteThreadMuteResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.DeleteThreadMuteResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): DeleteThreadMuteResponse { - return new DeleteThreadMuteResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): DeleteThreadMuteResponse { + return new DeleteThreadMuteResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): DeleteThreadMuteResponse { - return new DeleteThreadMuteResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): DeleteThreadMuteResponse { + return new DeleteThreadMuteResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): DeleteThreadMuteResponse { - return new DeleteThreadMuteResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): DeleteThreadMuteResponse { + return new DeleteThreadMuteResponse().fromJsonString(jsonString, options); } - static equals( - a: - | DeleteThreadMuteResponse - | PlainMessage - | undefined, - b: - | DeleteThreadMuteResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(DeleteThreadMuteResponse, a, b) + static equals(a: DeleteThreadMuteResponse | PlainMessage | undefined, b: DeleteThreadMuteResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(DeleteThreadMuteResponse, a, b); } } @@ -13057,51 +8921,33 @@ export class ClearThreadMutesRequest extends Message { /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearThreadMutesRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearThreadMutesRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearThreadMutesRequest { - return new ClearThreadMutesRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearThreadMutesRequest { + return new ClearThreadMutesRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearThreadMutesRequest { - return new ClearThreadMutesRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearThreadMutesRequest { + return new ClearThreadMutesRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearThreadMutesRequest { - return new ClearThreadMutesRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): ClearThreadMutesRequest { + return new ClearThreadMutesRequest().fromJsonString(jsonString, options); } - static equals( - a: - | ClearThreadMutesRequest - | PlainMessage - | undefined, - b: - | ClearThreadMutesRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearThreadMutesRequest, a, b) + static equals(a: ClearThreadMutesRequest | PlainMessage | undefined, b: ClearThreadMutesRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearThreadMutesRequest, a, b); } } @@ -13110,45 +8956,29 @@ export class ClearThreadMutesRequest extends Message { */ export class ClearThreadMutesResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsky.ClearThreadMutesResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsky.ClearThreadMutesResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ClearThreadMutesResponse { - return new ClearThreadMutesResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): ClearThreadMutesResponse { + return new ClearThreadMutesResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ClearThreadMutesResponse { - return new ClearThreadMutesResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): ClearThreadMutesResponse { + return new ClearThreadMutesResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): ClearThreadMutesResponse { - return new ClearThreadMutesResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): ClearThreadMutesResponse { + return new ClearThreadMutesResponse().fromJsonString(jsonString, options); } - static equals( - a: - | ClearThreadMutesResponse - | PlainMessage - | undefined, - b: - | ClearThreadMutesResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ClearThreadMutesResponse, a, b) + static equals(a: ClearThreadMutesResponse | PlainMessage | undefined, b: ClearThreadMutesResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ClearThreadMutesResponse, a, b); } } + diff --git a/packages/bsky/src/proto/bsync_connect.ts b/packages/bsky/src/proto/bsync_connect.ts index 9204f8d3665..7f3ca296686 100644 --- a/packages/bsky/src/proto/bsync_connect.ts +++ b/packages/bsky/src/proto/bsync_connect.ts @@ -3,25 +3,14 @@ /* eslint-disable */ // @ts-nocheck -import { - AddMuteOperationRequest, - AddMuteOperationResponse, - AddNotifOperationRequest, - AddNotifOperationResponse, - PingRequest, - PingResponse, - ScanMuteOperationsRequest, - ScanMuteOperationsResponse, - ScanNotifOperationsRequest, - ScanNotifOperationsResponse, -} from './bsync_pb' -import { MethodKind } from '@bufbuild/protobuf' +import { AddMuteOperationRequest, AddMuteOperationResponse, AddNotifOperationRequest, AddNotifOperationResponse, PingRequest, PingResponse, ScanMuteOperationsRequest, ScanMuteOperationsResponse, ScanNotifOperationsRequest, ScanNotifOperationsResponse } from "./bsync_pb"; +import { MethodKind } from "@bufbuild/protobuf"; /** * @generated from service bsync.Service */ export const Service = { - typeName: 'bsync.Service', + typeName: "bsync.Service", methods: { /** * Sync @@ -29,7 +18,7 @@ export const Service = { * @generated from rpc bsync.Service.AddMuteOperation */ addMuteOperation: { - name: 'AddMuteOperation', + name: "AddMuteOperation", I: AddMuteOperationRequest, O: AddMuteOperationResponse, kind: MethodKind.Unary, @@ -38,7 +27,7 @@ export const Service = { * @generated from rpc bsync.Service.ScanMuteOperations */ scanMuteOperations: { - name: 'ScanMuteOperations', + name: "ScanMuteOperations", I: ScanMuteOperationsRequest, O: ScanMuteOperationsResponse, kind: MethodKind.Unary, @@ -47,7 +36,7 @@ export const Service = { * @generated from rpc bsync.Service.AddNotifOperation */ addNotifOperation: { - name: 'AddNotifOperation', + name: "AddNotifOperation", I: AddNotifOperationRequest, O: AddNotifOperationResponse, kind: MethodKind.Unary, @@ -56,7 +45,7 @@ export const Service = { * @generated from rpc bsync.Service.ScanNotifOperations */ scanNotifOperations: { - name: 'ScanNotifOperations', + name: "ScanNotifOperations", I: ScanNotifOperationsRequest, O: ScanNotifOperationsResponse, kind: MethodKind.Unary, @@ -67,10 +56,11 @@ export const Service = { * @generated from rpc bsync.Service.Ping */ ping: { - name: 'Ping', + name: "Ping", I: PingRequest, O: PingResponse, kind: MethodKind.Unary, }, - }, -} as const + } +} as const; + diff --git a/packages/bsky/src/proto/bsync_pb.ts b/packages/bsky/src/proto/bsync_pb.ts index d38a7a6b6db..0397bf29983 100644 --- a/packages/bsky/src/proto/bsync_pb.ts +++ b/packages/bsky/src/proto/bsync_pb.ts @@ -3,15 +3,8 @@ /* eslint-disable */ // @ts-nocheck -import type { - BinaryReadOptions, - FieldList, - JsonReadOptions, - JsonValue, - PartialMessage, - PlainMessage, -} from '@bufbuild/protobuf' -import { Message, proto3 } from '@bufbuild/protobuf' +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3 } from "@bufbuild/protobuf"; /** * @generated from message bsync.MuteOperation @@ -20,68 +13,51 @@ export class MuteOperation extends Message { /** * @generated from field: string id = 1; */ - id = '' + id = ""; /** * @generated from field: bsync.MuteOperation.Type type = 2; */ - type = MuteOperation_Type.UNSPECIFIED + type = MuteOperation_Type.UNSPECIFIED; /** * @generated from field: string actor_did = 3; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string subject = 4; */ - subject = '' + subject = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.MuteOperation' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.MuteOperation"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'type', - kind: 'enum', - T: proto3.getEnumType(MuteOperation_Type), - }, - { no: 3, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): MuteOperation { - return new MuteOperation().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): MuteOperation { - return new MuteOperation().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): MuteOperation { - return new MuteOperation().fromJsonString(jsonString, options) - } - - static equals( - a: MuteOperation | PlainMessage | undefined, - b: MuteOperation | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(MuteOperation, a, b) + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "type", kind: "enum", T: proto3.getEnumType(MuteOperation_Type) }, + { no: 3, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): MuteOperation { + return new MuteOperation().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): MuteOperation { + return new MuteOperation().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): MuteOperation { + return new MuteOperation().fromJsonString(jsonString, options); + } + + static equals(a: MuteOperation | PlainMessage | undefined, b: MuteOperation | PlainMessage | undefined): boolean { + return proto3.util.equals(MuteOperation, a, b); } } @@ -110,12 +86,12 @@ export enum MuteOperation_Type { CLEAR = 3, } // Retrieve enum metadata with: proto3.getEnumType(MuteOperation_Type) -proto3.util.setEnumType(MuteOperation_Type, 'bsync.MuteOperation.Type', [ - { no: 0, name: 'TYPE_UNSPECIFIED' }, - { no: 1, name: 'TYPE_ADD' }, - { no: 2, name: 'TYPE_REMOVE' }, - { no: 3, name: 'TYPE_CLEAR' }, -]) +proto3.util.setEnumType(MuteOperation_Type, "bsync.MuteOperation.Type", [ + { no: 0, name: "TYPE_UNSPECIFIED" }, + { no: 1, name: "TYPE_ADD" }, + { no: 2, name: "TYPE_REMOVE" }, + { no: 3, name: "TYPE_CLEAR" }, +]); /** * @generated from message bsync.AddMuteOperationRequest @@ -124,68 +100,45 @@ export class AddMuteOperationRequest extends Message { /** * @generated from field: bsync.MuteOperation.Type type = 1; */ - type = MuteOperation_Type.UNSPECIFIED + type = MuteOperation_Type.UNSPECIFIED; /** * @generated from field: string actor_did = 2; */ - actorDid = '' + actorDid = ""; /** * @generated from field: string subject = 3; */ - subject = '' + subject = ""; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.AddMuteOperationRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.AddMuteOperationRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'type', - kind: 'enum', - T: proto3.getEnumType(MuteOperation_Type), - }, - { no: 2, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'subject', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): AddMuteOperationRequest { - return new AddMuteOperationRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): AddMuteOperationRequest { - return new AddMuteOperationRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): AddMuteOperationRequest { - return new AddMuteOperationRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | AddMuteOperationRequest - | PlainMessage - | undefined, - b: - | AddMuteOperationRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(AddMuteOperationRequest, a, b) + { no: 1, name: "type", kind: "enum", T: proto3.getEnumType(MuteOperation_Type) }, + { no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "subject", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddMuteOperationRequest { + return new AddMuteOperationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddMuteOperationRequest { + return new AddMuteOperationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddMuteOperationRequest { + return new AddMuteOperationRequest().fromJsonString(jsonString, options); + } + + static equals(a: AddMuteOperationRequest | PlainMessage | undefined, b: AddMuteOperationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(AddMuteOperationRequest, a, b); } } @@ -196,51 +149,33 @@ export class AddMuteOperationResponse extends Message /** * @generated from field: bsync.MuteOperation operation = 1; */ - operation?: MuteOperation + operation?: MuteOperation; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.AddMuteOperationResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.AddMuteOperationResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'operation', kind: 'message', T: MuteOperation }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): AddMuteOperationResponse { - return new AddMuteOperationResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): AddMuteOperationResponse { - return new AddMuteOperationResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): AddMuteOperationResponse { - return new AddMuteOperationResponse().fromJsonString(jsonString, options) - } - - static equals( - a: - | AddMuteOperationResponse - | PlainMessage - | undefined, - b: - | AddMuteOperationResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(AddMuteOperationResponse, a, b) + { no: 1, name: "operation", kind: "message", T: MuteOperation }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddMuteOperationResponse { + return new AddMuteOperationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddMuteOperationResponse { + return new AddMuteOperationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddMuteOperationResponse { + return new AddMuteOperationResponse().fromJsonString(jsonString, options); + } + + static equals(a: AddMuteOperationResponse | PlainMessage | undefined, b: AddMuteOperationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(AddMuteOperationResponse, a, b); } } @@ -251,57 +186,39 @@ export class ScanMuteOperationsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.ScanMuteOperationsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.ScanMuteOperationsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ScanMuteOperationsRequest { - return new ScanMuteOperationsRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ScanMuteOperationsRequest { - return new ScanMuteOperationsRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): ScanMuteOperationsRequest { - return new ScanMuteOperationsRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | ScanMuteOperationsRequest - | PlainMessage - | undefined, - b: - | ScanMuteOperationsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ScanMuteOperationsRequest, a, b) + { no: 1, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ScanMuteOperationsRequest { + return new ScanMuteOperationsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ScanMuteOperationsRequest { + return new ScanMuteOperationsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ScanMuteOperationsRequest { + return new ScanMuteOperationsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ScanMuteOperationsRequest | PlainMessage | undefined, b: ScanMuteOperationsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ScanMuteOperationsRequest, a, b); } } @@ -312,63 +229,39 @@ export class ScanMuteOperationsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.ScanMuteOperationsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.ScanMuteOperationsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'operations', - kind: 'message', - T: MuteOperation, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ScanMuteOperationsResponse { - return new ScanMuteOperationsResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ScanMuteOperationsResponse { - return new ScanMuteOperationsResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): ScanMuteOperationsResponse { - return new ScanMuteOperationsResponse().fromJsonString(jsonString, options) - } - - static equals( - a: - | ScanMuteOperationsResponse - | PlainMessage - | undefined, - b: - | ScanMuteOperationsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ScanMuteOperationsResponse, a, b) + { no: 1, name: "operations", kind: "message", T: MuteOperation, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ScanMuteOperationsResponse { + return new ScanMuteOperationsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ScanMuteOperationsResponse { + return new ScanMuteOperationsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ScanMuteOperationsResponse { + return new ScanMuteOperationsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ScanMuteOperationsResponse | PlainMessage | undefined, b: ScanMuteOperationsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ScanMuteOperationsResponse, a, b); } } @@ -379,63 +272,45 @@ export class NotifOperation extends Message { /** * @generated from field: string id = 1; */ - id = '' + id = ""; /** * @generated from field: string actor_did = 2; */ - actorDid = '' + actorDid = ""; /** * @generated from field: optional bool priority = 3; */ - priority?: boolean + priority?: boolean; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.NotifOperation' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.NotifOperation"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 3, - name: 'priority', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - opt: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): NotifOperation { - return new NotifOperation().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): NotifOperation { - return new NotifOperation().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): NotifOperation { - return new NotifOperation().fromJsonString(jsonString, options) - } - - static equals( - a: NotifOperation | PlainMessage | undefined, - b: NotifOperation | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(NotifOperation, a, b) + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): NotifOperation { + return new NotifOperation().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): NotifOperation { + return new NotifOperation().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): NotifOperation { + return new NotifOperation().fromJsonString(jsonString, options); + } + + static equals(a: NotifOperation | PlainMessage | undefined, b: NotifOperation | PlainMessage | undefined): boolean { + return proto3.util.equals(NotifOperation, a, b); } } @@ -446,63 +321,39 @@ export class AddNotifOperationRequest extends Message /** * @generated from field: string actor_did = 1; */ - actorDid = '' + actorDid = ""; /** * @generated from field: optional bool priority = 2; */ - priority?: boolean + priority?: boolean; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.AddNotifOperationRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.AddNotifOperationRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'actor_did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'priority', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - opt: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): AddNotifOperationRequest { - return new AddNotifOperationRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): AddNotifOperationRequest { - return new AddNotifOperationRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): AddNotifOperationRequest { - return new AddNotifOperationRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | AddNotifOperationRequest - | PlainMessage - | undefined, - b: - | AddNotifOperationRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(AddNotifOperationRequest, a, b) + { no: 1, name: "actor_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "priority", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddNotifOperationRequest { + return new AddNotifOperationRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddNotifOperationRequest { + return new AddNotifOperationRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddNotifOperationRequest { + return new AddNotifOperationRequest().fromJsonString(jsonString, options); + } + + static equals(a: AddNotifOperationRequest | PlainMessage | undefined, b: AddNotifOperationRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(AddNotifOperationRequest, a, b); } } @@ -513,51 +364,33 @@ export class AddNotifOperationResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.AddNotifOperationResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.AddNotifOperationResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'operation', kind: 'message', T: NotifOperation }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): AddNotifOperationResponse { - return new AddNotifOperationResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): AddNotifOperationResponse { - return new AddNotifOperationResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): AddNotifOperationResponse { - return new AddNotifOperationResponse().fromJsonString(jsonString, options) - } - - static equals( - a: - | AddNotifOperationResponse - | PlainMessage - | undefined, - b: - | AddNotifOperationResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(AddNotifOperationResponse, a, b) + { no: 1, name: "operation", kind: "message", T: NotifOperation }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): AddNotifOperationResponse { + return new AddNotifOperationResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): AddNotifOperationResponse { + return new AddNotifOperationResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): AddNotifOperationResponse { + return new AddNotifOperationResponse().fromJsonString(jsonString, options); + } + + static equals(a: AddNotifOperationResponse | PlainMessage | undefined, b: AddNotifOperationResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(AddNotifOperationResponse, a, b); } } @@ -568,57 +401,39 @@ export class ScanNotifOperationsRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.ScanNotifOperationsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.ScanNotifOperationsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'limit', kind: 'scalar', T: 5 /* ScalarType.INT32 */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ScanNotifOperationsRequest { - return new ScanNotifOperationsRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ScanNotifOperationsRequest { - return new ScanNotifOperationsRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): ScanNotifOperationsRequest { - return new ScanNotifOperationsRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | ScanNotifOperationsRequest - | PlainMessage - | undefined, - b: - | ScanNotifOperationsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ScanNotifOperationsRequest, a, b) + { no: 1, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "limit", kind: "scalar", T: 5 /* ScalarType.INT32 */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ScanNotifOperationsRequest { + return new ScanNotifOperationsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ScanNotifOperationsRequest { + return new ScanNotifOperationsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ScanNotifOperationsRequest { + return new ScanNotifOperationsRequest().fromJsonString(jsonString, options); + } + + static equals(a: ScanNotifOperationsRequest | PlainMessage | undefined, b: ScanNotifOperationsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(ScanNotifOperationsRequest, a, b); } } @@ -629,63 +444,39 @@ export class ScanNotifOperationsResponse extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.ScanNotifOperationsResponse' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.ScanNotifOperationsResponse"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'operations', - kind: 'message', - T: NotifOperation, - repeated: true, - }, - { no: 2, name: 'cursor', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): ScanNotifOperationsResponse { - return new ScanNotifOperationsResponse().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): ScanNotifOperationsResponse { - return new ScanNotifOperationsResponse().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): ScanNotifOperationsResponse { - return new ScanNotifOperationsResponse().fromJsonString(jsonString, options) - } - - static equals( - a: - | ScanNotifOperationsResponse - | PlainMessage - | undefined, - b: - | ScanNotifOperationsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(ScanNotifOperationsResponse, a, b) + { no: 1, name: "operations", kind: "message", T: NotifOperation, repeated: true }, + { no: 2, name: "cursor", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): ScanNotifOperationsResponse { + return new ScanNotifOperationsResponse().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): ScanNotifOperationsResponse { + return new ScanNotifOperationsResponse().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): ScanNotifOperationsResponse { + return new ScanNotifOperationsResponse().fromJsonString(jsonString, options); + } + + static equals(a: ScanNotifOperationsResponse | PlainMessage | undefined, b: ScanNotifOperationsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(ScanNotifOperationsResponse, a, b); } } @@ -696,40 +487,29 @@ export class ScanNotifOperationsResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.PingRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.PingRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingRequest { - return new PingRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingRequest { + return new PingRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingRequest { + return new PingRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingRequest { + return new PingRequest().fromJsonString(jsonString, options); } - static equals( - a: PingRequest | PlainMessage | undefined, - b: PingRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingRequest, a, b) + static equals(a: PingRequest | PlainMessage | undefined, b: PingRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(PingRequest, a, b); } } @@ -738,39 +518,29 @@ export class PingRequest extends Message { */ export class PingResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'bsync.PingResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "bsync.PingResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingResponse { - return new PingResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingResponse { + return new PingResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingResponse { + return new PingResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingResponse { + return new PingResponse().fromJsonString(jsonString, options); } - static equals( - a: PingResponse | PlainMessage | undefined, - b: PingResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingResponse, a, b) + static equals(a: PingResponse | PlainMessage | undefined, b: PingResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(PingResponse, a, b); } } + diff --git a/packages/bsky/src/proto/courier_connect.ts b/packages/bsky/src/proto/courier_connect.ts index ccf818df6e2..7f4becd4f84 100644 --- a/packages/bsky/src/proto/courier_connect.ts +++ b/packages/bsky/src/proto/courier_connect.ts @@ -3,27 +3,20 @@ /* eslint-disable */ // @ts-nocheck -import { - PingRequest, - PingResponse, - PushNotificationsRequest, - PushNotificationsResponse, - RegisterDeviceTokenRequest, - RegisterDeviceTokenResponse, -} from './courier_pb' -import { MethodKind } from '@bufbuild/protobuf' +import { PingRequest, PingResponse, PushNotificationsRequest, PushNotificationsResponse, RegisterDeviceTokenRequest, RegisterDeviceTokenResponse } from "./courier_pb"; +import { MethodKind } from "@bufbuild/protobuf"; /** * @generated from service courier.Service */ export const Service = { - typeName: 'courier.Service', + typeName: "courier.Service", methods: { /** * @generated from rpc courier.Service.Ping */ ping: { - name: 'Ping', + name: "Ping", I: PingRequest, O: PingResponse, kind: MethodKind.Unary, @@ -32,7 +25,7 @@ export const Service = { * @generated from rpc courier.Service.PushNotifications */ pushNotifications: { - name: 'PushNotifications', + name: "PushNotifications", I: PushNotificationsRequest, O: PushNotificationsResponse, kind: MethodKind.Unary, @@ -41,10 +34,11 @@ export const Service = { * @generated from rpc courier.Service.RegisterDeviceToken */ registerDeviceToken: { - name: 'RegisterDeviceToken', + name: "RegisterDeviceToken", I: RegisterDeviceTokenRequest, O: RegisterDeviceTokenResponse, kind: MethodKind.Unary, }, - }, -} as const + } +} as const; + diff --git a/packages/bsky/src/proto/courier_pb.ts b/packages/bsky/src/proto/courier_pb.ts index 4734d554371..ca92b50e893 100644 --- a/packages/bsky/src/proto/courier_pb.ts +++ b/packages/bsky/src/proto/courier_pb.ts @@ -3,15 +3,8 @@ /* eslint-disable */ // @ts-nocheck -import type { - BinaryReadOptions, - FieldList, - JsonReadOptions, - JsonValue, - PartialMessage, - PlainMessage, -} from '@bufbuild/protobuf' -import { Message, proto3, Struct, Timestamp } from '@bufbuild/protobuf' +import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf"; +import { Message, proto3, Struct, Timestamp } from "@bufbuild/protobuf"; /** * @generated from enum courier.AppPlatform @@ -38,12 +31,12 @@ export enum AppPlatform { WEB = 3, } // Retrieve enum metadata with: proto3.getEnumType(AppPlatform) -proto3.util.setEnumType(AppPlatform, 'courier.AppPlatform', [ - { no: 0, name: 'APP_PLATFORM_UNSPECIFIED' }, - { no: 1, name: 'APP_PLATFORM_IOS' }, - { no: 2, name: 'APP_PLATFORM_ANDROID' }, - { no: 3, name: 'APP_PLATFORM_WEB' }, -]) +proto3.util.setEnumType(AppPlatform, "courier.AppPlatform", [ + { no: 0, name: "APP_PLATFORM_UNSPECIFIED" }, + { no: 1, name: "APP_PLATFORM_IOS" }, + { no: 2, name: "APP_PLATFORM_ANDROID" }, + { no: 3, name: "APP_PLATFORM_WEB" }, +]); /** * Ping @@ -52,40 +45,29 @@ proto3.util.setEnumType(AppPlatform, 'courier.AppPlatform', [ */ export class PingRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.PingRequest' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.PingRequest"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingRequest { - return new PingRequest().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingRequest { + return new PingRequest().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingRequest { + return new PingRequest().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingRequest { - return new PingRequest().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingRequest { + return new PingRequest().fromJsonString(jsonString, options); } - static equals( - a: PingRequest | PlainMessage | undefined, - b: PingRequest | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingRequest, a, b) + static equals(a: PingRequest | PlainMessage | undefined, b: PingRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(PingRequest, a, b); } } @@ -94,40 +76,29 @@ export class PingRequest extends Message { */ export class PingResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.PingResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.PingResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PingResponse { - return new PingResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PingResponse { + return new PingResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PingResponse { + return new PingResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PingResponse { - return new PingResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PingResponse { + return new PingResponse().fromJsonString(jsonString, options); } - static equals( - a: PingResponse | PlainMessage | undefined, - b: PingResponse | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(PingResponse, a, b) + static equals(a: PingResponse | PlainMessage | undefined, b: PingResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(PingResponse, a, b); } } @@ -138,113 +109,81 @@ export class Notification extends Message { /** * @generated from field: string id = 1; */ - id = '' + id = ""; /** * @generated from field: string recipient_did = 2; */ - recipientDid = '' + recipientDid = ""; /** * @generated from field: string title = 3; */ - title = '' + title = ""; /** * @generated from field: string message = 4; */ - message = '' + message = ""; /** * @generated from field: string collapse_key = 5; */ - collapseKey = '' + collapseKey = ""; /** * @generated from field: bool always_deliver = 6; */ - alwaysDeliver = false + alwaysDeliver = false; /** * @generated from field: google.protobuf.Timestamp timestamp = 7; */ - timestamp?: Timestamp + timestamp?: Timestamp; /** * @generated from field: google.protobuf.Struct additional = 8; */ - additional?: Struct + additional?: Struct; /** * @generated from field: bool client_controlled = 9; */ - clientControlled = false + clientControlled = false; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.Notification' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.Notification"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 2, - name: 'recipient_did', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { no: 3, name: 'title', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 4, name: 'message', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 5, - name: 'collapse_key', - kind: 'scalar', - T: 9 /* ScalarType.STRING */, - }, - { - no: 6, - name: 'always_deliver', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - { no: 7, name: 'timestamp', kind: 'message', T: Timestamp }, - { no: 8, name: 'additional', kind: 'message', T: Struct }, - { - no: 9, - name: 'client_controlled', - kind: 'scalar', - T: 8 /* ScalarType.BOOL */, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): Notification { - return new Notification().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): Notification { - return new Notification().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): Notification { - return new Notification().fromJsonString(jsonString, options) - } - - static equals( - a: Notification | PlainMessage | undefined, - b: Notification | PlainMessage | undefined, - ): boolean { - return proto3.util.equals(Notification, a, b) + { no: 1, name: "id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "recipient_did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "title", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 5, name: "collapse_key", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 6, name: "always_deliver", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + { no: 7, name: "timestamp", kind: "message", T: Timestamp }, + { no: 8, name: "additional", kind: "message", T: Struct }, + { no: 9, name: "client_controlled", kind: "scalar", T: 8 /* ScalarType.BOOL */ }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): Notification { + return new Notification().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): Notification { + return new Notification().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): Notification { + return new Notification().fromJsonString(jsonString, options); + } + + static equals(a: Notification | PlainMessage | undefined, b: Notification | PlainMessage | undefined): boolean { + return proto3.util.equals(Notification, a, b); } } @@ -255,57 +194,33 @@ export class PushNotificationsRequest extends Message /** * @generated from field: repeated courier.Notification notifications = 1; */ - notifications: Notification[] = [] + notifications: Notification[] = []; constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.PushNotificationsRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.PushNotificationsRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { - no: 1, - name: 'notifications', - kind: 'message', - T: Notification, - repeated: true, - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PushNotificationsRequest { - return new PushNotificationsRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PushNotificationsRequest { - return new PushNotificationsRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): PushNotificationsRequest { - return new PushNotificationsRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | PushNotificationsRequest - | PlainMessage - | undefined, - b: - | PushNotificationsRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(PushNotificationsRequest, a, b) + { no: 1, name: "notifications", kind: "message", T: Notification, repeated: true }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): PushNotificationsRequest { + return new PushNotificationsRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): PushNotificationsRequest { + return new PushNotificationsRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): PushNotificationsRequest { + return new PushNotificationsRequest().fromJsonString(jsonString, options); + } + + static equals(a: PushNotificationsRequest | PlainMessage | undefined, b: PushNotificationsRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(PushNotificationsRequest, a, b); } } @@ -314,46 +229,29 @@ export class PushNotificationsRequest extends Message */ export class PushNotificationsResponse extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.PushNotificationsResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.PushNotificationsResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): PushNotificationsResponse { - return new PushNotificationsResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): PushNotificationsResponse { + return new PushNotificationsResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): PushNotificationsResponse { - return new PushNotificationsResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): PushNotificationsResponse { + return new PushNotificationsResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): PushNotificationsResponse { - return new PushNotificationsResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): PushNotificationsResponse { + return new PushNotificationsResponse().fromJsonString(jsonString, options); } - static equals( - a: - | PushNotificationsResponse - | PlainMessage - | undefined, - b: - | PushNotificationsResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(PushNotificationsResponse, a, b) + static equals(a: PushNotificationsResponse | PlainMessage | undefined, b: PushNotificationsResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(PushNotificationsResponse, a, b); } } @@ -364,74 +262,51 @@ export class RegisterDeviceTokenRequest extends Message) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.RegisterDeviceTokenRequest' + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.RegisterDeviceTokenRequest"; static readonly fields: FieldList = proto3.util.newFieldList(() => [ - { no: 1, name: 'did', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 2, name: 'token', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { no: 3, name: 'app_id', kind: 'scalar', T: 9 /* ScalarType.STRING */ }, - { - no: 4, - name: 'platform', - kind: 'enum', - T: proto3.getEnumType(AppPlatform), - }, - ]) - - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): RegisterDeviceTokenRequest { - return new RegisterDeviceTokenRequest().fromBinary(bytes, options) - } - - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): RegisterDeviceTokenRequest { - return new RegisterDeviceTokenRequest().fromJson(jsonValue, options) - } - - static fromJsonString( - jsonString: string, - options?: Partial, - ): RegisterDeviceTokenRequest { - return new RegisterDeviceTokenRequest().fromJsonString(jsonString, options) - } - - static equals( - a: - | RegisterDeviceTokenRequest - | PlainMessage - | undefined, - b: - | RegisterDeviceTokenRequest - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(RegisterDeviceTokenRequest, a, b) + { no: 1, name: "did", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 3, name: "app_id", kind: "scalar", T: 9 /* ScalarType.STRING */ }, + { no: 4, name: "platform", kind: "enum", T: proto3.getEnumType(AppPlatform) }, + ]); + + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterDeviceTokenRequest { + return new RegisterDeviceTokenRequest().fromBinary(bytes, options); + } + + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterDeviceTokenRequest { + return new RegisterDeviceTokenRequest().fromJson(jsonValue, options); + } + + static fromJsonString(jsonString: string, options?: Partial): RegisterDeviceTokenRequest { + return new RegisterDeviceTokenRequest().fromJsonString(jsonString, options); + } + + static equals(a: RegisterDeviceTokenRequest | PlainMessage | undefined, b: RegisterDeviceTokenRequest | PlainMessage | undefined): boolean { + return proto3.util.equals(RegisterDeviceTokenRequest, a, b); } } @@ -440,45 +315,29 @@ export class RegisterDeviceTokenRequest extends Message { constructor(data?: PartialMessage) { - super() - proto3.util.initPartial(data, this) + super(); + proto3.util.initPartial(data, this); } - static readonly runtime: typeof proto3 = proto3 - static readonly typeName = 'courier.RegisterDeviceTokenResponse' - static readonly fields: FieldList = proto3.util.newFieldList(() => []) + static readonly runtime: typeof proto3 = proto3; + static readonly typeName = "courier.RegisterDeviceTokenResponse"; + static readonly fields: FieldList = proto3.util.newFieldList(() => [ + ]); - static fromBinary( - bytes: Uint8Array, - options?: Partial, - ): RegisterDeviceTokenResponse { - return new RegisterDeviceTokenResponse().fromBinary(bytes, options) + static fromBinary(bytes: Uint8Array, options?: Partial): RegisterDeviceTokenResponse { + return new RegisterDeviceTokenResponse().fromBinary(bytes, options); } - static fromJson( - jsonValue: JsonValue, - options?: Partial, - ): RegisterDeviceTokenResponse { - return new RegisterDeviceTokenResponse().fromJson(jsonValue, options) + static fromJson(jsonValue: JsonValue, options?: Partial): RegisterDeviceTokenResponse { + return new RegisterDeviceTokenResponse().fromJson(jsonValue, options); } - static fromJsonString( - jsonString: string, - options?: Partial, - ): RegisterDeviceTokenResponse { - return new RegisterDeviceTokenResponse().fromJsonString(jsonString, options) + static fromJsonString(jsonString: string, options?: Partial): RegisterDeviceTokenResponse { + return new RegisterDeviceTokenResponse().fromJsonString(jsonString, options); } - static equals( - a: - | RegisterDeviceTokenResponse - | PlainMessage - | undefined, - b: - | RegisterDeviceTokenResponse - | PlainMessage - | undefined, - ): boolean { - return proto3.util.equals(RegisterDeviceTokenResponse, a, b) + static equals(a: RegisterDeviceTokenResponse | PlainMessage | undefined, b: RegisterDeviceTokenResponse | PlainMessage | undefined): boolean { + return proto3.util.equals(RegisterDeviceTokenResponse, a, b); } } +