@atproto/api 0.20.0-next.0 → 0.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +26 -10
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +4 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/lexicons.d.ts +1030 -16
- package/dist/client/lexicons.d.ts.map +1 -1
- package/dist/client/lexicons.js +631 -7
- package/dist/client/lexicons.js.map +1 -1
- package/dist/client/types/app/bsky/embed/external.d.ts +2 -1
- package/dist/client/types/app/bsky/embed/external.d.ts.map +1 -1
- package/dist/client/types/app/bsky/embed/external.js.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts +1 -1
- package/dist/client/types/chat/bsky/convo/defs.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/convo/defs.js.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/addMembers.js +3 -3
- package/dist/client/types/chat/bsky/group/addMembers.js.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/group/createGroup.js +3 -3
- package/dist/client/types/chat/bsky/group/createGroup.js.map +1 -1
- package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts +26 -0
- package/dist/client/types/chat/bsky/group/listMutualGroups.d.ts.map +1 -0
- package/dist/client/types/chat/bsky/group/listMutualGroups.js +8 -0
- package/dist/client/types/chat/bsky/group/listMutualGroups.js.map +1 -0
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts +5 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/getMessageContext.js.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts +206 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.d.ts.map +1 -1
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js +63 -0
- package/dist/client/types/chat/bsky/moderation/subscribeModEvents.js.map +1 -1
- package/dist/rich-text/detection.js +1 -1
- package/dist/rich-text/detection.js.map +1 -1
- package/jest.config.cjs +9 -2
- package/package.json +9 -8
- package/src/rich-text/detection.ts +1 -1
- package/tsconfig.build.tsbuildinfo +1 -1
- package/src/client/index.ts +0 -6408
- package/src/client/lexicons.ts +0 -25182
- package/src/client/types/app/bsky/actor/defs.ts +0 -716
- package/src/client/types/app/bsky/actor/getPreferences.ts +0 -39
- package/src/client/types/app/bsky/actor/getProfile.ts +0 -39
- package/src/client/types/app/bsky/actor/getProfiles.ts +0 -41
- package/src/client/types/app/bsky/actor/getSuggestions.ts +0 -47
- package/src/client/types/app/bsky/actor/profile.ts +0 -52
- package/src/client/types/app/bsky/actor/putPreferences.ts +0 -39
- package/src/client/types/app/bsky/actor/searchActors.ts +0 -47
- package/src/client/types/app/bsky/actor/searchActorsTypeahead.ts +0 -45
- package/src/client/types/app/bsky/actor/status.ts +0 -46
- package/src/client/types/app/bsky/ageassurance/begin.ts +0 -80
- package/src/client/types/app/bsky/ageassurance/defs.ts +0 -303
- package/src/client/types/app/bsky/ageassurance/getConfig.ts +0 -36
- package/src/client/types/app/bsky/ageassurance/getState.ts +0 -43
- package/src/client/types/app/bsky/bookmark/createBookmark.ts +0 -50
- package/src/client/types/app/bsky/bookmark/defs.ts +0 -54
- package/src/client/types/app/bsky/bookmark/deleteBookmark.ts +0 -49
- package/src/client/types/app/bsky/bookmark/getBookmarks.ts +0 -43
- package/src/client/types/app/bsky/contact/defs.ts +0 -71
- package/src/client/types/app/bsky/contact/dismissMatch.ts +0 -59
- package/src/client/types/app/bsky/contact/getMatches.ts +0 -74
- package/src/client/types/app/bsky/contact/getSyncStatus.ts +0 -56
- package/src/client/types/app/bsky/contact/importContacts.ts +0 -86
- package/src/client/types/app/bsky/contact/removeData.ts +0 -56
- package/src/client/types/app/bsky/contact/sendNotification.ts +0 -44
- package/src/client/types/app/bsky/contact/startPhoneVerification.ts +0 -73
- package/src/client/types/app/bsky/contact/verifyPhone.ts +0 -85
- package/src/client/types/app/bsky/draft/createDraft.ts +0 -55
- package/src/client/types/app/bsky/draft/defs.ts +0 -212
- package/src/client/types/app/bsky/draft/deleteDraft.ts +0 -38
- package/src/client/types/app/bsky/draft/getDrafts.ts +0 -43
- package/src/client/types/app/bsky/draft/updateDraft.ts +0 -39
- package/src/client/types/app/bsky/embed/defs.ts +0 -32
- package/src/client/types/app/bsky/embed/external.ts +0 -84
- package/src/client/types/app/bsky/embed/images.ts +0 -86
- package/src/client/types/app/bsky/embed/record.ts +0 -146
- package/src/client/types/app/bsky/embed/recordWithMedia.ts +0 -59
- package/src/client/types/app/bsky/embed/video.ts +0 -75
- package/src/client/types/app/bsky/feed/defs.ts +0 -428
- package/src/client/types/app/bsky/feed/describeFeedGenerator.ts +0 -71
- package/src/client/types/app/bsky/feed/generator.ts +0 -51
- package/src/client/types/app/bsky/feed/getActorFeeds.ts +0 -44
- package/src/client/types/app/bsky/feed/getActorLikes.ts +0 -61
- package/src/client/types/app/bsky/feed/getAuthorFeed.ts +0 -70
- package/src/client/types/app/bsky/feed/getFeed.ts +0 -54
- package/src/client/types/app/bsky/feed/getFeedGenerator.ts +0 -46
- package/src/client/types/app/bsky/feed/getFeedGenerators.ts +0 -41
- package/src/client/types/app/bsky/feed/getFeedSkeleton.ts +0 -57
- package/src/client/types/app/bsky/feed/getLikes.ts +0 -66
- package/src/client/types/app/bsky/feed/getListFeed.ts +0 -55
- package/src/client/types/app/bsky/feed/getPostThread.ts +0 -61
- package/src/client/types/app/bsky/feed/getPosts.ts +0 -42
- package/src/client/types/app/bsky/feed/getQuotes.ts +0 -49
- package/src/client/types/app/bsky/feed/getRepostedBy.ts +0 -49
- package/src/client/types/app/bsky/feed/getSuggestedFeeds.ts +0 -43
- package/src/client/types/app/bsky/feed/getTimeline.ts +0 -45
- package/src/client/types/app/bsky/feed/like.ts +0 -40
- package/src/client/types/app/bsky/feed/post.ts +0 -117
- package/src/client/types/app/bsky/feed/postgate.ts +0 -58
- package/src/client/types/app/bsky/feed/repost.ts +0 -40
- package/src/client/types/app/bsky/feed/searchPosts.ts +0 -76
- package/src/client/types/app/bsky/feed/sendInteractions.ts +0 -43
- package/src/client/types/app/bsky/feed/threadgate.ts +0 -110
- package/src/client/types/app/bsky/graph/block.ts +0 -39
- package/src/client/types/app/bsky/graph/defs.ts +0 -206
- package/src/client/types/app/bsky/graph/follow.ts +0 -40
- package/src/client/types/app/bsky/graph/getActorStarterPacks.ts +0 -44
- package/src/client/types/app/bsky/graph/getBlocks.ts +0 -43
- package/src/client/types/app/bsky/graph/getFollowers.ts +0 -45
- package/src/client/types/app/bsky/graph/getFollows.ts +0 -45
- package/src/client/types/app/bsky/graph/getKnownFollowers.ts +0 -45
- package/src/client/types/app/bsky/graph/getList.ts +0 -46
- package/src/client/types/app/bsky/graph/getListBlocks.ts +0 -43
- package/src/client/types/app/bsky/graph/getListMutes.ts +0 -43
- package/src/client/types/app/bsky/graph/getLists.ts +0 -47
- package/src/client/types/app/bsky/graph/getListsWithMembership.ts +0 -64
- package/src/client/types/app/bsky/graph/getMutes.ts +0 -43
- package/src/client/types/app/bsky/graph/getRelationships.ts +0 -59
- package/src/client/types/app/bsky/graph/getStarterPack.ts +0 -42
- package/src/client/types/app/bsky/graph/getStarterPacks.ts +0 -41
- package/src/client/types/app/bsky/graph/getStarterPacksWithMembership.ts +0 -66
- package/src/client/types/app/bsky/graph/getSuggestedFollowsByActor.ts +0 -47
- package/src/client/types/app/bsky/graph/list.ts +0 -47
- package/src/client/types/app/bsky/graph/listblock.ts +0 -39
- package/src/client/types/app/bsky/graph/listitem.ts +0 -41
- package/src/client/types/app/bsky/graph/muteActor.ts +0 -38
- package/src/client/types/app/bsky/graph/muteActorList.ts +0 -38
- package/src/client/types/app/bsky/graph/muteThread.ts +0 -38
- package/src/client/types/app/bsky/graph/searchStarterPacks.ts +0 -45
- package/src/client/types/app/bsky/graph/starterpack.ts +0 -60
- package/src/client/types/app/bsky/graph/unmuteActor.ts +0 -38
- package/src/client/types/app/bsky/graph/unmuteActorList.ts +0 -38
- package/src/client/types/app/bsky/graph/unmuteThread.ts +0 -38
- package/src/client/types/app/bsky/graph/verification.ts +0 -44
- package/src/client/types/app/bsky/labeler/defs.ts +0 -100
- package/src/client/types/app/bsky/labeler/getServices.ts +0 -46
- package/src/client/types/app/bsky/labeler/service.ts +0 -48
- package/src/client/types/app/bsky/notification/declaration.ts +0 -38
- package/src/client/types/app/bsky/notification/defs.ts +0 -142
- package/src/client/types/app/bsky/notification/getPreferences.ts +0 -39
- package/src/client/types/app/bsky/notification/getUnreadCount.ts +0 -41
- package/src/client/types/app/bsky/notification/listActivitySubscriptions.ts +0 -43
- package/src/client/types/app/bsky/notification/listNotifications.ts +0 -88
- package/src/client/types/app/bsky/notification/putActivitySubscription.ts +0 -46
- package/src/client/types/app/bsky/notification/putPreferences.ts +0 -38
- package/src/client/types/app/bsky/notification/putPreferencesV2.ts +0 -56
- package/src/client/types/app/bsky/notification/registerPush.ts +0 -43
- package/src/client/types/app/bsky/notification/unregisterPush.ts +0 -41
- package/src/client/types/app/bsky/notification/updateSeen.ts +0 -38
- package/src/client/types/app/bsky/richtext/facet.ts +0 -97
- package/src/client/types/app/bsky/unspecced/defs.ts +0 -250
- package/src/client/types/app/bsky/unspecced/getAgeAssuranceState.ts +0 -36
- package/src/client/types/app/bsky/unspecced/getConfig.ts +0 -55
- package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacks.ts +0 -41
- package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedStarterPacksSkeleton.ts +0 -42
- package/src/client/types/app/bsky/unspecced/getOnboardingSuggestedUsersSkeleton.ts +0 -48
- package/src/client/types/app/bsky/unspecced/getPopularFeedGenerators.ts +0 -44
- package/src/client/types/app/bsky/unspecced/getPostThreadOtherV2.ts +0 -61
- package/src/client/types/app/bsky/unspecced/getPostThreadV2.ts +0 -78
- package/src/client/types/app/bsky/unspecced/getSuggestedFeeds.ts +0 -41
- package/src/client/types/app/bsky/unspecced/getSuggestedFeedsSkeleton.ts +0 -42
- package/src/client/types/app/bsky/unspecced/getSuggestedOnboardingUsers.ts +0 -47
- package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacks.ts +0 -41
- package/src/client/types/app/bsky/unspecced/getSuggestedStarterPacksSkeleton.ts +0 -42
- package/src/client/types/app/bsky/unspecced/getSuggestedUsers.ts +0 -47
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscover.ts +0 -43
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForDiscoverSkeleton.ts +0 -44
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExplore.ts +0 -45
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForExploreSkeleton.ts +0 -46
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMore.ts +0 -45
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersForSeeMoreSkeleton.ts +0 -46
- package/src/client/types/app/bsky/unspecced/getSuggestedUsersSkeleton.ts +0 -48
- package/src/client/types/app/bsky/unspecced/getSuggestionsSkeleton.ts +0 -53
- package/src/client/types/app/bsky/unspecced/getTaggedSuggestions.ts +0 -55
- package/src/client/types/app/bsky/unspecced/getTrendingTopics.ts +0 -44
- package/src/client/types/app/bsky/unspecced/getTrends.ts +0 -41
- package/src/client/types/app/bsky/unspecced/getTrendsSkeleton.ts +0 -43
- package/src/client/types/app/bsky/unspecced/initAgeAssurance.ts +0 -71
- package/src/client/types/app/bsky/unspecced/searchActorsSkeleton.ts +0 -62
- package/src/client/types/app/bsky/unspecced/searchPostsSkeleton.ts +0 -78
- package/src/client/types/app/bsky/unspecced/searchStarterPacksSkeleton.ts +0 -60
- package/src/client/types/app/bsky/video/defs.ts +0 -38
- package/src/client/types/app/bsky/video/getJobStatus.ts +0 -41
- package/src/client/types/app/bsky/video/getUploadLimits.ts +0 -42
- package/src/client/types/app/bsky/video/uploadVideo.ts +0 -41
- package/src/client/types/chat/bsky/actor/declaration.ts +0 -39
- package/src/client/types/chat/bsky/actor/defs.ts +0 -96
- package/src/client/types/chat/bsky/actor/deleteAccount.ts +0 -37
- package/src/client/types/chat/bsky/actor/exportAccountData.ts +0 -34
- package/src/client/types/chat/bsky/convo/acceptConvo.ts +0 -54
- package/src/client/types/chat/bsky/convo/addReaction.ts +0 -87
- package/src/client/types/chat/bsky/convo/defs.ts +0 -1058
- package/src/client/types/chat/bsky/convo/deleteMessageForSelf.ts +0 -61
- package/src/client/types/chat/bsky/convo/getConvo.ts +0 -51
- package/src/client/types/chat/bsky/convo/getConvoAvailability.ts +0 -42
- package/src/client/types/chat/bsky/convo/getConvoForMembers.ts +0 -80
- package/src/client/types/chat/bsky/convo/getConvoMembers.ts +0 -54
- package/src/client/types/chat/bsky/convo/getLog.ts +0 -71
- package/src/client/types/chat/bsky/convo/getMessages.ts +0 -62
- package/src/client/types/chat/bsky/convo/leaveConvo.ts +0 -61
- package/src/client/types/chat/bsky/convo/listConvoRequests.ts +0 -48
- package/src/client/types/chat/bsky/convo/listConvos.ts +0 -50
- package/src/client/types/chat/bsky/convo/lockConvo.ts +0 -68
- package/src/client/types/chat/bsky/convo/muteConvo.ts +0 -54
- package/src/client/types/chat/bsky/convo/removeReaction.ts +0 -79
- package/src/client/types/chat/bsky/convo/sendMessage.ts +0 -60
- package/src/client/types/chat/bsky/convo/sendMessageBatch.ts +0 -77
- package/src/client/types/chat/bsky/convo/unlockConvo.ts +0 -61
- package/src/client/types/chat/bsky/convo/unmuteConvo.ts +0 -54
- package/src/client/types/chat/bsky/convo/updateAllRead.ts +0 -44
- package/src/client/types/chat/bsky/convo/updateRead.ts +0 -55
- package/src/client/types/chat/bsky/group/addMembers.ts +0 -115
- package/src/client/types/chat/bsky/group/approveJoinRequest.ts +0 -69
- package/src/client/types/chat/bsky/group/createGroup.ts +0 -85
- package/src/client/types/chat/bsky/group/createJoinLink.ts +0 -71
- package/src/client/types/chat/bsky/group/defs.ts +0 -75
- package/src/client/types/chat/bsky/group/disableJoinLink.ts +0 -68
- package/src/client/types/chat/bsky/group/editGroup.ts +0 -69
- package/src/client/types/chat/bsky/group/editJoinLink.ts +0 -70
- package/src/client/types/chat/bsky/group/enableJoinLink.ts +0 -75
- package/src/client/types/chat/bsky/group/getJoinLinkPreview.ts +0 -51
- package/src/client/types/chat/bsky/group/listJoinRequests.ts +0 -61
- package/src/client/types/chat/bsky/group/rejectJoinRequest.ts +0 -59
- package/src/client/types/chat/bsky/group/removeMembers.ts +0 -62
- package/src/client/types/chat/bsky/group/requestJoin.ts +0 -90
- package/src/client/types/chat/bsky/moderation/getActorMetadata.ts +0 -60
- package/src/client/types/chat/bsky/moderation/getMessageContext.ts +0 -50
- package/src/client/types/chat/bsky/moderation/subscribeModEvents.ts +0 -38
- package/src/client/types/chat/bsky/moderation/updateActorAccess.ts +0 -40
- package/src/client/types/com/atproto/admin/defs.ts +0 -106
- package/src/client/types/com/atproto/admin/deleteAccount.ts +0 -38
- package/src/client/types/com/atproto/admin/disableAccountInvites.ts +0 -40
- package/src/client/types/com/atproto/admin/disableInviteCodes.ts +0 -39
- package/src/client/types/com/atproto/admin/enableAccountInvites.ts +0 -40
- package/src/client/types/com/atproto/admin/getAccountInfo.ts +0 -38
- package/src/client/types/com/atproto/admin/getAccountInfos.ts +0 -41
- package/src/client/types/com/atproto/admin/getInviteCodes.ts +0 -44
- package/src/client/types/com/atproto/admin/getSubjectStatus.ts +0 -50
- package/src/client/types/com/atproto/admin/searchAccounts.ts +0 -44
- package/src/client/types/com/atproto/admin/sendEmail.ts +0 -48
- package/src/client/types/com/atproto/admin/updateAccountEmail.ts +0 -40
- package/src/client/types/com/atproto/admin/updateAccountHandle.ts +0 -39
- package/src/client/types/com/atproto/admin/updateAccountPassword.ts +0 -39
- package/src/client/types/com/atproto/admin/updateAccountSigningKey.ts +0 -40
- package/src/client/types/com/atproto/admin/updateSubjectStatus.ts +0 -56
- package/src/client/types/com/atproto/identity/defs.ts +0 -34
- package/src/client/types/com/atproto/identity/getRecommendedDidCredentials.ts +0 -42
- package/src/client/types/com/atproto/identity/refreshIdentity.ts +0 -66
- package/src/client/types/com/atproto/identity/requestPlcOperationSignature.ts +0 -34
- package/src/client/types/com/atproto/identity/resolveDid.ts +0 -59
- package/src/client/types/com/atproto/identity/resolveHandle.ts +0 -51
- package/src/client/types/com/atproto/identity/resolveIdentity.ts +0 -63
- package/src/client/types/com/atproto/identity/signPlcOperation.ts +0 -49
- package/src/client/types/com/atproto/identity/submitPlcOperation.ts +0 -38
- package/src/client/types/com/atproto/identity/updateHandle.ts +0 -39
- package/src/client/types/com/atproto/label/defs.ts +0 -143
- package/src/client/types/com/atproto/label/queryLabels.ts +0 -47
- package/src/client/types/com/atproto/label/subscribeLabels.ts +0 -49
- package/src/client/types/com/atproto/lexicon/resolveLexicon.ts +0 -56
- package/src/client/types/com/atproto/lexicon/schema.ts +0 -38
- package/src/client/types/com/atproto/moderation/createReport.ts +0 -80
- package/src/client/types/com/atproto/moderation/defs.ts +0 -83
- package/src/client/types/com/atproto/repo/applyWrites.ts +0 -167
- package/src/client/types/com/atproto/repo/createRecord.ts +0 -68
- package/src/client/types/com/atproto/repo/defs.ts +0 -31
- package/src/client/types/com/atproto/repo/deleteRecord.ts +0 -63
- package/src/client/types/com/atproto/repo/describeRepo.ts +0 -48
- package/src/client/types/com/atproto/repo/getRecord.ts +0 -59
- package/src/client/types/com/atproto/repo/importRepo.ts +0 -35
- package/src/client/types/com/atproto/repo/listMissingBlobs.ts +0 -58
- package/src/client/types/com/atproto/repo/listRecords.ts +0 -66
- package/src/client/types/com/atproto/repo/putRecord.ts +0 -70
- package/src/client/types/com/atproto/repo/strongRef.ts +0 -31
- package/src/client/types/com/atproto/repo/uploadBlob.ts +0 -40
- package/src/client/types/com/atproto/server/activateAccount.ts +0 -34
- package/src/client/types/com/atproto/server/checkAccountStatus.ts +0 -46
- package/src/client/types/com/atproto/server/confirmEmail.ts +0 -70
- package/src/client/types/com/atproto/server/createAccount.ts +0 -115
- package/src/client/types/com/atproto/server/createAppPassword.ts +0 -72
- package/src/client/types/com/atproto/server/createInviteCode.ts +0 -44
- package/src/client/types/com/atproto/server/createInviteCodes.ts +0 -61
- package/src/client/types/com/atproto/server/createSession.ts +0 -76
- package/src/client/types/com/atproto/server/deactivateAccount.ts +0 -39
- package/src/client/types/com/atproto/server/defs.ts +0 -52
- package/src/client/types/com/atproto/server/deleteAccount.ts +0 -57
- package/src/client/types/com/atproto/server/deleteSession.ts +0 -51
- package/src/client/types/com/atproto/server/describeServer.ts +0 -77
- package/src/client/types/com/atproto/server/getAccountInviteCodes.ts +0 -53
- package/src/client/types/com/atproto/server/getServiceAuth.ts +0 -55
- package/src/client/types/com/atproto/server/getSession.ts +0 -46
- package/src/client/types/com/atproto/server/listAppPasswords.ts +0 -65
- package/src/client/types/com/atproto/server/refreshSession.ts +0 -73
- package/src/client/types/com/atproto/server/requestAccountDelete.ts +0 -34
- package/src/client/types/com/atproto/server/requestEmailConfirmation.ts +0 -34
- package/src/client/types/com/atproto/server/requestEmailUpdate.ts +0 -39
- package/src/client/types/com/atproto/server/requestPasswordReset.ts +0 -38
- package/src/client/types/com/atproto/server/reserveSigningKey.ts +0 -45
- package/src/client/types/com/atproto/server/resetPassword.ts +0 -56
- package/src/client/types/com/atproto/server/revokeAppPassword.ts +0 -38
- package/src/client/types/com/atproto/server/updateEmail.ts +0 -65
- package/src/client/types/com/atproto/sync/defs.ts +0 -23
- package/src/client/types/com/atproto/sync/getBlob.ts +0 -77
- package/src/client/types/com/atproto/sync/getBlocks.ts +0 -76
- package/src/client/types/com/atproto/sync/getCheckout.ts +0 -37
- package/src/client/types/com/atproto/sync/getHead.ts +0 -51
- package/src/client/types/com/atproto/sync/getHostStatus.ts +0 -57
- package/src/client/types/com/atproto/sync/getLatestCommit.ts +0 -73
- package/src/client/types/com/atproto/sync/getRecord.ts +0 -78
- package/src/client/types/com/atproto/sync/getRepo.ts +0 -70
- package/src/client/types/com/atproto/sync/getRepoStatus.ts +0 -63
- package/src/client/types/com/atproto/sync/listBlobs.ts +0 -77
- package/src/client/types/com/atproto/sync/listHosts.ts +0 -64
- package/src/client/types/com/atproto/sync/listRepos.ts +0 -70
- package/src/client/types/com/atproto/sync/listReposByCollection.ts +0 -59
- package/src/client/types/com/atproto/sync/notifyOfUpdate.ts +0 -39
- package/src/client/types/com/atproto/sync/requestCrawl.ts +0 -49
- package/src/client/types/com/atproto/sync/subscribeRepos.ts +0 -164
- package/src/client/types/com/atproto/temp/addReservedHandle.ts +0 -41
- package/src/client/types/com/atproto/temp/checkHandleAvailability.ts +0 -109
- package/src/client/types/com/atproto/temp/checkSignupQueue.ts +0 -40
- package/src/client/types/com/atproto/temp/dereferenceScope.ts +0 -53
- package/src/client/types/com/atproto/temp/fetchLabels.ts +0 -42
- package/src/client/types/com/atproto/temp/requestPhoneVerification.ts +0 -38
- package/src/client/types/com/atproto/temp/revokeAccountCredentials.ts +0 -38
- package/src/client/types/com/germnetwork/declaration.ts +0 -63
- package/src/client/types/tools/ozone/communication/createTemplate.ts +0 -62
- package/src/client/types/tools/ozone/communication/defs.ts +0 -43
- package/src/client/types/tools/ozone/communication/deleteTemplate.ts +0 -38
- package/src/client/types/tools/ozone/communication/listTemplates.ts +0 -39
- package/src/client/types/tools/ozone/communication/updateTemplate.ts +0 -65
- package/src/client/types/tools/ozone/hosting/getAccountHistory.ts +0 -148
- package/src/client/types/tools/ozone/moderation/cancelScheduledActions.ts +0 -79
- package/src/client/types/tools/ozone/moderation/defs.ts +0 -1176
- package/src/client/types/tools/ozone/moderation/emitEvent.ts +0 -121
- package/src/client/types/tools/ozone/moderation/getAccountTimeline.ts +0 -115
- package/src/client/types/tools/ozone/moderation/getEvent.ts +0 -38
- package/src/client/types/tools/ozone/moderation/getRecord.ts +0 -49
- package/src/client/types/tools/ozone/moderation/getRecords.ts +0 -45
- package/src/client/types/tools/ozone/moderation/getRepo.ts +0 -48
- package/src/client/types/tools/ozone/moderation/getReporterStats.ts +0 -41
- package/src/client/types/tools/ozone/moderation/getRepos.ts +0 -45
- package/src/client/types/tools/ozone/moderation/getSubjects.ts +0 -41
- package/src/client/types/tools/ozone/moderation/listScheduledActions.ts +0 -57
- package/src/client/types/tools/ozone/moderation/queryEvents.ts +0 -87
- package/src/client/types/tools/ozone/moderation/queryStatuses.ts +0 -122
- package/src/client/types/tools/ozone/moderation/scheduleAction.ts +0 -133
- package/src/client/types/tools/ozone/moderation/searchRepos.ts +0 -46
- package/src/client/types/tools/ozone/queue/assignModerator.ts +0 -55
- package/src/client/types/tools/ozone/queue/createQueue.ts +0 -63
- package/src/client/types/tools/ozone/queue/defs.ts +0 -99
- package/src/client/types/tools/ozone/queue/deleteQueue.ts +0 -48
- package/src/client/types/tools/ozone/queue/getAssignments.ts +0 -49
- package/src/client/types/tools/ozone/queue/listQueues.ts +0 -51
- package/src/client/types/tools/ozone/queue/routeReports.ts +0 -59
- package/src/client/types/tools/ozone/queue/unassignModerator.ts +0 -51
- package/src/client/types/tools/ozone/queue/updateQueue.ts +0 -51
- package/src/client/types/tools/ozone/report/assignModerator.ts +0 -66
- package/src/client/types/tools/ozone/report/createActivity.ts +0 -85
- package/src/client/types/tools/ozone/report/defs.ts +0 -466
- package/src/client/types/tools/ozone/report/getAssignments.ts +0 -49
- package/src/client/types/tools/ozone/report/getHistoricalStats.ts +0 -55
- package/src/client/types/tools/ozone/report/getLatestReport.ts +0 -49
- package/src/client/types/tools/ozone/report/getLiveStats.ts +0 -46
- package/src/client/types/tools/ozone/report/getReport.ts +0 -49
- package/src/client/types/tools/ozone/report/listActivities.ts +0 -45
- package/src/client/types/tools/ozone/report/queryReports.ts +0 -73
- package/src/client/types/tools/ozone/report/reassignQueue.ts +0 -88
- package/src/client/types/tools/ozone/report/refreshStats.ts +0 -46
- package/src/client/types/tools/ozone/report/unassignModerator.ts +0 -53
- package/src/client/types/tools/ozone/safelink/addRule.ts +0 -67
- package/src/client/types/tools/ozone/safelink/defs.ts +0 -76
- package/src/client/types/tools/ozone/safelink/queryEvents.ts +0 -55
- package/src/client/types/tools/ozone/safelink/queryRules.ts +0 -61
- package/src/client/types/tools/ozone/safelink/removeRule.ts +0 -58
- package/src/client/types/tools/ozone/safelink/updateRule.ts +0 -60
- package/src/client/types/tools/ozone/server/getConfig.ts +0 -79
- package/src/client/types/tools/ozone/set/addValues.ts +0 -41
- package/src/client/types/tools/ozone/set/defs.ts +0 -50
- package/src/client/types/tools/ozone/set/deleteSet.ts +0 -52
- package/src/client/types/tools/ozone/set/deleteValues.ts +0 -51
- package/src/client/types/tools/ozone/set/getValues.ts +0 -55
- package/src/client/types/tools/ozone/set/querySets.ts +0 -47
- package/src/client/types/tools/ozone/set/upsertSet.ts +0 -38
- package/src/client/types/tools/ozone/setting/defs.ts +0 -44
- package/src/client/types/tools/ozone/setting/listOptions.ts +0 -48
- package/src/client/types/tools/ozone/setting/removeOptions.ts +0 -42
- package/src/client/types/tools/ozone/setting/upsertOption.ts +0 -53
- package/src/client/types/tools/ozone/signature/defs.ts +0 -31
- package/src/client/types/tools/ozone/signature/findCorrelation.ts +0 -41
- package/src/client/types/tools/ozone/signature/findRelatedAccounts.ts +0 -61
- package/src/client/types/tools/ozone/signature/searchAccounts.ts +0 -44
- package/src/client/types/tools/ozone/team/addMember.ts +0 -59
- package/src/client/types/tools/ozone/team/defs.ts +0 -51
- package/src/client/types/tools/ozone/team/deleteMember.ts +0 -55
- package/src/client/types/tools/ozone/team/listMembers.ts +0 -46
- package/src/client/types/tools/ozone/team/updateMember.ts +0 -59
- package/src/client/types/tools/ozone/verification/defs.ts +0 -59
- package/src/client/types/tools/ozone/verification/grantVerifications.ts +0 -87
- package/src/client/types/tools/ozone/verification/listVerifications.ts +0 -57
- package/src/client/types/tools/ozone/verification/revokeVerifications.ts +0 -68
- package/src/client/util.ts +0 -82
|
@@ -1,250 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
5
|
-
import { CID } from 'multiformats/cid'
|
|
6
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
7
|
-
import {
|
|
8
|
-
type $Typed,
|
|
9
|
-
is$typed as _is$typed,
|
|
10
|
-
type OmitKey,
|
|
11
|
-
} from '../../../../util.js'
|
|
12
|
-
import type * as AppBskyActorDefs from '../actor/defs.js'
|
|
13
|
-
import type * as AppBskyFeedDefs from '../feed/defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.defs'
|
|
18
|
-
|
|
19
|
-
export interface SkeletonSearchPost {
|
|
20
|
-
$type?: 'app.bsky.unspecced.defs#skeletonSearchPost'
|
|
21
|
-
uri: string
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
const hashSkeletonSearchPost = 'skeletonSearchPost'
|
|
25
|
-
|
|
26
|
-
export function isSkeletonSearchPost<V>(v: V) {
|
|
27
|
-
return is$typed(v, id, hashSkeletonSearchPost)
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export function validateSkeletonSearchPost<V>(v: V) {
|
|
31
|
-
return validate<SkeletonSearchPost & V>(v, id, hashSkeletonSearchPost)
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface SkeletonSearchActor {
|
|
35
|
-
$type?: 'app.bsky.unspecced.defs#skeletonSearchActor'
|
|
36
|
-
did: string
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
const hashSkeletonSearchActor = 'skeletonSearchActor'
|
|
40
|
-
|
|
41
|
-
export function isSkeletonSearchActor<V>(v: V) {
|
|
42
|
-
return is$typed(v, id, hashSkeletonSearchActor)
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function validateSkeletonSearchActor<V>(v: V) {
|
|
46
|
-
return validate<SkeletonSearchActor & V>(v, id, hashSkeletonSearchActor)
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface SkeletonSearchStarterPack {
|
|
50
|
-
$type?: 'app.bsky.unspecced.defs#skeletonSearchStarterPack'
|
|
51
|
-
uri: string
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
const hashSkeletonSearchStarterPack = 'skeletonSearchStarterPack'
|
|
55
|
-
|
|
56
|
-
export function isSkeletonSearchStarterPack<V>(v: V) {
|
|
57
|
-
return is$typed(v, id, hashSkeletonSearchStarterPack)
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function validateSkeletonSearchStarterPack<V>(v: V) {
|
|
61
|
-
return validate<SkeletonSearchStarterPack & V>(
|
|
62
|
-
v,
|
|
63
|
-
id,
|
|
64
|
-
hashSkeletonSearchStarterPack,
|
|
65
|
-
)
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
export interface TrendingTopic {
|
|
69
|
-
$type?: 'app.bsky.unspecced.defs#trendingTopic'
|
|
70
|
-
topic: string
|
|
71
|
-
displayName?: string
|
|
72
|
-
description?: string
|
|
73
|
-
link: string
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
const hashTrendingTopic = 'trendingTopic'
|
|
77
|
-
|
|
78
|
-
export function isTrendingTopic<V>(v: V) {
|
|
79
|
-
return is$typed(v, id, hashTrendingTopic)
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
export function validateTrendingTopic<V>(v: V) {
|
|
83
|
-
return validate<TrendingTopic & V>(v, id, hashTrendingTopic)
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export interface SkeletonTrend {
|
|
87
|
-
$type?: 'app.bsky.unspecced.defs#skeletonTrend'
|
|
88
|
-
topic: string
|
|
89
|
-
displayName: string
|
|
90
|
-
link: string
|
|
91
|
-
startedAt: string
|
|
92
|
-
postCount: number
|
|
93
|
-
status?: 'hot' | (string & {})
|
|
94
|
-
category?: string
|
|
95
|
-
dids: string[]
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
const hashSkeletonTrend = 'skeletonTrend'
|
|
99
|
-
|
|
100
|
-
export function isSkeletonTrend<V>(v: V) {
|
|
101
|
-
return is$typed(v, id, hashSkeletonTrend)
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
export function validateSkeletonTrend<V>(v: V) {
|
|
105
|
-
return validate<SkeletonTrend & V>(v, id, hashSkeletonTrend)
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
export interface TrendView {
|
|
109
|
-
$type?: 'app.bsky.unspecced.defs#trendView'
|
|
110
|
-
topic: string
|
|
111
|
-
displayName: string
|
|
112
|
-
link: string
|
|
113
|
-
startedAt: string
|
|
114
|
-
postCount: number
|
|
115
|
-
status?: 'hot' | (string & {})
|
|
116
|
-
category?: string
|
|
117
|
-
actors: AppBskyActorDefs.ProfileViewBasic[]
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
const hashTrendView = 'trendView'
|
|
121
|
-
|
|
122
|
-
export function isTrendView<V>(v: V) {
|
|
123
|
-
return is$typed(v, id, hashTrendView)
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
export function validateTrendView<V>(v: V) {
|
|
127
|
-
return validate<TrendView & V>(v, id, hashTrendView)
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
export interface ThreadItemPost {
|
|
131
|
-
$type?: 'app.bsky.unspecced.defs#threadItemPost'
|
|
132
|
-
post: AppBskyFeedDefs.PostView
|
|
133
|
-
/** This post has more parents that were not present in the response. This is just a boolean, without the number of parents. */
|
|
134
|
-
moreParents: boolean
|
|
135
|
-
/** This post has more replies that were not present in the response. This is a numeric value, which is best-effort and might not be accurate. */
|
|
136
|
-
moreReplies: number
|
|
137
|
-
/** This post is part of a contiguous thread by the OP from the thread root. Many different OP threads can happen in the same thread. */
|
|
138
|
-
opThread: boolean
|
|
139
|
-
/** The threadgate created by the author indicates this post as a reply to be hidden for everyone consuming the thread. */
|
|
140
|
-
hiddenByThreadgate: boolean
|
|
141
|
-
/** This is by an account muted by the viewer requesting it. */
|
|
142
|
-
mutedByViewer: boolean
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
const hashThreadItemPost = 'threadItemPost'
|
|
146
|
-
|
|
147
|
-
export function isThreadItemPost<V>(v: V) {
|
|
148
|
-
return is$typed(v, id, hashThreadItemPost)
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
export function validateThreadItemPost<V>(v: V) {
|
|
152
|
-
return validate<ThreadItemPost & V>(v, id, hashThreadItemPost)
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
export interface ThreadItemNoUnauthenticated {
|
|
156
|
-
$type?: 'app.bsky.unspecced.defs#threadItemNoUnauthenticated'
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
const hashThreadItemNoUnauthenticated = 'threadItemNoUnauthenticated'
|
|
160
|
-
|
|
161
|
-
export function isThreadItemNoUnauthenticated<V>(v: V) {
|
|
162
|
-
return is$typed(v, id, hashThreadItemNoUnauthenticated)
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
export function validateThreadItemNoUnauthenticated<V>(v: V) {
|
|
166
|
-
return validate<ThreadItemNoUnauthenticated & V>(
|
|
167
|
-
v,
|
|
168
|
-
id,
|
|
169
|
-
hashThreadItemNoUnauthenticated,
|
|
170
|
-
)
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
export interface ThreadItemNotFound {
|
|
174
|
-
$type?: 'app.bsky.unspecced.defs#threadItemNotFound'
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
const hashThreadItemNotFound = 'threadItemNotFound'
|
|
178
|
-
|
|
179
|
-
export function isThreadItemNotFound<V>(v: V) {
|
|
180
|
-
return is$typed(v, id, hashThreadItemNotFound)
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export function validateThreadItemNotFound<V>(v: V) {
|
|
184
|
-
return validate<ThreadItemNotFound & V>(v, id, hashThreadItemNotFound)
|
|
185
|
-
}
|
|
186
|
-
|
|
187
|
-
export interface ThreadItemBlocked {
|
|
188
|
-
$type?: 'app.bsky.unspecced.defs#threadItemBlocked'
|
|
189
|
-
author: AppBskyFeedDefs.BlockedAuthor
|
|
190
|
-
}
|
|
191
|
-
|
|
192
|
-
const hashThreadItemBlocked = 'threadItemBlocked'
|
|
193
|
-
|
|
194
|
-
export function isThreadItemBlocked<V>(v: V) {
|
|
195
|
-
return is$typed(v, id, hashThreadItemBlocked)
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
export function validateThreadItemBlocked<V>(v: V) {
|
|
199
|
-
return validate<ThreadItemBlocked & V>(v, id, hashThreadItemBlocked)
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/** The computed state of the age assurance process, returned to the user in question on certain authenticated requests. */
|
|
203
|
-
export interface AgeAssuranceState {
|
|
204
|
-
$type?: 'app.bsky.unspecced.defs#ageAssuranceState'
|
|
205
|
-
/** The timestamp when this state was last updated. */
|
|
206
|
-
lastInitiatedAt?: string
|
|
207
|
-
/** The status of the age assurance process. */
|
|
208
|
-
status: 'unknown' | 'pending' | 'assured' | 'blocked' | (string & {})
|
|
209
|
-
}
|
|
210
|
-
|
|
211
|
-
const hashAgeAssuranceState = 'ageAssuranceState'
|
|
212
|
-
|
|
213
|
-
export function isAgeAssuranceState<V>(v: V) {
|
|
214
|
-
return is$typed(v, id, hashAgeAssuranceState)
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
export function validateAgeAssuranceState<V>(v: V) {
|
|
218
|
-
return validate<AgeAssuranceState & V>(v, id, hashAgeAssuranceState)
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
/** Object used to store age assurance data in stash. */
|
|
222
|
-
export interface AgeAssuranceEvent {
|
|
223
|
-
$type?: 'app.bsky.unspecced.defs#ageAssuranceEvent'
|
|
224
|
-
/** The date and time of this write operation. */
|
|
225
|
-
createdAt: string
|
|
226
|
-
/** The status of the age assurance process. */
|
|
227
|
-
status: 'unknown' | 'pending' | 'assured' | (string & {})
|
|
228
|
-
/** The unique identifier for this instance of the age assurance flow, in UUID format. */
|
|
229
|
-
attemptId: string
|
|
230
|
-
/** The email used for AA. */
|
|
231
|
-
email?: string
|
|
232
|
-
/** The IP address used when initiating the AA flow. */
|
|
233
|
-
initIp?: string
|
|
234
|
-
/** The user agent used when initiating the AA flow. */
|
|
235
|
-
initUa?: string
|
|
236
|
-
/** The IP address used when completing the AA flow. */
|
|
237
|
-
completeIp?: string
|
|
238
|
-
/** The user agent used when completing the AA flow. */
|
|
239
|
-
completeUa?: string
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
const hashAgeAssuranceEvent = 'ageAssuranceEvent'
|
|
243
|
-
|
|
244
|
-
export function isAgeAssuranceEvent<V>(v: V) {
|
|
245
|
-
return is$typed(v, id, hashAgeAssuranceEvent)
|
|
246
|
-
}
|
|
247
|
-
|
|
248
|
-
export function validateAgeAssuranceEvent<V>(v: V) {
|
|
249
|
-
return validate<AgeAssuranceEvent & V>(v, id, hashAgeAssuranceEvent)
|
|
250
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyUnspeccedDefs from './defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.getAgeAssuranceState'
|
|
18
|
-
|
|
19
|
-
export type QueryParams = {}
|
|
20
|
-
export type InputSchema = undefined
|
|
21
|
-
export type OutputSchema = AppBskyUnspeccedDefs.AgeAssuranceState
|
|
22
|
-
|
|
23
|
-
export interface CallOptions {
|
|
24
|
-
signal?: AbortSignal
|
|
25
|
-
headers?: HeadersMap
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface Response {
|
|
29
|
-
success: boolean
|
|
30
|
-
headers: HeadersMap
|
|
31
|
-
data: OutputSchema
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function toKnownErr(e: any) {
|
|
35
|
-
return e
|
|
36
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
|
|
14
|
-
const is$typed = _is$typed,
|
|
15
|
-
validate = _validate
|
|
16
|
-
const id = 'app.bsky.unspecced.getConfig'
|
|
17
|
-
|
|
18
|
-
export type QueryParams = {}
|
|
19
|
-
export type InputSchema = undefined
|
|
20
|
-
|
|
21
|
-
export interface OutputSchema {
|
|
22
|
-
checkEmailConfirmed?: boolean
|
|
23
|
-
liveNow?: LiveNowConfig[]
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
export interface CallOptions {
|
|
27
|
-
signal?: AbortSignal
|
|
28
|
-
headers?: HeadersMap
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface Response {
|
|
32
|
-
success: boolean
|
|
33
|
-
headers: HeadersMap
|
|
34
|
-
data: OutputSchema
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function toKnownErr(e: any) {
|
|
38
|
-
return e
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export interface LiveNowConfig {
|
|
42
|
-
$type?: 'app.bsky.unspecced.getConfig#liveNowConfig'
|
|
43
|
-
did: string
|
|
44
|
-
domains: string[]
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
const hashLiveNowConfig = 'liveNowConfig'
|
|
48
|
-
|
|
49
|
-
export function isLiveNowConfig<V>(v: V) {
|
|
50
|
-
return is$typed(v, id, hashLiveNowConfig)
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function validateLiveNowConfig<V>(v: V) {
|
|
54
|
-
return validate<LiveNowConfig & V>(v, id, hashLiveNowConfig)
|
|
55
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyGraphDefs from '../graph/defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.getOnboardingSuggestedStarterPacks'
|
|
18
|
-
|
|
19
|
-
export type QueryParams = {
|
|
20
|
-
limit?: number
|
|
21
|
-
}
|
|
22
|
-
export type InputSchema = undefined
|
|
23
|
-
|
|
24
|
-
export interface OutputSchema {
|
|
25
|
-
starterPacks: AppBskyGraphDefs.StarterPackView[]
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface CallOptions {
|
|
29
|
-
signal?: AbortSignal
|
|
30
|
-
headers?: HeadersMap
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface Response {
|
|
34
|
-
success: boolean
|
|
35
|
-
headers: HeadersMap
|
|
36
|
-
data: OutputSchema
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function toKnownErr(e: any) {
|
|
40
|
-
return e
|
|
41
|
-
}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
|
|
14
|
-
const is$typed = _is$typed,
|
|
15
|
-
validate = _validate
|
|
16
|
-
const id = 'app.bsky.unspecced.getOnboardingSuggestedStarterPacksSkeleton'
|
|
17
|
-
|
|
18
|
-
export type QueryParams = {
|
|
19
|
-
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
20
|
-
viewer?: string
|
|
21
|
-
limit?: number
|
|
22
|
-
}
|
|
23
|
-
export type InputSchema = undefined
|
|
24
|
-
|
|
25
|
-
export interface OutputSchema {
|
|
26
|
-
starterPacks: string[]
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export interface CallOptions {
|
|
30
|
-
signal?: AbortSignal
|
|
31
|
-
headers?: HeadersMap
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface Response {
|
|
35
|
-
success: boolean
|
|
36
|
-
headers: HeadersMap
|
|
37
|
-
data: OutputSchema
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export function toKnownErr(e: any) {
|
|
41
|
-
return e
|
|
42
|
-
}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
|
|
14
|
-
const is$typed = _is$typed,
|
|
15
|
-
validate = _validate
|
|
16
|
-
const id = 'app.bsky.unspecced.getOnboardingSuggestedUsersSkeleton'
|
|
17
|
-
|
|
18
|
-
export type QueryParams = {
|
|
19
|
-
/** DID of the account making the request (not included for public/unauthenticated queries). */
|
|
20
|
-
viewer?: string
|
|
21
|
-
/** Category of users to get suggestions for. */
|
|
22
|
-
category?: string
|
|
23
|
-
limit?: number
|
|
24
|
-
}
|
|
25
|
-
export type InputSchema = undefined
|
|
26
|
-
|
|
27
|
-
export interface OutputSchema {
|
|
28
|
-
dids: string[]
|
|
29
|
-
/** DEPRECATED: use recIdStr instead. */
|
|
30
|
-
recId?: string
|
|
31
|
-
/** Snowflake for this recommendation, use when submitting recommendation events. */
|
|
32
|
-
recIdStr?: string
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface CallOptions {
|
|
36
|
-
signal?: AbortSignal
|
|
37
|
-
headers?: HeadersMap
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
export interface Response {
|
|
41
|
-
success: boolean
|
|
42
|
-
headers: HeadersMap
|
|
43
|
-
data: OutputSchema
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export function toKnownErr(e: any) {
|
|
47
|
-
return e
|
|
48
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyFeedDefs from '../feed/defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.getPopularFeedGenerators'
|
|
18
|
-
|
|
19
|
-
export type QueryParams = {
|
|
20
|
-
limit?: number
|
|
21
|
-
cursor?: string
|
|
22
|
-
query?: string
|
|
23
|
-
}
|
|
24
|
-
export type InputSchema = undefined
|
|
25
|
-
|
|
26
|
-
export interface OutputSchema {
|
|
27
|
-
cursor?: string
|
|
28
|
-
feeds: AppBskyFeedDefs.GeneratorView[]
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
export interface CallOptions {
|
|
32
|
-
signal?: AbortSignal
|
|
33
|
-
headers?: HeadersMap
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface Response {
|
|
37
|
-
success: boolean
|
|
38
|
-
headers: HeadersMap
|
|
39
|
-
data: OutputSchema
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function toKnownErr(e: any) {
|
|
43
|
-
return e
|
|
44
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyUnspeccedDefs from './defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.getPostThreadOtherV2'
|
|
18
|
-
|
|
19
|
-
export type QueryParams = {
|
|
20
|
-
/** Reference (AT-URI) to post record. This is the anchor post. */
|
|
21
|
-
anchor: string
|
|
22
|
-
}
|
|
23
|
-
export type InputSchema = undefined
|
|
24
|
-
|
|
25
|
-
export interface OutputSchema {
|
|
26
|
-
/** A flat list of other thread items. The depth of each item is indicated by the depth property inside the item. */
|
|
27
|
-
thread: ThreadItem[]
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface CallOptions {
|
|
31
|
-
signal?: AbortSignal
|
|
32
|
-
headers?: HeadersMap
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export interface Response {
|
|
36
|
-
success: boolean
|
|
37
|
-
headers: HeadersMap
|
|
38
|
-
data: OutputSchema
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function toKnownErr(e: any) {
|
|
42
|
-
return e
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export interface ThreadItem {
|
|
46
|
-
$type?: 'app.bsky.unspecced.getPostThreadOtherV2#threadItem'
|
|
47
|
-
uri: string
|
|
48
|
-
/** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */
|
|
49
|
-
depth: number
|
|
50
|
-
value: $Typed<AppBskyUnspeccedDefs.ThreadItemPost> | { $type: string }
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
const hashThreadItem = 'threadItem'
|
|
54
|
-
|
|
55
|
-
export function isThreadItem<V>(v: V) {
|
|
56
|
-
return is$typed(v, id, hashThreadItem)
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function validateThreadItem<V>(v: V) {
|
|
60
|
-
return validate<ThreadItem & V>(v, id, hashThreadItem)
|
|
61
|
-
}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyFeedDefs from '../feed/defs.js'
|
|
14
|
-
import type * as AppBskyUnspeccedDefs from './defs.js'
|
|
15
|
-
|
|
16
|
-
const is$typed = _is$typed,
|
|
17
|
-
validate = _validate
|
|
18
|
-
const id = 'app.bsky.unspecced.getPostThreadV2'
|
|
19
|
-
|
|
20
|
-
export type QueryParams = {
|
|
21
|
-
/** Reference (AT-URI) to post record. This is the anchor post, and the thread will be built around it. It can be any post in the tree, not necessarily a root post. */
|
|
22
|
-
anchor: string
|
|
23
|
-
/** Whether to include parents above the anchor. */
|
|
24
|
-
above?: boolean
|
|
25
|
-
/** How many levels of replies to include below the anchor. */
|
|
26
|
-
below?: number
|
|
27
|
-
/** Maximum of replies to include at each level of the thread, except for the direct replies to the anchor, which are (NOTE: currently, during unspecced phase) all returned (NOTE: later they might be paginated). */
|
|
28
|
-
branchingFactor?: number
|
|
29
|
-
/** Sorting for the thread replies. */
|
|
30
|
-
sort?: 'newest' | 'oldest' | 'top' | (string & {})
|
|
31
|
-
}
|
|
32
|
-
export type InputSchema = undefined
|
|
33
|
-
|
|
34
|
-
export interface OutputSchema {
|
|
35
|
-
/** A flat list of thread items. The depth of each item is indicated by the depth property inside the item. */
|
|
36
|
-
thread: ThreadItem[]
|
|
37
|
-
threadgate?: AppBskyFeedDefs.ThreadgateView
|
|
38
|
-
/** Whether this thread has additional replies. If true, a call can be made to the `getPostThreadOtherV2` endpoint to retrieve them. */
|
|
39
|
-
hasOtherReplies: boolean
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export interface CallOptions {
|
|
43
|
-
signal?: AbortSignal
|
|
44
|
-
headers?: HeadersMap
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
export interface Response {
|
|
48
|
-
success: boolean
|
|
49
|
-
headers: HeadersMap
|
|
50
|
-
data: OutputSchema
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
export function toKnownErr(e: any) {
|
|
54
|
-
return e
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
export interface ThreadItem {
|
|
58
|
-
$type?: 'app.bsky.unspecced.getPostThreadV2#threadItem'
|
|
59
|
-
uri: string
|
|
60
|
-
/** The nesting level of this item in the thread. Depth 0 means the anchor item. Items above have negative depths, items below have positive depths. */
|
|
61
|
-
depth: number
|
|
62
|
-
value:
|
|
63
|
-
| $Typed<AppBskyUnspeccedDefs.ThreadItemPost>
|
|
64
|
-
| $Typed<AppBskyUnspeccedDefs.ThreadItemNoUnauthenticated>
|
|
65
|
-
| $Typed<AppBskyUnspeccedDefs.ThreadItemNotFound>
|
|
66
|
-
| $Typed<AppBskyUnspeccedDefs.ThreadItemBlocked>
|
|
67
|
-
| { $type: string }
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
const hashThreadItem = 'threadItem'
|
|
71
|
-
|
|
72
|
-
export function isThreadItem<V>(v: V) {
|
|
73
|
-
return is$typed(v, id, hashThreadItem)
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
export function validateThreadItem<V>(v: V) {
|
|
77
|
-
return validate<ThreadItem & V>(v, id, hashThreadItem)
|
|
78
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* GENERATED CODE - DO NOT MODIFY
|
|
3
|
-
*/
|
|
4
|
-
import { HeadersMap, XRPCError } from '@atproto/xrpc'
|
|
5
|
-
import { type ValidationResult, BlobRef } from '@atproto/lexicon'
|
|
6
|
-
import { CID } from 'multiformats/cid'
|
|
7
|
-
import { validate as _validate } from '../../../../lexicons.js'
|
|
8
|
-
import {
|
|
9
|
-
type $Typed,
|
|
10
|
-
is$typed as _is$typed,
|
|
11
|
-
type OmitKey,
|
|
12
|
-
} from '../../../../util.js'
|
|
13
|
-
import type * as AppBskyFeedDefs from '../feed/defs.js'
|
|
14
|
-
|
|
15
|
-
const is$typed = _is$typed,
|
|
16
|
-
validate = _validate
|
|
17
|
-
const id = 'app.bsky.unspecced.getSuggestedFeeds'
|
|
18
|
-
|
|
19
|
-
export type QueryParams = {
|
|
20
|
-
limit?: number
|
|
21
|
-
}
|
|
22
|
-
export type InputSchema = undefined
|
|
23
|
-
|
|
24
|
-
export interface OutputSchema {
|
|
25
|
-
feeds: AppBskyFeedDefs.GeneratorView[]
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
export interface CallOptions {
|
|
29
|
-
signal?: AbortSignal
|
|
30
|
-
headers?: HeadersMap
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export interface Response {
|
|
34
|
-
success: boolean
|
|
35
|
-
headers: HeadersMap
|
|
36
|
-
data: OutputSchema
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
export function toKnownErr(e: any) {
|
|
40
|
-
return e
|
|
41
|
-
}
|